Menu

[Solved]Please Solve Following Please Hand Write Make Sure Type Everything Problem Requirements Mu Q37128755

Please solve the following, please do not hand write, and makesure to type out everything. With each problem, there are”requirements” it must meet. I will attach them. Thank you!

Problem 1 In a class called H2P1, write a program (within main) that asks the user to enter the a, b, c values (separated by

REQUIREMENTS(Make sure it meets theserequirements):

Problem 1: Compile and Run If your file can be compiled by javac complier, you will get full make Problem 1: Output Test 1: e

Problem 1: Print This vertex is also the zero of your parabola Test: (1,-1, 0.25) and get Zero message Problem 1: Print

Problem 1 In a class called H2P1, write a program (within main) that asks the user to enter the a, b, c values (separated by spaces and in this order) corresponding to the coefficients of a quadratic function in standard form: y ax2+ bx + c. The program should then compute and output to the screen the x and y coordinates of the vertex of the parabola that represents the given quadratic function. Furthermore, if the vertex is also a zero or a y-intercept (or both) for the same function, then you should print an appropriate message to the user indicating these facts. Here is a sample run of this program Enter the a, b, and c of your quadratic function (separated by spaces): 1 00 The vertex of the corresponding parabola is: (0, 0) This vertex is also the zero of your parabola. This vertex is also the y-intercept of your parabola. Hint: For a function f(x) – ax bx c, the vertex is at -b (-b 2a 2a Problem 1: Compile and Run If your file can be compiled by javac complier, you will get full make Problem 1: Output Test 1: enter(1 0 0) and get (0, O) as vertex Test 2: enter(2 4 3) and get (-1, 1) as vertex Problem 1: Print “This vertex is also the zero of your parabola” Test: (1,-1, 0.25) and get “Zero” message Problem 1: Print “This vertex is also the y-intercept of your parabola” Test: enter (2, 0, 1) and get the “y intercept” message Problem 1: Main Your instruction is clear Show transcribed image text Problem 1 In a class called H2P1, write a program (within main) that asks the user to enter the a, b, c values (separated by spaces and in this order) corresponding to the coefficients of a quadratic function in standard form: y ax2+ bx + c. The program should then compute and output to the screen the x and y coordinates of the vertex of the parabola that represents the given quadratic function. Furthermore, if the vertex is also a zero or a y-intercept (or both) for the same function, then you should print an appropriate message to the user indicating these facts. Here is a sample run of this program Enter the a, b, and c of your quadratic function (separated by spaces): 1 00 The vertex of the corresponding parabola is: (0, 0) This vertex is also the zero of your parabola. This vertex is also the y-intercept of your parabola. Hint: For a function f(x) – ax bx c, the vertex is at -b (-b 2a 2a
Problem 1: Compile and Run If your file can be compiled by javac complier, you will get full make Problem 1: Output Test 1: enter(1 0 0) and get (0, O) as vertex Test 2: enter(2 4 3) and get (-1, 1) as vertex
Problem 1: Print “This vertex is also the zero of your parabola” Test: (1,-1, 0.25) and get “Zero” message Problem 1: Print “This vertex is also the y-intercept of your parabola” Test: enter (2, 0, 1) and get the “y intercept” message Problem 1: Main Your instruction is clear

Expert Answer


Answer to Please solve the following, please do not hand write, and make sure to type out everything. With each problem, there are… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *