At what point are function names bound in Racket?

Note:-
We have seen one kind of name already: the formal parameters used in lambda expressions. These are a special type of name and are bound to values when the function is called. In this subsection, we’ll look at using names more generally. Unlike the imperative programming languages we are used so far, names in (pure) functional programming represent immutable values – once we are bound them to a particular value (or function, because remember functions are values) you can’t change them.
(define z 10)
(define (make-z-adder) (lambda (x) (+ x z)))
(define add-z (make-z-adder))
> (add-z 5) 5
15
The body of make-z-adder is a function with a free name z, which is bound to the global z
(let ([z 100])
((make-z-adder) 5))
Now the lambda expression is evaluated after we call the function in the local scope, but what value of z gets saved in the closure? The value used is the one bound to the name that is in the scope where the lambda expression is in the source code.
Determine the point estimate of the population mean and margin of error for the confidence interval. Lower bound is 19, upper bound is 27. The point estimate of the population mean is _______ . The margin of error for the confidence interval is _______ .
Implement selection sort in the language RACKET, it should take in a list and a comparison function, and return a list. Describe how to use the function
1. A tennis ball is struck and departs from the racket horizontally with a speed of 27.5 m/s. The ball hits the court at a horizontal distance of 18.9 m from the racket. How far above the court is the tennis ball when it leaves the racket? 2. A major-league pitcher can throw a ball in excess of 41.8 m/s. If a ball is thrown horizontally at this speed, how much will it drop by the time it reaches a...
Having trouble with writing a function in racket that would be able to use substitution like so: Input: two atoms and a list that might itself contain lists as elements. Substitute will replace every occurrence of the first atom with the second in the list. Example: (substitute ‘yim ‘yam ‘(a b yim (c d yim e) (f (g h (i yim)) j)) Should return (a b yam (c d yam e) (f (g h (i yam)) j))
Write a function updateAges(names, ages) that takes as parameters a list of names of people whose birthday it is today and a dictionary named ages, with names as keys and ages as values, and increments the age of each person in the dictionary whose birthday is today.
6. A tennis player strikes a tennis ball with her racket when the ball is at the uppermost point of its trajectory as shown. Just after impact, the velocity of the ball is directed at an angle of 15° above the horizontal. If the 125 gram ball is in contact with the racket for 0.02 sec, and the average impulsive force exerted by the racket on the ball is of magnitude of 200 N and directed at an angle 9°...
All Things Tennis (ATT), a French company, manufactures a variety of tennis gear, such as racket covers, tennis bags, and embroidered towels. ATT sells all its products exclusively in Europe through independent distributors. ATT’s most popular line is a series of racket covers with various animal pictures on the cover. ATT is currently making 500 animal racket covers a week at an average per unit cost of 3.50 €, which includes both variable costs and allocated fixed costs. The variable...
What was the differences between earth bound and sea bound societies.
All Things Tennis (ATT), a French company, manufactures a variety of tennis gear, such as racket covers, tennis bags, and embroidered towels. ATT sells all its products exclusively in Europe through independent distributors. ATT’s most popular line is a series of racket covers with various animal pictures on the cover. ATT is currently making 500 animal racket covers a week at an average per unit cost of 3.50 €, which includes both variable costs and allocated fixed costs. The variable...
a) On a throw-in, a tennis player hits his 0.075 Kg ball with the racket, providing him with an impulsive force. Assuming that the ball and the racket are in contact for 5 ms and then the ball leaves the racket at a speed of 40 m / s, what would be approximately the average racket force on the ball? Ignore all other forces, including gravity b) Water flows out of a hose at a rate of 1.2 Kg for...