Displaying a quadratic equation
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi im very new to Matlab and help would be greatly appreciative
Consider the quadratic equation of the form: ax^2 + bx + c = 0, where a,b,c are constants
(a) Write a MATLAB function having the coefficients a, b, c as input arguments to determine the quadratic roots of the equation. Specifically, display the two roots in the Command Window using the following format:
The first root = r1 The second root = r2
(b) Utilize the function created in part (a) to find the roots of the quadratic equations specified by the Lab TA. Tabulate the results.
2 Kommentare
Azzi Abdelmalek
am 24 Sep. 2013
This a homework. What have you done so far? What problem have you encountered?
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Pulsed Waveforms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!