Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB i have created user defined function called HW05roots that calculated roots of equation for example roots of x^2 + 5x + 6 =0 are
MATLAB
i have created user defined function called HW05roots that calculated roots of equation
for example roots of x^2 + 5x + 6 =0 are r1 = -2 and r2 = -3
im looking to write if statement that displays no postive roots for this quadratic equation if both or one roots is negative, else if postive it displays the postive root or roots
thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started