MaplePrimes Questions

So I went ahead with alec's timer code and expanded on that, his window approach was also the approach I would need to furthar push the project to completion, so the beginning is pretty much his code, and works plenty fine. Now I was working on the project and then realized in order to set things up the way I want, i'm going to have to make a grid layout, also suggested by a fine coder here in a previous help topic, now my problem is, I had to rehaul ALL of my code to use grid layout, grid layout seems like a really easy to use system, and I started converting all the code to comply with that, and in the huge mess of brackets and square brackets, I seem to have messed up the overall opening and closing of said brackets.
How do I plot a prism or a general polyhedron with maple ? I tried polygonplot3d but the result is not satisfactory because maple does not recognize the edges between the faces correctly. Thank you very much for your answer.
Hi, Let's say there is a equation as following: a+b+c How can I save each term by "+" into an array? I.e) a+b+c Then I'd like to save each paramter split by "+" into an array. a is saved to array[0] b is saved to array[1] c is saved to array[2] I'm not sure I could make it in Maple. Any idea using Maple? Thanks!
Is there any way in MAPLE to set up a workksheet in such a way that you can enter |B| and have it produce the same result as Mag(B) where Mag:=b->sqrt(Re(b)*Re(b) + Im(b)*Im(b))
I have a frame where u_n and u_t are perpendicular unit vectors with u_n pointing to the right and u_t pointing up. Where the frame is rotating with angular velocity w in the anti-clockwise direction and time is t then d(u_n)/dt = w u_t How do I set Maple up so that it will do a symbolic differentiation of unit vectors - or any vector - in a rotating frame?
Hello! Is there any way in maple to create graphs? I would like to make my graph theory note more picturesque with it. Daniel
I need to export some 3d graphs to eps, then add some text and line, and then use them in a tex document. There are several problems with the eps produced by maple. Maple also saves the non-visible parts to the eps. This just makes the file unnessesarily big and slow to work with. Can I stop it from doing this? The lines of the curves is for some reason composed of thousands of lines on top of eacother. A little piece of a simple line, can consist of 10 thousand lines on top of each other. This makes a simple graph easily consist of 100 thousand lines and very slow to work with. Can I stop it from doing this, and only make the visible line.
A simplified optimization problem of mine can be stated as follows: obj := (b) -> x^2-b*y; constr := (b) -> b*x+y = 0; SL := (b) -> NLPSolve(obj(b), {constr(b)}) which means that the objective function "obj" is minimized under the constraint "constr" given a certain value of b. Input the command SL(0), SL(1)..., maple will give you corresponding optimized values of "obj". But this relationship between b and SL(b) cannot be plotted. At least, with a simple function like plot(SL(b),0..100) it is impossible to get a figure. solve this problem here? Thx a lot!
Hi, I'm trying to plot a simple function of K*Cos(w1*t)+K*Cos(W2*t)+K*Cos(W3*t) in frequency domain using Maple. Y-axis can be the amplitude and X-axis is frequency domain in radian. I could use Fourier transform to conver the time domain to frequency domain function. But, Since the w1, w2, and w3 are undefined values, I don't know how I could draw it in symbolc way in frequency domain. Here is my assumption for w1, w2, and w3. w2-w1 not equal to w3-w2 They could certain frequencies in positive. K is a positive constant. I expect a plot as following:
          |       |     |   |
          |       |     |   |
----------|-------w1----w2--w3----------> w [Rad/sec]
As seen, w1, w2, and w3 has a different interval and Dirac pulse at w1, w2 and w3 domain with an amplitude of K. I have no idea how I could implement this symbolic plot in Maple. Should I use some assumption statement? or programming?? Please help. Thanks,
hi i have one question in maple is many function which can have two 2D output like sum: Sum(f,i=3..n); in 2d Sum(f,i=3..n); sum(f,i=3..n); in 2d (n-2)f; for example i wanna my own function which will has two forms like a sum but in unevalued form will be instead of sigma for example Q or another symbol and above and belove that symbol will be some values, and in evaluated form there will be expression or number; another example is Diff or BesselJ funcions which have both two forms (symbolic/algebraic) my question is how to make this? Q(4,2);
Greetings! Newbie to the forum... I have created and solved a set of 2 PDE's, and I am trying to plot the results. I am capable of seeing the results of the second PDE by using the default command below. Is there a way to specifically pick which PDE to plot (I'm sure there is, but I can't seem to figure it out). pds := pdsolve(PDEset, PDEIC, numeric, time = t, range = 0 .. 30); pds:-plot3d(t = 0 .. 5, x = 0 .. 30, axes = boxed); Any help appreciated! Fred
My goal is to have users question banks in text files, and then read the data (both text and Maple procedures) in, through the readline function. The problem is, when I use that function, they come out as strings. For instance, if the first line of my file default.txt is diff(x^2,x) then the command readline("default.txt"); will display "diff(x^2,x)" I've tried using the convert function, but I can't find a type that will change it to a procedure. convert(aString,symbol) puts it as a symbol, but when I assign a variable to that symbol all it does it spit the symbol back out, it doesn't execute it. And if I use type(aString,procedure), it makes a procedure which displays the string. I need to remove the double quotes somehow and turn what's inside into a full-fledged Maple procedure. Any ideas?
When I saw a statement on a post I thought "I didn't know you could do that". I downloaded it and it wouldn't compile. Here is the statement. G := (i,j) -> if is(i,even) and is(j,even) then 1; else 0; end if; When I tried to compile this in MAPLE 10 I got an "invalid arrow proceedure" error. Should this compile? Thanks
In a number of posts containing code I have seen the expression fi. When I type ?fi I get the help file on if. I read through this file and find no reference to fi. Could someone explain what fi is and/or where I might find it discussed in the help file? Thanks
Hello everybody! Could anybody help me How can I obtain a numerical solution for an ordinary differential eigenvalue problem? I suppose that it can be something with "dsolve,numeric". Thank a lot
First 2240 2241 2242 2243 2244 2245 2246 Last Page 2242 of 2301