Professional Documents
Culture Documents
− ′
+ ′′
= 0.
11. Use crank Nicolson implicit method to solve − = 2, 0 < 𝑥 < 1, 0 < 𝑡, 𝑢(𝑥, 0) =
𝑠𝑖𝑛𝜋𝑥 + 𝑥(1 − 𝑥), 𝑢 (0, 𝑡) = 0, 𝑢(1, 𝑡) = 0. Use 𝑛 = 5 and 𝑘 = 0.1 and compare your
results with 𝑢 (𝑥, 𝑡) = 𝑒 𝑠𝑖𝑛𝜋𝑥 + 𝑥(1 − 𝑥).
12. Show that the set of vectors 𝑣 = (1,1,0), 𝑣 = (1,0,1), 𝑣 = (0,1,1) are linearly
independent. Using power method, find the largest eigen values and the corresponding
−2 −3
eigen vectors of given matrix 𝐴 = with ∈= 0.1.
6 7
13. Derive Galerkin weighted residue algorithm for the boundary value Ordinary Differential
Equation. Using Galerkin method obtain an approximate solution of the boundary value
problem 𝑦 ′′ + (1 + 𝑥 )𝑦 + 1 = 0, 𝑦(−1) = 𝑦(1) = 0, by taking the approximate
solution 𝑢(𝑥 ) = 𝑐 (1 − 𝑥 ) + 𝑐 𝑥 (1 − 𝑥 ).
14. Derive the finite difference formula for ∇ 𝑢 = 𝑓(𝑥, 𝑦).
15. Derive Rayleigh-Ritz method. Using Rayleigh-Ritz method obtain an approximate
solution of the boundary value problem 𝑦 ′′ + (1 + 𝑥 )𝑦 + 1 = 0, 𝑦(−1) = 𝑦(1) = 0, by
taking the approximate solution 𝑢(𝑥) = 𝑐 (1 − 𝑥 ) + 𝑐 𝑥 (1 − 𝑥 ).
16. Approximate the solution to the Poisson Equation, + = (𝑥 + 𝑦 )𝑒 , 0 < 𝑥 <
2, 0 < 𝑦 < 1, 𝑢 (𝑥, 0) = 1, 𝑢(𝑥, 1) = 𝑒 , 0 ≤ 𝑥 ≤ 2; 𝑢 (0, 𝑦) = 1, 𝑢 (2, 𝑦) = 𝑒 , 0 ≤
𝑦 ≤ 1; Use h=1, k=0.3.
17. Solve the heat conduction equation =𝑥 , 0 < 𝑥 < 1, 0 < 𝑡. Subject to boundary
conditions: 𝑢 = 0 at 𝑥 = 0 and = − 𝑢(𝑥, 𝑦) at 𝑥 = 1, 𝑡 > 0, 𝑢(𝑥, 0) = 𝑥(1 − 𝑥).
Using Explicit method, with ∆𝑥 = 0.1 and ∆𝑡 = 0.25 and ∆𝑡 = 0.7 and compare the
result.