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 )?
1413Problem 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.
1446Problem 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
1582Post New Maxobiz Interview Questions
How do you delete a row in a table?
discuss elaborately finencial services
What does .join mean in python?
Can you provide an example of a successful project where you optimized machinery design to increase crop yield and minimize soil compaction?
Is left join faster than join?
What is hot deployment in tomcat?
Describe your life as a news headline of today?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
who introduced sql?
How are layers counted?
What are the collection types available in swift?
What do you understand by worker node?
What is test driver and test stub?
How to use newtonsoft or json.net for deserializing the json data?
why electron produce magnetic field when it is in motion?