Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Ai And The Lottery Defying Odds With Intelligent Prediction

Authors: Gary Covella Ph D

1st Edition

B0CND1ZB98, 979-8223302568

More Books

Students also viewed these Databases questions