Maple Questions and Posts

These are Posts and Questions associated with the product, Maple
This is my worksheet: > a:=10: > f:=6: > for i from 1 to 12 do b[i]:=arrow(r[i],F[i])od: F[i] are predefined vectors and r[i] are the points form which they start. > with(plots): > with(plottools): > A:=seq(b[i],i=1..12): > > > B:=plottools[line]([0,0,0],[a,0,0],thickness=3,color=black): > C:=plottools[line]([0,0,0],[0,a,0],thickness=3,color=black): > unprotect(D): > D:=plottools[line]([a,0,0],[a,a,0],thickness=3,color=black): > E:=plottools[line]([a,a,0],[0,a,0],thickness=3,color=black): > > F:=plottools[line]([0,0,0],[0,0,a],thickness=3,color=black): > G:=plottools[line]([a,0,0],[a,0,a],thickness=3,color=black):
How do I get the solutions from the results of fsolve to a cell on the spreadsheet? For example, fsolve gave me {t3=4.6976,t2=4.42238} and I want to put them in cell A1 and B2 respectively. Thanks.
Can anyone tell me why I am getting the error I am getting in this file. View 2292_Binomial.mw on MapleNet or Download 2292_Binomial.mw
View file details
Hi everyone, I'm trying to make a maplet application, but am encountering some problems.... I'd like to have a maplet asking for an integer input, and after clicking ok, it would open a new maplet with as many TextFields as the given integer. Is there a way to do this? In normal Maple code, I would use a for...do loop of course, but these loops seem not allowed in maplets... Suggestions are more than welcome. Thanks a lot in advance! Frederik.
I did that for matrix inversion:

Here is some stuff for doing that by calling Maple from Excel. The reason
is that one could care for extreme cases, where a really good precision
is needed. I included an example how to switch to rationals, where the
inversion can even be done exactly (do not use it for dimensions to high
and then it would be better to do it solely in Maple + cut&paste).
I am using Maple 10 to generate via codegen and CodeGeneration systems of ODEs to be externally solved by CVODE (a solver written in C). It happens that the lines so generated are so huge that the C compiler chokes. Searching this forum for previous posts I found the recommendation to use the optimize option in order to break long lines. However this seems to be insufficient and I wonder if there is a simpler solution like specifying the maximum line length and have Maple handle the breaking.

TIA,
Heitor Pina
Hi again, I am having trouble resolving the issue of which eigenvector is 1st, 2nd 3rd etc. The need is for diagonalization because the eigenvectors are the columns and the eigenvalues as you know are the diagonal entries in the A matrix. Does it make any difference in what order the vectors are placed in the columns? TIA Larry Ciak aka malt_master
How would I go about doing this? cat() doesn't seem to work well inside MathML[Export], and I can't think of a way to insert spaces, so text would run up against each other, like findthederivativeofx^2 Right now I'm using a text box above and seperate MathMLViewer below for the symbols, but I would really like to combine them into one. Any ideas? Thanks.

So guys, here comes the big and pretty much final questions. I'd like to thank you all ahead of time, for all the help you have given me, truly you have made this project much easier, and have saved me weeks and many hours that I can now use for other subjects. In any case, this is what the "circuits" page will look like I have taken alec's advice and have decided that for the other questions all I will do is hide and show elements accordingly, and again thanks to his clock/timer help, I will be able to write the procedures to do these commands. Thanks to Doug's many Calculas Maplets, I have taken a good look at GUI set up, however his examples, are... well very advanded :D. I guess I couldn't expect any less for somebody who did 20+ years of Maple right? Moving along to the question, my question now is, how exactly would I go around building the blocks so that the window would look like that? The drop down menu and the label image would both have to be in the same "[ ]" brackets, or would that break the flow layout, or would that create the image and the drop down menu beside each other (which is what I don't want...) On a side note, this question is actually kinda a real struggle point for me, is it possible to create "frames" inside this Maplet window, so that I can add or remove elements from it? This is a crucial question because I will be adding and removing textfields from certain areas, like you are seeing, and that is going to look really messy code wise if I have to do this another way. So a question directly related to that one, is it possible to remove frames entirely? Am I going to have to use any kind of special layout to be able to design this with ease? I was thinking a grid layout of sorts would be necessary, but even in that, can anybody provide a very simple and basic version of that for me to learn from? Thats the bulk of the questions, there are some minor ones that will follow depending on the answers. I would really like to thank each and every one of you ahead of time for your assistance.

So I came across the conversion ability in Maple 10 (My school had some trouble with the registry, it's fixed now, so we're up to date with 10!) Anyways, so I made it convert simple statements and functions, but now my question lies in exactly how deep can this conversion functionality go? Is it possible to say write a java program and convert it into a Maplet and vice versa? I know that Maplet doesn't exactly work like a full blown computer language as alec made clear in his post on the front page, but lets say I wanted to make a window in Maplet, can I convert that from Maplet to java and
for example sin(x) from 0..5Pi how would i count the roots? there obviously would be 6 roots but is there a maple command to count these for me? thanks
How to draw the graph of y=100+[sin(w+1)]^3 and the 1st two degrees?

I did that for matrix inversion:

Here is some stuff for doing that by calling Maple from Excel. The reason is that one could care for extreme cases, where a really good precision is needed. I included an example how to switch to rationals, where the inversion can even be done exactly (do not use it for dimensions to high and then it would be better to do it solely in Maple + cut&paste).

To use it one must have Maple installed (I think at least version 8...

with(Maplets[Elements]): maplet := Maplet([[Label(Image("E:\\image.jpg"))], [Button("OK", Shutdown())]] ): #Maplet 2 (creates the file that it will use to pass back parameters) #fd := FileTools[Text][Open](testFile, create=true, overwrite=true); MapleCalculator:=Maplet( # inserted ( [ ["Field 1", TextField['TF1'](10)] , ["Field 2", TextField['TF2'](10)] , [Button ("Calculate", Evaluate((TF3='TF1' + 'TF2')))] # inserted ) , ["Value: ", TextField['TF3'](10)] ]): # inserted ) Maplets[Display](maplet); Maplets[Display](MapleCalculator);
So I was messing around with Maple somemore, and I got the image idea to work, now my question is, is there a timer system for Maple? I have looked at the example that Maple 9 presents to me, but it's very... very complex for what I want. You see in the example it says to use the computer clock as a form of time, and this is technically possible by using -now() command (or something like that) to determine what the time was, what time it started, and then using that to determine when to set it off... though the details are a bit fuzzy now, it is still a rather extensive way of doing a simple thing.
First 1860 1861 1862 1863 1864 1865 1866 Last Page 1862 of 1913