• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Latex Math Equations

Thread starter #1
Latex is a typesetting system which allows you to generate simple to complex math equations that can't be created using normal text formats. You basically write your equation in the latex language and it translates it displays it correctly.

The language can get quite complex but the basics are easy. You can pick it up pretty quickly, so get stuck in!

Here are a few examples:

Example 1:

Code:
[latex]\int[/latex]
[latex]\int[/latex]
TIP: Try clicking the math expression. It will popup a box showing you how it was created.

Example 2:

Code:
[latex]\Large e^x=\lim_{n\to\infty} \left(1+\frac~xn\right)^n[/latex]
[latex]\Large e^x=\lim_{n\to\infty} \left(1+\frac~xn\right)^n[/latex]
Example 2:

Code:
[latex]\mathcal{F}_{x} [\sin(2\pi k_0 x)](k) = \int_{-\infty}^{\infty} e^{-2\pi ikx} \left( \frac{e^{2\pi ik_{0}x} - e^{-2\pi ik_{0}x}}{2i} \right) dx[/latex]
[latex]\mathcal{F}_{x} [\sin(2\pi k_0 x)](k) = \int_{-\infty}^{\infty} e^{-2\pi ikx} \left( \frac{e^{2\pi ik_{0}x} - e^{-2\pi ik_{0}x}}{2i} \right) dx[/latex]
Some easy reading (joke):
Latex Symbols
Latex AMS Math Documentation

For further reading:
http://www.latex-project.org/
http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/
 

Attachments

Last edited:
#2
Wow this looks cool but it is a little is tricky!

Let's start with something a bit more simple first.

[latex]I = \frac~VR [/latex]
 
Last edited by a moderator:
#4
Electromaster, do you perhaps have a website you could refer us to where we can read about the specifics (limitations, syntax changes, etc) of this forum-oriented LaTeX module?
 
Last edited by a moderator:
Thread starter #5
Last edited:
#6
Just experimenting with a few simple formulae.

[latex]X_C= \frac{1}{2 \pi FC}\[/latex]

[latex]Z = \sqrt{X_C + R}[/latex]

[latex]R2 = R1 \frac{V_{OUT}-V_{REF}}{R1 \times I_{ADJ} + V_{REF} }\[/latex]

[latex]V_{OUT} = V_{REF} \left(1+ \frac{R1}{R2}\ \right)+I_{ADJ} \times R2[/latex]

This isn't that difficult. I feel I'm comfortable with enough to get by and I'll still need to RTFM every now and the but it's easy when you know how. I'd rather use Latex than have to attach formula generated by Writer, it saves the copy and pasting.
 
Last edited by a moderator:
#7
testing import from Maple:
[ latex ]
F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}}
[ /latex ]

[latex]F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}}[/latex]
 
Last edited by a moderator:
#8
Testing:

[latex]\large I=\ \frac~VR[/latex]

[latex]\large f=\ \frac~1{2\pi \sqrt {LC}\ }\[/latex]
 
Last edited by a moderator:
#9
what is wrong with my latex commands? sometimes they work but sometimes they dont (my pervious post)
 
#10
bloody-orc said:
what is wrong with my latex commands? sometimes they work but sometimes they dont (my pervious post)
Yes it works!!
[latex]F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}} [/latex]
[latex]F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}} [/latex]

You should enter like this:
[ latex]F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}}[/latex]
[ latex]F={\frac {kq_{{1}}q_{{2}}}{{r}^{2}}}[/latex]

with no space in front of the word "latex"
 
Last edited by a moderator:
#11
haha! got it. i had the latex statements before and after the code but they were on sepperate lines than the code itself (like when writing quotes etc...

was like this:
[lateks]
code
[/lateks]
 
#12
You can actually get vb code to displaty by using [plain][/plain] tags, just wrap them around the code you want to display.

For example you can prevent codes from being converted to smilies.

[plain];) :D :o :) :( :confused: :mad: :p :rolleyes: :eek: [/plain]
 
Last edited by a moderator:
#13
Factorise this one please.

I have been troubled by this factorisation sum for quite some time now. Please help me.

/frac{/sqrt{2a^{2}b^{2}+2b^{2}c^{2}+2a^{2}c^{2}-a^{4}-b^{4}-c^{4}}}{4}
 
Last edited:
#14
Please post a picture of the formula you want; use an easy to use program such as MS Equation for Word or OpenOffice Math.
 
#15
Hero999 said:
Please post a picture of the formula you want; use an easy to use program such as MS Equation for Word or OpenOffice Math.
I tried Hero999, but it would not upload. Anyways, sorry for the trouble.

Factorise:

(2 a square b square + 2 b square c square + 2 a square c square - a raised to the power of 4 - b raised to the power of 4 - c raised to the power of 4) / 16. The whole expression is under root.

Sorry, because the sum is in words.
 
#16
For some reason the Latex on this form requires an variable/number followed by an equals sign.

For example, you can have:
[latex] f_0 = \frac{1}{2 \pi sqrt{LC}} [/latex]
or:
[latex] 81 \times 10^6 = \frac{1}{2 \pi sqrt{82 \times 10^{-9} \times 47 \times 10^{-12}}} [/latex]
But you can't have:
[latex] \frac{1}{2 \pi sqrt{LC}} [/latex]
or even something simple like:
[latex] a+b [/latex]

I suppose a + b doesn't make much sense on its own.
 
Last edited by a moderator:
#17
Latex

Hero999 said:
For some reason the Latex on this form requires an variable/number followed by an equals sign.

For example, you can have:
[latex] f_0 = \frac{1}{2 \pi sqrt{LC}} [/latex]
or:
[latex] 81 \times 10^6 = \frac{1}{2 \pi sqrt{82 \times 10^{-9} \times 47 \times 10^{-12}}} [/latex]
But you can't have:
[latex] \frac{1}{2 \pi sqrt{LC}} [/latex]
or even something simple like:
[latex] a+b [/latex]

I suppose a + b doesn't make much sense on its own.
I do not not understand what you express. However, that is beside the point. Could you please help my with me problem. I do not seem to get it.
 
Last edited by a moderator:
#18
I meant that Latex on this forum won't let you have:
a + b

you need to have:
c = a + b

This means that what you want to do won't work unless you have an = sign somewhere in-between some numbers or variables.
 
#19
[latex] \lim_{h\to\0} \left( \frac{f(x+h)-f(x)}{h}\right) [/latex]

[latex] P = F_{{||}}v [/latex]

[latex] m_{{1}}v_{{1}} = m_{{1}}v_{{2}} + m_{{2}}v_{{3}}[/latex]

[latex] z = {{{{{{{x^y}^a}^}^c}^}^}^d} [/latex]

Edit: thanks eng1
 
Last edited:

Latest threads

EE World Online Articles

Loading

 
Top