Maple 15 Questions and Posts Maple 15 Questions and Posts Feed

These are Posts and Questions associated with the product, Maple 15

Hi everyone,

 

I would like to do:

f:=unapply(x**2,x);
j:=unapply(2*f(x),f(x));
 
Basically it is to define j(f(x))
But this is doesn't work. What is the right way to do it?\
 
My final goal is to calculate int(j(f(x)), f(x)=-infinity..infinity).

I have the following lines of code:

 

W:=sum((k^(2*i))*sum((e^(j))*w[i,j](r,t),j=0..2),i=0..2);

P:=sum((k^(2*i+1))*sum((e^(j))*w[i,j](r,t),j=0..2),i=0..2);

for c from 0 to 2 do

  for d from 0 to 2 do

    rw[c,d]:=coeff(coeff((k/(2*r))*(diff(W,r)*diff(P,t)-diff(W,t)*diff(P,r)),k,2*c),e,d)

  end do

end do;

 

I mean to compute the coefficients in front of powers of e inside...

I more than 20000 data points on a an excel file and i want to plot one column against the other. So I imported 10 data points from each column seperately and tried ploting it as a normal plot but it would not work. I kept on getting error messages like 

plot([CosAa,CosBb]);

Error, (in plot) incorrect first argument [Array(1..10, 1..1, {(1, 1) = 0.83333e-2, (2, 1) = 0.166666e-1, (3, 1) = 0.249999e-1, (4, 1) = 0.333332e-1, (5, 1) = 0.416665e-1, (6, 1...

Like this! Some error. How to do it

[IMG]http://i730.photobucket.com/albums/ww309/ytyyutianyun/Capture-6.png[/IMG]

I have a 6 x 6 matrix. I want to employ Cramer's rule to solve Gx=Θ. I need to sequently substitute column Vector Θ into the matrix columns. I can't get this to work. I have only being using Maple for a couple of weeks so still finding my way.

myf:=(mu,sigma)->int(exp(-(x-mu)^2/2/sigma^2)/sigma/sqrt(2*Pi)/(1+exp(-x)),x=-infinity..infinity);

plot3d('myf(mu,sigma)',mu=-5..5,sigma=0.5..10);

This plot was never created. I think it's taking too long to evaluate it when it's divegent.

 

Hi all,

For my research purpose, I need to integrate this function. I understand that there maybe values for which this integration is divegent. But is there a way to look into it? Say creat...

Hello,

Could you please help me with the following system of equations:

> restart; with(student);
> Z[0] = 377;
> solve({Z = 1/(j*w*C[1]+1/(j*w*L[1])+1/R)+1/(j*w*C[2]+1/(j*w*L[2])), C[1] = w[c]*(w[0]^2-w[c]^2)*(w[2]^2-w[1]^2)/(2*Z[0]*(w[1]^2-w[c]^2)*(w[0]^2-w[1]^2)), C[2] = w[c]*(w[0]^2-w[c]^2)*(w[2]^2-w[1]^2)/(2*Z[0]*(w[1]^2-w[c]^2)*(w[2]^2-w[c]^2)*(w[2]^2-w[0]^2)), L[1] = 1/(w[1]^2*C[1]), L[2] = 1/(w[2]^2*C[2]), R[1] = subs(w = w[1], 2*Z[0]*(1-S[21...

A common example to emphasize that it is not OK to bring absolute values inside the integral compares

abs( int( cos(n*x), x=0..Pi ) ) asuming n::integer

and

int( abs( cos(n*x) ), x=0..Pi ) assuming n::integer

Maple correctly formulates the first to 0. But the second expression gives it more trouble, returning two messages:

Warning, unable to determine if (1/2)*Pi*(1+2*_Z7)/n is between 0 and Pi; try to use assumptions or use the AllSolutions option
Warning, unable to determine if (1/2)*Pi*(1+2*_Z8)/n is between 0 and Pi; try to use assumptions or use the AllSolutions option

Hey guys,

 

How do I find a max in a 3d plot? I've tried plottools[getdatat] but keep getting the error of

                     

"Error, index must evaluate to a name when indexing a module"

 

 

Thanks!

Hello everyone,

I have a problem with the Brownian Motion (I'm using Maple 15).

Here is the code:

X:=BrownianMotion(0,0,1,t);

X1:=SamplePath(X(t),t=0..T,timesteps =T/d):

Mean(X1);

 

The last line give me a number different from zero, which is not true for a Brownian Motion as defined.

Could you please tell me where is the problem?

 

PS: I have the same problem with WienerProcess(sigma).

Hi,

I have a procedure to interpolate a Lagrange polynominal, which I read into Maple.

The procedure as follows:

-------------------------------------------

# This procedure produces the Lagrangian interpolation
# polynomial passing through the (n+1) points (xi,yi)
# which are given as a Maple 'list', i.e.
# [[x0,y0],[x1,y1],[x2,y2],...,[xn,yn]]
# The data and the polynomial are plotted.

Lagrange_interpolation:=proc(n::posint,xy::list,x::evaln,p::evaln)

I would like download Maple 15.1. Please Help.

Thank you Your more general solution works very well. I am very new to maple so still struggling with basics.

How would I get maple to display each part of the output on a line, i.e. A,B,C,D prints on seperate lines.

Hi everyone,

I tried to solve the following system of equations with Maple 15:

 
You can copy paste the commands below to get the equations
pde1 := [diff(`#msub(mi("n"),mo("&uminus0;"))`(x, t), t) =
diff(`#msub(mi("n"),mo("&uminus0;"))`(x, t), x)+n[o](x, t)-`#msub(mi("n"),mo("&uminus0;"))`(x, t)]

 

pde2 := [diff(n[o](x, t), t) = 0.3139e-2*(diff(n[o](x, t), x, x))-2*n[o](x, t)+`#msub(mi("n"...

Hey Guys,

I'm new to Maple and am having problems two problems. The first is I can not get anything to show up on my plot and the second is I'm getting a erorr of "Error, (in fsolve) Can't handle expressions with typed procedures". The code can be seen below;

 

First 25 26 27 28 29 30 31 Last Page 27 of 42