MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica syntax problem: tsntxi

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119679] Re: Mathematica syntax problem: tsntxi
  • From: Olga Botvinnik <olga.botvinnik at gmail.com>
  • Date: Fri, 17 Jun 2011 00:09:02 -0400 (EDT)
  • References: <201106160759.DAA13140@smc.vnet.net> <BANLkTi=0qVqzdGs3etBRk7soaa8SYo4j=w@mail.gmail.com>

Thank you to all! This problem has been resolved. The brackets were my
problem because I was using them to keep track of different braces.
Olga

2011/6/16 Vivek Joshi <vivekjjoshi29 at gmail.com>

> 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 at 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.
>>
>>
>


  • Prev by Date: Re: implicit surfaces from older version of Mathematica
  • Next by Date: Re: saddlepoint approx, solving a sum
  • Previous by thread: Re: Mathematica syntax problem: tsntxi
  • Next by thread: Re: Mathematica syntax problem: tsntxi