Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please solve the following questions using Matlab so I can find out what I scored on my midterm today. 1. Write a matlab function to
Please solve the following questions using Matlab so I can find out what I scored on my midterm today.
1. Write a matlab function to calculate volume of a cone given by the formula Tr where r is the radius of the base and h is the height of the cone. Using this function, find the volume of a cone having radius of the base 2 cm and height 6 cm. 2. Using command polyval, evaluate the polynomial or 3 3. Given the following: z 1, 2, 3, 4, 5, 6, 7 1,4, 8, 15, 25, 37, 48] Find the best fit polynomial r(z) of degree 1 that will fit the data. 1. Write a matlab function to calculate volume of a cone given by the formula Tr where r is the radius of the base and h is the height of the cone. Using this function, find the volume of a cone having radius of the base 2 cm and height 6 cm. 2. Using command polyval, evaluate the polynomial or 3 3. Given the following: z 1, 2, 3, 4, 5, 6, 7 1,4, 8, 15, 25, 37, 48] Find the best fit polynomial r(z) of degree 1 that will fit the data
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