[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

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
Ed
Super User

Joined: 28 May 2003
Posts: 1041

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 }
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
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum