An attempt to discover new kinds of Fractals by generalizing Pythagoras's Theorem into higher dimensions and negative numbers.

Pythagoras Theorem when a < 0.0 and b >= 0.0 :

c^2 = a^2 + b^2 * (((a*a + b*b)^0.5 - b)^2.0/(b - (a*a + b*b)^0.5)^2.0)
c^2 = a^2 + b^2 * (((a*a + b*b)^0.5 - b)^2.0/(b - (a*a + b*b)^0.5)^2.0) * 1.0
c^2 = a^2 + b^2 * (((a*a + b*b)^0.5 - b)^2.0/(b - (a*a + b*b)^0.5)^2.0) * (-1.0 / -1.0)

c^2 = a^2 + b^2 * (((((a*a + b*b)^0.5)*i - b*i)^2.0)/(b*i - (((a*a + b*b)^0.5)^2.0)*i))


Pythagoras's Theorem with negative numbers :


For a < 0 and b >= 0 :

c^2 = a^2 + b^2 * (((((a*a + b*b)^0.5)*i - b*i)^2.0)/(b*i - (((a*a + b*b)^0.5)^2.0)*i))


for a >= 0 and b < 0 :

c^2 = b^2 + a^2 * (((((a*a + b*b)^0.5)*i - a*i)^2.0)/(a*i - (((a*a + b*b)^0.5)^2.0)*i))


for a < 0 and b < 0 :

c^2 = a^2 + b^2


for a >= 0 and b >= 0 :

c^2 = a^2 + b^2



There is Pythagoras's Theorem on Complex Plane numbers.

Project Samples

Project Activity

See All Activity >

Categories

Algorithms

License

MIT License

Follow PythagorasTheoremGeneralizer

PythagorasTheoremGeneralizer Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PythagorasTheoremGeneralizer!

Additional Project Details

Operating Systems

Windows

Intended Audience

Developers, Science/Research

User Interface

Console/Terminal

Programming Language

C#

Related Categories

C# Algorithms

Registered

2024-06-19