LaTeX forum ⇒ Comments & WishesI'm new with LaTex. Hoping someone may be able to help me

General comments, feature, category or forum wishes for this LaTeX community
Gary222
Posts: 2
Joined: Sat Dec 02, 2023 4:44 am

I'm new with LaTex. Hoping someone may be able to help me

Postby Gary222 » Sat Dec 02, 2023 5:17 am

Hi, I was wondering if someone could help me write this equation in LaTex. Thanks.
x=2(2^{(a-1)/2} +2^{(a+1)/2})-4.
To make sure it makes sense, it's 2 x (2 to the (a-1)/2 power + 2 to the (a+1)/2 power) -4.
In other words, if a=5, it would be 2 x ( 2^2+2^3)-4.
Hope that makes sense.
Thank you very much,
Gary

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10164
Joined: Mon Mar 10, 2008 9:44 pm

I'm new with LaTex. Hoping someone may be able to help me

Postby Stefan Kottwitz » Sun Dec 03, 2023 1:41 pm

Hi Gary,

welcome to the forum!

This would be the LaTeX code:

\[
  x = 2 \left(2^{\frac{a-1}{2}} + 2^{\frac{a+1}{2}}\right) - 4
\]


equation.png
equation.png (12.77 KiB) Viewed 12194 times


Would you like to learn LaTeX? An excellent quick start is LearnLaTeX.org, see for example the Math Lesson.

Stefan
LaTeX.org admin

Gary222
Posts: 2
Joined: Sat Dec 02, 2023 4:44 am

I'm new with LaTex. Hoping someone may be able to help me

Postby Gary222 » Mon Dec 04, 2023 1:52 am

Stefan,
Thank you so much. I really appreciate it.
Yes, I would like to learn LaTeX. I'll look at the link you sent.
Thanks again,
Gary


Return to “Comments & Wishes”

Who is online

Users browsing this forum: No registered users and 5 guests