math_equations 0.0.1
math_equations: ^0.0.1 copied to clipboard
A Flutter package for solving math equations like quadratic equations.
math_equations #
A Flutter package for solving math equations like quadratic equations.
Features #
- Solve quadratic equations (ax² + bx + c = 0)
- Returns real roots
Usage #
import 'package:math_equations/math_equations.dart';
void main() {
final eq = QuadraticEquation(a: 1, b: -5, c: 6);
print(eq.solve()); // [3.0, 2.0]
}
Installation #
Add this to your pubspec.yaml:
dependencies:
math_equations: ^0.0.1