MaplePrimes Questions

i have a problem when i input this code in maple,..

how it can be error?

what the solve?

thanks for help me

the code:


> with(plots); with(DEtools); with(plottools); a := 0, 5; b := 0, 2; c := 0, 7; d := 0, 2; E := 0, 1;
                                    0, 5

The following commands can be plotted by maple 13&15,
but can't be done by 16.

restart;
x1 := sech(sqrt(a)*t); x2 := -sech(sqrt(a)*t)*tanh(sqrt(a)*t);
g1 := proc (t) options operator, arrow; int((int((eval(x2, t = tau))*sin(Omega*tau), tau = 0 .. u))/(eval(x2, t = u))^2, u = 0 .. t) end proc;
plot3d(subs(a = 1, g1(t)), Omega = 0 .. 3, t = 0 .. 1);
g2 := proc (t) options operator, arrow; int((int((eval(x2, t = tau))*cos(Omega*tau), tau = 0 .. u))/(eval(x2, t = u...

Something like this

Chebyshev polynomials have the form:

 

Tn(x) = cos(n*arccos(x))

 

orthogonality interval is (-1, 1) for n = (2, 3, 4,

In the name of God,

 

Hello dear experts,

I have a nonlinear multivariate system. By running fsolve and with the same initial values, 2 times, at the first time it yields the result but at the second time it doesn't solve. All of the settings in the both fsolve executions are the same.

Do you have any idea?

 

Best regards,

 

How do you parse a string containing quoted material?

If the material is read in from a file
readline("f:/test.txt")
and the line contains quotes, if you parse you get an error.


Recursive algorithm for finding the sum of the first n odd positive integers.

 procedure   odd_sum n: positive integer )

    if   n = 1   then   return   1

    else   return   

I think i'm missing something easy her , but I am trying to plot a circle and cannot figure out

what I am doing wrong. The equation for the circle is:

x^2+(y-3)^2=25

I define the equation

c := x^2+(y-3)^2 = 25

Solve it for y so I should be able to plot it with plot(cplot); :

cplot:=solve(c, y)

But what I get as answer is:

3+sqrt(25-x^2), 3-sqrt(25-x^2)

The equation of the circle is part of a homework assignment,...

Hi,

I'm working at the moment on percolation theory and, in order to get interesting images I use Maple to produce random spheres packing using the code below:

with(RandomTools):
with(plots):

x:=Generate(list(integer(range=0..20),100)): # random coordinate for x parameter
y:=Generate(list(integer(range=0..20),100)): # random coordinate for y parameter
z:=Generate(list(integer(range=0..20),100)): # random coordinate for z parameter
R:=Generate(list(float(range=1..3...

Hi,

 

I m trying to plot the gravitational potentialfield of two masses in maple. Im doing my work with inspirtion from this paper:

http://ocw.mit.edu/courses/aeronautics-and-astronautics/16-07-dynamics-fall-2009/lecture-notes/MIT16_07F09_Lec18.pdf

Page 4 and 5. Im able to plot the first graph on page 5, the contour plot of the gravitational potential in graph, by setting y=0. But when i try and plot the function of 2 variables in maple...

Hi all,

I read the help on using parameters, then I tried to modify the example


f := proc(a, b, c)

    if _params['b','c'] = NULL then
    a
    elif _params['c'] = NULL then
    a + b
    else
    a + b + c

    end if

end proc:

I can't really spot where it went wrong, but it just wouldnt execute as I would expect...

Hi all,

A := [[1,2],[3,4]];

A1:=convert(A, Matrix);

 

I am very happy with conversion between Matrices and Vectors.

However, I does not seem to be able to do this backwards to [row] or [column] Vectors???

Say how do I get back to A from A1???

 

I tried to use

convert(A1,Vector);

convert(A1,Vector[row]);

convert(A1,Vector[row],2);

 

And many others...

Hi, when I was learning to use the taylor-command I always get an error message that says: Error, (in series/abs) unable to compute series.

The exercise I was trying to solve was as easy as this:

> f:=x->sqrt(abs(x));

> plot(f(x),x=-5..5);

> taylor(f(x),x=1);

Error, (in series/abs) unable to compute series

Can someone tell me what am I doing wrong?

Many Thanks!

I use Hermit as example and try the following way, it can not sumtohyper,

how to get the hyper form from a differential equation?

restart;
with(gfun):
test4 := diff(P(x),x$2)-2*x*diff(P(x),x)+2*n*P(x)=0;
test4 := {diff(P(x),x$2)-2*x*diff(P(x),x)+2*n*P(x), P(0) = 1, (D(P))(0) = 1};
newtest4 := borel(test4, P(x), diffeq);
rec4 := diffeqtorec(newtest4, P(x), a(v));
rec4 := diffeqtorec(test4, P(x), a(v));
genfun := rsolve(rec4, a(v), 'genfunc'(z));

restart;
with(SumTools):
an := -n+L;
bn := -x+L;
gen := Summation(Product(an, L=0..k-1)*Product(bn, L=0..k-1)/k!*(-1/a)^k, k=0..infinity);
genfun1 := subs(a=z,simplify(gen));
genfun2 := exp(z)*(1-(z/mu))^x;

 

correct is genfun2

but using famous hypergeom of charlier written in many books and papers, it can not summation to a correct generating function

First 1647 1648 1649 1650 1651 1652 1653 Last Page 1649 of 2428