Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

There are several lines missing in mathgroup.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5279] There are several lines missing in mathgroup.
  • From: yokoi at skk.is.tohoku.ac.jp (Yokoi Takahisa)
  • Date: Mon, 18 Nov 1996 02:30:28 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Dear administrator.

There are several lines missing in the following mails. 

I think that a line start with space (or tab?) causes trouble.
Below is a part of original of my post ([mg5060]):
-----------------------------------------------------------
I'm not sure weather I have fully understood your problem or not.

But try "Module[ { u, t }, ..."
instead of "Module[ { u[t] }, ...".

Just as,
====================================================
In[25]:=
        Module[ { u[t] },
                u[t] = 55;
                u[t] += 100
                ]
        Module::lvsym:
           Local variable specification {u[t]} contains u[t]
             which is not a symbol or an assignment to a symbol.
Out[25]=
        Module[{u[t]}, u[t] = 55; u[t] += 100]

In[26]:=
        Module[ { u, t },
                u[t] = 55;
                u[t] += 100
                ]
Out[26]=
        155
-----------------------------------------------------------
but in delivered mail of mathgroup, this part becomes
-----------------------------------------------------------
I'm not sure weather I have fully understood your problem or not.

But try "Module[ { u, t }, ..." 
instead of "Module[ { u[t] }, ...".

Just as,
====================================================
In[25]:=
Out[25]=

In[26]:=
Out[26]=
====================================================
-----------------------------------------------------------

In the case of Tatsuki's [mg5200],
-----------------------------------------------------------
"Tomasz B." wrote in article "[mg5137] simplify problem"
> How can I revers the above Operation, in this example from
> a^2+2ab+b^2+c^2+2cd+d^2
> I want to have (a+b)^2 + (c+d)^2.

You can use a replace repeated operator "//." as

a^2 + 2 a b + b^2 + c^2 + 2 c d + d^2 //.
         x_^2 + 2 x_ y_ + y_^2 -> (x + y)^2

try it!
-----------------------------------------------------------

A line disappear "x_^2 + 2 x_ y_ + y_^2 -> (x + y)^2" as follows
-----------------------------------------------------------
"Tomasz B." wrote in article "[mg5137] simplify problem"
> How can I revers the above Operation, in this example from 
> a^2+2ab+b^2+c^2+2cd+d^2
> I want to have (a+b)^2 + (c+d)^2.  

You can use a replace repeated operator "//." as 

a^2 + 2 a b + b^2 + c^2 + 2 c d + d^2 //.

try it!
-----------------------------------------------------------

I hope you will fix this problem.

The letters posted to 
are pretty good.

Sincerely.

*  Yokoi Takahisa <yokoi at skk.is.tohoku.ac.jp>
**  Graduate School of Information Science,
***  Tohoku Univ. <Tonpei>, Sendai, Japan



  • Prev by Date: limits
  • Next by Date: Re: ReadList problems in NEXTStep, version 2.2 for NEXT
  • Previous by thread: limits
  • Next by thread: Arnold's Cat Map