<- previous index next ->
PDE solution is a spiral
solve order 2 PDE in x,y,t
The simplest spiral is defined as:
x(t) = t*cos(2Pi*t) 2Pi is 6.28
y(t) = t*sin(2Pi*t) step size dt used here 1.0/32
with 8 cycles of spiral
First plots x(t),y(t) dx/dt x(t),dy/dt y(t)
plot_spiral.py3
plot_spiral_py3.out
version with much checking:
ode_spiral_chk.java
ode_spiral_chk_java.out
ode_spiral_chk2.java
ode_spiral_chk2_java.out
ode_spiral_chk.py3
ode_spiral_chk_py3.out
<- previous index next ->
-
CMSC 455 home page
-
Syllabus - class dates and subjects, homework dates, reading assignments
-
Homework assignments - the details
-
Projects -
-
Partial Lecture Notes, one per WEB page
-
Partial Lecture Notes, one big page for printing
-
Downloadable samples, source and executables
-
Some brief notes on Matlab
-
Some brief notes on Python
-
Some brief notes on Fortran 95
-
Some brief notes on Ada 95
-
An Ada math library (gnatmath95)
-
Finite difference approximations for derivatives
-
MATLAB examples, some ODE, some PDE
-
parallel threads examples
-
Reference pages on Taylor series, identities,
coordinate systems, differential operators
-
selected news related to numerical computation