MaplePrimes Questions

 

 Hi,

I have the following set of equations and boundary conditions. The problem is I cannot be able to make accurate guesses with the shooting method. I request your assistance. 

> k1 := diff(X[1](t), t) = X[2](t);
> k2 := diff(X[2](t), t) = M*(X[1](t)-1)-(2*(eta+b))*X[2](t);
> k3 := diff(X[3](t), t) = X[4](t);
> k4 := diff(X[4](t), t) = (2*Sc*Du*(eta+b)*X[6](t)-Du*lambda*X[5](t)-2*Pr*(eta+b)*X[4](t)-Pr*Ec*X[2](t)^2-Pr*Ec*M*(X[1](t)-1)^2)/(1-Du*Sr);

Hello everyone,

I have data in Excel sheet. I want to make the data smooth using cubic spline. 

My try can be found in the attached maple sheet. In my try, i was unable to see the

difference bewteen the exact data and the interpolated data. Please have a look and

help to smooth the given data in the attached Excel sheet.

Cubic_spline_smoothi.mw

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...

First 1653 1654 1655 1656 1657 1658 1659 Last Page 1655 of 2434