Results 1 to 3 of 3

Math Help - I was wondering how to cube a function in DrRacket programming software

  1. #1
    Junior Member
    Joined
    Jul 2010
    Posts
    55

    I was wondering how to cube a function in DrRacket programming software

    IDK if anyone here has had any experience in programming but i'm in in CS class using a programming software called DrRacket and i'm trying to create a function for the volume of a sphere 4 * pi * r3(r3 being cubed)/3. I know in calculators, that expression would be with the "^" is that true here as well?

    Nevermind i've figured it out, idk how to delete this thread however, so could a mod delete or lock it for me? Thanks.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,080
    Thanks
    66
    So what was it; r*r*r ?!
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Jul 2010
    Posts
    55
    Yeah it was, i was able to get the function to work once i had originally defined the "^", but when i plugged in a value for it to compute, it asked for 2 numbers instead of one, so that option didn't work, i'm trying it the other way now.

    Okay that way worked.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 3
    Last Post: September 30th 2010, 11:34 AM
  2. Programming the sin function
    Posted in the Trigonometry Forum
    Replies: 4
    Last Post: April 9th 2010, 09:13 PM
  3. Replies: 0
    Last Post: October 8th 2009, 12:05 PM
  4. The Hilbert cube homeomorphic to the cube?
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: June 12th 2009, 09:35 AM

/mathhelpforum @mathhelpforum