Maple 15 Questions and Posts Maple 15 Questions and Posts Feed

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

Hi,

See the code mli.mws

What is the mistake in this command ?

chfonc:=cat('piecewise(' , seq(cat(convert(t<lf[k],string) , ' , 1 , ' ,convert(t<lf[k],string), ' , 1 , ' ) , k=1..p) , '1) ') :

scatter2d  quantile2 scatter1d is removed?


with(stats): with(statplots): with(transform):
with(random): with(describe): with(plots):
datax:=[normald[5,1](100)]:
datay:=[normald[7,3](100)]:
scatter2d(datax,datay);
quantile2(datax,datay);
scatter1d(datax);
scatter1d[jittered](datax);

who(things) replace it?

I hope someone can help me.

I'm trying to integrate the following equation:
sin(v)*sqrt(cos(t)^2+4*sin(v)*sin(t)*cos(v)*cos(t)*sin(w)+4*cos(v)^2-cos(w)^2*cos(t)^2+cos(t)^2*cos(v)^2*cos(w)^2-5*cos(t)^2*cos(v)^2)

The boundaries are
v=0..1/2*Pi
w=0..2*Pi

The exact command I'm using is
simplify(int(int(sin(v)*sqrt(cos(t)^2+4*sin(v)*sin(t)*cos(v)*cos(t)*sin(w)+4*cos(v)^2-cos(w)^2*cos(t)^2+cos(t)^2*cos(v)^2*cos(w)^2-5*cos(t)^2*cos(v)^2),v=0..1/2*Pi),w=0..2*Pi);

Hello,

Suppose that S1,S2,S3 are 3 blocks of a matrix S := Matrix(...). I would like to do

 

out := ArrayTools:-Concatenate(2,convert(S1,vector),convert(S2,vector),convert(S3,vector)):

but in the case when I have n blocks.

 

Thanks,

Dimitar

I am aware of how to plot the feasible region defined by a system of linear inequalities (inequal in the plots package). Also, I can use the implicitplot command to plot the feasible region defined by a single nonlinear inequality. My question is, how do I plot the feasible region defined by a system of nonlinear inequalities. For example, how would a graph the region satisfying x>=0, y<=exp(-x), and y>=x^2?

I hope someone can help me.

I'm trying to integrate the following equation:

sin(v))*sqrt(cos(t)^2+4*sin(v)*sin(t)*cos(v)*cos(t)*sin(w)+4*cos(v)^2-cos(w)^2*cos(t)^2+cos(t)^2*cos(v)^2*cos(w)^2-5*cos(t)^2*cos(v)^2)

The boundaries are
v=0..1/2*Pi
w=0..2*Pi

 

I've tried evalf and simplify, but none of those worked. Does someone know how to solve this one?

I have program in txt,I want to copy it into the command-line maple 15 as belows:

 


How to do it. Ctrl+V is useless

code:
> MEMBER := proc(x::anything, L::list, p::evaln) local i;
> for i to nops(L) do
> if x=L[i] then
> if nargs>2 then p := i end if;
> RETURN(true)
> end if
> end do;

Hi all,

I am trying to check a conditional statement in maple, I know it is true but my teacher has us do the entire assignment in maple. I am proving the alternating series test of convergence for a series and need to show that the Un's are all positive so

 

I am trying to check this statement for truth:

 

5/sqrt(x+4) > 0 for all real values x > 1

Hi
I run Maple 15 on an Acer laptop with Windows 7 and have the following problem:

When my Maple documents become "too" long, some of the vectors I have created seem to become tables instead (without me doing anything) rendering vector multiplications and additions/subtractions impossible (they'll throw an error; something like it not being possible to multiply a vector and a table. As if one of the vectors in my multiplication has become a table). Should it...

Can maple solve this kind of inequality:
piecewise(x > k, x-k, 0) > q * piecewise(x*(1+a) - k > 0, x*(1+a) - k, 0) + p * piecewise(x*(1+b) - k > 0, x*(1+a) - k, 0)
where p, q, a, b, k are parameters?

I'm trying solve-command with allsolutions option but it doesn't work :(

 

Thanks for answering :)

Hi

How can I use loop-varible in a definition of piecewise function? For example, when I do:

for k to 5 do

f[k] := x -> piecewise(x > 0, k, 0);

end do;

f[3](1);

f[2](1);

 

I get:

f[3](1) = 6

f[2](1) = 6

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]

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