Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
How exactly do these procedures work?
(define (square x)
(exp (double (log x))))
(define (double x) (+ x x))
 2 years ago
 2 years ago
How exactly do these procedures work? (define (square x) (exp (double (log x)))) (define (double x) (+ x x))
 2 years ago
 2 years ago

This Question is Closed

OwlfredBest ResponseYou've already chosen the best response.0
Hoot! You just asked your first question! Hang tight while I find people to answer it for you. You can thank people who give you good answers by clicking the 'Good Answer' button on the right!
 2 years ago

shadowfiendBest ResponseYou've already chosen the best response.4
Pretty staightforward; remember how logs/exponents work: \[\begin{align} exp(double (log x)) &= e^{2 \ln x}\\ &= e^{\ln x^2}\\ &= x^2 \end{align}\] Have a look at http://en.wikipedia.org/wiki/Logarithm for more.
 2 years ago
See more questions >>>
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.