Question: In the last problem, you created a user - defined function called calc _ cost _ pr 4 that calculates the cost of the water
In the last problem, you created a userdefined function called calccostpr that calculates the cost of the water tank whoes volume is m Use the fminbnd function to compute the tank radius that results in the least cost Call it ropt Let your band be from r to r Compute the corresponding height h and call it hopt.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
