Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NOTE: This is in C++ , I am having difficulty understanding this project. Due Date Assignment Solutions to the quadratic equation Ax2 +Bx + C

image text in transcribedimage text in transcribed

NOTE: This is in C++ , I am having difficulty understanding this project.

Due Date Assignment Solutions to the quadratic equation Ax2 +Bx + C = 0 may be calculated using the quadratic formulas: B+B2-4AC 2A -B-1B2-4AC 2A or These formulas may be used, of course, only if the leading coefficient, A, is not zero. The number and type of solutions is determined by the value of the expression under the radical sign, B2 4AC, known as the discriminant: value of discriminant positive zero negative number of solutions kind of solutions real real imagina Your job is to write a program which will read the coefficients of a quadratic equation and, if the leading coefficient is non-zero, calculate and report the solutions. Since programming languages does not provide the imaginary type, you'll have to take appropriate steps to give imaginary results in the form shown. Just remember that every imaginary number is really determined by a pair of real numbers. Several sample runs appear on the next page; user input appears in bold type. The "*I" which appears in the output is simply written where necessary; the actual calculations involve only real results. You are not required to duplicate this output, but you should provide all information shown. Due Date Assignment Solutions to the quadratic equation Ax2 +Bx + C = 0 may be calculated using the quadratic formulas: B+B2-4AC 2A -B-1B2-4AC 2A or These formulas may be used, of course, only if the leading coefficient, A, is not zero. The number and type of solutions is determined by the value of the expression under the radical sign, B2 4AC, known as the discriminant: value of discriminant positive zero negative number of solutions kind of solutions real real imagina Your job is to write a program which will read the coefficients of a quadratic equation and, if the leading coefficient is non-zero, calculate and report the solutions. Since programming languages does not provide the imaginary type, you'll have to take appropriate steps to give imaginary results in the form shown. Just remember that every imaginary number is really determined by a pair of real numbers. Several sample runs appear on the next page; user input appears in bold type. The "*I" which appears in the output is simply written where necessary; the actual calculations involve only real results. You are not required to duplicate this output, but you should provide all information shown

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago