Re: Mathematica syntax problem: tsntxi
- To: mathgroup at smc.vnet.net
- Subject: [mg119692] Re: Mathematica syntax problem: tsntxi
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Fri, 17 Jun 2011 05:51:32 -0400 (EDT)
On 6/16/11 at 3:59 AM, olga.botvinnik at gmail.com (unabashed) wrote: >Hello, I am new to Mathematica and cannot figure out this syntax >problem: >Syntax::tsntxi: "[((x-a)/A)^2+((y-b)/B)^2-2*r*(x-a)*(y-b)/(A*B)]" is >incomplete; more input is needed. >Can someone give me some insight? Thank you very much. In Mathematica, square brackets  are always used to enclose an argument to a function. It appears you tried entering the stuff between the quotes by itself. For this to be valid it *must* be preceded by a function name. That is entering f[x+y] is valid syntax but entering [x+y] is not valid.