Question: use diff5 as a variable for radius 5m and height 2m, diff10 for radius 10m and height 4m. and diff20 for 20km and height 8km

MATLAB has many built in functions and numbers. One of those is a built inrepresentation of the number TT, 3.14159... In MATLAB, you just need to write "poi" to access that number. While that number is not 100% accurate (no representation of pi is), it has many more decimal places, and is much more accurate, than the approximation we sometimes use for rough calculations by hand, 3.14.a.Using MATLAB's pi approximation, then 3.14, write a script that calculates the volumes of cylinders ([area of circle]"height) with: iRadius 5 meters and height 2 meters. ii.Radius 10 meters and height 4 meters. iii.Radius 20km and height 8km. k.Finally, use your script to calculate the differences between MATLAB's pi approximation and 3.14 for all of these calculations. Do you notice a trend
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
