And this looks like a homework problem, too.<div><br></div><div>It is against etiquette to just ask for the solution to homework on ANY forum, message board, or mailing list. Since it&#39;s been given to you as homework, you&#39;re supposed to give it enough thoughts, and (hopefully) come up with your solution.</div>

<div><br></div><div>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.</div><div><br></div><div><div class="gmail_quote">

On 31 August 2012 07:32, Ashley Fowler <span dir="ltr">&lt;<a href="mailto:afowler2@broncos.uncfsu.edu" target="_blank">afowler2@broncos.uncfsu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






































<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">This is a problem using the Scheme programming...Can anybody help me with this problem?
<div><br>
</div>
<div>
<pre style="word-wrap:break-word;white-space:pre-wrap">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 
&quot;pi&quot; constant.
Be sure to use &quot;cube&quot; from problem (1) to find the cube of r (r^3).

Tests:
(sphere 2)   ==&gt; 33.51 ...
(sphere 5.3) ==&gt; 623.61 ...
</pre>
<br>
</div>
</div>
<span></span>

</div>

<br>_______________________________________________<br>
Tutor maillist  -  <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
<br></blockquote></div><br></div>