Question: R code line from the abc formula, to calculate the roots of the quadratic equation , for various values a, b, c. Abc formula: Translate

R code line from the abc formula, to calculate the roots of the quadratic equation R code line from the abc formula, to calculate the roots of , for various values a, b, c. Abc formula:

the quadratic equation , for various values a, b, c. Abc formula: Translate the formula or its components into the R language. Because there are two values produced, x1 and x2, the variables x1 and x2 must be combined through the cbind command (x1, x2) if grouped into row vectors or rbind (x1, x2) if grouped be a column vector. This vector also becomes the returned result. After the function is successfully created, evaluate it for the value: i. a = 1, b = 5, c = 6 ii.a = 1, b = 0, c = 4

Using R language to solve it and explain please, Thanks

f (r) = ax? + bx + c = 0 -b+ V2 4ac 212 = 2a

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!