Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi, I'm using Maple 13 off of my university's server. I was wondering how I can prevent "nested input", for lack of better words.

 

For example, say if define f := x -> something

Then I want another function to handle f's derivative: df := x ->diff(f(x),x)

Now I want to evaluate df at x=1 value so I do df(1)...

but I get an error:

Error, (in df) invalid input: diff received 1, which is not valid for its 2nd argument

A user recently asked how to find the set of indices corresponding to a given value of a two-dimensional Array.

There are several ways to handle this problem.  For  a single value, a simple scan through the Array suffices:

FindIndices1 := proc(A :: Array, val)
local i,j,irng,jrng;
    (irng,jrng) := rtable_dims(A);
    {seq(seq(`if`(A[i,j]=val, [i,j], NULL), i=irng), j=jrng)};
end proc:

With a multi-core machine, the ...

I tried the following:

a:=1:

b:=2:

c:=-1:

L:=[a,b,c]:

M:=max(L);

 

However Maple outputs M:=2, but I want Maple to tell me the corresponding assignment 'b' of the maximum value of L, or at least 'L[2]'.

Is this possible and if so, how?

Thanks for answering.

I tried the following:

utility:=[CARA,CRRA,DARA]:

DARA1:=alpha+beta*x:

eval(utility[3]||1,[alpha=1,beta=2]);

 

Unfortnuately Mape ouputs: utility[3]||1

How can I get Maple to recognize the expression behind utility[3]||1?

Thanks for helping.

The hardest and/or most important part of answering a question is making sure the real question is understood. The July 1, 2010 question Using fsolve with a dispersion relation posted to MaplePrimes seemed to be about obtaining a numeric solution of an equation. Turns out it was more a question about the behavior of an implicit function.

Hello all,

I have a problem in comparing two expressions. I have to verify they are equal, but I am totally stuck even if it is obvious it is correct (but I have to do it with Maple).

These are the two expressions:

http://www.hostingpics.net/viewer.php?id=312636maple.png

 

I tried to convert them into exp, but it doesn't work at all...

 

Thanks a lot for your help, Julien

Hi, everyone, I am sorry that I have to post this question again since the last post sank and I did not give example at that time. In the example I post here, A[e,res1] and A[e,res2] are supposed to be the same theoretically. However, as I  used numeric solver (fsolve), they are 2 order different. Can anyone try the code and tell me what mistakes I made? I appreciate that.

 

> restart;
> with(PDEtools);
>
>
> # Electron velocity distribution:

Does anybody know how to make Maple 14 work with Visual Studio 10.0 Professional (not the express version)?  I can't seem to make this happen.  The problem has to do with the PostLink command.

 

I need to refer to all after "and" in the solution of inequalities system

Basically I want to plot the following parametric plane:

 

r (u,v) = [ u*cos(v) , u*sin(v) ]    where    u ranges from 1 to 2, and v ranges from 0 to 2*pi.

 

There are some things that has to be done.

- It has to be in 2 Dimensions.

- The axes has to be labelled x and y.

- The edge of the plan must not be rough.

- The entire plane has to have one color. No black stribes etc.


dear friends, I want to solve this integration with numeric methods. when i type it as nested integrals i reach the first answer, but when i want to use int(int), maple doesn't solve it(second answer). what's wrong with the input?

Hi,

 

On one axis (y vs x), I want to plot y=exp(1)~2.718 and x=4/(3*sqrt(exp(1)))~0.8087 so that they intersect to form a rectangle. Does anyone know how to proceed with this?

Any help is greatly appreciated.

 

Thanks

Hi;

i have run a progrm in maple. this program is to solve 6 equastions for 1000 000 00 times. maple is shutdown when the process reach 1000,000 times.

can you help me to solve this problem in the maple pragram, please?

do you think increase the memory pf the maple is on solution for this problem?

reagrds

r

So I've solved this system of ODEs already in a certain gauge where h[r](r) was set to zero, and my answer was consistent with a previously calculated solution, but now I'm trying to do it with a non-zero h[r](r).

The previous result Maple easily solved with dsolve, but puting that in this time, I get:

ode := [-1/2*(4*h[v](r)*r+4*h[r](r)*r-2*diff(h[v](r),`$`(r,2))*r^3-2*h[2](r)*6-2*h[r](r)*6*r+diff(h[2](r),r)*6*r+4*h[2](r)-2*diff(h[2](r),r)*r)/r^3=0,

I'm getting an error trying to get the singular vector of this matrix:

 

e2 := Normalize(<100,200,1>, Euclidean):
e3 := Normalize(<-500,-600,1>, Euclidean):
a := e2(1):
b := e2(2):
c := e2(3):
d := e3(1):
e := e3(2):
f := e3(3):
A := Matrix( [[a,b,c], [d,e,f], [a,e,f]] );

SingularValues(A, output='Vt');
Error, (in LinearAlgebra:-LA_Main:-SingularValues) Matrix of type complex(extended_numeric) required for output object(s) [Vt]

First 1788 1789 1790 1791 1792 1793 1794 Last Page 1790 of 2224