Real Equation Solver's icon

Real Equation Solver 5.0.0 Scripts 4.5 Community

Submitted by user neclor; MIT; 2026-01-15

Equation solver and generator for real-valued polynomial equations up to 4th degree.

Example:
func example() -> void:
print(ResSolver.linear(5, -10)) # Prints 2
print(ResSolver.quadratic(1, 1, -6)) # Prints [-3, 2]
print(ResSolver.cubic(2, -11, 12, 9)) # Prints [-0.5, 3]
print(ResSolver.quartic(1, -10, 35, -50, 24)) # Prints [1, 2, 3, 4]

print(ResGenerator.quartic(1, 2, 3, 4)) # Prints [1, -10, 35, -50, 24]


View files Download Submit an issue Recent Edits