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

![USING MATLAB 1. [12 marks] An ice-cream shop wants to work out](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3a8451542d_35666f3a8448d1fc.jpg)
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
Get step-by-step solutions from verified subject matter experts
