MaplePrimes Questions

I've read it again... and again... and again. It's a very simple calculator program, why is this not working? > with(Maplets[Elements]): > MapleCalculator:=Maplet > [ > ["Field 1", TextField['TF1'](10)] > , > ["Field 2", TextField['TF2'](10)] > , > [Button ("Calculate", Evaluate('TF3' =('TF1' + 'TF2'))] > , > ["Value: ", "TextField['TF3'](10)] > ]: > Maplets[Display](MapleCalculator); Error, `]` unexpected
Hey guys. I seem to have hit a few nasty snags while trying to create Maplets, I wanted to ask a few questions to the guru's here to make sure I can do what I want to instead of wasting time trying to find it. First off: Can I create a GUI in which I can have tabs so that I can have multiple pages worth of actions in seperate segments. For example, I want to illustrate how to do 6 different types of questions. however I don't want EVERYTHING on one screen. Is this possible? Also, I want to create a grid like system for a circuit, given some initial input. Can I pass parameters so that when the circuit tab is pressed a frame is popped up (or another maplet), that takes in input, and passes it on to the main Maplet program?
I'm attempting to plot a piechart from the Statistics package in a question and I don't seem to be having any luck using: Anyone have an idea? Thanks
This is my first post here... My algorithm is about the 3x+1 problem. I want to test if some types of numbers have a stoping time. Until now i managed to do it by just testing one type of number each time... So i would like to automate the proccess... Here is an example: > k := 16 n + 3 > while modp(k, 2) = 0 or modp(k, 2) = 1 do if modp(k, 2) = 1 then k:= (3n+1)/2 elif modp(k,2)=0 then k:=k/2 end do k Well this example will produce k= 9n+2, which is smaller than the original 16n+3 so I know that numbers of the form 16n+3 have a finite stoping time...So it passes my test. If for example i start with k:=16n+7 i will get k=27n+3 which is bigger than 16n+7 so i do not know if this number has a stoping time... so it ''fails'' my test. I hope this is clear to you.
I have a table of data that displays salaries for different jobs and how they have changed over the years. I figure that interpolation would be the best way to fill in the blanks, but im not sure of the correct syntax to accomplish this in maple, I tried using splines but i just couldnt find a suitable example in the help documentation. YEAR| 1975| 1980| 1985| 1990| 1995 ---------------------------------- job1| 7843|11314| ??? |17820|21431 ---------------------------------- job2| 8388|12409| ??? |20694|28362 ---------------------------------- job3|12332|18075| ??? |31112|36980
My questions are formuled in the worksheet. Again sorry for my terrible English. Greetz Pieter Download 2714_Problems.mws
View file details Edit: I have 2 implicit deffined functions. How can I calculate their intersections?
Hi, Is there some way to get maple to replace "arctan(sin(theta)/cos(theta))" with theta? I know that it doesn't always equal theta :-) but I'm switching to and fro and to and fro, between cartesian and polar coordinates and... As a consenting adult, I'd like maple to trust me to be able to keep track of things myself. I tried "assume(theta > 0, theta less than Pi/2)" and that didn't help. (Note: I really used the "less than" symbol but for some reason this post gets cut off by that symbol so I wrote it out...) I also tried "convert(arctan(sin(theta)/cos(theta)),trig)" and "simplify(arctan(sin(theta)/cos(theta)),trig)".
I have a large system of equations that takes a good hour to solve. Each time I save and reopen the worksheet there is another lengthy recalculation on execution after which other operations are carried out. I know how to save individual variables for reuse but what I would like to do is save the session so that the I can pick up from where I left off. Is this possible?
Hello, can you help me with my problem? If I want to verify two objects like this > a:=exp(I*x)=0; > b:=cos(x)+I*sin(x)=0; I can use the command > verify(a, b, 'relation(testeq)'); But how can I verify equality of more complicated objects, for example > a:={exp(I*x)=0, x^2-x}; > b:={cos(x)+I*sin(x)=0, x*(x-1)}; The command > verify(a, b, 'set(testeq)'); is (of course) not enough. Is there a way how to do it? How to compare the objects recursively? Mayby the solution is to write my owv verification object, but I don't know how to do it. Is it possible to define a procedure and use it in such way?
Hi All, Firstly, I tried doing a search on the forums but couldn't find the answer, so my apologies if this has been covered before. All right here it goes... say i've got the following eqn: A = Bx^2 + Cx + D and I want to make B the topic of the equation. How would I do it in Maple? Please note that I'm completely new to Maple, and I'm aware that the above equation isn't the proper syntax. Thanks in advance for your help... cheers! Ganesh
Please, could anybody help me with this integral, where y is higher than 0? Int(Int(1/((1+y*(cos(x)+cos(z)))^(1/2)),x = 0 .. pi),z = 0 .. pi); Thank you a lot for help. D. Reyes CBPF-Brazil.
Hi,
I'm trying to use Eigenvectors on a 7x7 matrix (in maple8 on linux). The process
never returns and its size continually grows (>200 MB before I kill the process).
I am new to maple, but have successfully used Eigenvectors on a different (sparser)
7x7 matrix. I'm assuming that either a general 7x7 matrix is too hard for
maple to solve analytically, or something about the degeneracy of my matrix is
causing problems? btw, Nullspace works fine on the matrix. Any help would be
appreciated. I added the assumptions hoping that would simplify the solution,
but it doesn't seem to make any difference. Below is the code.
I have a vector containing a variable >vec1[1]; var1 I have another vector containing a symbolic solution. >vec2[1]; a + b + c I wish to assign a + b +c to var1 so that >var1; a + b_+ c How do I do that? All of my usual methods seem to come unstuck.
Hello, I'm working on a document and I decided to print it out to do some editing. I have enabled page numbers, and when I do a print preview I see the page numbers at the bottom of the all of the pages. But when I print out the file, the page number appears at the bottom of the first page but not on any of the next pages. This happens both when I print it to our office printer and when I print it to a PDF file. Any suggestions?
1) How do I view the source code of, say, (Student[Calculus1][AntiderivativeTutor])(); 2) I'm using a Maplet where a student will enter an expression into a MathMLEditor. I then want to compare this expression to one that the computer has already generated, to see if they can identify the inside function in a composite function, for instance. Once they enter their expression into the Editor, I use a Get command to extract it, and MathML[Import] to turn it into Maple expression to compare it with the computer-generated one. This works fine with functions like 1/x^9 (which you can type in easily into the editor), but really causes problems with ln(x) or sin(x). If you type in "sin(x)" into the Editor, MathML[Import] will interpret that as
First 2364 2365 2366 2367 2368 2369 2370 Last Page 2366 of 2421