Difference between revisions of "Geometry"
Jump to navigation
Jump to search
(Created page with "Categoy:Python <syntaxhighlight lang=python> XpointA = 1 YpointA = 1 XpointB = 2 YpointB = 2 distance = ( ( XpointA - XpointB ) ** 2 ) + ( ( YpointA - YpointB ) ** 2 ) **...") |
|||
Line 1: | Line 1: | ||
− | [[ | + | [[Category:Python]] |
<syntaxhighlight lang=python> | <syntaxhighlight lang=python> | ||
Latest revision as of 18:13, 10 January 2022
XpointA = 1
YpointA = 1
XpointB = 2
YpointB = 2
distance = ( ( XpointA - XpointB ) ** 2 ) + ( ( YpointA - YpointB ) ** 2 ) ** 0.5
KMonearth = distance * 100 # Very rough estimate for when using longtitude and latitude (in the Netherlands)