Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

a:=%%, %;
 

what does this do?

 

Something simple

How do I convert an exprseq to a list

L:=seq(i,i=1..50)

L:=[L]   is this the only way to convert the exprseq to a list?  I thnk it's the simplest way, however is there another way?  The convert command won't allow it.

 

 

 

I have something like this:

months := Vector([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]);
values:= Vector([45, 48, 53, 46, 41, 38, 35, 44, 50, 53, 55, 59]);
knots := ScatterPlot(months, values, style = point, symbol = asterisk, color = blue);
R:= LeastSquares(months, values, x);
curve1 := plot(R, x = 0 .. 12, y = 0 .. 70);
plots[display](knots, curve1);

 

R becomes

(459 / 11)  +  (243 / 286) * x
 

Hi, all, Is there a way to list some primitive polynomials for a given degree over galois field GF(2). For example, I want to get some primitive polynomials of GF(2^32), is there a way to do that? Thanks Gepo

Hi all,

The following is my 'poor' attempt at coding the n by n queen problem. I am an amature programmer. The codes individually seem to work fine but when i put it all together it dose not seem to work and it does not produce an error so i don't know where its going wrong.

I would really really appriciate greatly if someone can help me please.

thank you in advance.
 

Hi
 

i am trying to code a proc that tells me when a certain function is better than another. My proc works fine for functions that have a single crossing point but it does not seem to work for inputs that have multiple crossing points.
 

Hi,

I'm a bit of a rookie with maple and need your help please.

I am looking to input a function of the following form:

f(x)= 1/2.x.H.x + g.x

where H is a matrix and g is a vector.

 

I need maple to be able to evaluate the function value at certain points.

 

Thank you in advance for any help you provide.

With version 10, I did this:

gammadist:=(x^(alpha-1)*exp(-x/theta))/(GAMMA(alpha)*theta^alpha);

simplify(int(gammadist,x=0..infinity),symbolic);

The result of the integral is 1.

When I do this exact same thing in version 12, I get an integral without any symbolic computation.

If I use assum(alpha>0): additionally(theta>0): then it will give me the same result.  However, in version 10 I also did

mgf:=simplify(int(exp(t*x)*gammadist,x=0..infinity),symbolic);

hi i need help to solve a equation nolinear, i find the equilibrium points and eigenvals and plot the phase portrait the equation is

dx1/dt=x1+x1x2

dx2/dt=-x2+x2+ x1x2-x1

 

Well what's the difference between those two?

how would i get maple to ingnore wht is a mathematical singularity and not a physical one, and continue picking up the solution the other side of the point??

see code below;

Hi,

I have a complex quantity in mod-arg form,

psi:= (alpha_0(t) + epsilon*alpha_1(r,t))*exp(I*(phi_0(r,t) + epsilon*phi_1(r,t))/nu),

to which I'm applying an operator

delsq:=x-> d^2/dr^2 x+ 2/r d/dr x .

for example
a:=[1,2,3,4,5]
b:=[5,4,3,2,1,0]
c:=[1,2]

a+b+c
Error adding lists of different length

Is it necessary to create new lists padded with zeros to make it work?

 

 

Hi everyone...

I'm a bit stuck trying to rearrange an equation using Maple... I don't know what command I need to put in, and I've tried searching to no avail...

Basically I need to rearrange this equation to get 't':

E.q = m.x / (t^2)

and I want:

t = sqrt (m.x / E.q)

What command should I use please?

Thanks for the help!

mathsgeek

First 1833 1834 1835 1836 1837 1838 1839 Last Page 1835 of 2219