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 )?
1900Problem 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.
2029Problem 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
1964Post New Maxobiz Interview Questions
what are the db backup types?
Explain daily activities and responsibilities of xi developer?
What is work queue – internal in blue prism?
Explain why diesel engine is known as high torque and petrol engine as high speed engine?
What is the price of the paperback kindle?
What do you mean by serialization in .NET?
What is the lockout relay
Is c# lazy thread safe?
What does the c preprocessor do?
What is array list in java?
Did elevation affect weight?
At what level of the img. You can perform project documentation and status monitoring?
What is null in javascript?
How we can create war file in servlet?
How to calculate the electrical load for a standard telecom BTS shelter and choose the DG set capacity for the same load?