[Solved] Calculus formula in Math

Discuss the formula editor

[Solved] Calculus formula in Math

Postby beta » Tue Jul 24, 2018 9:00 pm

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
Last edited by Hagar Delest on Thu Aug 02, 2018 8:08 am, edited 1 time in total.
Reason: tagged solved
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: calculus formula in math

Postby Lupp » Tue Jul 24, 2018 9:46 pm

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.
On Windows 10: LibreOffice 6.1 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Let's create a powerful UFO: United Free Office!
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2096
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Calculus formula in Math

Postby beta » Wed Jul 25, 2018 12:08 am

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)
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: Calculus formula in Math

Postby MrProgrammer » Wed Jul 25, 2018 12:19 am

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.
Mr. Programmer
AOO 4.1.5 Build 9789 on Mac OS 10.11.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Volunteer
 
Posts: 3499
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Calculus formula in Math

Postby beta » Wed Jul 25, 2018 1:04 am

explain that please...(PNG image here)
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: Calculus formula in Math

Postby robleyd » Wed Jul 25, 2018 8:15 am

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.
Cheers
David
Apache OpenOffice 4.1.6 RC1 - Slackware 14.2 - 64 bit
Apache OpenOffice 4.1.4 - Windows 7 Virtual machine
User avatar
robleyd
Moderator
 
Posts: 2151
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Calculus formula in Math

Postby beta » Wed Jul 25, 2018 11:19 am

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
Attachments
BiTPlBKCMAARAAw.jpg
17 equations
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: Calculus formula in Math

Postby floris v » Wed Jul 25, 2018 11:50 am

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.
MS Windows 10 - AOO 4.1.3 - LibreOffice 5.2.3.3
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
floris v
Moderator
 
Posts: 4009
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Calculus formula in Math

Postby beta » Wed Jul 25, 2018 4:31 pm

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
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: Calculus formula in Math

Postby floris v » Wed Jul 25, 2018 4:46 pm

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.
MS Windows 10 - AOO 4.1.3 - LibreOffice 5.2.3.3
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
floris v
Moderator
 
Posts: 4009
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Calculus formula in Math

Postby beta » Wed Jul 25, 2018 8:18 pm

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
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: Calculus formula in Math

Postby MrProgrammer » Wed Jul 25, 2018 9:43 pm

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}})
}
Screen Shot 2018-07-25 at 14.25.27 .png

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.
Mr. Programmer
AOO 4.1.5 Build 9789 on Mac OS 10.11.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Volunteer
 
Posts: 3499
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Calculus formula in Math

Postby beta » Thu Jul 26, 2018 1:22 am

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
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: Calculus formula in Math

Postby Zizi64 » Thu Jul 26, 2018 7:05 am

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
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.1 on Win7x64Prof.
PortableApps, winPenPack: LO3.3.0-LO6.1.2 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7356
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Calculus formula in Math

Postby beta » Sun Jul 29, 2018 11:37 pm

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
Attachments
17 equations in text.pdf
(85.08 KiB) Downloaded 335 times
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm

Re: Calculus formula in Math

Postby keme » Mon Jul 30, 2018 9:11 am

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.
User avatar
keme
Volunteer
 
Posts: 2977
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Calculus formula in Math

Postby beta » Wed Aug 01, 2018 10:18 pm

Thanks very much for that. It works well
OpenOffice 4.1.5 on windows 10
beta
 
Posts: 9
Joined: Tue Jul 24, 2018 8:44 pm


Return to Math

Who is online

Users browsing this forum: No registered users and 1 guest