logo

Mathematical Algorithms Solutions 2022

   

Added on  2022-09-11

4 Pages277 Words18 Views
Q1
a. ,
Assuming an interval of 0 x 1 and h=0.2
dy
dx =x y +1
For y(0.2)
f 0=f ( 0 ,0.2 ) = ( 0.2 ) ( 0 ) +1
= 1.2
y(0.2)= y0 +h f 0
= 1 + 0.2(1.2)
= 1.24
For y(0.4)
f 0=f ( 0,0. 4 ) = ( 0. 4 ) ( 0 ) +1
= 1.4
y(0.2)= y0 +h f 0
= 1 + 0.2(1.4)
= 1.28
For y(0.6)
f 0=f ( 0,0.6 ) = ( 0. 6 ) ( 0 ) +1
Mathematical Algorithms Solutions 2022_1
= 1.6
y(0.2)= y0 +h f 0
= 1 + 0.2(1.2)
= 1.32
b. ,
The solution would be given as
U = Ae λt+ Ae λt
Inserting the bounderly conditions
X (0) = A + B = 0 , therefore A=-B
X(1) = A eλ +B eλ = 0 , and A(e2 λ1) =0
Since |λ | > 0 thereby having A=B=
u =0 this is the case with λ< 0
Now trying the same for λ> 0.
X(t) = A cos ( λ x) + B sin (( λ x)
When applying boundary conditions.
0 = X(0) = A and B sin λ =0 since B 0
Sin λ=0
λ= where n = 1, 2, 3, . . .
Now solving for U
U' ( t ) = n2 π2 T (t )
The solution is
T N =cn en2 π2 t and n= 1,2,3,4...
Mathematical Algorithms Solutions 2022_2

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
MATLAB Exercise 1.1: Magnitude and phase response of system H(w)
|10
|1987
|36

Physics Questions and Answers | Acceleration and Mass
|4
|648
|22

Statistics Assignment - Bayes Theorem
|9
|1018
|77

Engineering Dynamics Solutions
|14
|1420
|365

Future Engineering Mathematics: Line Integrals, Double Integrals, and Power Method
|17
|2629
|468

Expected Income and Utility, Lottery Preference, Risk Aversion and Optimal Saving
|5
|644
|297