Ask your own question, for FREE!
MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005 13 Online
OpenStudy (julie):

How exactly do these procedures work? (define (square x) (exp (double (log x)))) (define (double x) (+ x x))

OpenStudy (owlfred):

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!

OpenStudy (shadowfiend):

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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!