Write check-expects.
The double-circle-img
function (abbeviate dci
):
(define (double-circle-image img)
(image-width
(beside (circle 40 "solid" "blue)
img
(circle 40 "solid" "blue))))
Write and test a function r2d
that returns a random two digit
number. There is a 40% chance of the number beginning with a 2 and
a 60% chance of it beginning with a 1. The ones digit should be
random.
Gas gauge. You are making a text based gas gauge function.
gas-gauge: number -> string
"XXXXXXXXOOOOOOOO"
.Graphing. You are making an animation where a red circle follows the people-coordinate graph of the function
y = 1/600 * (x-200) * (x+200)