Unanswered Questions

This page lists MaplePrimes questions that have not yet received an answer

Hi All,

Maple is changing fast. It is not possible to run some older codes. 

Is it possible those who have a valid Maple license to have the old versions free of charge?

I have Maple 7, 2018, 2021 licenses but still have problem running older codes.

restart; with(PDEtools); declare(F(x, t), G(x, t), H(x, t))

F(x, t)*`will now be displayed as`*F

 

G(x, t)*`will now be displayed as`*G

 

H(x, t)*`will now be displayed as`*H

(1)

q := 1-(diff(diff(log(F(x, t)), x), t)); r := G/F; s := H/F

1-(diff(diff(F(x, t), t), x))/F(x, t)+(diff(F(x, t), x))*(diff(F(x, t), t))/F(x, t)^2

 

G/F

 

H/F

(2)

r1s1 := r*s; r1s1der := diff(r1s1(x, t), x)

qt := diff(q(x, t), t)

eq1B := F(x, t)^3*(qt+r1s1der) = 0; eq12B := simplify(expand(eq1B))

-F(x, t)^3*(diff((diff(diff(F(x, t), t), x))(x, t), t))/(F(x, t))(x, t)+F(x, t)^3*(diff(diff(F(x, t), t), x))(x, t)*(diff((F(x, t))(x, t), t))/(F(x, t))(x, t)^2+F(x, t)^3*(diff((diff(F(x, t), x))(x, t), t))*(diff(F(x, t), t))(x, t)/(F(x, t))(x, t)^2-2*F(x, t)^3*(diff(F(x, t), x))(x, t)*(diff(F(x, t), t))(x, t)*(diff((F(x, t))(x, t), t))/(F(x, t))(x, t)^3+F(x, t)^3*(diff(F(x, t), x))(x, t)*(diff((diff(F(x, t), t))(x, t), t))/(F(x, t))(x, t)^2+F(x, t)*(diff(G(x, t), x))*H(x, t)-2*G(x, t)*H(x, t)*(diff(F(x, t), x))+F(x, t)*G(x, t)*(diff(H(x, t), x)) = 0

(3)

D_x_x_G_F := (diff(G(x, t), x, x))*F(x, t)-2*(diff(G(x, t), x))*(diff(F(x, t), x))+G(x, t)*(diff(F(x, t), x, x)); D_t_t_F_F := F(x, t)*(diff(F(x, t), `$`(t, 2)))-2*(diff(F(x, t), t))^2

(diff(diff(G(x, t), x), x))*F(x, t)-2*(diff(G(x, t), x))*(diff(F(x, t), x))+G(x, t)*(diff(diff(F(x, t), x), x))

 

F(x, t)*(diff(diff(F(x, t), t), t))-2*(diff(F(x, t), t))^2

(4)

NULL

rxt := diff(diff(r(x, t), x), t)

eq2B := -2*q*r+rxt = 0

eq22B := simplify(expand(eq2B))

((-F*F(x, t)*G(x, t)+2*G*F(x, t)^2)*(diff(diff(F(x, t), t), x))+(diff(diff(G(x, t), t), x))*F*F(x, t)^2+((2*F*G(x, t)-2*G*F(x, t))*(diff(F(x, t), x))-F*(diff(G(x, t), x))*F(x, t))*(diff(F(x, t), t))-(diff(G(x, t), t))*(diff(F(x, t), x))*F*F(x, t)-2*G*F(x, t)^3)/(F*F(x, t)^3) = 0

(5)

sxt := diff(diff(s(x, t), x), t)

eq3B := -2*q*s+sxt = 0

eq32B := simplify(expand(eq3B))

((-F*F(x, t)*H(x, t)+2*H*F(x, t)^2)*(diff(diff(F(x, t), t), x))+(diff(diff(H(x, t), t), x))*F*F(x, t)^2+((2*F*H(x, t)-2*H*F(x, t))*(diff(F(x, t), x))-F*(diff(H(x, t), x))*F(x, t))*(diff(F(x, t), t))-(diff(H(x, t), t))*(diff(F(x, t), x))*F*F(x, t)-2*H*F(x, t)^3)/(F*F(x, t)^3) = 0

