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
Demo Series - Small Business Backup By Veeam Icon
Demo Series - Small Business Backup By Veeam

Learn how to protect your Microsoft 365 data, with simple, actionable tips today.

Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
Watch Demo Series
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