Sie sind auf Seite 1von 3

Assignment No 1

= 1 + 2 cos() 2

1 + 2 cos() 2
=

300 + 200 cos 12 1000(0.06)2(9.81)


=
1000(3.13)

300 + 200 cos 12 602(9.81)


=

3130

The first point of the solution is (0, 3), which is the point where initial condition is given.
The value of x and y at the first point are 1 = 0 and 1 = 3.
The rest of the solution is done by steps. In each step the next value of the independent variable is
given by;
+1 = 1 + = + 10

The value of the dependent variable +1 is calculated by first calculating 1 and 2 using below
equation;
1 = ( , )

2 = ( + , + 1 )

Then substituting in below equation;

1
+1 = 1 + (1 + 2 )
2

For further understand the method, below table need to be prepared below further calculation;

1
2
3
4
5
6
7
8
9

()
0
10
20
30
40
50
60
70
80

()
3

1 + 1

First Step with 1 = 0 and 1 = 3


1 =

300 + 200 cos 12 (0) 602(9.81)(3)

2 =

300 + 200 cos 12 (0 + 10) 602(9.81)(3.126767966)

3130

= 0.012676797

1 + 1 = 3 + (0.012676797)(10) = 3.126767966
3130

= 0.109633148

1
1
2 = 1 + (1 + 2 ) = 3 + (0.012676797 0.109633148)(10) = .
2
2
Second Step with 2 = 10 and 2 = 2.515218243
1 =

300 + 200 cos

(10) 602(9.81)(2.515218243)
12
= 0.09415219
3130

2 + 1 = 2.515218243 + (0.09415219)(10) = 1.573696339


2 =

300 + 200 cos

(10 + 10) 602(9.81)(1.573696339)


12
= 0.021279029
3130

1
3 = 2 + (1 + 2 )
2
1
= 2.515218243 + (0.09415219 0.021279029)(10) = .
2
For the rest of the step can be derived via Excel and resulted as below table;

1
2
3
4
5
6
7
8
9

()
0
10
20
30
40
50
60
70
80

()
3
2.515218243
2.150852434
2.019084669
1.649559134
1.715017285
1.457293082
1.492346999
1.453705754

1
0.012676797
-0.09415219
0.003269044
-0.02480512
-0.045155925
0.039987348
-0.070552534
0.04745685
-0.038477414

1 + 1
3.126767966
1.573696339
2.183542877
1.771033472
1.197999886
2.114890763
0.751767738
1.966915499
1.068931612

2
-0.109633148
0.021279029
-0.029622597
-0.049099987
0.058247555
-0.091532188
0.077563318
-0.055185099
0.008059409

The height of water as the function of time in graph as below;

Height of water versus time

Height (m)

3.5
3
2.5
2
1.5
1
0.5
0
0

10

20

30

40

50
Time (s)

60

70

80

90

Das könnte Ihnen auch gefallen