Question: a) Explain what the following SCHEME function does and express the expression in infix form or mathematical form. [1] (define (find-1-solution a b) (list (/(b)(2a))))

![expression in infix form or mathematical form. [1] (define (find-1-solution a b)](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2e5360d7a3_42166f2e53588e69.jpg)
a) Explain what the following SCHEME function does and express the expression in infix form or mathematical form. [1] (define (find-1-solution a b) (list (/(b)(2a)))) (5 marks) b) Explain what the following SCHEME function does and express the expressions in infix form or mathematical form. [2] (define (find-2-solution a b c) (list (/(+(b)(sqrt((b b )(4 a c))))(2a)) (/((b)(sqrt((b b) (4ac))))(2a)))) c) Define a function using SCHEME or any other Functional Programming language for the following:- The function can be named as solve-quadratic-equation that get three (3) parameters a,b and c. The function will check and call the above function in i) or ii) depending on the following conditions: If (b24ac)=0, then call the function find-1-solution. If (b24ac)>0, then call the function find-2-solution. If (b24ac)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
