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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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