help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Octave Equation Help


From: Najam Sheikh
Subject: GNU Octave Equation Help
Date: Mon, 24 Aug 2015 17:53:39 +0530

Please replace "2x" by "2*x"

Thanks,
Najam

On Sun, Aug 23, 2015 at 9:30 PM, <address@hidden> wrote:
Send Help-octave mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/help-octave
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Help-octave digest..."


Today's Topics:

   1. Parse error - Syntax Error (Mike)
   2. GNU Octave Equation Help (Mike)


----------------------------------------------------------------------

Message: 1
Date: Sat, 22 Aug 2015 16:44:53 -0700 (PDT)
From: Mike <address@hidden>
To: address@hidden
Subject: Parse error - Syntax Error
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Hi,I am using GNU Octave to solve a numerical integration but I keep getting
Parse and Syntax Error for the equation that I write.For simplicity, I wrote
a simpler equation to help demonstrate my problem. The equation written is
part of the formula used for the surface area of an object via volume of
revolution.The error message is inserted as a picture and I've also written
the equation
below:y=(sqrt(25-x.^2))*(sqrt(1+((1/2)*(-2x)*(1/(sqrt(25-x.^2)))).^2))An
error keeps coming up on the "x" part of the "(-2x)" in the middle of the
equation.If you can find the mistake or let me know an alternative method,
please let me know ASAP!Thanks!



--
View this message in context: http://octave.1599824.n4.nabble.com/Parse-error-Syntax-Error-tp4672233.html
Sent from the Octave - General mailing list archive at Nabble.com.



------------------------------

Message: 2
Date: Sat, 22 Aug 2015 22:16:40 -0700 (PDT)
From: Mike <address@hidden>
To: address@hidden
Subject: GNU Octave Equation Help
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Hi, I am using GNU Octave to solve a numerical integration but I keep getting
Parse and Syntax Error for the equation that I write. For simplicity, I
wrote a simpler equation to help demonstrate my problem. The equation
written is part of the formula used for the surface area of an object via
volume of revolution. The error message is inserted as a picture and I've
also written the equation below:
y=(sqrt(25-x.^2))*(sqrt(1+((1/2)*(-2x)*(1/(sqrt(25-x.^2)))).^2))
An error keeps coming up on the "x" part of the "(-2x)" in the middle of the
equation.   If you can find the mistake or let me know an alternative
method, please let me know ASAP! Thanks!

Error Message:
<http://octave.1599824.n4.nabble.com/file/n4672237/Capture.png>



--
View this message in context: http://octave.1599824.n4.nabble.com/GNU-Octave-Equation-Help-tp4672237.html
Sent from the Octave - General mailing list archive at Nabble.com.



------------------------------

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


End of Help-octave Digest, Vol 113, Issue 40
********************************************



--
Sheikh Najam,
Research Scholar, Ph.D
Dept of Aerospace Engg
IIT-Madras, India

reply via email to

[Prev in Thread] Current Thread [Next in Thread]