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 |
|
lukegustafson | 110 |
| #2 |
|
dmrichwa | 113 |
| #3 |
|
MichalMarsalek | 117 |
| #3 |
|
rucin93 | 117 |
| #5 |
|
MeWhenI | 155 |
| #6 |
|
XenThe | 175 |