MathGroup Archive 2001

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

Search the Archive

Re: [Q] Cancel command in 4.1

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27680] Re: [Q] Cancel command in 4.1
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Sun, 11 Mar 2001 04:04:24 -0500 (EST)
  • References: <98cgj7$fto@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Janusz,
Algebra and decimals don't seem to mix.

m={{.3,.7},{.4,.6}}
i=IdentityMatrix[2]
j={{1},{1}}
inv=Inverse[lambda i - m]
Rationalize[Factor[inv.j]]//N

{{1/(-1. + lambda)}, {1/(-1. + lambda)}}

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Janusz Kawczak" <jkawczak at math.uncc.edu> wrote in message
news:98cgj7$fto at smc.vnet.net...
>
> Hi
>
> I am having problems with the Cancel command to do the simple task. The
> problem
> can be replicated as follows:
>
> m={{.3,.7},{.4,.6}}
> i=IdentityMatrix[2]
> j={{1},{1}}
> inv=Inverse[lambda i - m]
> Cancel[Factor[inv.j]]
>
> The last command should cancel the common factors, but it does not!
> Any help on that.
> Thank you.
> John.
>




  • Prev by Date: Re: ReadList query
  • Next by Date: RE: Q: plot in different colors
  • Previous by thread: [Q] Cancel command in 4.1
  • Next by thread: RE: [Q] Cancel command in 4.1