Question: Enter the following code into the command window of MatLab. format long e; (0.4 + 0.4 + 0.4) - 1.2 Copy the output into a

Enter the following code into the command window of MatLab. format long e; (0.4 + 0.4 + 0.4) - 1.2

Copy the output into a document editor of your choice, exporting it as file a2task4.pdf. In this file, also answer these questions: Is this a result you would expect from the perspective of mathematics? Explain why the computer gave you this result. (Note: after executing the format command given above, all command window display information for numerical values will look something like this: 1.402000000000000e+001. To get it back to a normal single-precision output, type format in the command window prompt and press enter. For more information on this MatLab command, type help format into the command window.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!