Question: Make a class for quadratic functions. Consider a quadratic function f(r: a,b,c) = ax2 + bx + c. Make a class Quadratic for representing f,

Make a class for quadratic functions. Consider a quadratic function f(r: a,b,c) = ax2 + bx + c. Make a class Quadratic for representing f, where a, b, and c are attributes, and the methods are 1. value for computing a value of f at a point r, 2. table for writing out a table of r and f values for n r values in the interval [L, R 3. roota for computing the two roots. Name of program file: Quadratic.py. Write a test code after the class definition to demonstrate its usag
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
