List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Stop reducing & data points.
| [MUG] Stop reducing & data points. |
|
Author: Jason C Leach
Posted: Fri, 5 Apr 2002 18:19:53 -0800
|
>> From: "Jason C. Leach" />
hi,
In Maple 7 if I enter:
> x*x*x*x;
I get:
x^4
How can I stop maple from reducing my input?
Also, once in x^4 format, how can I factor that into x*x*x*x?
And finally, how can get just the (x,y) tuples from a function? Similar
to what a:=plot(f(x), x=1..2) would give me, but in a list format with
no extra plot information. Just the points.
Thanks,
j.
--
......................
..... Jason C. Leach
..
PGP/GPG Public key at http://www.keyserver.net/
Key ID: 1CF6DA85
|
| [MUG] Re: Stop reducing & data points |
|
Author: Maple User Group
Posted: Mon, 15 Apr 2002 08:57:17 -0400
|
>> From: Maple User Group />
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Fri, 12 Apr 2002 10:28:24 -0700 (PDT)
From: Robert Israel />
To: Maple User Group />
Subject: Stop reducing & data points.
On Fri, 5 Apr 2002, Jason C. Leach wrote:
|> In Maple 7 if I enter:
|> > x*x*x*x;
|> I get:
|> x^4
|> How can I stop maple from reducing my input?
|> Also, once in x^4 format, how can I factor that into x*x*x*x?
Can't be done. Maple's automatic simplification converts x*x*x*x to
x^4. Of course you could use something other than "*", e.g. `&*`.
|> And finally, how can get just the (x,y) tuples from a function? Similar
|> to what a:=plot(f(x), x=1..2) would give me, but in a list format with
|> no extra plot information. Just the points.
> a:= plot(f(x), x=1..2):
> L:= op([1,1], indets(a, specfunc(anything,CURVES)));
Robert Israel />
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Fri, 12 Apr 2002 00:45:43 -0400 (EDT)
From: Carl Devore />
To: Maple User Group />
Subject: Stop reducing & data points.
| And finally, how can get just the (x,y) tuples from a function?
op([1,1], a);
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Fri, 12 Apr 2002 09:33:05 +0200
From: Helmut Kahovec />
To: />
Subject: Stop reducing & data points.
Well, Maple automatically simplifies x*x*x*x to x^4, and there is no way
you can stop Maple from doing so. Also, Maple does not and cannot factor
monomials like x^4. As to your last question see the following Maple7
session:
> restart;
> pstr:=plot(sin(x),x=0..2*Pi):
> L:=op([1,1],pstr):
> n:=nops(L);
n := 57
> for i in 1,2,3 do print(L[i]) end do:
print(`...`):
for i in 2,1,0 do print(L[n-i]) end do:
[0., 0.]
[.136955558524565062, .136527817966851400]
[.256119857699397046, .253328895431878032]
...
[6.01962620574563267, -.260518396343612457]
[6.14666488463799876, -.136096743582189650]
-7
[6.28318529461999998, -.125595865048264204 10 ]
Kind regards
Helmut
|
Previous by date: [MUG] Integration bug dependent on N, Glenn Sowell
Next by date: [MUG] Re: Generating JPEGs through CMaple, Maple User Group
Previous thread: [MUG] Using Maple to digitize a picture, Bruno Guerrieri
Next thread: [MUG] Generating JPEGs through CMaple, Moore, Chuck DIS
|