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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
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 36965 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