Bug 176202

Summary: The solver don't find solution
Product: [Applications] kalzium Reporter: Mancausoft <andreamilazzo>
Component: CalculatorAssignee: Kalzium Developers <kalzium>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ewoerner, kristof.bal
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Mancausoft 2008-11-27 00:47:34 UTC
Version:            (using KDE 4.1.3)
Installed from:    Debian testing/unstable Packages

I try to resolv:
As2S3 + NaNO3 + Na2CO3 -> Na2SO4 + NaNO2 + CO2 + Na3AsO4
but No solution found.
kalzium(9629) EQChemDialog::compute: Answer:  "<b>1</b> As<b><sub>2</sub></b>S<b><sub>3</sub></b> + <b>1</b> NaNO<b><sub>3</sub></b> + <b>1</b> Na<b><sub>2</sub></b>CO<b><sub>3</sub></b> -&gt; <b>1</b> Na<b><sub>2</sub></b>SO<b><sub>4</sub></b> + <b>1</b> NaNO<b><sub>2</sub></b> +<b>1</b> CO<b><sub>2</sub></b> + <b>1</b> Na<b><sub>3</sub></b>AsO<b><sub>4</sub></b> : No solution found"

the solution exist:
 1/2 As2S3 + 7 NaNO3 + 3 Na2CO3 -> 3/2 Na2SO4 + 7 NaNO2 + 3 CO2 + Na3AsO4
Comment 1 Kristof Bal 2008-12-09 20:23:56 UTC
If you would like to solve it, you should enter variables to the formula:

aAs2S3 + bNaNO3 + cNa2CO3 -> dNa2SO4 + eNaNO2 + fCO2 + gNa3AsO4 

for example.

I'm not able to test it now, but this should work (if not to complicated)
Comment 2 Kristof Bal 2008-12-18 18:32:58 UTC
I tried it using my solution and I get:

<b>1</b> As<b><sub>2</sub></b>S<b><sub>3</sub></b> + <b>14</b> NaNO<b><sub>3</sub></b> + <b>6</b> Na<b><sub>2</sub></b>CO<b><sub>3</sub></b> -&gt; <b>3</b> Na<b><sub>2</sub></b>SO<b><sub>4</sub></b> + <b>14</b> NaNO<b><sub>2</sub></b> + <b>6</b> CO<b><sub>2</sub></b> + <b>2</b> Na<b><sub>3</sub></b>AsO<b><sub>4</sub></b>

or in a human way:
1 As2S3 + 14 NaNO3 + 6 Na2CO3 -> 3 Na2SO4 + 14 NaNO2 + 6 CO2 + 2 Na3AsO4

Wich is equivalent to your solution.

Can someone mark this bug as invalid?