Question: - 1 TOCOLO OULUTU TURPUL / LAB ACTIVITY 2.17.1: Project - Cost of a Tank (part 1/2) 40/40 Cost of a Containment Tank An an
- 1 TOCOLO OULUTU TURPUL / LAB ACTIVITY 2.17.1: Project - Cost of a Tank (part 1/2) 40/40 Cost of a Containment Tank An an environmental engineer, you are tasked with determining the cost of a containment tank based on the radius of the tank. The cost can be estimated using this formula: C = 32440+42527 wherer is the radius (let's ignore units for now) and C is the cost in dollars. Write a script file where you create a variable for the radius (use any variable name you'd like), and then use the variable c to estimate the cost. To start pick any radius you'd like. Once it is running and you have a radius and cost, move to the next part. Use your code to determine the value for radius that minimizes the cost. You should run your code with different values of radius ranging from 0.5 and 20 and observe how the cost changes. Choose a final radius that is associated with approximately the minimum cost (does not need to be exact). Display your final cost and radius using the disp function Remember 1. Develop your code in MATLAB in a new.m script file, named projecto.m. 2. Test the functionality of your code here, by copy and pasting the code below and hitting subdit 3. Submit your final code to Gradescope when you are all done with all parts of the project). Make sure your projecto m file contains both parts Script Save e Reset D MATLAB Documentation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
