Question: r = - b + - b 2 - 4 a c 2 2 a Name your function Quad. Function 0 % Variables % Inputs

r=-b+-b2-4ac22a
Name your function Quad.
Function 0
% Variables
% Inputs
% a (first input argument)
% b (second input argument)
% c (third input argument)
% Outputs
% positive root (first output argument)
% negative root (second output argument)
% Function
Code to call your function 2
a=2;
b =4;
c=1;
[r1,r2]=Quad(a,b,c);
 r=-b+-b2-4ac22a Name your function Quad. Function 0 % Variables % Inputs

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!