Question: part 3 Part 3 1 . Create a NEW file named Cubic.py and implement the following class Cubic to find the roots of cubic equations.
part Part
Create a NEW file named Cubic.py and implement the following class Cubic to find the roots of cubic equations. Create your progQ ipynb or progQ py modified from progQ to import the new class. Submit both Cubic.py and progQ upon zipping them together as progQ zip.
class Cubic:
# constructor to initialize a list of coefficients: coeff
# there should be only one attribute coeff instead of attributes
def initself C :
# Store the values of input parameter to coeff
def setCoeffself C :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
