Question: the code needs to be in python You are going to write a program that helps students with some grade 10 math work. Consider a

the code needs to be in python
the code needs to be in python You are going to write

You are going to write a program that helps students with some grade 10 math work. Consider a quadratic in standard form to be f(x) = Ax? +BX+C Consider a quadratic in vertex form to be f(x) = a(x-h)? + k Design and Program a Quadratic Class. Fields: A, B, C, a, h, k (Store as decimal values) Constructor: Accept the 3 coefficients of the quadratic in standard form o Assign the values of A, B, C, a, h, k . . Private Methods: finda -> calculates and returns a from vertex form findh -> calculates and returns h from vertex form findk -> calculates and returns k from vertex form . . Public Methods: displayStandardForm() -> returns a String in standard form f(x) = Ax? +BX+C displayVertexForm() -> returns a String in vertex form f(x) = a(x-h)" +k . . . getOpening -> Determines if the quadratic opens up or down (Return a String) getXVertex -> Returns the x coordinate of the vertex of the quadratic getVertex -> Returns the y coordinate of the vertex of the quadratic getYint -> Returns the y intercept of the quadratic . . - . add -> Adds two quadratics together (Returns a Quadratic object) subtract-> Subtracts two quadratics from each other (Returns a Quadratic object) . Create a test program that shows all of the above methods working

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!