Question: THIS IS A MATLAB QUESTION, PLEASE HELP ME WITH THIS QUESTION USING MATLAB 1. [12 marks] An ice-cream shop wants to work out how much

 THIS IS A MATLAB QUESTION, PLEASE HELP ME WITH THIS QUESTION

USING MATLAB 1. [12 marks] An ice-cream shop wants to work out

THIS IS A MATLAB QUESTION, PLEASE HELP ME WITH THIS QUESTION USING MATLAB

1. [12 marks] An ice-cream shop wants to work out how much each ice-cream costs to produce in order to set an appropriate price to sell to their customers. The ice-cream can be modelled as a perfectly solid sphere of vanilla ice-cream with volume 3 sitting on a hollow cone of radius r and height h with surface area The radius of the sphere and cone are assumed to be equal so that the vanilla ice-cream sits perfectly in the cone. The cost of the vanilla ice-cream is $400/m3 and the cost of the cone is $8/m2 (a) 3 marks] Write a MATLAB function ice_cream_vol(r) that calculates and returns the volume of ice-cream with radius r (b 3 marks] Write a MATLAB function cone_area(r,h) that takes a radius r and height h and returns the surface area of the cone

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!