Force scientific notation


  • Maple TA Interns 2016

    For a variable $TA, the following will extract the mantissa and exponent for scientific notation:


    $TAexp = int(log(abs($TA))) - if(lt(abs($TA), 1), 1, 0);

    $TAman = $TA/10^$TAexp


    This can then be formatted with latex: \($TAman \times 10^{$TAexp}\).


Log in to reply