Equation Solver 3
A challenge by
lukegustafson
Description
I need some code to do my homework for me. Each equation can be simplified to a linear one. Print out the value of x satisfying the equation.
Each equation will be on a separate line.
My teacher allows a tolerance of 1e-4 because she knows how hard it can be to do correct rounding in base 10 when your floating-point numbers are internally represented in base 2.
Leaderboard
| Author | Points | ||
|---|---|---|---|
| #1 |
|
Bulmenisaurus | 71 |
| #1 |
|
MichalMarsalek | 71 |
| #3 |
|
4atj | 72 |
| #3 |
|
lukegustafson | 72 |
| #5 |
|
cros107 | 77 |
| #5 |
|
ovs-code | 77 |
| #7 |
|
AlephSquirrel | 80 |
| #7 |
|
ndren | 80 |