Question: Given the coordinates of three points (x1,y1), (x2,y2) , and (x3,y3) it is possible to find the coordinates of the center of the circle (Cx,
.png)
Write a program in a script file that calculates the coordinates of the center and the radius of a circle that passes through three given points. When executed the program asks the user to enter the coordinates of the three points. The program then calculates the center and radius and displays the results in the following format: "The coordinates of the center are (xx.x, xx.x) and the radius is xx.x. ", where xx.x stands for the calculated quantities rounded to the nearest tenth. Execute the program entering the following three points: ( 10.5, 4), (2, 8.6), and ( --4, -7).
(xf +y}) - (x + y}) (x1 -x2) V1 -y2) C, (x3 + y})- (x +y}) (x-x3) U2-ys S 2.
Step by Step Solution
3.45 Rating (168 Votes )
There are 3 Steps involved in it
Script file clear clc x1inputPlease enter the coordinates of poi... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
652-B-F-F-M (636).docx
120 KBs Word File
