Question: Create a function to solve the Quadratic Formula as know as a x 2 + b x + c = 0 x = - b

Create a function to solve the Quadratic Formula as know as
ax2+bx+c=0
x=-b+-b2-4ac22a
The function must have only 3 reference parameters which are the coefficient of the quadratic equation a,b and c, at the
end the function must return the real value of x. If a=0, or there is a negative root square obtained, the function must sent
a message error to the user "The coefficient of it can't be equal zero" or "Negative root solution are Founded Sorry try
again".
For this problem you need to use the following algorithms tools already learned on previous modules such as PAC,
IPO, flow charts, and the new technic learned on this module such as Coupling interactivity chart diagram, Data
Dictionary. Test your result using the following data let a=1b=2c=1, let a=4,b=3,c=1, and let a=0b=3,c=2.
 Create a function to solve the Quadratic Formula as know as

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!