Christopher2222

MaplePrimes Activity


These are answers submitted by Christopher2222

The reason for the orientation to be of type [realcons,realcons] error is because it is expecting only 2 arguments.

Maple 13 will not accept an orientation=[theta,phi,psi] that extra angle option wasn't available until Maple 14.

You can try this as an alternate for Maple 13.

plots:-animate(plot3d, [P, x = -5..5, y = -5..5, orientation=[ A, -47]], A=-360..360, axes=box, frames=100);

?printlevel

Your printlevel is 1 change it to 2

printlevel:=2

I am going to say that fpghost is using {} brackets instead of [].   {} is a set where order is not specific.

ie plot({sin(x),cos(x)},color=[blue,red])

user might expect sin(x) to be blue, but in fact the {} set brackets have reshuffled the order and cos(x) is blue.  This is the problem why the user is getting confused.  I'm sure it's just a bracket issue.

Thanks, so this is how I ended up showing it.

It is essentially what you showed me, just a very slight variation.  The ``() helps quite a bit.  I wanted to use Maple and manipulate an answer Maple gave with minimal user modification afterwards to attain my output.   So after setting up the first step using delayed syntax, all that was needed were the simplify and expand commands to finish it off.



a := g^n/(g^n-1)

g^n/(g^n-1)

(1)

a1 := ``(numer(a)*``(1/g^n))/``(denom(a)*``(1/g^n))

``(g^n*``(1/g^n))/``((g^n-1)*``(1/g^n))

(2)

simplify(a1)

``(g^n*``(g^(-n)))/``(1-g^(-n))

(3)

expand(%)

g^n*``(g^(-n))/(1-g^(-n))

(4)

expand(%)

g^n*g^(-n)/(1-1/g^n)

(5)

expand(%)

1/(1-1/g^n)

(6)

``

``



Download numerdenom.mw

Thanks.  also found algsubs as another way

algsubs(1+i=g,h);

                      g2+g3*A+g4*B

I had actually wondered about something similar a while back. 

You can create a new style for the parts you want to hide and then just change the color to white when you want to hide those parts.  However, it is a bit clumpy and would be nice if a tickbox would do that for you.  I almost wonder if you could program a component toggle button to do that for you?  I don't know.

Also here's the other thread for more insight http://www.mapleprimes.com/questions/95745-How-Do-I-Hide-Text 

 

Really I think the trade offs are equal. 

On one hand you're deciding between 2 cores or 4 cores but also at the expense of processor speed 2.2Ghz. vs. 2.7Ghz, however the quad core is capable of setting up more threads, again it depends on the type of calculations and if they are seperable or not. 

The 2670QM has more cache available which would also decrease calculation times (cache memory is faster, hence the less time you spend reading and writing to main memory, the better)

The 2620M at 2.7Ghz will calculate quicker than the 2.2 Ghz 2670QM in consecutive calculations.  However on parallel calculations the 2670 is better and it's also newer.  It's a toss up really.

Personally I like a lot of screen real-estate, I would consider 15" and up.  I can't really offer any advice.

But read this thread as well http://www.mapleprimes.com/posts/35665-New-Laptop-Advice 

 

To fill the void of my own answer I deleted way back I will re-post my implicitplot method.  As pointed out, it is not the most effiecient way but merely one possible way of achieving background color.

with(plots):
a:=plot(x^3-4*x,numpoints=500,color=red): #color is explicitly shown, by default it is already red
b:=implicitplot(3,x=-5..5,y=-5..5,coloring=[black,black],filledregions=true): # 3 is just a dummy value for implicitplot command to be valid

display(a,b,view=[-5..5,-5..5],axis=[color=green])

 

You are correct, point size is not affected by symbolsize.  As it states in the Maple7 help.

Your alternative is to use symbol=circle or cross as you have already done.  The symbol=solidcircle would be the equivalent of increasing size of a symbol=point, however unfortunately the solidcircle option is not available in Maple7.  Besides even for Maple12  symbol=point symbolsize also has no effect, but the solidcircle would be the quick alternative.

It may be possible to create a custom symbol to bypass the lack of a solidcircle for Maple7, but I have not explored that option. 

That's an interesting question though.  Can we create custom symbols for pointplots?  I think most common user types are covered for newer versions of maple but I wonder how we could create a triangle or solid triangle to add into the symbol types? 

Maple 7?  It's good to hear people are still playing around on the older versions and also, I suppose, a bit surprising but not unexpected.

The method is similar and the still the same in the newer versions - just use display.

a:=plot(y(x),x=ug..og)
b:=pointplot([xs,ys])

plots[display]({a,b})

Do you mean something like using process[launch] to open a web browser?

for example opening internet explorer?
process[launch]("c:/Program Files/Internet Explorer/IEXPLORE.exe")

and then getting Maple to 'drive' the program from there?

Download pointsconvexhull.mw

Perhaps what we need is some compound complexhull that can join the points.  In any case how about this attempt which isn't perfect by any means.

By the way To ADMIN - insert contents does not work - the link is just inserted, would be much better if it worked

 

Could I sub local for global in the proc?  Sub the variable then sub global back to local?  Using subs only, is that possible? 

Also still haven't been able to resolve subing i<50 using subs Error, `=` unexpected unless it works in newer versions.

 

Thanks, but the maple.exe mem usage reported by windows task manager is still higher than in should be, I'd like to modify this value to it's initial start without closing Maple (if there is a way).  Unfortunately I think it has something to do with the way Windows allocates memory as opposed to Maple which has no control over how Windows handles the memory.  If there was some sytem command ... maybe? ...

I recall a problem with Maple and the java machine which caused problems if you had too much memory (>2Gb) someone recommended to enter maxheap=256m in your launch.ini file and maplesoft tech support mentioned you could enter maxheap=700m and lower the value if problems still occur. 

If I check the total Maple's memory inside Maple using kernelopts

add(i,i=kernelopts(memusage)[..,3]);
                                            1355812

I usually on average on an empty sheet get that value.  But it doesn't matter if I open new worksheets and close all other old ones.  maple.exe in the task manager sits unusually high.  They fixed some memory issues from Maple 11 to Maple 12.  Especially the one where restart failed to completely empty arrays, the empty arrays still had allocated memory to them and so they had to be manually forced to 0 by a loop.  This was found by assigning a value and pointing it to an address then after restart check the address location which still contained the value.  (That was fixed by Maple 12)

Currently my maple.exe is showing 305,144 K even though I've opened a fresh blank worksheet and closed all others.  That should not be.  I don't think this is as bad in Maple 15 but I think it is still there, also I think they've even managed to reduce the kernelopts(memusage). 

Any tricks to empty the memusage on mserver.exe?

First 25 26 27 28 29 30 31 Last Page 27 of 48