fix superscript 1
This commit is contained in:
14
README.md
14
README.md
@@ -41,9 +41,15 @@ this project uses submodules (maybe recursively), so either :
|
||||
- 3
|
||||
- ...
|
||||
4. print reduced form
|
||||
5. find degree
|
||||
6. print degree
|
||||
7. solve
|
||||
-> print reduced form
|
||||
-> if degree 1 :
|
||||
- if c = 0 -> print "any real is a solution"
|
||||
- if c != 0 -> print "no solution"
|
||||
-> if degree 2 :
|
||||
- print degree
|
||||
-> if degree 3 :
|
||||
- print degree
|
||||
5. solve
|
||||
-> discriminant : Δ = b² - 4ac
|
||||
-> Δ > 0 -> 2 solutions : x = ( -b / 2a ) +- ( √|Δ| / 2a )
|
||||
-> Δ == 0 -> : x = ( -b / 2a )
|
||||
@@ -61,4 +67,4 @@ this project uses submodules (maybe recursively), so either :
|
||||
- second_term; // double (√|Δ| / 2a)
|
||||
- double solution1; // first_term + second_term
|
||||
- double solution2; // first_term - second_term
|
||||
8. print solution
|
||||
6. print solution
|
||||
|
||||
Reference in New Issue
Block a user