> How to call within a function in R5RS in Dr. Racket?

How to call within a function in R5RS in Dr. Racket?

Posted at: 2014-12-18 
; 2. Square Miles

>(define RectangleArea_squaremiles

(lambda (east-west_yards north-south_furlongs)

(* (/ east-west_yards 1760) (/ north-south_furlongs 8))))

>(RectangleArea_squaremiles 3520 40)

>(RectangleArea_squaremiles 17600 80)

; 3. Call within Function

>(define TriangleArea_squaremiles

(lambda (east-west_yards north-south_furlongs)

(/ (RectangleArea_squaremiles east-west_yards north-south_furlongs) 2)))

How does using "(RectangleArea_squaremiles east-west_yards north-south_furlongs)" help? What is happening there?

How would I create a function named SquareArea_squaremiles with parameter side_yards using RectangleArea_squaremiles

a furlong is 220 yards.

1,760 yards in a mile.

8 furlongs in a mile.