Question: The equation of a parabola can be expressedin either standard form (y?=?ax 2 + bx + c) or vertex form (y = a(x - h)2
The equation of a parabola can be expressedin either standard form (y?=?ax2 + bx + c) or vertex form (y = a(x - h)2 + k).Write a program that prompts the user to enter a, b, and c as integers in standard form and displays h and k in the vertex form. Here are some sample runs.
Enter Enter a, b, c: 1 3 1 h is -3/2 k is -5/4 Enter a, b, c: 2 3 4 h is -3/4 k is 23/8 JEnter
Step by Step Solution
3.41 Rating (164 Votes )
There are 3 Steps involved in it
Program Plan 1 Create a class Rationallnteger 2 Declare and Initialize the private members numerator ... View full answer
Get step-by-step solutions from verified subject matter experts
