MaplePrimes Questions

Hi, I have a 1x1 matrix. I would like to use the value in it but not as a matrix, any idea how I should take away the matrix and just take the inner matrix? Please help. Thanks.

For example instead of [8x+3], i would like it to be just 8x+3

 

 

Hello,

 

I would like to do the following procedure from a basic concept, but I can't figure out what I'm doing wrong (sorry for that, I'm a beginner). I have tried to look up some more information about procedures on the Help menu with no success. Here you have what I'm planning to do:

Considering the following function (which approximates the cosine function):

aprcos:=(x,n)->add((-1)^i*(x^(2*i)/(2*i)!),i=0..n)


I would like...

I have simplified a fairly large expression derived by Maple and am chacking to see if the two expressions are the same.  Previously, when I did this, the result was pretty straightforward: when the output was 0 = 0, the expressions were the same; however, now when Maple simplifies the expression I can sometimes use a combination of the simplify, factor, expand, collect, and combine functions to get it to spit out 0 = 0, but sometimes I can't.  Here is an example which shows the problem.

how do i write a command of a length of an array?

for example, c:=[1 3 5 7 8 2 1]..the length is 7 right? so how do i write the command..

it's a pleasure if any can help..

Is it possible to insert a hyperlink to a pdf file ? I use links to other Maple worksheets and internet URLs, but cannot seem to find a way to create a link to a local pdf file. Thanks for any help.

 

Happy Holidays !

Laguerre
charc := -(-1/(-1+I*X))^alpha/(-1+I*X);
Density := int(-exp(-I*X*u)*(-1/(-1+I*X))^alpha/(-1+I*X), X = -infinity .. infinity);
can not evaluate

Meixner
charc := (1+mean/(-1+exp(I*X)*mean)-mean*exp(I*X)/(-1+exp(I*X)*mean))^gamma;
Density := int(exp(-I*X*u)*(1+mean/(-1+exp(I*X)*mean)-mean*exp(I*X)/(-1+exp(I*X)*mean))^gamma, X = -infinity .. infinity);

Bernoulli
charc := 1/(I*X/(-1+exp(I*X)))^n;
Density := int(exp(-I*X*u)/(I*X/(-1+exp(I*X)))^n, X = -infinity .. infinity);...

Custom distribution
restart;
with(Statistics):
Density := 2*exp(-t^2)*sqrt(Pi);
Dist := int(Density, t);

a.

RealDist := Distribution(Dist(t-1));
Error, (in Statistics:-Distribution) unexpected argument(s): Pi(t)*(erf(t))(t)

b.

RealDist := Distribution(PDF = (t->2*exp(-t^2)*sqrt(Pi)), CDF = (t->Dist(t)), Mean = 1);

RealDist := Distribution(PDF = (t->2*exp(-t^2)*sqrt(Pi)), CDF = (t->Dist(t)));
X:=RandomVariable(RealDist(t-1));

I'd like to be able to get a quicker low accuracy computation of the argument of the complex-valued JacobiTheta1 function.

I only need as much accuracy as to get a decent plot, which means... I don't know... about 1e-3 relative accuracy?

If I can get a formula or approach that is "evalhf'able" then I can construct a procedure which does this action and writes results inplace to a float[8] Matrix.

The naive approach in the code below takes about 6min...

Hi all, I am having two simultaneous equations , i dont know how to solve these two equations, any one help to solve these equations..

Im knowing the approximate/accurate answer for the equations,
These are the values for my equations

alpha=1.53222, beta= -0.555345, kappa= -0.399943,

need_help.mw

 

Thank you

Find all the positive integers n ,such that

Hello,

 

I'm trying to plot the function (5*x)/(x^2-4) highlighting all of its characteristics (maxima, minima, convexity, concavity...). I would like to plot this function in different colors in accordance with the different intervals of concavity and convexity. In order to do this, I have tried to use the piecewise function, as shown on another question (http://www.mapleprimes.com/posts/43593-Piecewise--Color). However, I feel I haven't understood quite well how it works, as I can't figure out how to write the intervals... I don't know if I should show you my attempt, but I think it's quite ridiculous (I just have tried to adapt it to the example shown on the question I have read).

 

Thank you very much for your attention!

 

Have a nice day!

 

Skyblue

a.
charc := 1/exp(-(1/4)*i^2*X^2);
Density := int(exp(-I*X*u)*charc, X = -infinity .. infinity);

b.
charc := 1/(i*X/(exp(i*X)-1))^n;
Density := int(exp(-I*X*u)*charc, X = -infinity .. infinity);

c.
Density := int(exp(-I*X*u)/(((-1+exp(i*X)+p)/(p*exp(i*X)))^y*(1/exp(i*X))^n), X = -infinity .. infinity);

d.
Density := int(exp(-I*X*u)/(ln(exp(i*X))/(exp(i*X)-1))^n, X = -infinity .. infinity);

e.
charc := 1+i*X/(i*X-1);
Density := int(exp(-I*X*u...

Would you please send me the numerical laplace inversion code of "de Hoog" 1982?

i use previous post link to derive again for weibull, the final integration seems can not be integrated,

any things need to notice?

Weibull
WeibullDist := (η/rho)*((x/rho)^(η-1))*exp(-((x/rho)^η));
WeibullDist := 1-summation((η/rho)*((x/rho)^(η-1))*exp(-((x/rho)^η)),x=0..k-1);
WeibullDist := int((η*z)*(((k-1)*z)^(η-1))*exp(-(((k-1)*z)^η)),z=0..1/rho);
WeibullDist := int((η*z)*(((k-1)*z)^(η-1))*exp(-(((k-1)*z)^η)),z=0..1/rho);

svp. Je suis débutant en Maple et je souhaite que vous m'aidiez à réaliser une courbe avec maple étant donné un ensemble de points, et non pas une fonction. Comment faire? merci.

First 1650 1651 1652 1653 1654 1655 1656 Last Page 1652 of 2434