Tuesday, January 4, 2011

Fractions in DrRacket

Here's how I use fractions in DrRacket:



Good Luck!

Mike

Saturday, January 1, 2011

Getting Started with DrRacket

You can download DrRacket by clicking here. It works on a Windows PC or an Apple Macintosh. We use a Mac.

After downloading it, we dragged the DrRacket folder into our Applications folder. Then we opened up the DrRacket folder and dragged the DrRacket program to our program bar so its easy to start. Then all we have to do is click on the DrRacket icon from the program bar to start it up. Below is a YouTube video of how we did it on our computer. Click here to download a version that is easier to view.








When we start DrRacket, the screen looks like this:




The bottom half of the screen is the interactions window. You can type math equations into the window and it will give the answer. You have to type the math operator first and everything is surrounded by parentheses. Try typing

(+ 2 3)

and then hit enter and see what happens.

The cool thing about putting the operator first is that you add as many numbers as you want. Try this next

(+ 2 3 4 5 7 9 10 11 33 434)

You can do subtraction, multiplication and division as well:

(- 1000 400)

(* 4 25)

(/ 80 2 )

Pretty cool!

Now try something like this - it rocks!

(+ 238929384723 29348723984723948 0298023487502340587)


Below is a YouTube movie of me using DrRacket for simple math equations. Click here to download a version that is easier to view.



Good Luck!
Mike and Cam