Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?
2035Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.
2106Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
2043Post New Maxobiz Interview Questions
When did the challenger return to the earth after its first mission?
Who travelled in skylab - 3 of america?
Who won in the India - England ODI Series held in January 2017?
Explain the constants in vbscript?
Describe a methodology each for the tire sizing and design of retraction system with respect to landing gear of an aircraft?
What are the f1 through f12 keys?
Is select an empty tag in html?
What is promise-all in node.js?
What is the frameworks in Ax ?
How to call a stored function with parameters?
What is apache spark written in?
Is bucket sort stable?
Explain about odbc and python?
Name some of the data points provided by purchasing for the materials.
What is the full form of stl in c++?