Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Recitation 1 - Homework 1. Submit Answer on zyLabs MATLAB has many built in functions and numbers. One of those is a built in representation

image text in transcribed

Recitation 1 - Homework 1. Submit Answer on zyLabs MATLAB has many built in functions and numbers. One of those is a built in representation of the number 1, 3,14159... In MATLAB, you just need to write "pi" 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 (arca of circlc]*hcight) with i. ii. iii. Radius 5 meters and height 2 meters. Radius 10 mctars and height 4 mctors, Radius 20km and height 8km. b. 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

=+employee to take on the international assignment?

Answered: 1 week ago

Question

=+differences in home- and host-country costs of living?

Answered: 1 week ago