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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try 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