Post Reply 
from hp50g expression 2 latex
05-27-2015, 08:54 PM (This post was last modified: 05-27-2015 09:18 PM by peacecalc.)
Post: #5
RE: from hp50g expression 2 latex
Next try:

\[ \frac{\sqrt{a+\left(b-c\right)\cdot cos\left(\frac{4}{d}\right)}\cdot \left(7+e\right)^{\frac{f}{g-h}}}{5\cdot \left(\left(x\right)^{3}-\left(x\right)^{a}\right)\cdot ln\left(2\cdot y\right)\cdot \left(e\right)^{\frac{\left(x\right)^{2}-7\cdot x}{5}}} \]

Is that worth going on or it's not very useful?

Code:
\frac{\sqrt{a+\left(b-c\right)\cdot cos\left(\frac{4}{d}\right)}\cdot \left(7+e\right)^{\frac{f}{g-h}}}{5\cdot \left(\left(x\right)^{3}-\left(x\right)^{a}\right)\cdot ln\left(2\cdot y\right)\cdot \left(e\right)^{\frac{\left(x\right)^{2}-7\cdot x}{5}}}

I implemented uppercase letters are change to lowercase. Because typing in HP 50g is easier with capitals, but normally in mathematical expressions are used lowercase letters (not always I know). Because my program is only analyzing one sign after the other, I have no change to distinguish between "e^x" and "(7+e)^x", so I always get the basis with parenthesis. The MATCH command eliminates double parenthesis always, the equation writer, too. The asterix "*" is replaced by "\cdot".
You have then more multiplication dots as required by mathematical conventions, but nevertheless the expression is correct.
The double backslash: I haven't any idea for a workaround (only with the replace function of an editor). If you transfer binary the result you get a chinese code on win 7.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
from hp50g expression 2 latex - peacecalc - 05-23-2015, 01:35 PM
RE: from hp50g expression 2 latex - peacecalc - 05-27-2015 08:54 PM
RE: from hp50g expression 2 latex - Gilles - 05-27-2015, 09:24 PM
RE: from hp50g expression 2 latex - pier4r - 03-25-2017, 09:51 PM
RE: from hp50g expression 2 latex - pier4r - 02-19-2017, 07:59 PM



User(s) browsing this thread: 1 Guest(s)