Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 818 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 818 Bytes

Finite Difference Method

The function we used here is: CodeCogsEqn (2)

Highlights:

  • Double Derivation is performed on the function f(x,t).
  • The PDE formed is CodeCogsEqn (1)
  • Initial Conditions taken as : f(x,0) = sin(x)
  • Boundary Conditions taken as: f(0,t) = 0 and f(L,t) = sin(L)*exp(-t)

The Graph:

graph

Note:

The code provided here contains a comparison between the original function and the function we made using PDE to check if both the graph coincides