awass

301 Reputation

10 Badges

19 years, 306 days

MaplePrimes Activity


These are questions asked by awass

I  often find mself in the following quandry: I am investigating a problem, I do a few examples, run a do loop for j from1 to 5 to see if that works and then enter

for j from 1 to 200 do  a[j]:=blah, blah,...  end do:

and 15 minutes later nothing has happened. Is the loop finishing up with j = 198 or so or is it stuck at j = 23 and it will take forever to finish? Or perhaps there is an error that turns up for j > 23?

When I think about it I can insert a print(j) command to keep track of this but there are other situations where that doesn't work. For example,

Order := 35; mtaylor(....

When nothing happens is that because the calculation is almost done? or stuck? etc.

Is it possible to take a quick peek at the state of Maple and the decide whtether to continue the computation or abort? If the calculation of mtaylor(... is particularly long I might settle for the 15 coeficients computed so far rather than abort. Can I get at those?

Any advice?

 

 

Hi,

I want (Maple) to do a series of time consuming computations while I sleep so I create a Vector V of length 50 say and make each computation an entry in V.

An occasional entry will turn out to be an error-that is, I get an error message and the calculations stop. Not a serious problem if the first 47 entries have been calculated but if the thrd calcuation fails I have little to show for a night's work.

What I want if for Maple to skip any computaion that fails (produce the appropriate  error message if possible) and then continue with the other computations.  Any suggestions?

Here is an unrelated question. If I have an Array T say
>T:=Array(3..5,7..17,(i,j)->i^2*j):

then T[4,10] returns the appropriate entry. T(2,4) returns the same thing. What type of object is T(-,-)?

I have asked this question before (2008) but no one answered. I just repeated my error and am still flummoxedflummoxed.

In early versions of Maple (Maple 1 Maple 3) one could halt a computation on the Mac by holding down the command key and the period; Maple would respond quickly. Now one can try that or click on the red hand in the tool bar and interrupt the computation but it doen not necessarily stop.

I inserted a print command in a procedure so that I culd...

If I save a worksheet after an interactive session and then return to it at a later date I have to re-execute all my commands, redefine my functions etc. but my previous plots are "kinda" remembered by Maple. For example, if I had previously executed the command
> display([p||(1..50)], insequence = true);
then that plot will be active in the sense that I can run through the 50 plots, stop at any plot, etc.
So in that sense Maple has saved the plots. But if I want...

HERE IS A FUNCTION THAT I WANT TO DIFFERENTIATE

5 6 7 8 9 10 Page 7 of 10