help-octave
[Top][All Lists]
Advanced

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

Parse error - Syntax Error


From: Mike
Subject: Parse error - Syntax Error
Date: Sat, 22 Aug 2015 16:44:53 -0700 (PDT)

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.



reply via email to

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