subject

Given three points (A, B, C) that will always create a triangle with a positive area, calculate the location of the orthocenter and create a triangle that connects the orthocenter to the end points of the largest side in the triangle ABC. Display the internal angles of this new triangle from smallest to largest and display whether it is isosceles, scalene, or equilateral, and whether it is acute, obtuse, or right. How to determine whether two floating-point values are equal? The comparison two floating-point values for an EXACT match is prone error, for this assignment if the absolute value of the difference between two floating-point values is less than 0.001 then the values will be considered equivalent Example Execution #1: Enter point #1 -> 1 1 Enter point #2 -> 5 2 Enter point #3 -> 3 4 Coordinates of orthocenter: 3.20, 3.20 Internal triangle angles: 31.0, 47.7, 101.3 Triangle Type: Scalene obtuse Example Execution #2: Enter point #1 -> 3 3 Enter point #2 -> -4 -1 Enter point #3 -> 3 5 Coordinates of orthocenter: 6.43, -1.00 Internal triangle angles: 40.6, 60.3, 79.1 Triangle Type: Scalene acute Example Execution #3: Enter point #1 -> 3 1 Enter point #2 -> -3 1 Enter point #3 -> 0 4 Coordinates of orthocenter: 0.00, 4.00 Internal triangle angles: 45.0, 45.0, 90.0 Triangle Type: Isosceles right Example Execution #4 (rounding to one decimal place may result in angles that do not add up to exactly 180): Enter point #1 -> 3 2 Enter point #2 -> -3 2 Enter point #3 -> O 3 Coordinates of orthocenter: 0.00, 11.00 Internal triangle angles: 36.9, 71.6, 71.6 Triangle Type: Isosceles acute Example Execution #5: Enter point #1 -> -50 Enter point #2 -> -2 4 Enter point #3 -> 1 0 Coordinates of orthocenter: -2.00, 2.25 Internal triangle angles: 36.9, 36.9, 106.3 Triangle Type: Isosceles obtuse Example Execution #6: Enter point #1 -> O 1.7320508 Enter point #2 -> -30 Enter point #3 -> 30 Coordinates of orthocenter: 0.00, 5.20 Internal triangle angles: 60.0, 60.0, 60.0 Triangle Type: Equilateral acute

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
My mom and i are moving and we don’t have wifi for the next week, i want to know if using a using a hotspot with unlimited data is better than using regular wifi. i’m considering cost, speed, and data sacrifices.
Answers: 1
question
Computers and Technology, 22.06.2019 20:30
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
You know the right answer?
Given three points (A, B, C) that will always create a triangle with a positive area, calculate the...
Questions
question
Mathematics, 07.09.2021 07:00
question
Mathematics, 07.09.2021 07:00
question
English, 07.09.2021 07:00
question
Mathematics, 07.09.2021 07:00
question
Mathematics, 07.09.2021 07:00
question
Mathematics, 07.09.2021 07:00
question
Mathematics, 07.09.2021 07:00