Question: I have the QuadraticEquation, SystemOfTwo, and Point Class code already done I need help with LHD2Reccurence and My Class code in Java please and thank

I have the QuadraticEquation, SystemOfTwo, and Point Class code already done Ineed help with LHD2Reccurence and My Class code in Java please andI have the QuadraticEquation, SystemOfTwo, and Point Class code already done I need help with LHD2Reccurence and My Class code in Java please and thank you!!!

- LHD2Recurrence (i.e. linearly homogenous degree-2 recurrence relation) - Attributes - data to store all of the characteristics of the recursive sequence and the linear sequence (i.e. r1, r2, a1, a2, u, v, s1, s2) - DecimalFormat objects to format the output (sequence definitions should displayed with 2 decimal places in all cases and sequence elements should be displayed with no decimal places) - any other pertinent data - Behaviors - appropriate constructor - a method that determines the characteristics of the explicit equation (this will utilize the SystemOfTwo and QuadraticEquation classes defined below) - methods that return a String representation of the sequence definitions - methods that return the actual sequence elements - any other necessary supporting methods - MyClass - driver that drives the flow of the logic as in the images below as follows: - prompts the user for the information associated with a second-degree linearly homogenous recurrence relation - uses the classes above to determine the corresponding equivalent explicit sequence - neatly displays each sequence and the first 10 elements generated from each sequence - writes the output to output files as follows: - the explicit sequence and elements are written to a file called explicit.txt - the recursive sequence and elements are written to a file called recursive.txt - if the roots of the quadratic equation are complex, no output files should be generated - Class Name: QuadraticEquation (this class was written in component 1) - Attributes - three private variables to store the: - quadratic coefficient (i.e. the coefficient on the x2 term) - linear coefficient (i.e. the coefficient on the x term) - the constant of a quadratic equation - Behaviors - three methods as follows: - default constructor that assigns the value 1 to each of the three attributes - appropriate alternate constructor - a method that calculates the roots of the quadratic equation and returns them in an ArrayList (this will ultimately have 0, 1, or 2 elements depending on the number of solutions) - Class Name: SystemOfTwo (this class was written in component 2) - Attributes - data to store all 6 coefficients and constants associated with a system of linear equations with two unknowns - Behaviors - appropriate constructor - method that determines the solution to the system of equations and returns the information as an instance of the Point class (defined below) - Note - you do not need to check for systems of parallel lines, or systems of two occurrences of the same line - Class Name: Point (this class was written in component 2) - Attributes - data to store the x and y coordinates of the Point - Behaviors - appropriate constructor - getters and setters for each coordinate

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!