Page **1** of **1**

### [Solved] Calculus formula in Math

Posted:

**Tue Jul 24, 2018 9:00 pm**
by **beta**

new to open office and endeavouring to write out some equations command-reference sheet. trying to write out newtons equation for calculus and leibnitz

this is as far as it goes. putting closing brackets into it sends it upstairs. and suggestions most welcome

df over dt = lim from h toward 0 f func (t+h -f func (t all over h

### Re: calculus formula in math

Posted:

**Tue Jul 24, 2018 9:46 pm**
by **Lupp**

Welcome!

I don't feel sure, but probably you mean

- Code: Select all Expand viewCollapse view
`func f'(t) = df over dt = lim from {h toward 0} {{func f(t+h)-func f(t)} over h}`

To use the letter f at the same time meaning the function in one place and a variable taking the values returned by the function in a different place seems problematic to me.

You find links to a guide on top of the 'Math' branch of the forum.

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 12:08 am**
by **beta**

thanks for prompt reply, I appreciate you spending time answering

defining func f'(t) at start works for sure. the explanation of the brackets is very helpful as well

still curious, but thinking problematic = not possible; to drop the first f(t) =, to leave it as df over dt =

Leibnitz will be turning in his grave to think Newton is all that works these days

as a further query, and given that u can't paste a png file into this, how would you tackle the equations from the chapter headings 7) and 11) from the book "17 equations that changed the world"

(the normal distribution and Maxwell's equations)

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 12:19 am**
by **MrProgrammer**

beta wrote:as a further query … how would you tackle the equations from the chapter headings 7) and 11) from the book "17 equations that changed the world"

You expect volunteers to go look for them? I won't. You are more likely to get that answered if you provide (PNG image here) those equations.

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 1:04 am**
by **beta**

explain that please...(PNG image here)

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 8:15 am**
by **robleyd**

explain that please...(PNG image here)

Upload an image here, in PNG format, that shows what you are trying to achieve.

[Forum] How to attach a document here Note maximum file size is 128K. If your file is larger, use a file sharing site such as Mediafire and post the link here.

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 11:19 am**
by **beta**

thanks for the link. png was too large so have converted to jpg and hope the resolution is okay. if it isn't then I'll try the other route.

ultimately the quest is to write out all the 17 listed equations in openoffice and 7) and 11) are a bit of a stretch.

again, any suggestions are most welcome

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 11:50 am**
by **floris v**

See this:

https://math.stackexchange.com/question ... z-notation for a discussion of Newton vs Leibniz notations. In fact, Leibniz' notation is used most widely, but some of Newton's is used when that's easier.

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 4:31 pm**
by **beta**

that's probally right as well, maybe should have posted "Leibnitz will be turning in his grave to think Newton is all that works these days in OpenOffice"

the next part of the saga is the normal distribution; managed so far:

%PHI(x)=(1 over sqrt{2 %pi %sigma} )times e^(-(x-%upsilon)^2 over 2 %sigma ^2)

Would u know how to alter it to the same as equation 11) above in that attached? the problem is not getting the brackets to work

all comments appreciated

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 4:46 pm**
by **floris v**

Try %PHI(x)=(1 over sqrt{2 %pi %sigma} )times e^{{-(x-%upsilon)^2} over {2 %sigma ^2}}

Basically you have to nest the brackets - one outer pair for the expression in the exponent, then two inner pairs for numerator and denominator of that expression. It'd be great if there'd be a utility to spot wrong brackets like in for instance the Pascal code editor.

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 8:18 pm**
by **beta**

many thanks for your help

the next one with a problem is 10) Navier -Stokes. so far I've got something that kind of works but isn't pretty

%rho left ( stack {partial v} over {partial t} + v cdot size 16 nabla v right ) = - size 16 nabla %rho + size 16 nabla cdot T+f

the query is twofold:

1) how do u space the dot between " v cdot size 16 nabla " , like it is for the second " size 16 nabla cdot T "

2) can u remove the gaps between " nabla v " , and also " nabla %rho ", since they're meant to represent gradient, and should't have gaps

the question is open and all comments appreciated

### Re: Calculus formula in Math

Posted:

**Wed Jul 25, 2018 9:43 pm**
by **MrProgrammer**

