<- previous    index    next ->

Lecture 36b, Comparison of methods and settings


When a numerical solution is needed for a Partial Differential Equation
there may be a need for a specific accuracy or a need for minimum
use of computer time.

Step size, typically h, smaller typically gives better accuracy and
requires more computer CPU time.

Method, can depend on the specific PDE and number of solution points
for both accuracy and computer time 

Methods

nderiv.out accutacy vs discrete points

Case study second order discrete with variations

pde22_s2_eq.c source code pde22_s2_eq_c.out printed solution pde22_s2_eq_c.dat solution data pde22_s2_eq_c.sh command for plotting pde22_s2_eq_c.plot plot instructions pde22_s2_eq_c.png plot results

Case study second order java and python same PDE

pde23a_eq.java source code pde23a_eq_java.out printed solution pde23.py source code pde23_py.out printed solution
    <- previous    index    next ->

Other links

Go to top