Post Reply 
'√√√√(2*√2*π*(10^3*(10^3+π/3^4)+1/(π*(π^5+π^2+1)+1/(√(2*π)))))' [NT]
02-20-2020, 07:29 PM (This post was last modified: 02-20-2020 07:40 PM by Gerson W. Barbosa.)
Post: #12
RE: '√√√√(2*√2*π*(10^3*(10^3+π/3^4)+1/(π*(π^5+π^2+1)+1/(√(2*π)))))' [NT]
.
How to convert RPL algebraic expressions to LaTeX

Copy the algebraic expression to the HP 50g emulator:

'ƒƒƒƒ(2*‡*ƒ2*K(10^3*K(10^3+‡/3^4)+1/(‡*K(‡^5+‡^2+1)+1/ƒ(2*‡))))'

ƒ = √; ‡ = \(\pi\);  = →


(Place K before every opening parenthesis you want to show up in the formula)

Then on the emulator do

OBJ→ →HP2TX "\cdot" "" SREPL DROP

( "\cdot" "" SREPL DROP only in case you want to remove all dots in the expression )

where

→HP2TX is the last object in the hp2txt directory, by forum member peacecalc here.

That will return the corresponding LaTeX expression:

\sqrt{\sqrt{\sqrt{\sqrt{2\ \pi \ \sqrt{2}\ \left({10}^{3}\ \left({10}^{3}+\frac{\pi }{{3}^{4}}\right)+\frac{1}{\pi \ \left({\pi }^{5}+{\pi }^{2}+1\right)+\frac{1}{\sqrt{2\ \pi }}}\right)}}}}

Append /\[ and/\] to the beginning and end... and voilà!

\[\sqrt{\sqrt{\sqrt{\sqrt{2\ \pi \ \sqrt{2}\ \left({10}^{3}\ \left({10}^{3}+\frac{\pi }{{3}^{4}}\right)+\frac{1}{\pi \ \left({\pi }^{5}+{\pi }^{2}+1\right)+\frac{1}{\sqrt{2\ \pi }}}\right)}}}}\]

"\cdot" "" SREPL should have removed the "\" in "\cdot", but it didn't. Remove them manually if don't want the extra spaces:

\[\sqrt{\sqrt{\sqrt{\sqrt{2 \pi \sqrt{2} \left({10}^{3} \left({10}^{3}+\frac{\pi }{{3}^{4}}\right)+\frac{1}{\pi \left({\pi }^{5}+{\pi }^{2}+1\right)+\frac{1}{\sqrt{2\ \pi }}}\right)}}}}\]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
≈e [NT] - Massimo Gnerucci - 02-18-2020, 07:38 PM
RE: '√√√√(2*√2*π*(10^3*(10^3+π/3^4)+1/(π*(π^5+π^2+1)+1/(√(2*π)))))' [NT] - Gerson W. Barbosa - 02-20-2020 07:29 PM



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