Problem in entering the units in Gigapascal(Gpa)
2 views (last 30 days)
Show older comments
Sairama Krishnam Pothuri
on 20 Aug 2020
Commented: Sairama Krishnam Pothuri
on 20 Aug 2020
Hi, I am new to the matlab. So, I have little bit confusion in using the units in my code. In my code I need to give the input value as
230 gigapascals.
That is 230 * 10 ^ 9
But If I enter the above input value it is taking as 2.3000e11. so, due to this in my output I am getting different values. How can I overcome this problem.
please help me.
Thanks in advance.
0 Comments
Accepted Answer
Walter Roberson
on 20 Aug 2020
>> (230 * 10 ^ 9) - 2.3000e11
ans =
0
Same value.
>> format short
>> 230 * 10 ^ 9
ans =
2.3000e+11
>> format long g
>> 230 * 10 ^ 9
ans =
230000000000
Different ways of displaying the same value.
More Answers (0)
See Also
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!