Question

In: Mechanical Engineering

1. Use Laplace transforms to solve the following differential equations for ?(?) for ? ≥ 0....

1. Use Laplace transforms to solve the following differential equations for ?(?) for ? ≥ 0. Use ?(0) = 0 and ?̇(0) = 1 for each case.

i. 0 = ?̈(?) + 2?̇(?) + 4?(?)

ii. 0 = ?̈(?) + 3?̇(?) + 2?(?)

iii. 5 = ?̈(?) + 5?̇(?) + 6?(?)

3. For the three differential equations from problem one determine the steady-state value of the system using:

a. lim?→0 ??(?),

b. lim ?→∞ ?(?) analytically,

c. lim ?→∞ ?(?) using MATLAB

Please solve #3 and show MATLAB code

Solutions

Expert Solution

(i)

clear;
clc;
t = [0 10];
y0 = [0 1];
[t,y] = ode45(@myfun,t,y0);
plot(t,y(:,1))
xlabel('Time (s)')
ylabel('y(t)')
fprintf('The steady-state value is %.2f.\n',y(end,1))

function ydot = myfun(t,y)
ydot = [y(2);-2*y(2)-4*y(1)];
end

The steady-state value is -0.00.

(ii)

clear;
clc;
t = [0 10];
y0 = [0 1];
[t,y] = ode45(@myfun,t,y0);
plot(t,y(:,1))
xlabel('Time (s)')
ylabel('y(t)')
fprintf('The steady-state value is %.2f.\n',y(end,1))

function ydot = myfun(t,y)
ydot = [y(2);-3*y(2)-2*y(1)];
end

The steady-state value is 0.00.

(iii)

clear;
clc;
t = [0 10];
y0 = [0 1];
[t,y] = ode45(@myfun,t,y0);
plot(t,y(:,1))
xlabel('Time (s)')
ylabel('y(t)')
fprintf('The steady-state value is %.2f.\n',y(end,1))

function ydot = myfun(t,y)
ydot = [y(2);5-5*y(2)-6*y(1)];
end

The steady-state value is 0.83.


Related Solutions

Use Laplace transforms to solve the following system of differential equations.
Use Laplace transforms to solve the following system of differential equations.
In Exercises 5–37, solve the given differential equations by Laplace transforms. The function is subject to...
In Exercises 5–37, solve the given differential equations by Laplace transforms. The function is subject to the given conditions. 13. 4y″ + 4y′ + 5y = 0, y(0) = 1, y′(0) = -1/2 17. y″ + y = 1, y(0) = 1, y′(0) = 1
Solve the following ODE using Laplace Transforms ?̈+?̇+3?=0;?(0)=1; ?̇(0)=2
Solve the following ODE using Laplace Transforms ?̈+?̇+3?=0;?(0)=1; ?̇(0)=2
Use Laplace Transforms to solve the following second-order differential equation:   y"-3y'+4y=xe2x where y'(0)=1 and y(0)=2
Use Laplace Transforms to solve the following second-order differential equation:   y"-3y'+4y=xe2x where y'(0)=1 and y(0)=2
Use Laplace transforms to solve the system. x' - 5x - 4y = 0 x(0) =...
Use Laplace transforms to solve the system. x' - 5x - 4y = 0 x(0) = 1 y' + x - y = 0 y(0) = -1
Solve the following differential equation, using laplace transforms: y''+ty-y=0 where y(0)=0 and y'(0)=3
Solve the following differential equation, using laplace transforms: y''+ty-y=0 where y(0)=0 and y'(0)=3
Use laplace transforms to solve the following problem. y' + 20y = 6sin 2x; y(0) =...
Use laplace transforms to solve the following problem. y' + 20y = 6sin 2x; y(0) = 6
use laplace transforms to solve ivp x" + 4x' + 3x = 1, x'(0) = 2,...
use laplace transforms to solve ivp x" + 4x' + 3x = 1, x'(0) = 2, x(0) = 1
Use Laplace transforms, solve the differential equation y'' + 16y = 4 sin 4? , where...
Use Laplace transforms, solve the differential equation y'' + 16y = 4 sin 4? , where y(0)=2.    y′(0)=0.
Use Laplace transforms to solve: 3y’’ - 48y = (lowercase delta)(t - 2); y(0) = 1,...
Use Laplace transforms to solve: 3y’’ - 48y = (lowercase delta)(t - 2); y(0) = 1, y’(0) = -4
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT