Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
Since the book entries do not yet have their own tracker (like the forums, blogs, etc), I figured I would give a particular entry I crafted on advanced maple programming a bit of a boost by making a blog entry of it, at least until Will get the tracker back online. I did spend a huge amount of time on that book entry, so I want it to get some visibility!
Hi, Sorry if a question like this has already been answered, but I didn't find any similar ones. I have a matrix that may look like this: M:=Matrix([[1,[0,0,0],[0,0,0]],[lambda,[0,0,0],[1,1,0]],[lambda,[1,1,0],[0,0,0]],[lambda^2 ,[1,1,0],[1,1,0]]]); only much larger... maybe with RowDimension 200000. Is it possible to use LinearAlgebra:-Map involving some conditioning on different rows. Say "Map the first element of each row to zero if the second and third elements are equal". I can do operation in different columns like: Map[(i,j)->evalb(j=3)](x->2*x,M)
I am trying to export a command from Maple 10 into, say, Word. I noticed that when the command exceeds a certain length (??) then it's being put into two lines. whereas the original was just one. I am using cut and paste special. It happens regardless of what format you use for paste special. ditto concerning the paragraph format in word. any help appreciated. thanks
Using with(Units) If I enter something like: P := 1 [[atm]] And then right click to convert this to torr, it does so like this: P := 1 [[atm]] -> 760 [[torr]] But then, if I check the value of P, it is still given in [[atm]]. How can I make the new units append to the previous value? In general, I'm having a difficult time working with units in Maple. Any suggestions?
> restart; with(DEtools); with(PDETools, declare); declare(diff(y(x), x), prime = x); [declare] y(x) will now be displayed as y derivatives with respect to x of functions of one variable will now be displayed with ' > dsolve(diff(y(x), x) = -(2*x-1)/(3*y(x)+7)); (1/2) 7 1 / 2 \ y(x) = - - + - \49 - 6 x + 6 x - 6 _C1/ , 3 3 (1/2)
Suppose I have the following in my worksheet > a:=17 > expr1 := a^2 +4: > expr1 293 > a:= 0: > expr1 293 Its clear what's happening - expr1 was defined when a was 17 and it doesn't change just because later I change the value of a. I understand that after I set a equal to 0, if I had moved the cursor up to the line where expr1 was defined and pressed the ! button the value of expr1 would change to reflect the new value of a. My question is, is there any function in MAPLE such as redefine(expr1) which will in effect move the cursor to the line on which expr1 was defined, press !, and then move the cursor back to wherever it was?
Hi there, I've just started using Maple, and must say it is a real good tool - powerfull!!! But to the point, I have created a 'simple' procedure for determinig the shape of UMP Unbiased test for testing H0: the probability 'p' of getting "1" in the Bernoulli scheme is
I, i need to plot a z-trasformed function (discrete function), that has some "Dirac" (isn't a real Dirac function) points. How I have to do? This is an example: f:=1/2*(charfcn[2])(k)-3/4*(charfcn[1])(k)-3/8*(charfcn[0])(k)+3/8*2^k;
How do I plot a scatter plot with a vector x and a vector y, and a function y = cos(x).... on the same axes? Please Help!!!!
Hi Short question version: ss := ["abcd", " efg", " hijk", " lm_r", " stuv_k"] How can this be converted to: ss := [abcd, efg, hijk, lm_r, stuv_k] (ie just remove the quotation marks.) Thanks David Longer version: This was meant to be a reply to a previous question posted about 2 days ago, but I have failed to find it. (Sadly I have failed in my attempt to answer his question anyway.) No doubt my lack of being able to successfully use the sort features - are they working properly? (They just seemed to be in a different random order?) restart: ss:="abcd # efg # hijk, lm_r, stuv_k":

So you have used Maple as a glorified calculator (Maple 101), then wrote a few 1 liners (Maple 201), and even a few larger procedures (Maple 301), where you were both amazed and horrified by 'op'. But when you get serious about programming in Maple, even for not-so-large procedures, what are the fundamental parts of the system that you should know? Other pages in this book talk about particular features. This one is instead a simple list of those Maple commands and concepts you need to know to be able to call yourself a Master Maple Programmer.

I'm having a problem to convert my answer to radical term. I've use 'convert' command' but Maple doesn't work. Thank you for your help. >solve({a1^2*alpha+a2^2*beta=a1, 2*a1*a2*alpha+a2^2*gamma=a2, a1*b1*alpha+a2*b2*beta=b1, a1*b2*alpha+a2*b1*alpha+a2*b2*gamma=b2, b1^2*alpha+b2^2*beta=a1+b1, 2*b1*b2*alpha+b2^2*gamma=a2+b2, a1*b2<>b1*a2},{a1,a2,b1,b2}); >convert(%,radical);
Hi, I am having problems with a slow procedure for doing a large number of recursive calculations. Here is the code: g_exp := proc(u,t,lambda,beta) global k, g, f, d, i, t1, sum2, j: g := array(0..u+t): f := array(0..u+t): g[0] := evalf(exp(-1*lambda)): f[0] := evalf(1-exp(-beta*(0.5))): for k from 1 to (u+t) do f[k] := evalf((1-exp(-beta*(k+0.5)))-(1-exp(-beta*(k-0.5)))): g[k] := evalf((lambda/k)*sum(i*f[i]*g[k-i],i=1..k)): end do: d := array(0..u+t-1,1..t); d[0,1] = evalf(g[0] + g[1]); for i from 1 to (u+t-1) do
In my worksheet I have a variable Q which has a value of 0.000002859716408. I am in a document block and type The value of Q and then I press ctrl= and the line reads The value of Q = 0.000002859716408 But what if I had wanted the value to be outputted in scientific format, e. g. The value of Q = 2.85972e-06 Is there any way I could have gotten this output ? Thanks
It's according to my project, again. I want to plot a pentatope (4-simplex) with Maple. I've tried using plot3d with animate but it's look doesn't work. Thanks for your help.
First 2142 2143 2144 2145 2146 2147 2148 Last Page 2144 of 2210