Graphics Reference
In-Depth Information
Also we can get the value of 3 to the 100 th power, without having previously set precision. For this purpose
press 3 ^ 100.
>> 3 ^ 100
Ans =
5. 1538e + 047
You can use the command “format long e” to return the result of the operation with 16 digits before the exponent
(scientific notation).
>> format long e
>> 3^100
ans =
5.153775207320115e+047
we also can work with complex numbers. We will get the result of the operation (2 + 3i) raised to the 10 th power, by
typing the expression (2 + 3i) ^ 10.
>> (2 + 3i) ^ 10
Ans =
-1 415249999999998e + 005 - 1. 456680000000000e + 005i
(5) The previous result is also available in short format, using the “format short” command.
>> format short
>> (2 + 3i)^10
ans =
-1.4152e+005- 1.4567e+005i
Also we can calculate the value of the Bessel function found in section 11.5. To do this type Besselj (0,11.5).
>> besselj(0,11.5)
ans =
-0.0677
Search WWH ::




Custom Search