simplification error

Bugs

Modérateur : xcasadmin

XcasEngGuy
Messages : 60
Inscription : mer. janv. 13, 2010 3:20 pm

simplification error

Message par XcasEngGuy » dim. mai 03, 2015 8:51 pm

Hello,
I am using xcas 1.1.4-16 (c) 2000-14.

I found the following equation would not simplify:

eq1: = 1.2 * H * phi = (2 * H * nH2O)
eq2: nH2O = = solve (eq1, nH2O) [0]
eq3: = simplify (eq2)
eq4: = simplify (eq3)
eq5: = expand (eq4)

I get nH2O = (0.6 * H * phi / H) as a result. The H / H will not cancel. Any suggestions?

Thank you
Pièces jointes
session.zip
Here is a PDF of my result
(12.46 Kio) Téléchargé 329 fois

fred
Messages : 46
Inscription : mer. sept. 09, 2009 7:29 pm

Re: simplification error

Message par fred » lun. mai 11, 2015 8:35 pm

hello
with "xcas 1.2.0 (c)"
eq1:= 1.2 * H * phi = (2 * H * nH2O)
eq2:= solve (eq1, nH2O) [0]
eq3:=factor(eq2)

or
eq1:= 12/10 * H * phi = (2 * H * nH2O)
eq2:= solve (eq1, nH2O) [0]
eq3:=simplify(eq2)

I suppose there is differents algorithms with real or rationals numbers.

Répondre