Question: Python 2.7 Make a class for quadratic functions. Consider a quadratic function f ir: a, b, c) ar2 bar c. Make a class Quadratic for
Make a class for quadratic functions. Consider a quadratic function f ir: a, b, c) ar2 bar c. Make a class Quadratic for representing f, where a, b, and care 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 a and f values for n values in the interval [L, R), 3. roots 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