(6)

"#`# How to simplify Eqs. (3), (5) and (6) and write in terms of following bilineat operators` by using (4)"?""

NULL

NULL

Download BE.mw

Hi,

Experiencing the following problem.  One of our servers was cloned, the GUID was replaced and then rejoined to the domain.  All applications are working exept Maple.  The application launches but then closes right away.  No error messages provided so not sure where else to look for possible fixes to this problem.  The application is runing on Server 2022.

Thank you.

restart

with(PDEtools)

with(LinearAlgebra)

NULL

with(SolveTools)

undeclare(prime)

`There is no more prime differentiation variable; all derivatives will be displayed as indexed functions`

(1)

declare(u(x, y, z, t))

u(x, y, z, t)*`will now be displayed as`*u

(2)

pde := diff(u(x, y, z, t), `$`(t, 2))+diff(u(x, y, z, t), `$`(x, 2))-(diff(u(x, y, z, t)^2, `$`(x, 2)))-(diff(u(x, y, z, t), `$`(x, 4)))+diff(diff(u(x, y, z, t), y)+diff(u(x, y, z, t), z)+diff(u(x, y, z, t), t), x)+2*(diff(u(x, y, z, t), y, t))+diff(u(x, y, z, t), `$`(y, 2)) = 0

diff(diff(u(x, y, z, t), t), t)+diff(diff(u(x, y, z, t), x), x)-2*(diff(u(x, y, z, t), x))^2-2*u(x, y, z, t)*(diff(diff(u(x, y, z, t), x), x))-(diff(diff(diff(diff(u(x, y, z, t), x), x), x), x))+diff(diff(u(x, y, z, t), x), y)+diff(diff(u(x, y, z, t), x), z)+diff(diff(u(x, y, z, t), t), x)+2*(diff(diff(u(x, y, z, t), t), y))+diff(diff(u(x, y, z, t), y), y) = 0

(3)

declare(v(t))

v(t)*`will now be displayed as`*v

(4)

declare(f(x, y, z, t))

f(x, y, z, t)*`will now be displayed as`*f

(5)

Q := u(x, y, z, t) = 6*(diff(ln(f(x, y, z, t)), `$`(x, 2)))

LL := diff(diff(diff(diff(diff(f(x, y, z, t), x), x), x), x), x)-(diff(diff(diff(f(x, y, z, t), x), x), x))-(diff(diff(diff(f(x, y, z, t), t), t), x))-(diff(diff(diff(f(x, y, z, t), t), x), x))-2*(diff(diff(diff(f(x, y, z, t), t), x), y))-(diff(diff(diff(f(x, y, z, t), x), x), y))-(diff(diff(diff(f(x, y, z, t), x), x), z))-(diff(diff(diff(f(x, y, z, t), x), y), y)) = 0

diff(diff(diff(diff(diff(f(x, y, z, t), x), x), x), x), x)-(diff(diff(diff(f(x, y, z, t), x), x), x))-(diff(diff(diff(f(x, y, z, t), t), t), x))-(diff(diff(diff(f(x, y, z, t), t), x), x))-2*(diff(diff(diff(f(x, y, z, t), t), x), y))-(diff(diff(diff(f(x, y, z, t), x), x), y))-(diff(diff(diff(f(x, y, z, t), x), x), z))-(diff(diff(diff(f(x, y, z, t), x), y), y)) = 0

(6)

