View Single Post
  #4 (permalink)  
Old 05-04-2008, 10:57 AM
Xav's Avatar   
Xav Xav is offline
Code Slinger
 
Join Date: Mar 2008
Location: The North Pole
Posts: 11,038
Last Blog:
Web slideshow in JavaS...
Credits: 1
Rep Power: 86
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Calculating Line Length

This brings us back to the discussion of how maths is vital to programming. Yes, if you work out the triangle using Pythagoras, you can calculate the length. Just make sure the program runs the calculations in the order you want it to, though - remember, the exponentiation will be performed before the addition.
__________________


Mr. Xav | Website | Forums | Blog
Reply With Quote