MaplePrimes Questions

Hello, I have the following maple expression (sorry, it is somewhat lengthy)

e_x0 :=

4*ep^2*sin(m*Pi/b*y)*sin(n*Pi/c*z)*J0*(x1-x0)*(-cos(n*Pi/c*z1)+cos(n*Pi/c*z0))*(-cos(m*Pi/b*y1)+cos(m*Pi/b*

y0))/((2*m^2*Pi^4*c^2*n^2*b^2+n^4*Pi^4*b^4+8*Pi^4*m^4*c^4*Q^2+16*Pi^4*m^4*c^4*Q^4+16*k^4*b^4*c^4*Q^4+8*m^2*

Pi^2*c^4*k^2*b^2*Q^2-32*Pi^2*n^2*b^4*Q^4*k^2*c^2+8*n^2*Pi^2*b^4*k^2*c^2*Q^2+m^4*Pi^4*c^4-32*Pi^2*m^2*c^4*Q^

4*k^2*b^2+16*Pi^4*m^2*c^2*Q^2*n^2*b^2+8*Pi^4*n^4*b^4*Q^2+32*Pi^4*m^2*c^2*Q^4*n^2*b^2+16*Pi^4*n^4*b^4*Q^4)/b

^4/c^4/Q^4)^(1/2)/a/m/Pi^2/n;


and the input parameters are
Can someone please explain the rational behind why this works. b := seq(x^2*Unit('m'), x = 1 .. 5); 1[m],4[m],9[m],16[m],25[m] eval(b, Unit = 1); 1, 4, 9, 16, 25 I use this method but never understood why it works. why does using Unit=1 strip the units? Thanks, DG
Hello all. I am have recently gotten help in here, where it was suggested to me that i used Liblip to interpolate my 3d datasets. This has worked fine after i figured out how to make it work. I have however now encountered a problem with the LipIntSmoothLipschitz command, where on the latest dataset i am running, it makes a memory drain which ultimately after a long data accumulation, results in Kernel connection loss. I hope someone has an idea of what is wrong. My loaded data is assigned like this: First line: 2 (number of dimensions), 1852 (number of lines) Second line and below: X Y Z (In first part sorted by increasin Y) Here is my setup (Have made notes in, and at the bottom of worksheet):

Maple Equation

Hi everyone - I have two problems Im really hoping someone can help me understand how to overcome (I have spent hours and hours going round and round in circles!) Firstly the topic is square pyramid numbers i.e (1), (1+4), (1+4+9), (1+4+9+16), .. etc Im trying to come up with a program that will see a procedure, nPyrLayers(), which says which "layer" of a pyramid a number is.. i.e 5 is the 2nd layer, 14 is the 3rd and then draw a pyramid. I can build the pyramids with blocks (cubes) myself, I can find the nPyrLayers number, but I cant come up with a program that will draw ANY pyramid for any layer USING nPyrLayers... Is there a program I could write that could see "nPyrLayers" and then draw the pyramid with blocks itself?
I am trying to create a plot for two differential equations but I'm not getting any graphs with the commands below. I'm not sure what's causing the problem and I've tried everything I can think of. Please help if you can. a := 2*ln(2) b := 1/5*ln(2) dose := proc (t) options operator, arrow; sum(2*Heaviside(t-6*n)-2*Heaviside(t-6*n-1/2), n = 0 .. 10) end proc J:=DEplot([diff(x(t), t) = dose(t)-a*x, diff(y(t), t) = a*x-b*y], [x, y], 0 .. 50, {[0, 0, 0]}, stepsize = .5, scene = ([t, x])) K:=DEplot([diff(x(t), t) = dose(t)-a*x, diff(y(t), t) = a*x-b*y], [x, y], 0 .. 50, {[0, 0, 0]}, stepsize = .5, scene = ([t, y]))
Suppose I generate a PLOT3D structure by p:= plot3d(f(x,y),x=-1..1,y=-1..1,grid=[3,3]): p2 := convert( p, POLYGONS ); Now I want to go through these polygons and throw away those that have a vertex far away from the origin (say more than 10 units), and then redisplay the trimmed structure. Is there a snazzy way to do this?
Hi, I use maple 11 on linux ubuntu. When I try to save a package that I've done, with the lines: mypackage:=module() global... export... option package; BODY end module(); savelib(mypackage) or savelib('mypackage') maple return the error "error, cannot open archive, /home/salvatore/maple11/lib/, for writing" the address is the good one (I can load all the preexistent package). Someone can help me? Tk you S.
Hi, I use maple 11 on linux ubuntu. When I try to save a package that I've done, with the lines: mypackage:=module() global... export... option package; BODY end module(); savelib(mypackage) or savelib('mypackage') maple return the error "error, cannot open archive, /home/salvatore/maple11/lib/, for writing" the address is the good one (I can load all the preexistent package). Someone can help me? Tk you S.
Usually I work with classical interface, but the java interface has some nice features which I want to use for printing. Thus I open my *.mws worksheet as a *.mw and want to do just that. However I have some problems, may be I am just too awkward here: 1. My mws output is 2 D and always non-italic, however in mw it tasteless shows up as italic. I tried to change that, but there exists no way just to say it to the character (one only can activate a check box to *make* it italic, not conversely). The only way was to select all the sheet and then de-activate italic through the menu bar.
I solve recursively a series of linear systems of ever increasing number of unknowns, proven to have a unique solution, each of which is expressed as a function of all the previous unknowns. So Y[i]=sum(c[i][j]*X[i][j],j=1..nops(X[i])), and most c[i][j]'s are nonzero. I successfully used solve(Y[i],X[i]) and SolveTools[Linear](Y[i],X[i]) to get each Y[i] solution but, as i increases, the solution time increases exponentially. For example, in my system (P4 2.66GHz, 2GB RAM) solving a system of 15 variables takes about 6 seconds, while one of 21 variables needs about 250 seconds! Is this to be expected? I need to solve to about 40 variables this way but it doesn't seem possible with solution time increasing at this rate.
Sorry, I guess that less-than, greater than are not allowed directly in posts. In Maple10/11 there is the new statistics package, which is pretty cool. And there are lots of examples on how to create a custom continuous distribution, but not on creating custom discrete distributions. for example: U := Distribution(PDF = (t -> piecewise(t < 0, 0, t < 3, 1/3, 0))); Is a great example of creating a continuous distribution, but how can I create something similiar that is discrete? Any examples are appreciated!! Thx Cameron
I have a matrix for which the elements have imaginary components which are quite small. For purposes of readabililty I removed the imaginary components as follows: A:=map(x->Re(x),A); However, I was wondering - Is there any I could have displayed the matrix showing just the real components without actually getting rid of the imaginary ones? Also, the components are displaying to 10 decimal digits which is awkward. I know if I set Digits:=5 for example, the diaplay would be more readable but I don't want the calculations to be done with that level of precision. Is there any way I ca
How do I use maple 11 to solve the following problem? I am trying to upload my graph however the system is not allowing me to do so. Any pointers? The question is: Use Prim's algorithm to find a minimal spanning tree for the weighted graph. Give the weight of the minimal spanning tree found
How do I use Maple 11 to determine if my graph is a rooted tree, as well as draw the rooted tree with the root at the top without the arrow heads.
How do I use Maple 11 to determine reverse Polish notation or postfix form? I can't find a example worksheet in order to plug-in my problem.
First 2278 2279 2280 2281 2282 2283 2284 Last Page 2280 of 2374