0% found this document useful (0 votes)
401 views1 page

Spring 2024 - MTH646 - 1

The document provides instructions for solving two partial differential equations using the finite difference method. It includes the equations, boundary and initial conditions, grid spacing, and an empty table to fill in the solution values.

Uploaded by

Kashf e Areej
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
401 views1 page

Spring 2024 - MTH646 - 1

The document provides instructions for solving two partial differential equations using the finite difference method. It includes the equations, boundary and initial conditions, grid spacing, and an empty table to fill in the solution values.

Uploaded by

Kashf e Areej
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Teacher Name: Dr.

Muhammad Zubair | Assistant Professor


Email: [email protected]
Course: MTH646 (Partial Differential Equations)
Submission Due Date: Monday, April 29, 2024

DON’T MISS THESE: Important instructions before attempting the solution of this assignment:

• To solve this assignment, you should have good command over 1 - 10 lectures.
 Try to get the concepts, consolidate your concepts and ideas from these questions which you learn
in the 1 - 10 lectures.
 Upload assignments properly through LMS, No Assignment will be accepted through email.
 Upload assignment in due date is mandatory.
• Write your ID on the top of your solution file.
 Don’t use colorful back grounds in your solution files.
 Use Math Type or equation editor etc. for Mathematical symbols.
 You should remember that if we found the solution files of some students are same then we will
reward zero marks to all those students.
 Try to make solution by yourself and protect your work from other students, otherwise you and the
student who send same solution file as you will be given zero mark.
 Also remember that you are supposed to submit your assignment in MS-Word format any other like
scan images etc. will not be accepted and we will give zero mark corresponding to these
assignments.
Note: Please visit the announcement section on LMS and download your assignment # 01.
𝜕𝑢 𝜕𝑢
Q1: Solve the PDE 𝜕𝑥 + 𝜕𝑡 = 𝑥 for 𝑢 = 𝑢(𝑥, 𝑡) by using finite difference method for the boundary
conditions 𝑢(0, 𝑡) = 1 and 𝑢(1, 𝑡) = 0 and initial condition is 𝑢(𝑥, 0) = 𝑆𝑖𝑛𝑥. Here 0 ≤ 𝑥 ≤ 1,
and 0 < 𝑡 ≤ 0.5. Assume that ℎ = 0.2 and 𝑘 = 0.1. Finally complete the table for the above
numerical.

0.5 𝑢16 𝑢26 𝑢36 𝑢46 𝑢56 𝑢66


0.4 𝑢15 𝑢25 𝑢35 𝑢45 𝑢55 𝑢65
0.3 𝑢14 𝑢24 𝑢34 𝑢44 𝑢54 𝑢64
0.2 𝑢13 𝑢23 𝑢33 𝑢43 𝑢53 𝑢63
0.1 𝑢12 𝑢22 𝑢32 𝑢42 𝑢52 𝑢62
0 𝑢11 𝑢21 𝑢31 𝑢41 𝑢51 𝑢61
t
0 0.2 0.4 0.6 0.8 1
x

𝜕𝑢 1 𝜕2 𝑢
Q2: Solve the PDE 𝜕𝑥 = 16 𝜕𝑥 2 for 𝑢 = 𝑢(𝑥, 𝑡) by using finite difference method for the boundary
conditions 𝑢(0, 𝑡) = 0 and 𝑢(1, 𝑡) = 8 and initial conditions 𝑢(0, 𝑥) = 0.5𝑥(8 − 𝑥).
Here 0 ≤ 𝑥 ≤ 1, and 0 < 𝑡 ≤ 0.5. Assume that ℎ = 0.2 and 𝑘 = 0.1.
Finally complete the table for the above numerical
0.5 𝑢16 𝑢26 𝑢36 𝑢46 𝑢56 𝑢66
0.4 𝑢15 𝑢25 𝑢35 𝑢45 𝑢55 𝑢65
0.3 𝑢14 𝑢24 𝑢34 𝑢44 𝑢54 𝑢64
0.2 𝑢13 𝑢23 𝑢33 𝑢43 𝑢53 𝑢63
0.1 𝑢12 𝑢22 𝑢32 𝑢42 𝑢52 𝑢62
0 𝑢11 𝑢21 𝑢31 𝑢41 𝑢51 𝑢61
t
0 0.2 0.4 0.6 0.8 1
x

You might also like