Hi, I am a sympy newbie, and I would like to use sympy to solve equation 
systems. I don't expect these systems to be huge or complicated. 

I would like to be able to process equations in plaintext such as this:

sample_volume=20
final_concentration=0.55
ethanol_concentration=0.96

final_volume = ethanol_vol+sample_volume
final_concentration*final_volume=ethanol_vol*ethanol_concentration 

I have hacked together a simple sympy script 
<https://anaconda.org/BjornFJohansson/sympy/notebook> that solves the above 
system. 
I have a couple of questions regarding this:

- has this been done before? I would like to use tested code if possible.
- is it possible to incorporate units in the calculations? This issue 
<https://github.com/sympy/sympy/issues/5156> suggests that it is not.
- are there any immediately apparent gotchas the code above? I would like 
to have a system for solving equations not much more complex than the 
example.

Grateful for input. I asked the same question on stackoverflow 
<http://stackoverflow.com/questions/40459915/solving-set-of-linear-equations-in-plaintext-using-sympy>
 but 
I got no response.

Thanks,
Björn

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/d18fc376-b5ed-419d-927f-12eb09c3ee8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to