nm

11353 Reputation

20 Badges

13 years, 13 days

MaplePrimes Activity


These are questions asked by nm

How can one find out when a Maple command or package became part of Maple? i.e. which Maple version first had this command or package?

For example, I'd like to know when applyrule https://www.maplesoft.com/support/help/Maple/view.aspx?path=applyrule was introduced. But this applies really to any command I see.

In Mathematica, this is easy to find out, since it is documented in the help page for the command, at the botton of each page when the command was added. Is there a command or a web page that shows this type of information about Maple commands and packages?

 

This came up in another language. I tried to solve it in Maple, but I am newbie so did not know how to.

The problem is to remove all products of  "a^n*b^m" that shows up in an expression, including any powers of "n,m". For example, given these three expressions

f0 := a^4+4*a^3*b +6*a^2*b^2+4*a*b^3+ b^4;
f1 := 3*(a*b -2*c);
f2 := (a*b -2*c)/(c - a*b);

Then applying the transformation needed, will result in

f0:= a^4+b^4;
f1:=-6*c;
f2:=-2;

Becuase the transformation will detect any a^n*b^m and simply replace this product by zero
from the resulting expression. So "a*b^2 + 2" will become "2", and so on.

I assume a function such as "patmatch" or "match" is needed. I tried, but could not figure how.
I also tried algsubs. How would this be coded in Maple?


I did not understand fully some of the notation used in 2D when I had the tools->options->Display->Output display->2D. So I thought if I change it to Maple notation. I might see what the symbol actually mean.  But when I did so, the result was even more confusing. Full of typesetting:-mrow commands and hard to read.

Here is the output in 2D

restart;
int(1/( (x-a)*(x-b)),x=-infinity..infinity  );

And here is the output when I switched to Maple output:

I was expecting to see "normal" looking Maple commands, which I can understand. Even the Latex is easier to read than the above mumple jumple code:

 

Does this mean one should forget about using Maple notation for output from now on? Why is it the output so complicated?

I am having hard time understading how a style sheet works with Maple. I am trying to use the "document mode" and would like to change the font used for math.

The first question I have is: How does one determine which style sheet is being used for the current open document?

Second: I have followed instructions on how to make a custom style sheet, as shown here: https://www.maplesoft.com/support/faqs/detail.aspx?sid=87675 and saved the style sheet on some location on my PC.

But it seems to have no effect at all. Since when I load it again using Format->Manage style sheet->User defined style set, then using the Browse... and select the file my_style.mw which I created using above instructions, I notice that fonts remain the same. I also close Maple and start again, and select my_style.mw again, but when I start typing in document mode, the font is still italic, even though in the XML I see it says  talic="false" (when I open the file in text editor):

<Font name="2D Math" background="[255,255,255]" bold="false" executable="true" family="Times New Roman" foreground="[0,0,0]" italic="false" opaque="false" readonly="false" size="12" subscript="false" superscript="false" underline="false" placeholder="false"/>

I even tried editing the style sheet I think Maple is using, by hand (it is an XML, and modified the font to be not italic) and reloaded it, and no effect. I even added invalid entries in there, and invalid font names, just to see the effect, and nothing happens, no error or anything. It is as if Maple does not even read the style sheet I just saved.

All what I want to do it to make the math 2D input, be _not_ italic font. I spend one hr on this, and nothing seems to make any difference, Maple insist on using italic for math input when in document mode.

Why is it that the style sheet says talic="false" for 2D math, but when I start to type, it types as italic?

 

As you can see, when I type, it switch to italic, even though the style sheet I just set, it clearly saying italic=false. There is not one single italic=true in the whole XML file. Why is Maple insisting on using italic?

 

I am using Maple 2016 on windows. 

I was learning about Maple, but I do not understand this code below. This does not look correct.

http://www.maplesoft.com/support/help/Maple/view.aspx?path=Task/ConvertExpressionToFunction

When I type it on my worksheet, I get these errors

 

 

Sometimes I wonder if any one at Maplesoft actually looks at their own help web pages and try to use them, or is just the poor users who do that.

 

First 172 173 174 175 176 177 178 Last Page 174 of 199