Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started