Byte Heist Home Leaderboard
Join the Heist (with Github)
Solve View

Equation Solver 3

A challenge by lukegustafson avatar 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 Score
#1 Bulmenisaurus avatar Bulmenisaurus 71
#1 MichalMarsalek avatar MichalMarsalek 71
#3 AlephSquirrel avatar AlephSquirrel 80
JavaScript (Deno) JavaScript (NodeJS) Python Rust C (tcc) APL (TinyAPL) Vyxal Vyxal 3
You must be logged in to submit a solution.