Question: Don't forget that you can use fprintf ( ' Enter Text Here ? ? ' ) and it will display that message in the command

Don't forget that you can use fprintf ('Enter Text Here ??
') and it will display that
message in the command window. Recall the quadratic formula is
-b+-b2-4ac22a
Run this program in the Command Window three times to obtain solutions to the following
three equations:
(a)2x2+8x+8
(b)-5x2+3x-4
(c)-2x2+7x+4
Example for part (a):
This program finds the roots of the quadratic equation y=ax???2+bx+c.
What are a,b, and c? Please enter in [a b c] format: [288]
The equation has one real root.
x1=
-2
Solution: Other answers: (b) two complex roots, 0.3+0.8426i and 0.3-0.8426i(c) two
real roots, 4 and -0.5
 Don't forget that you can use fprintf ('Enter Text Here ??

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!