Question: Given the program below: Here is an improved version of our program for finding the roots of a quadratic. Try it with some different values
Given the program below:


Here is an improved version of our program for finding the roots of a quadratic. Try it with some different values of a2, a1, and a0. How does program quad2.r (Exercise 3.2.1 ) behave if a2 is 0 and/or a1 is 0 ? Using if statements, modify quad2.r so that it gives sensible answers for all possible (numerical) inputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
