原题: Solve the equation: p*e-x + q*sin(x) + r*cos(x) + s*tan(x) + t*x2 + u = 0 where 0 <= x <= 1. Input Input consists of multiple test cases and terminated by an EOF. Each test case consists of 6 integers in a single line: p, q, r, s…
Solve the equation:p ∗ e−x + q ∗ sin(x) + r ∗ cos(x) + s ∗ tan(x) + t ∗ x2 + u = 0where 0 ≤ x ≤ 1.InputInput consists of multiple test cases and terminated by an EOF. Each test case consists of 6 integers ina single line: p, q, r, s, t and u (where 0…
Solve the equation:p ∗ e ^−x + q ∗ sin(x) + r ∗ cos(x) + s ∗ tan(x) + t ∗ x ^2 + u = 02 + u = 0where 0 ≤ x ≤ 1.InputInput consists of multiple test cases and terminated by an EOF. Each test case consists of 6 integers ina single line: p, q, r, s, t a…