(no subject)
- Posted by "Charles D. Brock" <davep at NAUTICOM.NET> Aug 13, 1996
- 964 views
--with trace --trace(1) include math.e printf(1,"The value of PI is %f \n",pi) printf(1,"The value of 'e' is %f \n",e) printf(1,"The sin of 1.4 in radians is %f \n", sin(1.4)) printf(1,"The sin of 1.4 radians in degrees is %f \n", sin (deg(1.4))) printf(1,"1.4 radians = %f degrees \n", rad_deg(1.4)) printf (1,"The abs of -13.7 is %d \n", abs(-13.7)) ? exp(3) ? exp(20) ? exp(100) ? area_trap(3,3,3) ? surface_area_sphere(2.5) ? surface_area_right_circular_cone(2,3) ? surface_area_right_circular_cylinder(2,3) ? surface_area_cube(3.7) ? surface_area_rect_solid(1,2,3) ? volume_rect_solid(1,2,3) ? volume_sphere(4) ? volume_cube(3) ? volume_right_circular_cone(4,12.34) ? volume_right_circular_cylinder(2,3) ? sinh(1) ? cosh(1) ? tanh(.5) ? mod(13,5)