Bug 176202 - The solver don't find solution
Summary: The solver don't find solution
Status: RESOLVED NOT A BUG
Alias: None
Product: kalzium
Classification: Applications
Component: Calculator (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR normal
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-27 00:47 UTC by Mancausoft
Modified: 2009-01-04 00:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?