Jump to content

Quick LaTeX Tutorial


Dave

Recommended Posts

  • 8 months later...

Pardon the interuption, but I was trying to use LaTeX in the astronomy and cosmology section and it didn't seem to work. I'm just testing a short script here;

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s}\eq\frac{625900 m}{s}[/math]

 

[ math]\frac{2\times\pi\times8.8\times10^8 m}{8834s}\eq\frac{625900 m}{s}[/math ]

I inserted the spaces after the beginning and before the ending brackets so that the quoted section would appear as the original script I wrote.

 

Well...obviously I'm doing something wrong. The equation I'm trying to write is:

 

(2*pi*8.8*10^8 m)/(8834 s)=625900 m/s

 

Can anyone tell me what I'm doing wrong?

 

Chris

Link to comment
Share on other sites

Pardon the interuption, but I was trying to use LaTeX in the astronomy and cosmology section and it didn't seem to work. I'm just testing a short script here;

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s}\eq\frac{625900 m}{s}[/math]

 

Try this:

 

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m/s[/math]

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m/s[/math]

 

or this:

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m{s}^{-1}[/math]

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m{s}^{-1}[/math]

Edited by murshid
Link to comment
Share on other sites

[math]\frac{2\times\pi\times8.8\times10^8\,m}{8834\,s}=\frac{625900\,m}{s}=625,900\,m/s=625.9\,km/s[/math]

 

[ math]\frac{2\times\pi\times8.8\times10^8\,m}{8834\,s}=\frac{625900\,m}{s}=625,900\,m/s=625.9\,km/s[/math ]

 

It seems that what tripped me up is the use of "\eq" for the equals symbol instead of just inserting "=" in the script. Also, it's easier to read the equation if I use "\," before "m" and "s". I remember reading in one of the tutorial pages that spaces between characters are ignored.

 

Thanks for the help.

 

Chris

Link to comment
Share on other sites

  • 8 months later...
  • 8 months later...
  • 3 months later...
  • 2 weeks later...

\left( \begin{array}{ccc}a & b & c \\d & e & f \\g & h & i \end{array} \right)

 

[latex]\left( \begin{array}{ccc}a & b & c \\d & e & f \\g & h & i \end{array} \right)[/latex]

 

There is probably an easier way

Link to comment
Share on other sites

  • 1 year later...
  • 6 months later...
  • 4 weeks later...

I was wondering if there is an easy answer about this. There are multiple versions of Latex, and I'm still a newbie to it. I was wondering if you guys knew which version is best to use and why? Also is there any fundamental differences between the different versions, and how much of the latex is standardized?

Link to comment
Share on other sites

  • 11 months later...

[math]b_n= \frac{1}{T} \int^{T}_{0} f(t) \sin( \frac{2 \pi nt}{T})dt[/math]

[math]x^2[/math]

[math]xt=a0+\sum[a_k * \cos(\lambda_k * t) + b_k*\sin(\lambda_k*t)] [/math]

[math]\lambda = 2 * \pi * \nu_k[/math]

[math]\nu_k = k/q[/math]

[math]a_0 = \frac{1}{T} \int^{T}_{0} f(t) dt [/math]

 

[math]\frac{cov}{\sum^{n}_{i = 1}(x_i - \bar{x})^2 } [/math]

[math]\sum^{n}_{i = 1}[/math]

Edited by DevilSolution
Link to comment
Share on other sites

  • 10 months later...

Notice that your sum is of the form [math]\sum_{n=1}^{m}\frac{P(n)}{2^n}[/math] where [math]P[/math] is a polynomial. You start your proof with an educated guess, that the sum will be of similar form, namely [math]\sum_{n=1}^{m}\frac{n^3}{2^n}\stackrel{?}{=}\frac{{Q{_1}(m)}2^m+Q{_2}(m)}{2^m}[/math] where [math]Q{_1}[/math] and [math]Q{_2}[/math] are themselves polynomials (you include a polynomial term multiplied by [math]2^m[/math] to increase your chances of success). You can be quite confident that [math]Q{_2}[/math] will be of at least same degree as [math]P[/math]. So, your first attempt is the simplest possible, where [math]Q{_1}[/math] has degree 0 (turning it into a constant) and [math]Q{_2}[/math] has degree 3.

This leads you to [math]\sum_{n=1}^{m}\frac{n^3}{2^n}\stackrel{?}{=}\frac{{a}2^m+{b}m^3+{c}m^2+{d}m+e}{2^m}[/math] for some real numbers [math]a,b,c,d,e[/math].

Evaluate at [math]m=1,\cdots,5[/math] and you get a system of 5 linear equations in 5 variables. That means that IF your guess was correct then this will lead you to the only possible solution. That's the one presented above, and once you found it you can proof it by induction.

Edited by renerpho
Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.