beta wrote:any suggestions are most welcome

Some of the equations in your attached picture are wrong! In the definition of a deriviative (3), the second equal sign should be removed. In the normal distribution the square root should not extend over the standard deviation. And the exponent is missing a negative sign. If a mathematician is writing the article, there is little excuse for errors like that and if not, Ian Stewart should have consulted with one or at least checked in standard reference books. In Maxwell's equations, terms are missing unless the charge density and current density are both zero. I've fixed the problems in 7 and 11. I didn't check the rest. What a mess!

%PHI(x)=1 over {sqrt{2 %pi} ` %sigma} e^-{{(x-%mu)^2} over {2 %sigma^2}}

newline newline

matrix {alignl nabla cdot bold E = 4 %pi %rho # alignl nabla cdot bold B = 0 ##

nabla times bold E = - {1 over c} {{partial bold B} over {partial t}} #

nabla times bold B =

{1 over c} (4 %pi bold J + {{partial bold E} over {partial t}})

}

beta wrote:1) how do [I] space the dot between " v cdot size 16 nabla " , like it is for the second " size 16 nabla cdot T "

2) can [I] remove the gaps between " nabla v " , and also " nabla %rho ", since they're meant to represent gradient, and should't have gaps

For both: delete every occurence of "size 16".

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.

### Re: Calculus formula in Math

Posted:

**Thu Jul 26, 2018 1:22 am**
by **beta**

thanks again for your prompt, if a touch arrogant, reply

it's good that you've taken time to investigate for sure. But you could, if you wanted, look a bit more into the detail instead of doing the parrot

the attached sheet does have typos - well spotted - but it doesn't look like you got the right ones

if you wanted to explore you'd probally find that the author of countless books on mathematics probally knows a wee bit more on the subject

still, thanks for your help

it is appeciated and I've learnt a bit more for your input and will use your tips

### Re: Calculus formula in Math

Posted:

**Thu Jul 26, 2018 7:05 am**
by **Zizi64**

png was too large so have converted to jpg and hope the resolution is okay.

Use .png pictures with 256 color (or less). You can optimize your screeshot pictures for this forum by the usage a trird party image manager software like the IrfanView. (You can reduce color depth size, resolution, and file type by some click without noticeable loss of quality. The .jpg will be blurry at a reduced resolution... )

https://www.irfanview.com/https://portableapps.com/apps/graphics_ ... w_portable

### Re: Calculus formula in Math

Posted:

**Sun Jul 29, 2018 11:37 pm**
by **beta**

thanks for the tip on pasting

the list is complete on OpenOffice which is nice.

However, the request is still open

Some of it could be a bit neater. It's the gaps that are out of place, particularly for:

10) Navier-Stokes as listed below:

The dot-after-the v, needs a further space, while the gaps before the first and second nabla needs to be removed.

below is my attempt in OpenOffice

ps. and it's worth pointing out that the original list posted above was written by someone else paying respect to the author of the book by listing the equations along with the mathematician and date of discovery.

pps. the power went on the island of agistri a couple of days ago, and here's a poem

### Re: Calculus formula in Math

Posted:

**Mon Jul 30, 2018 9:11 am**
by **keme**

One trick that might help is to use the nospace modifier and insert narrow or wide spaces (` and ~) to control the spacing within your formula.

You haven't given your formula definition, so I made a quick mockup from scratch. My suggestion below gives a rendering similar to yours, with some spacing adjustment.

- Code: Select all Expand viewCollapse view
`%rho left ( nospace{{partial v} over {partial t} + v ~ cdot {size*1.4 %nabla v}} right ) = nospace{size*1.4 {"-"%nabla}%rho + size*1.4 %nabla cdot T+f}`

I defined the %nabla token as unicode character UxE142, and used that in place of the nabla operator which is badly rendered on my system. Anyway, creating a token for it makes it easier to also adjust size and spacing, but may also account for the increased space between the minus and nabla.

See this page for instructions on defining your own symbol tokens.

For some reason, inserting the symbol inline by %UxE142 does not work for me. Inline unicode insert works fine for other character codes.

### Re: Calculus formula in Math

Posted:

**Wed Aug 01, 2018 10:18 pm**
by **beta**

Thanks very much for that. It works well