Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

How to change font there?

 

==========

Debugger window

restart;
a:='a';
                               a
assume(a>0);
H:=a;
                               a
subs(a=b, H);
       ...

Let M(1; -1; 0) be a point, Delta: (x-2)/2 =(y+1)/(-1) = (z - 1)/1 be a line, (P): x + y + z - 2 = 0 be a plane. Find the coordinates of the point A lies on (P), knowing that the line AM perpendicular to the line Delta and distance from the point A to the line Delta equal to sqrt(33/2).

This is my code

 with(geom3d):

point(M,1,-1,3):

line(Delta,[2*t+2,-t-1,t+1],t):

plane(P,x+y+z+3=0,[x,y,z]):

a:=ParallelVector(Delta):

Is there a bug in the CodeTools:-EncodeName / DecodeName pair?

Consider the following minimal example:

with(CodeTools):
M := module() option package; export f; f := proc() end proc; end module;
EncodeName(M:-f);
DecodeName(%);

The EncodeName gives answer:

_Inert_ASSIGNEDLOCALNAME("f", "PROC", 0, _Inert_ATTRIBUTE(_Inert_NAME("protected", _Inert_ATTRIBUTE(_Inert_NAME("protected")))))

But applying...

Sometimes it is appealing to have a package export a procedure which does not show up when calling with().

For example, the procedure might be used elsewhere, but be otherwise so very technically obscure that nobody else would be interested. (The counter-argument is that what is good for the goose is good for the gander! If something else in Maple can make good use of it and need it, then you might too.)

Now, Maple's modules don't have the concept of "friends",...

how to find concavity of f(t)=(800-t)t/(100+t)

Hi:

Consider this trivial (very contrived) example:

restart:

a:=lambda+3;
b:=Vector([lambda-2, lambda+23]);

subs(lambda=1, a); #works as expected

subs(lambda=1, b); #works as expected

 
assume(lambda, real);  #seems like this causes a problem
subs(lambda=1, a);  #works as expected

subs(lambda=1, b);  #This substitution does NOT work - lambda stays as 'lambda'

I am using maple 15 on...

I converted an ode using the built-in "convert" tool to check some calculations I had done by hand. To my surprise, there was an inconsistency. I converted the ode using PDEtools[dchange], reproducing the steps I had followed manually, and they checked out. So my question is: is there a sign error in convert? (and therefore a bug) or are both conversions correct, and if so are there any lessons to be learned? (is it related to the equation's symmetries?)

Thanks for your comments.

isnin:=proc(A)
local i,j,f,B:
B[1] := 0:
for i from 1 to numccs do


f:=Size([entries(B)][i][1],2); <---


for j from 1 to f do
if Equal([entries(A)][1][1],[entries(B)][i][1][j]) then
return false:
end if:
end do:
end do:
return true:
end proc:
 

Do you know why maple wont evaluate f?

If it's not something obvious context is below...

If there's some equivalent to a dynamic array in maple I'd really like to know!

I am currently taking a course in quantum mechanics using the second edition of McQuarrie's Quantum Chemistry text. I plan to take a QM II course, more concentrating on atomic and molecular spectra. I have been using Mathcad 15, which includes Maple functionality (please pardon my stating the obvious). Mathcad, however, seems to lack functionality (or I have not found it) that would be helpful, like the ability to easily define an operator. Since...

To gain more visibility on the subject I've started a new thread. No solution yet and thanks Acer for trying to look into it. I almost wondered if there was a typo in the code preventing it from working properly since the code for ospd3 exists. We could almost write a loop code to check if something other than the word builtin is possible, using the try catch statement.

I'll re-iterate the issue

with(StringTools[PatternDictionary]):
> bid := Create('ospd3');

Find the polynomial y=f(x) such that f(-6)=2400,f(-4)=432,f(-3)=120,f(-2)=16,f(-1)=0,f(0)=0,f(1)=-8,f(2)=0

Hello, I export a plot in an eps format (since other formats have lower resolutions) and want to insert it into Word 2007.

But, everytime when I do this, the Word 2007 will respond error occurred while importing the file.

Could anyone help me to resolve this problem? 

Thank you very much.

Hi All,

Thanks for checking out this question. I am working a semi-strange integral and am having trouble getting Maple to evaluate it:

int(((15-x)/((232/7)-((19/14)*x))),x=6..x)

I am getting the response:

"Warning, unable to determine if 464/19 is between 6 and x; try to use assumptions or use the AllSolutions option"

I'm...

First 1644 1645 1646 1647 1648 1649 1650 Last Page 1646 of 2253