开发者

How to judge whether equation satisfy or not programmatically?

开发者 https://www.devze.com 2022-12-15 14:30 出处:网络
We all kno开发者_运维技巧w this is true: (a+b)c = ca+b*c But how to judge it in programme?One way is to convert the algebraic expressions in the same format.

We all kno开发者_运维技巧w this is true:

(a+b)c = ca+b*c

But how to judge it in programme?


One way is to convert the algebraic expressions in the same format.
Simplify both left and right expressions by applying the algrebraic rules.
For simple equations it won't be too hard to implement it.

Check out Simplify any Algebraic Expression. Tryout various expressions to get an idea.

0

精彩评论

暂无评论...
验证码 换一张
取 消