Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
In this Maple 10 classic worksheet I'm trying to get the eigenvalues of the matrix H, which are dependent of the parameter F>=0. Please help me to get rid of those RootOf's. The result may be numeric because I only need it for plotting. Download 5085_20_H.mws
View file details
Hi Guys i have 2 matrices, A and B, a[i,j] and b[i,j] are the elements of the matrices respectively. How can i set the entries of A to equal the entrices of B, so then when i use the command, evalm(A), the previous a[i,j] values will become b[i,j]? Thanks.
for n from 1 to 2 do if(isprime(L[n]) then 7 else 9; end if; end do; No matter combination of semicolons or colons I put at the end of each line or omit, I cannot get this little test routine not to spit back "unable to match delimiters" error message. L := [4, 5]; P1 := [-8, 9]; if (5 > 6) then P1[1] else L[2]; end if; Ironically, this routine worked. I do not see the difference.
The equation y'= ((2-t)(2-y))/y , y(0)=1 How do I use Euler's method to calculate an approximation to y(1) using step size i. h=0.2 ii. h=0.1 iii. 0.05
I am new to Maple (I have Maple 11 student version) I tried to simplify atan(tan(x)) and nothing happens Also atan(sin(x)/cos(x)) does not simplify. What is the trick to simplification?
Dear all: Inside maple, I want to call C program which is compiled using cygwin & gcc. I did a very easy one for testing. int _stdcall add( int num1, int num2 ) { return num1+num2; } and then gcc -o add.c && gcc -shared -o add.dll add.o However, this doesn't work. Maple continue to load the DLL forever...... Does anyone know the reason? I did it with Visual C++ with VC specific options and it works just fine. Thanks, Peter
the equation y'=1-y(t)^2 how do you construct the de plot and find the equilibrium solutions
I want to have a solve command in a loop like this: for j from 0 to 10 do s[j]:=solve( {f[j]=0 , g[j]=0},[ a[j] , b[j] ]); od; where f[j] and g[j] are complex exponential functions of j and a[j]& b[j] e.g in a very simple case: f[j]:=a[j]*exp(I*2*j)+b[j] after such a loop Maple just solve s[0] and for other j's a warning message appears saying: "solutions may have been lost". And amazingly this warning seems very correct for when I put the solve command outside the loop,like solve({f[2]=0,g[2]=0},[a[2],b[2]]); it simply solves it! I don't know how I can overcome this problem?!
Hello, first post here, thanks for letting me on the forum. I am trying to visualize fourier approximation. This means that I want an animation of the several functions I get (the first only uses cos(x) and sin(x), the second one also uses cos(2*x) and sin(2*x)...) I managed to do this: [quote] restart;with(plots):f:=piecewise(-Pi
When you call call_external like call_external(p1,p2,p3,p4) what do the four parameters mean?
Hi guys, do any of you know how to differentiate a matrix, i have the command A:=Matrix(2,2,symbol=k): I want to treat the elements k[1,1]..k[2,2] as variables, and then differentiate the matrix with respect to say k[1,1], and so on. How can i do this?
I am trying to solve the following system of PDE's
dn := diff(n(x,t),t) = d*diff(n(x,t),[x,x])+n(x,t)*(r(n(x,t)+m(x,t)))*s[1](C[1](x,t))-n(x,t);
dm := diff(m(x,t),t) = d*diff(m(x,t),[x,x])+m(x,t)*(r(n(x,t)+m(x,t)))*s[1](C[1](x,t))-m(x,t);
dc1 := diff(C[1](x,t),t) = d[1]*diff(C[1](x,t),[x,x])+P[1]+(n(x,t)+m(x,t))*p[1](n(x,t)+m(x,t))+H*m(x,t)*p[1](n(x,t)+
m(x,t))-(P[1]+p[1](1))*C[1](x,t);

with initial and boundary conditions
IBC := n(x,0)=piecewise(x^2<1,0,x^2>1,1),m(x,0)=piecewise(x^2>1,0,x^2<1,1),C[1](x,0)=1,
C[1](infinity,t)=1,n(infinity,t)=1,m(infinity,t)=0,n(-infinity,t)=1,m(-infinity,t)=0,
I have made some lists named K[i], i= 1 to 48, with matrices, but this doesn't make maple happy, and I get 'Error, invalid subscript selector'. The problem is obvious that K[i] is taking element i in the list K, and I get problems when I want to take list K[i] and look at element j. So, how do you give lists names with indices?
When Tutor suggests a 'change in variables' and next step is applied, is there a way to get Tutor to show the substitution for variable u as well? thanks
Hi, I have two questions, which should be relatively simple to solve. First of all, how do you name the axes in a plot? Second, how do you change the dimensions of a spreadsheet in maple? For example, if I wanted a 500 by 2 spreadsheet, how would I go about getting it? Right now the spreadsheet maxes out at 100 rows Thanks for your help -Evan
First 2104 2105 2106 2107 2108 2109 2110 Last Page 2106 of 2249