| View previous topic :: View next topic |
| Author |
Message |
sjwalsh Newbie

Joined: 17 Apr 2012 Posts: 2
|
Posted: Tue Apr 17, 2012 1:04 pm Post subject: Notation Help: Expression Evaluated From a to b |
|
|
Hi, I am writing a paper on Fourier Series and I am trying to write the following equation in the math window:
a sub n = 1 over %pi [ (x^2 over n) sin(nx) - int{(2x over n) sin(nx)dx} ]
But I need to have the [ (x^2 over n) sin(nx) - int{(2x over n) sin(nx)dx} ] evaluated from -π to π and I don't know how to do this notation since I'm not just doing an integral. Can somebody please help me out?
Thanks in advance,
Steve |
|
| Back to top |
|
 |
Ed Super User

Joined: 28 May 2003 Posts: 1040
|
Posted: Tue Apr 17, 2012 1:29 pm Post subject: |
|
|
What notation do you want to use?
An easy way is to put "x=-π" in subscript after the square brackets and "x=π" in superscript.
Note that if you put the command "left" before all the left brackets and "right" before all the right brackets they will stretch to fit what's between them. Also putting a space after each term will help ensure the equation is formatted properly.
For the whole equation you could use: | Code: | | a sub n = 1 over %pi left [ left ( x ^ 2 over n right ) sin left (n x right ) - int{ left ( {2 x} over n right ) sin left (n x right )dx} right ]_ {x = - %pi} ^ { x = %pi } |
|
|
| Back to top |
|
 |
sjwalsh Newbie

Joined: 17 Apr 2012 Posts: 2
|
Posted: Tue Apr 17, 2012 1:44 pm Post subject: |
|
|
Brilliant Ed! Thanks for your help, worked perfectly. Fast too.
Gotta love open office |
|
| Back to top |
|
 |
|