segfault

140 Reputation

5 Badges

2 years, 110 days

MaplePrimes Activity


These are questions asked by segfault

Is it possible to set a worksheet or maple up to only express trigonometric functions as sines? This is very helpful for certain exotic coordinate systems. Meaning cos(x)=sqrt(1-sin(x)^2)  and NOT equivalently  adding Pi/2 to the argument cos(x)=sin(x+Pi/2).
It is completely useless and futile to do algsubs, as Maple will later just revert back to cosines, so you want to do it in the headers so output is always expressed as sines in the document by default.

Basically you want to set something in the header of a worksheeet to always use expsincos on output, and then in addition cos(x)=k sqrt(1-sin(x)^2)   k\e{1,-1} on the output.

I read the install.html that is installed with Maple2024 and the instructions to increase stack and heap limits are definately outdated.

None of the files they list there for Linux even exists after the Maple2024 installation.

So where exactly can I set the stack and heap size limits on Linux,  as Maple give me stack and heap errors.

How do add two or more variables to the save command ?

e.g.  the following works for one variable

number:=1;
A:=5;
fname:=sprintf("file(%a)",number);
save A, fname;

but how do you e.g. add another variable to the fname ?

Lets say I want  to add the contents of another variable say Var2
 

number:=1;
A:=5;
Var2:="b";
fname:=sprintf("file(%a)_Var2",number);

save A, fname

How do I do that ?

On a similar track,

If you have a worksheet that contains a calculation and results that took very long to complete and saved with all the results, is it possible to load the maple worksheet, and let maple load all the results  and not execute all the commands.

Thereby you can immediately work further and dont have to completely recalculate the worksheet. ?

Basically a resume function for the worksheet. Will save a huge amount of time and I cannot see a reason why the worksheet cannot load just using the previously calculated results in the document.

Is there an easy way to convert a maple worksheet to a command line .mpl file to be executed from command line?

Basically strips all the comments and just keep the commands.in the .mpl file.

The exports in the Maple interface do not produce command line executable code.

It is ok if there is a third party script also to do this.

1 2 3 4 5 6 7 Page 1 of 8