Question: This assignment modifies your quadratic formula plotter to be array-based, Retained from Before: Ask for input as you did before. You no longer need to

 This assignment modifies your quadratic formula plotter to be array-based, Retained

This assignment modifies your quadratic formula plotter to be array-based, Retained from Before: Ask for input as you did before. You no longer need to solve for the roots of the quadratic and you may remove those functions from your code And Now, Something Different: You will stil evaluate y = az? + bu + cand print the results, for: 3 (0.0, 1.0, 2.0,3.0,...,10.0) * E (1.0, 0.1, 0.01,...,0.00000001) IE (1.0, 10.0, 100.0,..., 1 000 000 000.0) 3 (-10.0,-9,0,-8.0..., 8.0,9.0, 10.0) But now, there are additional caveats . You must create arrays of all four of the above sets of values . You must use loops to initialize these arrays . You must create arrays to store the y-results for all four of the above sets of values . You still must have a single function that returns y = ar? - bx + c for a given a b, c, and x and use the loops to call it repeatedly You must also have a single function that: Accepts a, b, and Accepts an array of x values Accepts a count of those x values Accepts an array buffer for y values Writes the computed y value for each x value into the corresponding spot in the yarray butter You must stili format the printouts nicely, and make sure to distinguish between the four sets of values so the output is readable! You must still go by the following Do no arithmetic in maint. Create functions that do all your math. Do not use any global variables. . You must specifically use a function to compute the discriminant - the part of the quadratic under the square root Comment every function, every paragraph of code as we discussed in class and any line of code that does more than two things . Indent your code properly. Your editor will do this for you let it. Your code must compile without errors (some warnings are okay at this stage - if you're concerned that a warning might not be okay, ask me and run with any tessonable valves of a band c- rl be testing them on my end. PPrevious code link: https://www.chegg.com/homework- help/questions-and-answers/https- wwwcheggcom-homework-help-questions- answers-assignment-require-arithmetic-c- involvin-967737756?trackid=zXSNraWS This assignment modifies your quadratic formula plotter to be array-based, Retained from Before: Ask for input as you did before. You no longer need to solve for the roots of the quadratic and you may remove those functions from your code And Now, Something Different: You will stil evaluate y = az? + bu + cand print the results, for: 3 (0.0, 1.0, 2.0,3.0,...,10.0) * E (1.0, 0.1, 0.01,...,0.00000001) IE (1.0, 10.0, 100.0,..., 1 000 000 000.0) 3 (-10.0,-9,0,-8.0..., 8.0,9.0, 10.0) But now, there are additional caveats . You must create arrays of all four of the above sets of values . You must use loops to initialize these arrays . You must create arrays to store the y-results for all four of the above sets of values . You still must have a single function that returns y = ar? - bx + c for a given a b, c, and x and use the loops to call it repeatedly You must also have a single function that: Accepts a, b, and Accepts an array of x values Accepts a count of those x values Accepts an array buffer for y values Writes the computed y value for each x value into the corresponding spot in the yarray butter You must stili format the printouts nicely, and make sure to distinguish between the four sets of values so the output is readable! You must still go by the following Do no arithmetic in maint. Create functions that do all your math. Do not use any global variables. . You must specifically use a function to compute the discriminant - the part of the quadratic under the square root Comment every function, every paragraph of code as we discussed in class and any line of code that does more than two things . Indent your code properly. Your editor will do this for you let it. Your code must compile without errors (some warnings are okay at this stage - if you're concerned that a warning might not be okay, ask me and run with any tessonable valves of a band c- rl be testing them on my end. PPrevious code link: https://www.chegg.com/homework- help/questions-and-answers/https- wwwcheggcom-homework-help-questions- answers-assignment-require-arithmetic-c- involvin-967737756?trackid=zXSNraWS

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!