************************************************* option = 0 stops program option = 1 gives y = a*x ; z = x/a option = 2 gives z = y**(a*x) option = 3 gives z = exp(a*x) option = 4 gives z = log10(a*x) option = 5 gives z = ln(a*x) option = 6 gives z = b*cos(a*x) option = 7 gives z = b*sin(a*x) option = 8 gives z = b*sqrt(a*x) option = 9 gives (xx,yy)=ROT(d)*(x,y) ************************************************* option = 6 gives z = b*cos(a*x) a = 1.000000 b = 1.000000 x = 75.000000 degree z =(1.000000)*cos(1.308997) =(1.000000)(0.258819) = 0.258819 option = 8 gives z = b*sqrt(a*x) a = 1.000000 b = 1.000000 x = 3.000000 z =(1.000000)*sqrt(3.000000) =(1.000000)(1.732051) = 1.732051 option = 1 gives y = a*x ; z = x/a a = 1.732051 x = 0.500000 y = a*x =0.866026 z = x/a =0.288675 option = 9 gives (xx,yy)=ROT(d)*(x,y) x = 0.500000 y = 0.866026 d = -30.000000 degree xx =(0.500000)*cos(-0.523599)-(0.866026)*sin(-0.523599)=0.866026 xx =(0.500000)*sin(-0.523599)+(0.866026)*cos(-0.523599)=0.500001 option = 3 gives z = exp(a*x) a = 1.000000 x = 1.000000 z = exp(1.000000) = 2.718282 option = 4 gives z = log10(a*x) a = 1.000000 x = 2.000000 z = log10(2.000000) = 0.301030 option = 1 gives y = a*x ; z = x/a a = 360.000000 x = 5.000000 y = a*x =1800.000000 z = x/a =0.013889 option = 5 gives z = ln(a*x) a = 1.000000 x = 10.000000 z = ln(10.000000) = 2.302585