Question: how to take equation as input in python like this? any kind of equation. i need code segment of how to take input from user
how to take equation as input in python like this? any kind of equation.

i need code segment of how to take input from user like these equation user must have freedom to give any equation
Enter an equation like... Q 1. f(x) = 2x^3-2x-5 Q 2. f(x) = x^3-X-1 Q3. f(x) = x^3+2x^2+x-1 9. 4. f(x) = x^3-2x-5 Q 5. f(x) = x^3-X+1 Q6. f(x) = cos(x) Q7. f(x) = 2*cos(x)-X Q 8. f(x) = 2^x-x-1.7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
