Christopher2222

MaplePrimes Activity


These are answers submitted by Christopher2222

x:="0.01":

x1:=parse(x);
                        x1:=0.01
5*x1;
                           0.05

 

Even though Maple should have defaulted to the same number of different values we can use the range command to equal the number of values + 1 if we're using colorstyle=HUE unless, of course, one had other intentions in mind.

There is a delay.  Or if you reply as a comment to an answer it will not appear at the top.

Also if you have an older version of internet explorer, mapleprimes does not work well, it is unfriendly to older versions of Internet Explorer. 

You may also run into an existing problem of properly refreshing the site. 

   1 - When you refresh the recent/all page it updates and refreshes properly.
   2 - However, if you have already opened a question page, go to it again and refresh it is not updated. 

The only way around this is to empty the cache and reload the page. 

However (sigh), I can see that your post is at the top.

It's not the 2 digit integer that causes the error.

In your mylist:=[1,2,3]  it only has 3 positions if you did mylist:=[1,2,4] you would also get that error because the 4 in your list, when you use it in your loop the mylist[x] becomes mylist[4] which you are telling it to refer to the fourth position in your list which you do not have. 

Thanks Doug for looking into this, I thought about putting text into sections to collapse, but that's not exactly what I would like to have to do.  I too thought this was something simple and I was just missing something. 

.... Aha!, just now I have just found a way.  Here's the trick

Under Format -> Styles (select C text) -> Modify  -  change the color to white.  This will blank out all text created in your document. 

Of course it would be nice if there was a simple toggle box to do this but luckily there is a way. 

Beautiful

Thanks.  map2 without map, I missed that one and never thought about using eval either, nice one.  And thanks for that proc, I recalled something like that too however I was unable to find it, thanks for reposting the code.

differences in calling sequence (no standard)

It's sometimes confusing how some of the commands in maple reverse/swap the calling sequence order on occassions.  for example

L:=[1,2,3,4,5,6]

has(L,2)
                 true

member(2,L)
                    true

So occassionally these sequences can be mixed up and cause some headaches at times.  I t hink sometimes it's often the way one percieves how the command should work, then find out it works opposite so you think a similar command would work the same way but you guess wrong.  I'm wonder if anyone else has pondered these differences.   The only reason I can see that they were configured differently is if these commands were implemented by different people.  Has this standard of sequence calling been overlooked?

Thanks, high speed is easy enough to connect.

But i had a little trouble with dial up, you need to set it to automatically connect.  When the connect option came up I didn't know how to send a command return or c that would allow the connection.  However with internet explorer the only way I could think of is to use the timeout after a certain amount of time in-activity. 

Unfortunately other programs do not have that same option and it is quite unfortunate the operating systems don't offer a command kill option.

You probably have the 64 bit version of Maple 14.  It does not have the classic interface (for reasons I do not know) however the 32 bit version of Maple 14 does.

A somewhat more roundabout complex route, and by all means not exactly the best route.  I'm sure a procedure could be set up to do this.  Using the function exp(-x) and hatching under the curve from 0 to 1 using hatch lines of y=x + i incremental family of lines

with(plots):

a:=seq(solve(x+(1/10)*i = exp(-x), x), i = -10 .. 10)

for i from 1 to 20 do
  b[i]:=plot(x+(i-11)*(1/10), x = 0 .. c[i])
end do:

d:=plot(exp(-x),x=0..1,color=green):

display({d, seq(a[i], i = 1 .. 20)}, view = [0 .. 1, 0 .. 1])

Also to note, changing the thickness of the lines doesn't work too well (lines overhang the axes)

I often sometimes wondered the same thing, here's some great information http://www.mapleprimes.com/posts/41183-Tip-Transpose-A-Pair-Of-Indices-Of-An-Array?r=76538

An array can be multi-dimensional, but does that mean a 3-dimensional Matrix is an Array and a Matrix is just a 2 dimensional Array?  I wonder about the interchangeability of the naming of the two, like, why would one call a 4x4 data structure a Matrix as opposed to an array?  I think it comes down to the types of operations one plans to do on the data structure. 

Okay got it!

for i to 10 do
  a || 1 := readdata(cat("c:/test/", i, ".txt"), string, 7) :
end do:

Thanks to Robert Israel from another post I was able to locate.

It could be that scripts are running in the background.  Or a virus.

I noticed that there is a performance drop going from Maple 12 to Maple 13.  Maple 13 is noticeably a little slower than 12 (more resource intensive - standard interface) even though the efficiency may have been cleaned up.

I also notice when mcaffee starts scanning in the background Maple slows down, so it has to be scripts slowing the kernel down. 

You could try system restore to an earlier point a few days ago to when you know it was running fast?  I'm not using windows 7 so I can't say for sure that it isn't a conflict with the software or not.  But the system restore should return it to a faster state if something had happened with your software in between. 

Okay, I've got it

for i from 1 to 3 do   
   c[i]:=seq(op(a[i]),i=1..i) 
end do:

Okay thanks I realized there was another way to do it however I wanted to see how it could be done extracting values from the plot. 

That map/map2/map3 thing is what I was trying to figure out.  Quite a complex piece of work.  That command line is all I was looking for.  map is confusing enough, let alone using all 3 different map operations at once!

So in my case I could also just use   

map(max, map[3](map2, op, 2, [g]))

Thanks!

That's a great idea!

Chronological order would enable us to find a particular question easier. 

Currently the primes site here is still very hard to navigate.  And much of the topics are flat-listed as someone mentioned last week. 

 

First 33 34 35 36 37 38 39 Last Page 35 of 48