Question
Assignment Matlab_Lab 1 2. (a) The volume of a cylinder is pr 2 h. Define r = 3 and h = [1, 5, 12]. Find
Assignment Matlab_Lab 1
2. (a) The volume of a cylinder is pr2h. Define r = 3 and h = [1, 5, 12]. Find the volume of the cylinders.
(b) The area of a triangle is 1/2*base*height. Define the base = [2, 4, 6] and the height = 12, find the area of the triangles.
3. Generate a table of conversions from degrees to radians. The first line should contain the values for 0, the second line should contain the value of 10, and so on. The last line should contain the values for 360.
4. Generate a table of conversions from centimeters to inches. Start the centimeter column at 0 and increment by 2 centimeters. The last line should contain the value 30cm.
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