18 years, 4 days

Revised version...

@Muhammad Usman I have revised my code above so U now is the revised U.
If you don't reverse the order of integration f[4] is not completed and other results are messier.

showstat...

@Anthrazit By looking at the codes for the Standard and Simple versions of min (and by debugging both):

```showstat(Units:-Standard:-min);
showstat(Units:-Simple:-min);
debug(Units:-Standard:-min);
debug(Units:-Simple:-min);

```

you will see that Units:-Simple:-min among several return statements has a return statement at the bottom

return min(op(arguments))
where the local 'arguments' is just the list of arguments passed to Units:-Simple:-min.
What :-min gets as arguments is easily seen by doing debug(:-min);
So after a restart you can try:

```restart;
min(15*Units:-Unit(m), 0);  # 0
max(15*Units:-Unit(m), 0); # 15*Units:-Unit(m)
```

Parameters...

@srikanthan It might help us if we knew the values of the parameters excepting of course R and thetaw, i.e.
{P, Pr, Q, Qc, S0, S1, S2, S4, c, lambda, n}.
Or at least an example of reasonable values.
Then we could make a procedure taking the value (Dth0) of D(theta)(0) and thetaw as input and R as output using as an extra boundary condition D(theta)(0) = Dth0.

n = 1...

If you insist on the initial conditions in dsys6 then it follows that n = 1. Simply use the connection between x and y given in the first equation together with the initial conditions.

I suppose then that there is some mistake here?

Helper library?...

I tried (twice) asking for that helper library by writhing to physics@maplesoft.com , but I'm waiting for it to get to me.
Maybe I'm not patient enough?

Old worksheet...

@janhardo Could you upload an old Maple V Release 4 example worksheet to this forum? I have a running Maple V Release 4 on an old computer. Then I (or somebody else) might be able to do something or declare it hopeless.

Why useless?...

@janhardo I don't understand why you consider .mws files useless. They can be read by Maple 2020 and, if modified, saved as an .mws file.
So what is the problem?

.ms files?...

@janhardo Are your old files .ms files thus not .mws files?
When I saved an .mws file as a test from Robert Lopez: Advanced Engineering Mathematics the explanations didn't go away.
The worksheet appeared to be quite the same as before.

####
On an old computer of mine I have Maple V Release 4.
I just tried to save an extremely simple worksheet in that release as an mws file. It only contained one line of pure text and one line of input. Output was removed before saving.
I then opened that file on my much newer computer in Maple 2020. No problem.
I saved again as an .mws-file with no problem.

Maybe your text includes other stuff than just pure text?

.mws...

@janhardo Try to save as an .mws file instead.
I happened to have an old worksheet open. It is from a CD provided with the excellent text book by Robert J. Lopez, Advanced Engineering Mathematics (2001). It is the version using Maple 6.
I removed the output produced by me in Maple 2020 (Ctrl D) and then used Save As .mws.
It worked fine. (Now I also tried the worksheet version from Maple V, Release 5.1: Also fine).
I recall that the earlier releases used .ms files, but cannot remember when the change to .mws happened.

Potentially frustrating...

Without knowing the book by Robert Lopez I think you will be in for some problems using it with Maple 2020.

I have in my hand right now another book prepared using Maple V  Release 3: Robert M. Corless, Essential Maple (1995).
If you are just starting out using Maple, don't use the book now, but put it on the shelf for another time.
If you are well versed in Maple already you probably wouldn't be asking the question. Surely, you can learn something from the book, but you will have to know that important changes have happened since that release.
Among the important ones and not necessarily in sequence of priority:
1. The ditto (") in Release 3 is now (%). This happened when actual strings were introduced.
2. The linalg package has been superseded by the LinearAlgebra package, but is still availabe in 2020.
3. The appearance of readlib commands may confuse you. Not used anymore.
4. The default graphical user interface (GUI) is now set to Document mode and 2-D math input. This I advise you to set to Worksheet mode and 1-D mat input (aka. Maple input) . That way the GUI in 2020 looks more like the GUI in Release 3.

But, obviously, lots of other changes, enlargements, and improvements have been made since Release 3.

PS. Another book on my shelf, Robert B. Israel: Calculus The Maple Way has the following footnote in its Preface: " Note, however, that Release 4 requires at least 8 MB of RAM, while Release 3 can manage fairly well with 4 MB."  (Yes MB, not GB).

2D input...

@Carl Love
(Notes:
1. Actually just using ``(F) with an active * should do it.
2. To use %* in general in 2D it seems that the function form is necessary:

?)

Both you and Tom use 1D input.
I tried in 2D writing what I thought was exactly the same and got this mildly amusing result:

Number of constants of integration...

The total number of constants of integration is 4. I guess we agree about that. Had it been otherwise something went wrong.

Order...

@nm The code producing the result very likely uses the order of the unknown functions deps.
When given as a list that is the order. When not given or given as a set the order is lexicographic.

IVP...

Stiff methods in Maple are restricted to initial value problems. So you could try your system with some appropriate initial conditions to learn if it is stiff.
Have a look at ?dsolve, stiffness.

@ecterrab You wrote:

"The change I am still in doubt is to return value'd when the result is a constant, e.g.
simplify( %int(sqrt(x^2), x = 0..1) ); # 1/2  "

By the term "constant" you obviously don't mean the mathematical term constant. The integral simplified in the following example is certainly a constant mathematically speaking, but the integral cannot be expressed in terms of functions known to Maple.

`simplify(%int(1/(1+exp(sin(x))),x=0..Pi));`

So there is no simplification possible. But in this next example there is:

```A:=%int(erf(x),x=0..1);
simplify(A);```

We can make examples of integrals that can be computed and are constants in the sense that type(simplify(A),constant) returns true, but where simplify(A) is extremely huge.
I prefer the way Int with simplify has been working: No computation of the integral even if if could be done and results in a constant in the Maple sense. Let value do the job.

 First 9 10 11 12 13 14 15 Last Page 11 of 215
﻿