Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #3157

Re: Mathematica syntax problem: tsntxi

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Mathematica syntax problem: tsntxi
Date 2011-06-17 09:51 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <itf82v$21c$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 6/16/11 at 3:59 AM, olga.botvinnik@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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Mathematica syntax problem: tsntxi Bill Rowe <readnews@sbcglobal.net> - 2011-06-17 09:51 +0000

csiph-web