Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE ODE45 APPLICATION TO SOLVE THE FOLLOWING (WITH MATLAB) At time t = 0 a tank contains Q_0 lb of salt dissolved in 100 gallons

USE ODE45 APPLICATION TO SOLVE THE FOLLOWING (WITH MATLAB)

image text in transcribed

At time t = 0 a tank contains Q_0 lb of salt dissolved in 100 gallons of water. Assume that water containing 0.25 lb salt/gal is entering the tank at a rate of r gal/min and that the well-stirred mixture is draining from the tank at the same rate. We want to find the amount of salt Q(t) in the tank at any time. Clearly the tank will eventually (after a long time) approach a limiting value of salt, Q_L. We have a couple of specific questions we want answered: a. If r = 3 and Q_0 = 2Q_L, what is the time, tclose, after which the salt level is within 2% of Q_L? b. What flow rate is required if tclose is not to exceed 45 minutes? Remember dQ/dt = rate in - rate out. Obviously rate in = r/4, and because the tank is well mixed the concentration in the tank is Q(t)/100, so we can say the rate out = rQ(t)/100. We can create the DE: dQ/dt = r/4 - rQ/100 where Q(0) = Q_0. Clearly after a long time the limiting value is reached and dQ/dt = 0, so we can find the limiting value, Q_L

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

Agile Audit Transformation And Beyond

Authors: Toby DeRoche

1st Edition

1032062894, 978-1032062891

More Books

Students also viewed these Accounting questions