Understood. Disregard this problem. ________________________________ From: [email protected] [[email protected]] on behalf of Kal Sze [[email protected]] Sent: Friday, August 31, 2012 1:32 AM To: [email protected] Subject: Re: [Tutor] Scheme
And this looks like a homework problem, too. It is against etiquette to just ask for the solution to homework on ANY forum, message board, or mailing list. Since it's been given to you as homework, you're supposed to give it enough thoughts, and (hopefully) come up with your solution. Even when you go to the Lisp or Scheme mailing list, you should at least show what you have tried, paste your own code, and tell them where you are stuck. On 31 August 2012 07:32, Ashley Fowler <[email protected]<mailto:[email protected]>> wrote: This is a problem using the Scheme programming...Can anybody help me with this problem? 2. Write a procedure (sphere r) that takes the radius of a sphere as the value of its input parameter and returns the volume of that sphere given by the formula: (4/3)π(r^3). Use (require scheme/math) or (require racket/math) to load the math library containing the "pi" constant. Be sure to use "cube" from problem (1) to find the cube of r (r^3). Tests: (sphere 2) ==> 33.51 ... (sphere 5.3) ==> 623.61 ... _______________________________________________ Tutor maillist - [email protected]<mailto:[email protected]> To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
