R
R
roadToFizik2019-11-10 13:15:48
Java
roadToFizik, 2019-11-10 13:15:48

How to write a math problem parser in java?

Let's say there is a mathematical problem, they say there is a right triangle abc, where a = 5 cm, b = 10 cm, c = ?.
So, how to turn this "given", as in physics?
We have someVariable variable and we need to assign a = 5 cm to it, and so on. for other variables.
If the record is not a = 5 cm, but a is 5 cm or a is 5 centimeters, then what to do in this case?
There is also a physics question. In the condition of the problem, they write V \u003d 25 m / s. How to understand that V is exactly V, and not m or t? If in mathematics the names of variables do not play a special role, then in physics this is fundamental. Thank you all in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
koperagen, 2019-11-10
@koperagen

https://m.habr.com/ru/post/470247/
Does it look like what you want to do?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question