Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- formula_general(A, B, C) ->
- if (B * B - 4 * A * C) > 0 -> {(-B + math:sqrt(B * B - 4 * A * C)) / (2 * A), (-B - math:sqrt(B * B - 4 * A * C)) / (2 * A)}
- ; true -> imaginarias
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement