Question: 018/ProblemSet zhengtao 0003.java 1 -Eclipse lavigate Search Project Run Window Help roblemSet zhengtao 0002 java ProblemSet zhengtao 0003, java 1 ithms 1 java q3: Write
018/ProblemSet zhengtao 0003.java 1 -Eclipse lavigate Search Project Run Window Help roblemSet zhengtao 0002 java ProblemSet zhengtao 0003, java 1 ithms 1 java q3: Write a public static method named q3 that takes a double as a parameter and returns a double. The method will represent a line with slope 10.58 and y-intercept -5.51 by interpreting the input double as an x-value and returning the corresponding y-value on the line 34 35 public static void q3O ( 36 37 38 39 40 double input 1; double x input'2 double y 10.58*x-5.51; System.out.printIn(y): 41 42 14 45 46 q4: Write a public static method named q4 that takes a double as a paraneter and returns a " double. The nethod will represent a parabola written in standard form 47 (https:/hwaw.desmos.com/calculator/zukjgk9iry) where a-12.03, b6.22, and c-14.48 by interpreting the input double as an x-value and returning the corresponding y-value on the * parabola 52 53 public static void q4(double x) 54 double a -12.03 double b -6.22; double c14.48 double y -a-a. x . bric; 57 Problems lavadoc Declaration-Console 'Coverage +81315) sterminated- ProblemSet ahengtao 0003 [Jave Application) Dieckpseibytestubieyavaw.exe (2018 326 whatever spine 15.65 218.70316999999997 sore flower
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
