Post Reply 
from hp50g expression 2 latex
05-27-2015, 02:42 PM
Post: #4
RE: from hp50g expression 2 latex
So my first try:

that the expression in hp 50g:

Code:
%%HP: T(3)A(R)F(,);

'\v/(A+(B-C)*COS(4/D))*(7+E)^(F/(G-H))/(5*(X^3-X^A)*LN(2*Y)*EXP((X^2-7*X)/5))'

and that is what I get in latex:

\[ \frac{\sqrt{A+(B-C)*COS(\frac{4}{D})}*{7+E}^{\frac{F}{G-H}}}{5*({X}^{3}-{X}^{A})*LN(2*Y)*{e}^{\frac{{X}^{2}-7*X}{5}}} \]

and source text is:

Code:
%%HP: T(3)A(R)F(,);

"\\frac{\sqrt{A+(B-C)*COS(\\frac{4}{D})}*{7+E}^{\\frac{F}{G-H}}}{5*({X}^{3}-{X}^{A})*LN(2*Y)*{e}^{\\frac{{X}^{2}-7*X}{5}}}"

But it is not perfect, "7 + E" needs parenthesis and the backslash is generated as a digraph after communication to pc. So you have to replace \\ with \ after copying to pc. Isn't too bad, isn't it? Programs and description of them with use later.
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 02:42 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)