Demo entry 6747686



Submitted by talha on Jun 05, 2018 at 14:26
Language: Python. Code size: 361 Bytes.

from pylab import *
import numpy as np
def RbnXDot(a,hn,x,y,z):
    return -a*x+z*y
def RbnYDot(hn,b,x,y,z):
    return hn*x-x*z
def RbnZDot(d,x,y,z):
    return -d*z+y*x+x*y*z

# 3Boyutlu 4. Dereceden Runge Kutta Integratörü
def RKTwoD(a,hn,b,d,x,y,z,f,g,h,dt):
    k1x = dt * f(a,hn,x,y,z)
    k1y = dt * g(hn,b,x,y,z)
    k1z = dt * h(d,x,y,z)

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).