In this fourth block we had solved four diffrent types of laplace transforms. Laplace transforms are used to to solve certian diferential equations when the initial condition is zero. laplace transforms are also used in circiut analysis.
The laplace transforms that we had to preform are:
1) The first laplace transform that I had atempted was . The first step I did was to convert the diferential equation wqas to take the laplace of each part
.
What this step does is it allows me to algibraically solve the equation. .
next I am going to preform the laplace transfomation to solve the problem.
Now that the laplace transformation is done you can solve the problem algibraically and you will get:
Once you have done the laplace transform and you have solved the equation algibraically you can simply put the answer into matlab and do ilaplace to convert it back to laplace. ilaplace is the inverse of laplace. When you do this you should get .
Also make sure you let Y(0) be A and that you type syms A s t. This tells mat labe that A is just a symbol. When I first tryed to complete this step I couldn’t figure out why i was getting a error message when i was typing it the exact same way that the book was.
When completeing the graphs I had got together with adam because he knows how to use mat lab a lot better that I do. When graphing you need to plug in multiple numbers for the initial conditions y(0) . We had used 3 which is the red line, 1 which is the green line green and 0.5 for the blue line.
Pic 1 solution for 1A:

The second equation is . I had completed this problem the same way that I did the first problem.
When I was done with completeing the laplace trans form and the algabra I was left with : .
To find the inverse of this i had done ilaplace in mat lab again and I had gotten:
.
Plug in 5, 10,and 15 for values for Y(0).
pic 2 solutions for 1B:

The third equation is . I had preformed the same step as in the first two equations. After completing the laplace transform and all of the algabra I was left with:
After doing the ilaplace in matlab we get:
Plug in 5, 10,and 15 for values for Y(0).
pic 3 solutions for 1C:

The fourth equatiion is . Once again I had completed the same steps as the previous problem for the fourth equation
. After completing the following steps i was left with:
Next i will have to do the the ilaplace with mat lab for
and we get:
Plug in 5, 10,and 15 for values for Y(0).
pic 4 solutions for 1D:

2) In the second question we were to explore forced undamped motion with the eqation: . Using the laplace transform like in the previous problems. After doing the laplace transform and all of the algabra plus the ilaplace in matlab we are left with the following equation:
If you graph the following equation with you will notice that the wave will start off small and end up larger. What this means is that the frequecy is growing ggradually of a period of time. for an example if you make a high pitch nose and contiue at the same pitch but hold it for a longer period of time the frequency will become so great that it could break a crystal glass. the reason is that the magnitude of the frequency became much greater than the crystal glass causing it to shader as you can notice from the graph below.
The graph below was generated with
Pic 5 undamped motion:

As you can notice it has started off small at 0 and ends up large at 12.
Now if you make greater than
you will notice that the wave is not increasing over a period of time but instead repeat itself over a period of time.
Pic 6 undamped motion:

3) In this next section we were to use laplace transforms to solve the following equation using KCL in a closed loop. KCL stands for kircoffs current laws. I had did the same steps as in the previous problems and using matlab we were able to get a solution for
. Also to do the KCL in a closed loop I had to define values for the resistance, inductor, and capacitor.
The values are:
R=100 ohms
L=.1 herrys
C=1micro farrid

Using matlab we get :
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’)
Pic 7 for KCL in a closed loop:

The decrease of the current is from to the energy being affected by the inductor and capacitor. As the capacitor charges it tends to act as an open circuit andthe inductor is slowing down the capacitor charge rate effectivelycausing the current to stop flowing through the circiut as you can see in the picture above. In the begining the current is moving steadly as it passes through the inductor and charges the capacitor it is slowly decreasing over time as you can see from the graph above.



















