The example y' +y =sin(x) seems to be a perfect example of why document mode is so silly and dangerous.
It seems to me that Maple 10 document mode understands y' to be dy/dx.
Why x? You might expect that y'+y=sin(u) would somehow pass on to Maple 10 doc that you were thinking about dy/du, but no. Maple 10 doc cannot read your mind. y' is still understood to be dy/dx.
So we are regressing to "graphing calculator thinking" where the independent variable better be x. How confining!
Maple used to be very useful in undergraduate mathematics education because you were really forced to think about issues at a different level. In worksheet mode, diff(y,u)+y=sin(u) gives you y=sin(u) and you know right away that you better think about things more carefully. But in document mode, you can enter y'+y=sin(u) and keep going, with happiness and bliss, and not being forced to stop and think, never suspecting that Maple thinks you mean dy/dx!
Try dsolve(y'+y=sin(u)) in document mode. You get a solution, and if you are not careful, you might not notice what is going on.
Or try x'.
I just hate document mode. I do not want my computer algebra system to try to read my mind. It is like the spell checker in Word. It certainly can be amusing and helpful, but it can be very annoying and detrimental in education. Spell checkers and grammar checkers do not make everybody immediately skilled in composition and spelling, and can even hinder the learning of composition.
The example y' +y =sin(x) seems to be a perfect example of why document mode is so silly and dangerous.
It seems to me that Maple 10 document mode understands y' to be dy/dx.
Why x? You might expect that y'+y=sin(u) would somehow pass on to Maple 10 doc that you were thinking about dy/du, but no. Maple 10 doc cannot read your mind. y' is still understood to be dy/dx.
So we are regressing to "graphing calculator thinking" where the independent variable better be x. How confining!
Maple used to be very useful in undergraduate mathematics education because you were really forced to think about issues at a different level. In worksheet mode, diff(y,u)+y=sin(u) gives you y=sin(u) and you know right away that you better think about things more carefully. But in document mode, you can enter y'+y=sin(u) and keep going, with happiness and bliss, and not being forced to stop and think, never suspecting that Maple thinks you mean dy/dx!
Try dsolve(y'+y=sin(u)) in document mode. You get a solution, and if you are not careful, you might not notice what is going on.
Or try x'.
I just hate document mode. I do not want my computer algebra system to try to read my mind. It is like the spell checker in Word. It certainly can be amusing and helpful, but it can be very annoying and detrimental in education. Spell checkers and grammar checkers do not make everybody immediately skilled in composition and spelling, and can even hinder the learning of composition.
Acer is correct. You can pick units so h=1, just like you can pick units where c=1.
The "right" question is this: is the fine structure constant alpha transcendental? Eddington speculated that it is of the form 1/N where N is an integer, but this turned out to be wrong.
Indeed, I hate to sound like a broken record, but Maple10 document is just a disaster.
We should expect that
for i from 6 by 2 to 15 do print(i) end do;
would print 6, 8, 10, 12
in both document mode and in worksheet mode.
I have been teaching university calculus with Maple since about 1995, and I can clearly see that document mode is just a disaster for new users, and experienced users avoid it like the plague that Newton avoided.
Indeed, I hate to sound like a broken record, but Maple10 document is just a disaster.
We should expect that
for i from 6 by 2 to 15 do print(i) end do;
would print 6, 8, 10, 12
in both document mode and in worksheet mode.
I have been teaching university calculus with Maple since about 1995, and I can clearly see that document mode is just a disaster for new users, and experienced users avoid it like the plague that Newton avoided.
I think I understand what you mean.
Here is a related example that catches my colleagues who try to learn Maple as they teach linear algebra off guard.
Look at this stupid system of two linear equations in two unknowns.
x+y=a, x+y=b.
You form the augmented matrix:
M:=Matrix([[1,1,a],[1,1,b]]);
LinearAlgebra[ReducedRowEchelonForm](M);
You end up with
Matrix([1,1,0],[0,0,1]])
but you might have expected to end up with
Matrix([[1,1,a],[0,0,b-a]])
Maple stupidly assumes b-a is not equal to zero and cleans up the last column.
It would be nice if the reduced row echelon form was "piecewise" analyzed--one thing if b-a is non-zero and another if b=a.
In this case, one trick is to insulate the last column by inserting a dummy column:
MM:=Matrix([[1,1,0,a],[1,1,1,b]]);
and then
ReducedRowEchelonForm(MM);
gives you what you expected, if you delete the artificial third column. But this is ad hoc.
This proc also works:
TestProc := proc (s) local ss;
ss:=s;
ss[3] := 5;
ss;
end proc;
This proc also works:
TestProc := proc (s) local ss;
ss:=s;
ss[3] := 5;
ss;
end proc;
Since the Maplenet browser is still at version 10 and our institution has not yet received Maple 11, I am out of the loop.
But I wonder this: what will happen to the title and caption when the plot is exported to eps? I am used to using Maple's textplot to mark text locations in a graph, and then using the latex package psfrag to replace these markers with latex markup.
How will the math display in the title and caption interact with eps export?
Postscript is my personal gold standard, and it would be exciting if the new Maple "math typesetting in plots" exported nicely to eps. Does it? This is what we need.
Since the Maplenet browser is still at version 10 and our institution has not yet received Maple 11, I am out of the loop.
But I wonder this: what will happen to the title and caption when the plot is exported to eps? I am used to using Maple's textplot to mark text locations in a graph, and then using the latex package psfrag to replace these markers with latex markup.
How will the math display in the title and caption interact with eps export?
Postscript is my personal gold standard, and it would be exciting if the new Maple "math typesetting in plots" exported nicely to eps. Does it? This is what we need.
I understand that copy/paste between worksheet and document mode is probably the best way to go for those who place value in document mode.
But my advice to new users of Maple is to never use document mode. I know how people learn Maple. I have been using Maple in undergrad calculus classes on a regular basis since 1995 (12 years!), and I can see that the document mode introduced in Maple 10 is just a disaster for new users. Document mode has too many bugs to stand on its own as a viable interface.
I strongly agree with J. Tarr. If I need a "document" class presentation, I use LaTeX. I simply have no need for Maple's document mode. Yes, I use Maple to make eps figures for inclusion in LaTeX documents, and I do make use of Maple's latex() on occasion to copy/paste stuff from Maple to LaTeX. I think Maplesoft should re-direct its document mode efforts and focus on improving the interface between Maple and LaTeX.
I understand that copy/paste between worksheet and document mode is probably the best way to go for those who place value in document mode.
But my advice to new users of Maple is to never use document mode. I know how people learn Maple. I have been using Maple in undergrad calculus classes on a regular basis since 1995 (12 years!), and I can see that the document mode introduced in Maple 10 is just a disaster for new users. Document mode has too many bugs to stand on its own as a viable interface.
I strongly agree with J. Tarr. If I need a "document" class presentation, I use LaTeX. I simply have no need for Maple's document mode. Yes, I use Maple to make eps figures for inclusion in LaTeX documents, and I do make use of Maple's latex() on occasion to copy/paste stuff from Maple to LaTeX. I think Maplesoft should re-direct its document mode efforts and focus on improving the interface between Maple and LaTeX.
I tend to agree that there is something is broken with restart.
When I execute the following code in a Maple10 work sheet
> restart;
assume(u1<0);assume(u2>0);assume(U>0);additionally(U
0);additionally(u0
When I copied your code from your document mode file to a worksheet mode file, I saw that
map (procname, args)
is being parsed as a multiplication
map*(procname, args)
A blank space should not be parsed as multiplication. The egg is in Maple's face, not yours.
I never use document mode unless forced into it, but sometimes you have no choice but to sacrifice your queen for a pawn.
I just cannot stand document mode. It is full of bugs that can give you nightmares.
When I copied your code from your document mode file to a worksheet mode file, I saw that
map (procname, args)
is being parsed as a multiplication
map*(procname, args)
A blank space should not be parsed as multiplication. The egg is in Maple's face, not yours.
I never use document mode unless forced into it, but sometimes you have no choice but to sacrifice your queen for a pawn.
I just cannot stand document mode. It is full of bugs that can give you nightmares.