nm

1265 Reputation

13 Badges

4 years, 224 days

MaplePrimes Activity


These are questions asked by nm

Is there a problem with MaplePrime web site?   All my questions for the last 4 years, and answers are no longer available. All gone. I posted a question early today about sin(x) calling. one hr after that, I noticed all my questions and answers gone.

When I go to my user profile, it says I have zero questions, zero answer and zero post for the last 4 years. All the answers to my questions also got deleted, which is a shame if this happened. They have many useful information.

Any one else affected by this?

I found 4 ways so far to call a Maple sin function (to return numerical value).

Can you find more ways?

evalf(sin(Pi/2));
evalf(`sin`(Pi/2));
evalf('sin'(Pi/2));
`evalf/sin`(Pi/2);

 

 

 

 

 

One of the things I like about Maple, is that I am able to look at most of the source code, and learn from it. But since I am newbie in Maple, sometimes I find it hard to know which next call I need to showstat() in order to see what happens next and follow the code.

Sometimes I do not know how to find the proc() being called in the listing shown by showstat().

For an example, I wanted to see how Maple implements AiryAi(x).

So I did  showstat(`AiryAi`) and I see the listing of AiryAi. The top level of the function. But then I see it calling, which must be some other level of `AiryAi` function? For example, at line 16, it says

     res := ('AiryAi')(x)

Since I am looking at AiryAi itself, this must be either recursive call or calling other internal AiryAi?

But if it recursive, then I do not see where the actual implementation is? I wanted to see if it uses the integral form of AiryAi or series form (not likely, uses GAMMA). I see the same recursive call in many places, such as line 35 and line 37 and othere places.

But looking at all the 42 lines, I do not see where the actual calculation of AiryAi(x) is done. Did I miss it?

There is a lot of error checking and looking at special cases and such. But how does one know from looking at this listing, which other function they need to showstat() in order to see the actual implementation? There must be more to it than those 42 lines?

This is on Maple 2016.2

 

I am maple newbie. Sometimes when I look at Maple code to try to understand the algorithm (which is hard, since I do not know Maple well), I see the code puts ` ` around some keywords. And sometimes it does not. For example, sometimes I see something like (these are random samples) from Maple code shown using showstat()

return `if`(assigned(r),r,{})
r := `union`(r,{solve(op(1,expr) = 1,vs)})
v2 := `intersect`(vs,indets(op(1,expr),'name'));

But sometimes, they do not put ` ` around functions name or keywords, like this:

if nops(v2) = 1 then
t1 := remove(a -> has(a,RootOf),t1);
for t in expr do

and so on.

Can some expert please give what is the rule thumb to use? Should user adopt this method also? When to put ` ` and when not to put ` `?   I understand that ` ` prevents one-time evaluation (or rather, holds off immediate evaluation) and ``  `` prevents two times evaluation and so on. But when to use ` ` is what is confusing me.

 

any one managed to get this cloud app to work? I get an error on simple inputs:

 

http://maplecloud.maplesoft.com/application.jsp?appId=5651983367143424

 

I have to say also that the design of these apps is not well thought. The UI is too large to fit on the screen. Also, there is no button for the user to click on once input is there telling it to "proceed" It is not user friendly UI design.  I could not figure how to make the app full screen, instead of having it one window inside another for example.

 

 

 

1 2 3 4 5 6 7 Last Page 1 of 30