<- previous    index    next ->

Lecture 28n, PDE spiral

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 ->

Other links

Go to top