You are on page 1of 2

Due : 2016_03_10, collect the HW in the class

Find the basis and the solution of the following equation:

1. + 2.2 + 0.4 = 0 , (0) = 3.3 , (0) = 1.2


2. 25 = 0, (0) = 0, (0) = 10;
3. 4 4 3 = 0, (2) = , (2) =
4. 5 + 16 + 12.8 = 0 , (0) = 0 , (0) 2.3
5. 4 + 4 = 0 , (0) = 0 , (0) = 3
.
6. + 20 + 100 = 0 , (0.1) = 1.177 , (0.1) = 11.04
7. +4 + 4.25 = 0 , (0) = 1 , (0) = 2
8. 2 + = 0 , (4) = 7.371 , (4) = + 3.713
9. 2 + 2 = 0 , (0) = 3 , =0
10. +4 +5 =0, = 14 0.6050 , = 14 0.0011

Figure 1

11. Find the differential equation of RLC circuit shown in Fig. 1!


12. Solve the differential equation from question number 11 using analytical method and plot the Vc
vs Time!
13. Solve the differential equation using forward euler from question number 11 method and plot
the Vc vs Time!

Figure 2

14. Find the differential equation of RLC circuit shown in Fig. 2!


15. Solve the differential equation from question number 14 using analytical method and plot the Vc
vs Time!
16. Solve the differential equation from question number 14 using forward euler method and plot
the Vc vs Time!
Contoh program untuk PR minggu lalu,

dt=5e-2;
t=0:dt:1;
y=zeros(size(t));
y(1)=0;
for i=2:length(t)

y(i)=y(i-1)+((10-y(i-1))/(10000*10e-6))*dt;

end
plot(t,y)
hold on
dt=1e-4;
t=0:dt:1;
y=zeros(size(t));
y(1)=0;
for i=2:length(t)

y(i)=y(i-1)+((10-y(i-1))/(10000*10e-6))*dt;

end
plot(t,y,'r')
hold off

legend('Ts=0.05s','Ts=0.0001s')
grid on

You might also like