You are on page 1of 1

f1= @(t,x,y,z) (0.7-0.040*x-0.

001*x*(z/(z+100)));%turunan Tn
f2= @(t,x,y,z) (0.41*0.5*x*(z/(z+100))+0.2*y*(z/(z+100))-0.06*y-0.0005*z*y);
%turunan Te
f3= @(t,x,y,z) (0.03*z*log(300000/z)-0.2*z-0.005*z*y); %turunan C
T(1)=0;%nilai awal=0
X(1)=0.5;%x(0)
Y(1)=0.49973;%y(0)
Z(1)=0.0002;%z(0)
h=3;%delta_t

0
3
6
9
12
15
18
21
24
27
30
33
36
39

0,5
2,422
349
4,127
32
5,639
494
6,980
683
8,170
189
9,225
197
10,16
087
10,99
071
11,72
662
12,37
921
12,95
778
13,47
062
13,92
497

0,499
73
0,417
415
0,348
682
0,291
357
0,243
737
0,204
687
0,173
816
0,151
885
0,141
363
0,147
214
0,177
781
0,245
681
0,368
431
0,568
613

0,000
2
0,000
685
0,002
116
0,005
95
0,015
307
0,036
471
0,080
676
0,166
732
0,323
826
0,594
022
1,033
946
1,714
635
2,718
614
4,133
282

x1 , y1 , z1 , x2 , y2 , z2 , x3 , y3 , z3

Menggunakan Runge

x4 , y4 , z4

dan
seterusnya

You might also like