SICP-2nd-Edition-Exercise-1.40

From Boozled

Jump to: navigation, search

Contents

Exercise 1.40 From SICP

Details from SICP are here

Define a procedure cubic that can be used together with the newtons-method procedure in expressions of the form


  1. (newtons-method (cubic a b c) 1)


to approximate zeros of the cubic x3 + ax2 + bx + c.

Attempt

Scheme

  1.  

Parent Course

6.001_Structure_and_Interpretation_of_Computer_Programs

Further Reading

Newtons Method at Wikipedia

Personal tools