#pragma rtGlobals=3 // Use modern global access method and strict wave access. Function Test(pw, xx, yw, dydx) Wave pw // pw[0]=k1, pw[1]=k2, pw[2]=k3, pw[3]=k4 Variable xx Wave yw // yw[0]=n, yw[1]=j, yw[2]=pot, yw[3]=f Wave dydx dydx[0]=pw[0]*yw[1]-pw[1]*yw[0]*yw[3] dydx[1]=pw[2] dydx[2]=yw[3] dydx[3]=pw[3]*yw[0] return 0 End Function GraphJV() Variable i=0, dim=11, vbi=1 Variable n1=2.5, n2=0.5, j1=0.13, j2=0.01, f1=5, f2=0, pot1, pot2 make/O/D/N=(dim) v v[0]=0.1 for(i=0;i