4. Use MATLAB to sum the number 0.0001 ten thousand times. You may do this in the command window since it takes only a f

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

4. Use MATLAB to sum the number 0.0001 ten thousand times. You may do this in the command window since it takes only a f

Post by answerhappygod »

4 Use Matlab To Sum The Number 0 0001 Ten Thousand Times You May Do This In The Command Window Since It Takes Only A F 1
4 Use Matlab To Sum The Number 0 0001 Ten Thousand Times You May Do This In The Command Window Since It Takes Only A F 1 (51.95 KiB) Viewed 46 times
4. Use MATLAB to sum the number 0.0001 ten thousand times. You may do this in the command window since it takes only a few lines of code, but be sure to state in your solution what lines of code you used. (a) Do this using double precision (MATLAB default). Note: be sure to view your results in format long. Compare with the exact solution. (b) Do the same exercise as above but using single precision. You can convert MATLAB variables to single precision as shown in the following example: sum = 0.; sum1 = single (sum);
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply