Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Write a function that implements the quadratic equation. Given three inputs , and c , calculate the ro r = - b + - b

Write a function that implements the quadratic equation. Given three inputs , and c, calculate the ro
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
function [quadratic]= Quad (a,b,c);
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started