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
Post Reply
Gary222
Posts: 2
Joined: Sat Dec 02, 2023 4:44 am

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

Post by Gary222 »

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 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Stefan Kottwitz
Site Admin
Posts: 10311
Joined: Mon Mar 10, 2008 9:44 pm

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

Post by Stefan Kottwitz »

Hi Gary,

welcome to the forum!

This would be the LaTeX code:

Code: Select all

Code, edit and compile here:
\[
x = 2 \left(2^{\frac{a-1}{2}} + 2^{\frac{a+1}{2}}\right) - 4
\]
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
equation.png
equation.png (12.77 KiB) Viewed 29180 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

Post by Gary222 »

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
Post Reply