Math Question

  • Thread starter Thread starter _V1qY
  • Start date Start date
  • Views Views 844
  • Replies Replies 3

_V1qY

Well-Known Member
Member
Joined
May 31, 2012
Messages
138
Reaction score
36
Trophies
0
XP
176
Country
Simple math question which I need for my programming but I haven't been able to work out.

I have this diagram to show how the core concept looks:

Diagram.png


If the diameter of the circle is 20cm, how do I calculate how long the square is diagonally?

Thanks.
 
Since diameter is 20, then i *hope* the sides are 20cm since they look tangental.

Then, using pythagoras theorem to get diagonal length of square, i.e:

√((20^2)+(20^2) = √800 = 20√2
 
  • Like
Reactions: _V1qY
The square is 20 by 20 (you can deduce that from the diameter) so you just use Pythagoras.
The diagonal part is the squareroot of 20^2+20^2 = 28.28
 
  • Like
Reactions: _V1qY

Site & Scene News

Popular threads in this forum