#test017  mathematics function sin cos

M_PI is 3.141592;
Radian is M_PI/180;
Radius is 5;
DefaultSphereRadius is 0.4;

Theta is 30;
X_locate is Radius*cos(Theta*Radian);
Y_locate is Radius*sin(Theta*Radian);

Sphere000 is a sphere;
Sphere000 moves{X_locate,Y_locate,0};
Sphere000 draw;

Theta is Theta + 30;
X_locate is Radius*cos(Theta*Radian);
Y_locate is Radius*sin(Theta*Radian);

Sphere001 is a sphere;
Sphere001 color is Green;
Sphere001 moves{X_locate,Y_locate,0};
Sphere001 draw;

Theta is Theta + 30;
X_locate is Radius*cos(Theta*Radian);
Y_locate is Radius*sin(Theta*Radian);

Sphere002 is a sphere;
Sphere002 color is Blue;
Sphere002 moves{X_locate,Y_locate,0};
Sphere002 draw;

Theta is Theta + 30;
X_locate is Radius*cos(Theta*Radian);
Y_locate is Radius*sin(Theta*Radian);
Sphere003 is a sphere;
Sphere003 color is Yellow;
Sphere003 moves{X_locate,Y_locate,0};
Sphere003 draw;

Theta is Theta + 30;
X_locate is Radius*cos(Theta*Radian);
Y_locate is Radius*sin(Theta*Radian);
Sphere004 is a sphere;
Sphere004 color is Pink;
Sphere004 moves{X_locate,Y_locate,0};
Sphere004 draw;
