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


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

Re: Mathematica syntax problem: tsntxi

From Vivek Joshi <vivekjjoshi29@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Mathematica syntax problem: tsntxi
Date 2011-06-17 04:08 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <itek03$s3v$1@smc.vnet.net> (permalink)
References <201106160759.DAA13140@smc.vnet.net>

Show all headers | View raw


Can you describe your complete problem ? Nothing seems to be wrong with the
syntax except square braces around your expression. Square braces f[...] are
used to define arguments to a function. Eg:

In[15]:= Simplify[((x-a)/A)^2+((y-b)/B)^2-2*r*(x-a)*(y-b)/(A*B)]
Out[15]= (a-x)^2/A^2-(2 r (a-x) (b-y))/(A B)+(b-y)^2/B^2

In[14]:= ((x-a)/A)^2+((y-b)/B)^2-2*r*(x-a)*(y-b)/(A*B)
Out[14]= (-a+x)^2/A^2-(2 r (-a+x) (-b+y))/(A B)+(-b+y)^2/B^2

Vivek J. Joshi

On Thu, Jun 16, 2011 at 3:59 AM, unabashed <olga.botvinnik@gmail.com> 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.
>
>

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


Thread

Re: Mathematica syntax problem: tsntxi Vivek Joshi <vivekjjoshi29@gmail.com> - 2011-06-17 04:08 +0000

csiph-web