MaplePrimes Questions

I have a list of arrays which I would like to merge into a single array. In the case of two arrays (say A and B) I basically want maple to dump them both into a new array in which wherever A[i,j]<>B[i.j] the new array takes whichever is nonzero and if A[i,j]=B[i,j] does nothing. is there any short way of doing this without writing a function which runs through the arrays and compares each element induvidually and outputs the results into a new array?
If you ask most people "what is the square root of 64?" they will answer "8". Of course we know that the technically correct answer is {8,-8}. So I'm a bit confused that when I ask MAPLE to simplify sqrt(x^2) it spits the expression right back to me, but when I tell MAPLE to give me sqrt(x^2) assuming x>0 it gives me x. It seems to me that there are going to be two answers whether or not x>0. That is, the answer to sqrt(x^2) is {x,-x} whether or not x>0. That is, sqrt((-8)^2) = sqrt(8^2) = {8,-8}. So when I am using symbols rather than numbers why does MAPLE give me the answer x for sqrt(x^2) assuming x>0, but give me the answer sqrt(x^2) when I don't include the assumption?
Is there a secret to entering a do loop construction in Maple? I have tried constructing a simple do-loop involving several different statements under one loop. The problem is, every time I try to enter the first line of the loop, the "for i=...do ", I get an error message indicating "Unterminated loop". I guess it is looking for the "end do" statement but I wish it to end only after several statements have been executed within each cycle of the loop. This must be really trivial but I'm new to this so.. Thanks.
When I use the labelling facility in the geometry package, the plot area does not include all of the drawing. For example, in the code below the word "top" at the top of the circle is cut off. restart;with(geometry):with(plots): point(top,0,1):point(bottom,0,-1): circle(c,[top,bottom]): draw([c,top,bottom],printtext=true,axes=none); I see it if I have axes, but I want to use axes=none. It seems like a bug. A couple of workarounds failed to solve the problem. I added the view option to draw: draw([c,top,bottom],printtext=true,axes=none,view=[-5..5,-5..5]); expecting to see a smaller circle. Instead the circle appears the same size, still with the word "top" chopped off. Surprisingly, the points are drawn in LARGER symbols! So I thought that using the view option in display might override that internal options that draw uses:
Hi everybody. I'm working on a project on the behavior of the Schrödinger wave-function. I want to analyse the system with a given potential function V(x), which has to be infinity for all values of x
Hi from Italy. In the linked file we are asking you if someone of you is able to help us.. Sorry, we've to solve a problem before tomorrow evening... Helpppppp, please!!!!! Thank you very much! coala Download 3743_AK model maple.doc
View file details
Before I get completely obfuscatory with this, let me try to explain what I m trying to accomplish: I want to generate a display of an x solution for each value of n to the expression x^n - sum(x^i,i=0..n-1)=0 where n=2..12. Would anyone be able to provide the proper Maple expression(s). Thanks.
Hello, I have problem with uploading files generated from Maple 10 with task help to Maple TA server. Could you help me someone please? I create maple mw files form task help and then I save this mw to maple ta zip file and then I would like to upload this question file to Maple ta server, but it is not work and I do not know while. It occures an error Errors loading the question bank: halo.zip Reason: Error at line 1. Unrecognized escape character: \? Where is the mistake? Thank you Vladimir
How can I convert an expression into a function? For example, let's in the course of some calculations I get the output: x + sin(x) How can I convert this into f:=x->x+sin(x) without really spelling it out? Thanks in advance.
Hello I have been using MATHcad for several years and now i want to switch MAPLE. The problem is that i have so many mathcad files and i would like to transfer them to maple. Does some body know the way to do that? Thanks!
Hi! Basically what I want to do if for Maple to create a random walk based on the following information. Input variables would be the starting value of the walk, a fixed increment by which the value can either increase or decrease, p - the probability of an increase (where 1-p is the probability of a decrease) and the total number of steps/days etc... to apply this over. So basically at each point I want the program to decide whether to increase or decrease (by a fixed amount) based on the probabilities. Is this possible? Any help would be much appreciated. I have some vague knowledge of maple its just the how to apply the increase/decrease according to the probabilties that is confusing.
I am migrating to Maple from Mathematica. In Mathematica I could apply a function to a lsit. for example. In Mathematica I could.... a={3,4,5} Sin[a] will result in a list of solutions {ans1, ans2, ans3} is there a similar command in Maple??
Is there any source at maplesoft.com that gives a comprehensive guide as to how to use Maple 10. I didn't like the Maple user manual one can download from the site. Thanks in advance !!
I am new to Maple 10. When I enter cos(pi) I get cos(pi symbol) as the output. WHen I enter cos(pi symbol) I get -1 as the output. Why doesn't Maple recognize pi as the pi symbol and get me -1? Also I get error with the following but it works when I use the pi symbol instead of pi: plot([sin(x),cos(x)],x=0..2*pi) Can't Maple tell theat pi is same as the pi symbol.
I am getting an Invalid Arguments error when I try to perform the following operation. LLL([[N^2,0,N*b,0,b^2,0],[0,N^2*X,N*a*X,N*X*b,2*a*X*b,X*b^2],[0,0,N*X^2,N*X^2*a,(2*b+a^2)*X^2,2*a*X^2*b],[0,0,0,N*X^3,2*X^3*a,(2*b+a^2)*X^3],[0,0,0,0,X^4,2*X^4*a],[0,0,0,0,0,X^5]]); Error, (in IntegerRelations:-LLL) invalid arguments I'm not sure what is causing this. It is a valid matrix. Any help would be greatly appreciated.
First 2333 2334 2335 2336 2337 2338 2339 Last Page 2335 of 2411