17_pdfsam_2 - > 610/12 ans = 50.8333 Short oating point...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
>> 610./12. ans = 50.8333 Short floating point: When the result has more than three digits to the left of the decimal point, it is displayed in scientiFc notation (called the short e format). ScientiFc notation expresses a value as a number between 1 and 10 multiplied by a power of 10. An example of the short e format, which shows four digits to the right of the decimal point: >> 61000./12. ans = 5.0833e+003 In this format, 5.08333 is called the mantissa, e means exponent, which has the value +003. Written in the more common scientiFc notation, the result is 5 . 0833 × 10 3 . The default behavior can be changed by specifying a di±erent numerical format within the Prefer- ences menu item in the ²ile menu, or by typing a ²ORMAT command at the command prompt. The table below indicates the a±ect of changing the display format for the variable ratio , computed as: >> ratio = 610./12 ratio = 50.8333
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Ask a homework question - tutors are online