Math & ScienceEntering Equations

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Sharon_syy
Posts: 1
Joined: Sat Mar 17, 2012 7:23 pm

Entering Equations

Post by Sharon_syy »

Hi everyone,

I have just started using WinEdt with LaTeX which is compulsory for my project, so I am completely new to using the codes. I have several formulas and equations which needs to be entered in but I am only getting errors! Please help!

Here are the equations:
  1. Volume of pyramid = 1/3 x Area of base x Perpendicular height
    = 1/3 x A x h
  2. tan(π/5) = (s/2)/a
  3. 1/2 x s/2 x s/(2tan(π/5)) = (s^2)/(8tan(π/5))
  4. r = [a/(2tan(π/5)] [√((1-cosθ)/(1+cosθ))]
I want to align the equals signs so that one is below the other. The fractions to be in numerator and denominator form.
Here x is the multiplication sign. And square root to contain the fraction as we would usually write on paper.

Thank you! ^.^

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Entering Equations

Post by localghost »

I recommend to do some basic reading which will help you on with the first steps [1]. You will find some useful documents and other resources.

[1] View topic: LaTeX Resources for Beginners


Best regards and welcome to the board
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Entering Equations

Post by Stefan Kottwitz »

Hi Sharon,

welcome to the board!

Some reading is really necessary, as Thorsten said. Also I can recommend the documents, where he linked to.

In addition, specifically for writing math, have a look at amsmath and mathmode. Those documents guide to the best and effective math writing. Here, you could use the align environment of amsmath.
Sharon_syy wrote:I have several formulas and equations which needs to be entered in but I am only getting errors! Please help!
We gladly help. So what did you try, which code, and what errors did you get? I'm sure you don't meant "write all this for me from scratch", so just show us the code and we help to fix the problems.

Reading about the LaTeX basics is still necessary of course. If you don't understand something in a LaTeX introduction, just ask.

Stefan
LaTeX.org admin
Post Reply