How can I write this expression in latex
Asked
Active
Viewed 115 times
1
3 Answers
4
a^b^c is intentionally a syntax error to force you to choose which of the following you mean:
\documentclass{article}
\begin{document}
$a=3, b=2, c=3$
[
{a^b}^c = 9^3 = 729,
a^{b^c} = 3^8 =6561
]
\end{document}
Note in the first form c is a superscript (7pt) but in the second it is in scriptscript style (5pt)
David Carlisle
- 757,742
3
antshar
- 4,238
- 9
- 30
-
1or (depending on the intended meaning)
{a^b}^c, you could show both – David Carlisle Sep 18 '22 at 09:15 -
3
I’m gonna take your question literally. ;-)
\documentclass{article}
\usepackage{graphicx}
\begin{document}
Hello, world.
\includegraphics{exponent.png}
\end{document}
Gaussler
- 12,801
-
2
-
3I also am expecting semantically meaningful translation to MathML from this input. – David Carlisle Sep 18 '22 at 11:41
-
-
1@Gaussler mathpix got close but did not recognise the b so produced
$a^c$– David Carlisle Sep 18 '22 at 13:33 -
2




$a^{b^c}$? – Jasper Habicht Sep 18 '22 at 09:44