开发者

How to judge whether equation satisfy or not programmatically?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