Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

I am trying to expand the following into a polynomial on maple:


1/((1+x)*(1+x^2)*(1+x^3)*(1+x^4)*(1+x^5)*(1+x^6)*(1+x^7)*(1+x^8)*(1+x^9)*(1+x^10))

to get  1 + x + 2 x^(2)+ 3 x^(3)+ 5 x^(4)+ 7 x^(5)+ 11 x^(6)+ 15 x^(7)+ 22 x^(8)+ 30 x^(9)+ 42 x^(10)...  

I tried to use the expand() code...

Hi everybody:

I am having problems with the expression shown below.

X[1](s) = (s^2+2)*s/(1+s^4+3*s^2);

Specifically, when I try to find the inverse of the Laplace transform I get

x[1](t) = (1/10)*(sum((_alpha^2+4)*exp(_alpha*t), _alpha = RootOf(1+_Z^4+3*_Z^2)));

which obviously is not what I am looking for. Realizing that the problem must be the denominator I try to factor it using the factor command. That does not work either. If I do the factoring myself, that is

Im quite new to Maple, how do I extract the imaginary part of sqrt(I)? Im sure it is just Im(sqrt(I)) and Re(sqrt(I)), but the Im part just returns the real part againg for some reason, does anyone know what I am doing wrong here?

 

I'm using maple 9 by the way

>sqrt(I);

Hello,

I have the following problem:

I have an array of values stored in F[i,j] and plot them using the LineChart tool:

LineChart([seq([seq(F[i, j], j = dmin .. dmax)], i = 1 .. 3)], xcoords = [seq(0.1e-1*2^(k-1), k = dmin .. dmax)],  color = mycolor);

This way, I obtain 3 curves, each of them with a different color as defined by mycolor.

However, for a publication in black and white I would now like to assign different linestyles...

Hey you maple experts

 

I have been trying to change the font in maple. In my try i suddenly dont get no output document mode.

 

Can someone please help me?

 

Rune Erikse

I have to answer the following question:

simulate a modified simple random walk starting at 0 which at each step, in addition to possible unit jumps to the right (with probability p) and to the left (with prob q), may stay at its current position with probability r>0, so that p+q+r=1. We have been given the hint to type in

if (u<p) then x:=1 else if (u<p+q) then x:=-1 else x:=0 fi; fi;

and to rename the procedure, but i have no idea how to carry out the simulation?

How to explain, in Maple, Ax as a combination of the columns of A?

HerClau

Gracias

dy/dx=(y2-1)/(x2-1),  y(2)=2

Hi there,

            Basically i performed some calculations on maple and obtained a set A with about 8000 integer outcomes.

Im trying to create a loop that counts how many times there is an outcome of the integer 70 out of the 8000.

So far I have created the following:

A:=[10,20,..........]

s:=0

if A=70 then do s=s+1 end;

But this is not working

Any help will be appreciated

countries.zip

I thought I'd create a partial map of the middle east using a procedure with Maple.  Let me say it's not the quickest thing to do when the data format is not particularly favourable. 

I downloaded data from Coastline Extractor from ngdc.noaa.gov/mgg/coast.  This gives you point data sets.  You can then use maple to pointplot...

Hi. I am very new to Maple and there is something I can't find an answer on.

I would like to perform symbolic manipulation to help me simplify some equations. I was trying to define E to be a generic function operator, (expectation in statistics)

I have a equation y = a + b + c*d + e*f +..... something really long

I am to say R(y) = E(p*y)

How do I go about teaching Maple that my function is commutative and there are sets of rules which can be used? e.g.:

how is possible to draw each line separately?

n1 := 1; n2 := 1.45; n3 := 3.5;

z0 := 120*Pi; d1 := 1; d2 := 1; d3 := 1;a := 1;

k0 := 2*Pi/lambda;

ub := sqrt(n1^2-`&beta;b`^2); vb := sqrt(n2^2-`&beta;b`^2); wb := sqrt(n3^2-`&beta;b`^2);

Ub := k0*ub*d1; Vb := k0*vb*d2; Wb := k0*wb*d3;

z1 := z0/ub; z1b := z1/z0;

a0 := -tan(Vb)/(wb*ub)-tan(Ub)/(vb*wb)-tan(Wb)/(vb*ub)+tan(Ub)*tan(Vb)*tan(Wb)/wb^2;

b0 := tan(Ub...

Dear all,

how to convert a maple graphic  created from a symbolic expression to spreadsheet?
Por example, after the command:

plot(2*x+1, x=0..4);

I vould like to get the data points calculated by Maple to generate this graph. If possible, inside a spreadsheet in order to redraw these data with Excell to get a better figure aspect...

Thank you.

AHOY! when I compute the cube root of -8 using maple  14.  It gives me the output -8^(1/3)

my input was........

f:=x->x^(1/3)

f(-8)

I would like maple to give me the answer of -2 How do I change that? Note I need to define the cube root as a function.

Thanks

Dear all, I try to use threads in Maple 13 with Thread:-Create() and Thread:-Wait(). The worksheet works if I use no or just a single thread. One of the subroutines contains an fsolve command to find the zeros of some Function which involves special functions (LambertW). When I create two threads I get error messages such as `fsolve/StorePoint`, "invalid point dimension" and `fsolve/StorePoint`, "numeric exception: division by zero". Is the fsolve function not thread save? I tested, using stopwhen(...
First 1725 1726 1727 1728 1729 1730 1731 Last Page 1727 of 2224