S22 := f(x, y, z, t) = 1+exp((-(1/2)*k[1]-l[1]+(1/2)*sqrt(4*k[1]^4-3*k[1]^2-4*k[1]*s[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(4*k[2]^3-3*k[2]-4*s[2]))^(1/2), exp((1/2)*t*(k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2)+(1/2)*t*(k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)+(1/2)*(-k[1]-k[2]-2*l[1]-2*l[2])*t+k[1]*x+k[2]*x+l[1]*y+l[2]*y+z*(s[1]+s[2]))}

(13)

eq4 := algsubs(exp((1/2)*t*sqrt(k[1]*(4*k[1]^3-3*k[1]-4*s[1]))+(1/2)*t*sqrt(k[2]*(4*k[2]^3-3*k[2]-4*s[2]))+(1/2)*(-k[1]-k[2]-2*l[1]-2*l[2])*t+k[1]*x+k[2]*x+l[1]*y+l[2]*y+z*(s[1]+s[2])) = V, eq3)

-(1/2)*(k[1]+k[2])*B[1]*(-8*k[2]*k[1]^3-12*k[2]^2*k[1]^2-8*k[1]*k[2]^3+(k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2)*(k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)+3*k[1]*k[2]+2*s[2]*k[1]+2*s[1]*k[2])*V = 0

(14)

indets(eq4)

{V, B[1], k[1], k[2], s[1], s[2], (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2), (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)}

(15)

eqs := {coeffs(collect(numer(normal(lhs(eq4))), {V}, 'distributed'), {V})}; nops(%); indets(eqs)

{-(k[1]+k[2])*B[1]*(-8*k[2]*k[1]^3-12*k[2]^2*k[1]^2-8*k[1]*k[2]^3+(k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2)*(k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)+3*k[1]*k[2]+2*s[2]*k[1]+2*s[1]*k[2])}

 

1

 

{B[1], k[1], k[2], s[1], s[2], (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2), (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)}

(16)

vars := indets(eqs); ans := solve(eqs, vars)

{B[1], k[1], k[2], s[1], s[2], (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2), (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)}

 

Warning, solving for expressions other than names or functions is not recommended.

 

{B[1] = B[1], k[1] = -k[2], k[2] = k[2], s[1] = s[1], s[2] = s[2], (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2) = (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2), (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2) = (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)}, {B[1] = 0, k[1] = k[1], k[2] = k[2], s[1] = s[1], s[2] = s[2], (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2) = (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2), (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2) = (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)}, {B[1] = B[1], k[1] = k[1], k[2] = k[2], s[1] = (1/2)*(8*k[2]*k[1]^3+12*k[2]^2*k[1]^2+8*k[1]*k[2]^3-3*k[1]*k[2]-2*s[2]*k[1]-(k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2)*(k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2))/k[2], s[2] = s[2], (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2) = (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2), (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2) = (k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2)}

(17)

case2 := ans[1]

{B[1] = B[1], k[1] = -k[2], k[2] = k[2], s[1] = s[1], s[2] = s[2], (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2) = (k[1]*(4*k[1]^3-3*k[1]-4*s[1]))^(1/2), (k[2]*(4*k[2]^3-3*k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4*s[2]))^(1/2))+exp(t*l[1]+2*k[2]*x+l[2]*y+s[2]*z-(1/2)*t*k[2]+(1/2)*t*(k[2]*(4*k[2]^3-3*k[2]-4*s[2]))^(1/2))+exp(t*l[2]+l[1]*y+s[1]*z+(1/2)*t*k[2]+(1/2)*t*(k[2]*(4*k[2]^3-3*k[2]+4*s[1]))^(1/2))+exp(t*l[1]+t*l[2]+x*k[2]))^4

(19)
 

NULL

Download hard_parameters.mw

If I do 

      Grid:-Run(0,foo,[n])

in worksheet, where foo is proc() defined in same worksheet before, which just prints something, but I do not see anything on the screen printed when running. It seems to run, since the Grid:-Wait() seems to take 1-2 second to finished, so I am sure the proc foo() was called. It is just the print output seem not to show.

When changing the above to

      Grid:-Run(0,foo,[n],'assignto'='ans0')

now I see the print on the screen but only when evaluating ans0. Actually the print does not show, had to evaluate ans0 to see the print string and also the return value.

In my code, I do not need to return anything, I just want to print to the screen. 

How to make the first one display on the screen? Is output from foo proc going somewhere else with Grid?

I made sure to use Grid:-Set(foo): to define foo for the grid as the help says to do. 

Here is worksheet which shows this problem. I simply want to use print inside foo and see the result on the screen when running foo on a node. 

Is this a bug?

restart;

interface(version);

`Standard Worksheet Interface, Maple 2024.2, Windows 10, October 29 2024 Build ID 1872373`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1843 and is the same as the version installed in this computer, created 2025, January 25, 22:5 hours Pacific Time.`

Why task running on node do not print anything?

 

restart;

foo:=proc(n)
   print("Entered foo, n=",n);    
end proc;

proc (n) print("Entered foo, n=", n) end proc

Grid:-Set(foo):
Grid:-Setup("local",numnodes=1); #just use one node
n:=1:
Grid:-Run(0,foo,[n]):
Grid:-Wait();

#nothing is printed from foo

 

To make it print, why assignto is needed?

 

restart;

foo:=proc(n)
   print("Entered foo, n=",n);    
   RETURN("done");
end proc;

proc (n) print("Entered foo, n=", n); RETURN("done") end proc

Grid:-Set(foo):
Grid:-Setup("local",numnodes=1);
n:=1:
Grid:-Run(0,foo,[n],'assignto'='ans0'):
Grid:-Wait();
ans0

"Entered foo, n=", 1

"done"

 

 

Download grid_question_jan_27_2025.mw

Update

I found why, but I do not understand why this fixes it. Removing numnodes =n  where n is number of nodes needed, now it works, i.e. proc prints on the screen ok as expected !

restart;

foo:=proc(n)
   print("Entered foo, n=",n);    
end proc;

proc (n) print("Entered foo, n=", n) end proc

Grid:-Set(foo):
Grid:-Setup("local"); # remove numnodes = ... , then it works. why??
n:=1:
Grid:-Run(0,foo,[n]):
Grid:-Wait();

"Entered foo, n=", 1

 

 

Download grid_question_jan_27_2025_V2.mw

But why? why is adding numnodes =1 or any other number makes it not print? Help says

So I do not see why adding this option makes it not print.

This has to be a bug, right? If not, then what is the logical explanation for this?

in a lot of my equation i have such problem and really i don't know how fix this also i try to put : in end and sometime is work and i keep contionues  but sometime not there is any way for solve this problem?

limit.mw

Let us suppose I open Maple, write a worksheet, save it in a folder A and then quit Maple.

Now I run a new session by double clicking on some mw file located in folder B, let us say //B/test_1.mw.
Once opened I do some modifications and decide to save this worksheet into a new file, let us say test_2.mw in the same folder B test_1.mw belongs to (which means I use Save As from the menu bar)

I'm regularly fooled by the fact that the default folder is not B, but the folder A I used in the previous session.

I find this very unpleasant.
Is this a Maple (2015) issue or something related to my operating system (Mac OSX Catalina)?
In case it is a Maple issue which is still present in more recent Maple versions, Would it be possible to set the default backup folder to be the folder to which the active worksheet belongs?

Thanks in advance

It's 2024 and this is still something that doesn't exist? I'd just like to swap the Enter/Shfit+Enter behaviors since I find myself writing a lot of multi-line and custom procs and boy howdy it'd be nice if I could make Maple behave at least the littllest bit like, I dunno, every other product I own and use.

i found solution of PDE but there is some different from my solution and paper solution so there is must be a mistake becuase he solved by maple too he mentioned in the paper i try to figure out but i can't see any mistake from my solution can anyone watch where i did mistake, i change some letter in finding parameter but they are same like p=k&h=A&n=p&w=n

here is paper solution 

parameter-different.mw

I'm calcuating an endomorphism in 2d dimensions. It is contructed out of a tensor contraction, for example, in 6-dimensions, the endomorphism is

K[mu,~nu] = LeviCivita[~alpha,~beta,~gamma,~delta,~upsilon,~nu]*C[alpha,beta,gamma]*C[delta,upsilon,mu]

I appreciate that, in terms of computation, this gets big quickly: it's something like O(exp) in time to sum over repeated indices in each matrix entry. Therefore, I thought, instead of putting the above expression in Define, I could make a matrix with unsummed entries, and then do the sums in parallel using Threads[Map](SumOverRepeatedIndices,...) but looking at my CPU usage and comparing execution times, it doesn't appear that this is working.

Is there any way I can more efficiently calculate these matrix entries?

This isn't the first time that I've seen a question that doesn't seem to have received a comment or answer, but which, when I click on the question title, turns out to have received one.
Here's the opposite phenomenon: a question appears to have two comments or answers, but none of them exist (9:38 GMT+1)

Screen capture from the main page

Screen capture from the question page

I am quite puzzled by the fact that Maple occasionally returns incorrect results when calculating the real and imaginary parts. I have attached an example script below. As shown, the returned value is erroneous unless the condition that k is real is explicitly specified.

Do you have any thoughts on this?

question.mw

Download question.mw

In Peter Winkler's book "Mathematical Mind-Benders" the now famous problem of dividing an ice cream cake is posed. It asks: If, when cutting the circular cake with any central angle (whether rational or irrational), neighboring piece after neighboring piece is constantly cut off, the cake segment is rotated to the previous top side, and the cut surface is considered to be healed, then after a finite number of cuts the top side is back where it was at the beginning. I also fell for it at first and assumed that according to Weyl's theorem (uniform distribution modulo 1) this is not possible and therefore the central angle must be rational. I have since found a solution according to which the cutting process must stop after a finite number of steps. Weyl's theorem is obviously not applicable here. Why - I am still puzzling over that.

Now I am interested in whether Maple can be used to animate the uniform distribution modulo 1 on the unit circle and to display the associated statistics in the sense of a sample and calculate the sample value of the uniform distribution. As a Maple beginner, I am not yet able to do this and am asking for help.

I want to calculate Hodge Star of forms on a solvable Lie algebra L, I have defined a metric tensor g on it. But when I use that g to compute the Hodge Star of an operator it tells me that the g is not a metric tensor.

with(DifferentialGeometry);
with(LieAlgebras);
A := Matrix(4, 4, [[A__11, A__12, A__13, A__14], [A__21, -A__11, A__23, A__24], [-A__24, -A__23, -A__11, A__21], [-A__14, -A__13, A__12, A__11]]);
x := [x__1, x__2, x__3, x__4, x__5, x__6];
StructureEquations := [[x[6], x[1]] = a*x[1], [x[6], x[2]] = add(A[1, i]*x[i + 1], i = 1 .. 4), [x[6], x[3]] = add(A[2, i]*x[i + 1], i = 1 .. 4), [x[6], x[4]] = add(A[3, i]*x[i + 1], i = 1 .. 4), [x[6], x[5]] = add(A[4, i]*x[i + 1], i = 1 .. 4)];
L := LieAlgebraData(StructureEquations, [x[1], x[2], x[3], x[4], x[5], x[6]], Alg1);
DGsetup(L);
with(Tensor);
e := [e1, e2, e3, e4, e5, e6];
theta := [theta1, theta2, theta3, theta4, theta5, theta6];
omega := evalDG(add(theta[i] &wedge theta[7 - i], i = 1 .. 3));
g := evalDG(add(theta[i] &t theta[7 - i], i = 1 .. 3));
HodgeStar(g, theta1)

It is showing the following error,

Error, (in DifferentialGeometry:-Tensor:-HodgeStar) expected 1st argument to be a metric tensor. Received: _DG([["tensor", Alg1, [["cov_bas", "cov_bas"], []]], [`...`]])

How can I correct this? If not is there an alternative of doing what I am trying to do?

I am trying to look at source code of one Maple application to learn it. The application is old and uses  .lib and .ind files and not the new .mla files to store the code.

When I use the command march('list',path_to_lib), it shows the .m files there OK.

Next, when I use the command march('extractfile',path_to_lib,member_name.m,file_name_to_extract_to.m)

And then look at file_name_to_extract_to.m created in text editor, it is a binary and not plain text.

But when I do print(member_name),  in the worksheet, Maple prints the source code on the screen OK.

Below is worksheet to show this. All what you need to run this is download the zip file to your C:/TMP/ folder (or any other folder of your choice). 

https://www.maplesoft.com/applications/download.aspx?id=123874/an_extension_of_prelle-singer_method_and_maple_implementatio.zip

When you unzip the above file, you will see maple.lib, maple.ind, and maple.hdb files.  

I changed the names to PS.lib, PS.ind and PS.hdb (not to conflict with any maple own files).

So my C:/TMP/ folder now have these 3 files PS.lib, PS.ind and PS.hdb in it. 

Then I opened worksheet and did the following

restart;

libname := "C:/TMP",libname;

"C:/TMP", "C:\Users\Owner\maple\toolbox\2024\Physics Updates\lib", "C:\Program Files\Maple 2024\lib"

march('list',"C:/TMP/PS.lib");

[["PSsolve.m", [2001, 11, 22, 12, 23, 49], 15008, 59], ["PSIntFac.m", [2001, 11, 22, 12, 23, 50], 15067, 517], ["polygen.m", [2001, 11, 22, 12, 23, 55], 16722, 433], ["Signature.m", [2001, 11, 22, 12, 23, 56], 17155, 404], ["dPSBasis.m", [2001, 11, 22, 12, 23, 51], 16267, 55], ["powerN.m", [2001, 11, 22, 12, 24, 19], 18866, 200], ["PS.m", [2001, 11, 22, 12, 6, 33], 1, 15007], ["Darboux.m", [2001, 11, 22, 12, 23, 50], 15584, 269], ["PSDop.m", [2001, 11, 22, 12, 23, 52], 16322, 335], ["typos.m", [2001, 11, 22, 12, 23, 57], 17559, 749], ["EigenPval.m", [2001, 11, 22, 12, 23, 51], 15853, 273], ["PSBasis.m", [2001, 11, 22, 12, 23, 51], 16126, 141], ["nothas.m", [2001, 11, 22, 12, 23, 55], 16657, 65], ["unknownfunc.m", [2001, 11, 22, 12, 24, 16], 18308, 464], ["int.m", [2001, 11, 22, 12, 24, 18], 18772, 94]]

march('extractfile',"C:/TMP/PS.lib","PSIntFac.m","C:/TMP/PSIntFac.m")

interface(verboseproc=3);

1

print(PSIntFac)

proc (ode, n) local base, intfac, subs_Us_by_func, x, y, M, N, eq; n; base := PS(args, PSBasis); subs_Us_by_func := map(proc (u) options operator, arrow; rhs(u) = lhs(u) end proc, base); intfac := [PS(args, PSIntFac)]; if intfac = [`We could not find an integrating factor.`] then RETURN(`We could not find an integrating factor.`) end if; x := intfac[2]; y := intfac[3]; M := subs(subs_Us_by_func, intfac[4]); N := subs(subs_Us_by_func, intfac[5]); eq := diff(y(x), x) = subs(y = y(x), M/N); print(`For the FOODE in the form`); print(eq); print(`the integrating factor will be`); intfac := normal(subs(subs_Us_by_func, intfac[1])) end proc

 

 

Download why_extract_not_working.mw

Now when opening the extracted file PSIntFac.m it shows this (in the folder C:/TMP/)

M7R0
I)PSIntFacf*6$%$odeG%"nG6*%%baseG%'intfacG%0subs_Us_by_funcG%"xG%"yG%"MG%"NG%#e
qG6"F0C09%>8$-%#PSG6$9"%(PSBasisG>8&-%$mapG6$f*6#%"uGF06$%)operatorG%&arrowGF0/
-%$rhsG6#9$-%$lhsGFHF0F0F0F4>8%7#-F66$F8F"@$/FM7#%IWe~could~not~find~an~integra
ting~factor.G-%'RETURNG6#FT>8'&FM6#""#>8(&FM6#""$>8)-%%subsG6$F;&FM6#""%>8*-F_o
6$F;&FM6#""&>8+/-%%diffG6$-Fhn6#FYFY-F_o6$/FhnFap*&F]o"""Feo!""-%&printG6#%:For
~the~FOODE~in~the~formG-Fjp6#F\p-Fjp6#%?the~integrating~factor~will~beG>FM-%'no
rmalG6#-F_o6$F;&FM6#FgpF0F0F0F0

It seems Maple kepts the .m file in binary form.   Is it not supposed to convert it to plain text readable form, as the one which shows when using the command print() on the screen?  

Is there another march command to extract the .m files in plain text form? I looked at help of march, but see nothing so far.

If this is how march extractfile is supposed to work, then is there another way to extract in plain text?

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