Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Let's say I define L1..L5 and M1..M5 respectively

for i to 5 do:
L[i]:=(-i^2+6*i);
end do;

for i to 5 do:
M[i]:=(-i^3+18*i);
end do;

Now I want to find out, whether the maxima of the two sequences L1..L5 and M1..M5 have the same subscript.
So I need a kind of proc that outputs 'true', if subscript(max(L1..L5))=subscript(max(M1..M5)), 'false' for subscript(max(L1..L5))<>subscript(max(M1..M5)) and 'FAIL' otherwise.

Does anyone...

What's wrong?
Hello everyone.
I probe a Maplet's example about a Procedure Call but, when I run it, displays the following error:

 

"Error, _Inert_NAME, _Inert_EQUATION, or _Inert_MEMBER Expected in _Inert_USE map-list, got Maplets But" Tools ";

I want to parse a large listlist with strings and floats

As an example
a:=[["he","45",123,76,"1.0",4],["know","4",9,34,"3.2",5]]

I want to parse a but it requires all entries to be strings

map2(map,parse,a) 
Error, invalid input: parse expects its 1st argument, st, to be of type string, but received 123

So my workaround was to convert all entries to a string.  How do I do that?  and how can I parse without having to...

question1:

plot(2/(3*x)+x, x = -5 .. 5)

 

Though this is ok :plot(2/(3*x)+x, x = -5 .. 5, y = -5 .. 5)

but ... lazy to set range of y axis at the very start.

 

 question2:

how to plot more graph on different invertals  one time.

for example the intarvals [-5,5],[-1,1],[0,1]

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?

First 1787 1788 1789 1790 1791 1792 1793 Last Page 1789 of 2223