Would you please solve this Matlab practice assignment, all I need are very simp
ID: 3571654 • Letter: W
Question
Would you please solve this Matlab practice assignment, all I need are very simple inputs for #29, #30, #31 and #32. Thank you for your help, Chegg has been incredibly invalueable this semester.
ENGR 215 MATLAB for Engineering Fall 2016 29 (5 pts) The volume of a cone is v (1/3) area of base) (height) Prompt the user to enter the area of the base and the height of the cone. Calculate the volume of the cone 30 (5 pts) Prompt the user to enter his age Then use the disp function to report the age back to the command window. If, for example, the user enters 5 when prompted for his age, your display should read Your age is 5 (This output requires combining both character and numeric data in the disp function). 31. (5 pts) Use fprint f function to create the multiplication tables from 1 to 13 for the number 6 The table should look like this 1 times 6 is 6 2 times 6 is 12 3 times 6 is 18 13 times 6 is 78 32. 8 pts) create a graph of a circle by defining an array of angles from 0 to 2x, with a spacing of x/100 Use the ginput function to pick 2 points on the circumference of the circle Use hold on to keep the figure from refreshing, and plot a line between the two points you picked. Use the data from the points to calculate the length of the line between them. (Hint: use Pythagorean Theorem in the calculation.)Explanation / Answer
Question-29-
Solution-
b=input('Enter Area of the base ');
h=input('Enter base height: ');
volume = (1/3)*(b*h);
fprintf(' the Volume is %.2 ' , volume);
end
For other questions solution please provide as seprate questions thankyou
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.