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


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

Re: Mathematica syntax problem: tsntxi

Started byVivek Joshi <vivekjjoshi29@gmail.com>
First post2011-06-17 04:08 +0000
Last post2011-06-17 04:08 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#3138 — Re: Mathematica syntax problem: tsntxi

FromVivek Joshi <vivekjjoshi29@gmail.com>
Date2011-06-17 04:08 +0000
SubjectRe: Mathematica syntax problem: tsntxi
Message-ID<itek03$s3v$1@smc.vnet.net>
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.
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web