Editing
Non-Euclidean Geometry
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Modeling 'Spherical Distance' (How Airplanes Fly):''' <syntaxhighlight lang="python"> import math def haversine_distance(lat1, lon1, lat2, lon2): """ Calculates distance on a sphere (Non-Euclidean). The 'Straight Line' on a sphere is a Great Circle. """ R = 6371 # Earth radius in km d_lat = math.radians(lat2 - lat1) d_lon = math.radians(lon2 - lon1) a = math.sin(d_lat/2)**2 + math.cos(math.radians(lat1)) * \ math.cos(math.radians(lat2)) * math.sin(d_lon/2)**2 c = 2 * math.atan2(math.sqrt(a), math.sqrt(1-a)) return round(R * c, 2) # Distance between London and New York print(f"Great Circle Distance: {haversine_distance(51.5, -0.1, 40.7, -74.0)} km") </syntaxhighlight> ; Curvature Landmarks : '''Einstein's General Relativity''' β The proof that gravity is not a "force" but the curvature of Non-Euclidean spacetime. : '''GPS Satellites''' β These must use Non-Euclidean math to account for the Earth's curve and relativistic time shifts. : '''The Shape of the Universe''' β Astronomers are still measuring light from the Big Bang to see if the whole universe is flat, spherical, or hyperbolic. : '''Coral Reefs & Kale''' β Nature often grows in Hyperbolic shapes to maximize surface area in a small space. </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information