Compute Square Root - using Scheme

liunx

Guest
<br />Hello <br /><br />I am trying to write a program in Dr Scheme (Lisp - scheme) that will compute a square root for me. This is what I have so far:<br /><br />(define value (lambda (x) (- x 0.00000001) (* x x))<br />(if (lambda (= x value) x)))<br /><br />But this doesn't work, anyone have any ideas?<br /><br />Thanks for your help<br /><br />Linda<br />
</div>
 
Back
Top