subject

Aquadratic equation is an equation of the form ax2+bx+c. a, b, and c are the coefficients of the equation, and the roots are the values of x at which the equation evaluates to 0, and the well-known quadratic formula is often used to find these roots. write a program that asks a user for the 3 coefficients and outputs the roots of that equation. be aware of the following: • be sure that your request for input and your output both have descriptive text.• be sure to handle the cases where some or even all of the coefficients are 0.• if the roots have an imaginary component, use i when representing the imaginary term in the output. for example, you may output "3 + 7i" as a root.• there could be 2 roots, 1 root, no roots, or infinite roots. if 1 or 2, you should output those. if no roots or infinite roots, you should output text stating that

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Petrică, tânăr licean în clasa a ix-a, a primit în dar de la părinţii săi un cont bancar pentru micile sale cheltuieli curente. el este pasionat de internet banking şi îşi verifică cu grijă toate tranzacţiile efectuate. pentru creşterea securităţii tranzacţiilor online, banca îi furnizează lui petrică un număr pe care el va trebui să îl modifice, obţinând un număr tan – număr de autentificare a tranzacţiei (transaction authentication number). regula de obţinere a numărului tan este următoarea: se formează cel mai mic număr par din toate cifrele numărului furnizat de bancă. cerinţă cunoscând numărul n furnizat de bancă, să se determine numărul tan obţinut de petrică. date de intrare fişierul tan.in conţine pe prima linie numărul natural n cu semnificaţia din enunţ. date de ieşire fişierul de ieşire tan.out va conţine o singură linie pe care va fi scris numărul tan cerut. restricţii • 0 < n < 18*1018 • n are cel puţin o cifră pară • numărul tan obţinut nu poate conţine zerouri nesemnificative
Answers: 2
question
Computers and Technology, 23.06.2019 21:20
For positive constants a and b, the force between two atoms in a molecule is given f(r) = −a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
A. in packet tracer, only the server-pt device can act as a server. desktop or laptop pcs cannot act as a server. based on your studies so far, explain the client-server model.
Answers: 2
You know the right answer?
Aquadratic equation is an equation of the form ax2+bx+c. a, b, and c are the coefficients of the equ...
Questions
question
Mathematics, 20.09.2020 06:01
question
Mathematics, 20.09.2020 06:01
question
Mathematics, 20.09.2020 06:01
question
Mathematics, 20.09.2020 06:01
question
Social Studies, 20.09.2020 06:01