realspin
float1 t,dt,angle,m=1,measure_angle;float3 pos,spd,nor,I,B,F;int stat[2],counter=0,c3=0,measure,B_change;void init(){ pos=float3(100,0,0); angle=M_PI/2*((float)(rand()%10000))/10000.0; …
int n=0; float1 h=6.626e-34; float3 Bv=float3(0,0,0); for(int y=0;y<900;y++) for(int x=0;x<3600;x++) { float1…