Question: Build a LISP function called quad-roots to compute the roots of the following quadratic equation: ax 2 + bx + c = 0 These roots

Build a LISP function called quad-roots to compute the roots of the following quadratic equation:

ax2 + bx + c = 0

These roots would be calculated from the following formula:

x = c/b, when a = 0

_______

x = b b2 4ac, when a 0

2a

Please use Drracket

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!