Part 1
The differential equations below were solved using Laplace transforms.
(A)
(B)
(C)
(D)
A benefit of the Laplace (s) domain is that it reduces calculus into algebra. For example integration in the Laplace domain is simply dividing by s and inversely differentiation is multiplying by s. The properties and
prove to be instrumental in solving differential equations.
1(A)
Start by applying the Laplace operation across the equation:
Convert known functions( ) to the Laplace domain and eliminate any differentials.
Use algebra to Solve for .
From this point MATLAB’s ilaplace can be used to give the general solution.
syms A s t (defines symbols in equation) let y(0)=A
ilaplace(1/(s+1)^2 + A/(s+1),s,t)
ans=
The solution can then be graphed by giving value to the initial condition

The given initial conditionson are 3 in the red, 1 in green, 0.5 in blue.
1(B)
This equation was solved using the same method as 1(A). After the algebra the following equation was obtained.
This equation was then solved using the ilaplace in MATLAB to get the general solution.
Graphing the solution for initial values of 5, 10,and 15 produces the graph below.

1(C)
The same approach can be used for C resulting in.
solved with MATLAB’s ilaplace gives.
The graph was produce with initial values of 5, 10, and 15.

1(D)
The same method was again used for D, the algebra produced the following.
Solving with MATLAB’s ilaplace gives.
Graphing with initial values of 5, 10, and 15 give the following graph.

Part 2
This section of the forth block involved exploration of solutions for the differential equation used to model forced undamped motion.
Equation:
The same approach from part one was applied to this equation. the general solution is:
The graph below was generated with

The graph shows an explosion over time as the amplitude of the wave continually grows. Interestingly enough the case were is one the conditions needed for harmonic structural failure in the physical world. Everything on the earth vibrates with a specific frequency. When a force with the same frequency with suficient magnitude and enough time the object will be destroyed. One famous case is the Oprah singer who breaks a crystal glass. this is possible because of the matched frequencies of the voice and the glass. This phenomena also forced the Roman Legions to cease marching and walk across bridges.
Another case found in the physical world is greater than
. As shown in the graph below this case produces a repeating harmonic motion.

This is common in automobiles because of the harmonic motion of the vehicle and the motion of the drive train.
Part3
This section was using Laplace transforms to solve the differential equation for KCL in a closed loop.
Equation:
The solution was solved using the same method but because of the solutions length it makes it irrational to print out. This is the approximately the MATLAB code used to obtain the graph below (note the general solution has been altered to fit and the element by element operators have been removed)
t=0:.0001:.01;
R=100;
L=.1;
C=1e-6;
w=1000;
F=1;
A=1;
solution=F/(R^2*C^2*w^2+w^4*L^2*C^2-2*w^2*L*C+1)*(R*C^2*sin(w*t)
*w^2+((-R^2*C+4*L)^2*(-w^2*L*C+1)*cos(w*t)*C+(C*(w^2*L*C-1)
*cosh(1/2*t/L/C*(C*(R^2*C-4*L))^(1/2))*(-R^2*C+4*L)^2-R*(C*(R^2*C-4*L))^(3/2)
*sinh(1/2*t/L/C*(C*(R^2*C-4*L))^(1/2))*(1+w^2*L*C))*exp(-1/2*t/L*R))/(-R^2*C+4*L)^2*w)
+exp(-1/2*t/L*R)*(A*cosh(1/2*t/L/C*(C*(R^2*C-4*L))^(1/2))+1/(-R^2*C+4*L)*(C*(R^2*C-4*L))^(1/2)
*sinh(1/2*t/L/C*(C*(R^2*C-4*L))^(1/2))*(A*R-2*R-2*L));
plot(t,solution)
grid
title(‘KCL Closed Loop’)
xlabel(‘t’)
ylabel(‘y’)

The decay of the current is due to the energy storage units (the inductor and capacitor). As the capacitor charges it begins to act as an open circuit and effectively halts current flow.




























