subject

Write a program that asks a user for the coefficients , , and and outputs the roots of that equation. Be aware of the following:

a. Be sure that your request for input and your output both have descriptive text.
b. If the roots have an imaginary component, use when representing the imaginary term in the output. For example, you may output "3 + 7" as a root.
c. Be sure to handle the cases in which any or all coefficients are equal to zero.
d. If A != 0, there could be 2 real distinct roots, 2 real identical roots (one root of multiplicity 2), or complex roots.
e. If A = 0, we are left with + = 0, a linear equation with one root.
f. If A = B = 0, we are left with C = 0, so if user entered a non-zero value of C, write a message to the screen indicating this error.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Idon understand these and need some ! ?
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
You have been supporting csm tech publishing's windows server 2016 server network for over a year. the office has two windows server 2016 servers running active directory and a number of other roles. management has informed you that a small sales office is opening in the same building three floors up. the sales manager wants to install a sales application on a server located in the sales office. this server will have limited physical security because there's no special room dedicated for it, which means it will be accessible to non-it personnel and visitors. you're considering installing windows server 2016 server core on the new server because accessing its console regularly probably won't be necessary, and this server will be managed from one of the other csm tech publishing servers. what are the benefits and drawbacks of using server core for this branch office? what are some things you should do to set up this server management environment?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
You know the right answer?
Write a program that asks a user for the coefficients , , and and outputs the roots of that equatio...
Questions
question
Mathematics, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
question
English, 25.11.2020 01:00
question
Mathematics, 25.11.2020 01:00
Questions on the website: 13722363