Unable to write algebraic equations in correct Oct. syntax

Gene Partlow stargene at sbcglobal.net
Wed Jan 7 02:25:35 CST 2009


Hi all...

I am having terrible trouble forming correct Octave syntax.  I am
sending this to you in hopes that someone might help me with re-
phrasing rather standard nonlinear algebraic equations into a form
suitable for the online Octave solver website at

    http://www.online-utility.org/math/math_calculator.jsp

[Yes... I know that many of you would urge that I get hold of the new
Octave 3.0.3 instead of using the old on-line site... but regardless,
when I try to put the equations in 0 = f(x,y,v) form, whatever I do
results in "errors".]

I need Octave to do a numerical analysis on a block of equations.

My problem is that so far I've been unable to translate the block of
ten such equations into a form which is 'digestible' for the Octave
calculator on that site.  For myself, the Octave Tutorial has been very
limited.  I am at my wit's end and my brain is going Ffssszzt!  Below
I include just a few equations (involving gravitational field  
potentials)
in the hope that someone might take pity and translate one or more
of them into Octave compatible form.

Then I would just analyze how you wrote it and then apply that
lesson to the rest of the block of equations.  Perhaps then Octave
could solve them.

My equations are in LaTeXiT, using a MacTex.dmg software. In
case this website does not support LaTeXiT, I also include the
clumsier ASC II version for each one.

(1)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic40.pdf
Type: application/pdf
Size: 15689 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090107/cf4d073e/attachment-0004.pdf 
-------------- next part --------------



or equivalently...

(v_1d)^2 = [ (Fy)^2 / (Ex+Fy) ] [ C / (D+Gx^3 + Hy^3) ]

(2)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic46.pdf
Type: application/pdf
Size: 17420 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090107/cf4d073e/attachment-0005.pdf 
-------------- next part --------------

  
             
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic48.pdf
Type: application/pdf
Size: 17287 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090107/cf4d073e/attachment-0006.pdf 
-------------- next part --------------


or...

B*sqrt | (v_1a)^2 + (v_1b)^2 + (v_1c)^2 - (v_1d)^2 |  =

A*sqrt | (v_2a)^2 + (v_2b)^2 + (v_2c)^2 - (v_2d)^2 |

where |...| = absolute value, and *= 'times' .

(3)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic38.pdf
Type: application/pdf
Size: 14898 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090107/cf4d073e/attachment-0007.pdf 
-------------- next part --------------



or...

(v_1c)^2 =  [ A^2 / (A + Ex) ] [ C / ( D + Gx^3 ) ]


x, y and the various v's are the unknowns.  The capital letters are just
large coefficients (eg: C = 6.67428*10^-11 , the Newtonian gravitational
constant.)  The others are mainly astronomical masses and distances.

Even if you can only translate just one of these into compatible form,
it would help me very much to study it.  Feel free to email me at
stargene at sbcglobal.net

Thanks for your time,
Gene Partlow
Ben Lomond, Calif.





More information about the Help-octave mailing list