English, asked by Sarfarazahmad7174, 1 year ago

Write a program to determine the coordinates of the centre of the room

Answers

Answered by Anonymous
5

Take one-half the length of the side and add that number to the x-coordinate of the left bottom vertex of the square. That number will be the x-coordinate of the center of the square. Use the same have value of the length of the side of the square and add that to the y-coordinate of the left bottom vertex to find the y-coordinate of the center of the square.

Answered by sadiaanam
0

Answer:

The x-coordinate of the square's left bottom vertex's coordinates should be multiplied by one-half the side length. The x-coordinate of the square's centre will be that number. To determine the y-coordinate of the square's center, multiply the same have value of the side length by the y-coordinate of the left bottom vertex.

The centre of a room is the point at which all the walls are equidistant from the point. To find the centre of a room, you will need to measure the distance from each wall to the point, and then average those measurements.

To begin, measure the distance from one wall to the point. Then, measure the distance from the opposite wall to the point. If these two measurements are the same, then the point is halfway between the walls and is therefore the centre of the room.

If the two measurements are not the same, then measure the distance from the remaining two walls to the point. Average these four measurements, and the resultant value will be the centre of the room.

Explanation:

For more information, refer to the below link.

https://brainly.in/question/8846725

Project code - #SPJ2

Similar questions