Question: 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

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 + 42516 where r 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
