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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started