writing in matrix form
with initial condition given above
%%% Matlab code
clc;
close all;
clear all;
A=[-2/25 1/50;2/25 -2/25];
b=[25 0]';
syms s
B=s*eye(2)-A;
xt=ilaplace(inv(B)*b);
%%%
disp('solution is ');
fprintf('x_1(t)=')
disp(xt(1))
fprintf('x_2(t)=')
disp(xt(2))
OUTPUT:
solution is
x_1(t)=(25*exp(-t/25))/2 + (25*exp(-(3*t)/25))/2
x_2(t)=25*exp(-t/25) - 25*exp(-(3*t)/25)
A. There are many methods for solving systems of differential equations using MATLAB. Here is a l...
B. Set up a system of equations for the following situation and then use MATLAB to solve the system Tank A contains 50 gallons of water in which 25 pounds of salt are dissolved. A second tank, B, contains 50 gallons of pure water. Liquid is pumped in and out of the tanks at the rates shown in Figure 8.9. Derive the differential equations taerihe themuunds and B, respectively d tm in tanks A mixture pure water 3 gal/min 1...
15. Consider a two tank system pictured below. Suppose tank A contains 100 gallons of water in which 120 pounds of salt are dissolved initially. Suppose tank B has 100 gallons of water in which zero pounds of salt are dissolved initially. Liquid is pumped into and out of the tanks as indicated in the figure; the mixture exchanged between the two tanks and the liquid pumped out of tank B are assumed to be well mixed. How many pounds...
differential equations please solve fast 4.)(25 points) Consider two tanks, labeled tank A and tank B. Tank A contains 100 gallons of solution in which is dissolved 20 lbs of salt. Tank B contains 200 gal of solution in which is dissolved 40 lbs of salt. Pure water flows into tank A at a rate of 5 gal/min. A drain at the bottom of Tank A allows the solution to leave at a rate of 5 gal/min and flow directly...
5. (30 points) Initially, two large tanks A and B each hold 50 gallons of brine. The well-mixed liquid is pumped between the tanks as shown below. Use the information on the figure to construct a mathematical model for the number of pounds of salt x, (t) and x2(t) at time t in the tanks A and B pure water 3 gal/min mixture I gal/min 50 gal mixture mixture 4 gal/min 3 gal/min Solve the system subject to the initial...
Water 12 L/min Mixture 4 L/min 100 L 100 L Mixture 16 L/min Mixture 12 L/min Mixing tank A holds 100 L of water in which 0.04 kg of salts is dissolved. Suppose tank B contains 100 L of water which has 0.02 kg of salt. Liquid is pumped in and out of the tanks as indicated in the figure. The mixture exchanged between the two tanks and the liquid pumped out of tank B is assumed to be well...
Tanks T1 and T2 both initial contains 50 gallons of pure water. Starting at t = 0, water that contains 1 pound of salt per gallon is poured into Ti at a rate of 2 gal/min. The mixture is drained from T1 at the same rate into the second tank T2. Starting at to = 0, a mixture from another source that contains 2 pounds of salt per gallon is poured into T2 at a rate of 2 gal/min. The...
Solve the given differential equation by undetermined coefficients y+2y-24y - 16-(x+2 (1) Discuss how the methods of undetermined coefficients and variation of parameters can be combined to solve the given differential equation. Carry out your ideas. Math 274 Unit 2 Portfolio Problem B Solve the given Cauchy-Euler differential equation: y) - + 3xy-105' 1690 You can use Maple to find the approximate roots of the auxiliary equation. I would like you to create the auxiliary equation by hand. Math 274...
*Using Differential Equations 3. A solution containing 0.2 kg/l of salt is pumped into a tank containing 51 of pure water at a rate of 317 min. If the well stirred mixture is pumped from the tank at the same rate of 31/min, how long does it take in minutes for the liquid in the tank to contain 0.5 kg of salt?
completeness and clarity please ! Diferentia ruquations 3. Two 500 gallon tanks T, and T, intially contain 100 gallons of salt solution. A solution with 2 pounds of salt per galloon is pumped into Ty from an external source at 6 gal/min and a solution with 1 pound of salt per gallon is pumped into T, from an external source at 5 gal/min. The solution from Tis pumped into T, at 2 gal/min, and the solution from T, is pumped...
(you can give youtr als we A tank contains initially (t 0) 200 gallons of water in which 80 pounds of salt are dissolved. Pure water (i.e. no salt) runs into the tank at the rate of 4 gal/min. The mixture is drained out from bottom of tank at the rate of 6 gal/min. How much salt is there in the tank after 66 minutes?