0

is there any pre-defined function in java to input an equation and find it's value by substituting an integer value? //for exam

is there any pre-defined function in java to input an equation and find it's value by substituting an integer value? //for example, input :enter an equation x^2+1 enter the value of x 3 output : 10 if there are no pre-defined functions in java,how can i achieve it?

21st Feb 2020, 12:55 PM
Tech Duke
4 Antworten
+ 2
Similar question which has been answered already. https://www.sololearn.com/discuss/2175207/?ref=app This thread has a different solution but almost similar to your requirements. Kindly check the code shared by 'Omkar'. https://www.sololearn.com/Discuss/2175694/?ref=app
21st Feb 2020, 1:53 PM
Avinesh
Avinesh - avatar