MaplePrimes Questions

with the following input:

with(VectorCalculus);

X := r -> sqrt(2/Pi)*alpha*exp(-alpha^2*(r.r));

a_0:=a*<1/(2*sqrt(3) , 1/2>;

r:=<x,y>;

K:=<k_1, k_2>;

assume(alpha::real);

assume(alpha>0);
assume(k_1>0);

assume(k_2>0);

assume(k_1::real);

assume(k_2::real);

eq1:=int( X(r-a_0) , x=-infinity .. infinity);

 

Why is the ouput :

 

Hi,

 

I am trying to create a semilogplot-type plot with the axis tickmarks labeled as a typeset version of "10^0","10^-1","10^-2", etc.

I have tried a few different approaches. If I used semilogplot, I don't seem to be able to get the descending order of exponents (0,-1,-2, etc.) as I go right on the x-axis. They are also not typeset.

I can get around the descending order rather easily by just using plot and doing some remapping of my functions....

How will I write a program to find the 100th term of a sequence and then sum up the sequence?

Maple14 has an "explore" option by right-ckliking on an expression.

I did so with the following one:

-(1-p)^n+(p/(1-p)+1)^n*(1-p)^n+(1-p)^(n-1)*((exp(rho)*(-1+p)-p)*((exp(rho)*(-1+p)-p)/(exp(rho)*(-1+p)))^(n-1)-exp(rho)*(-1+p))/exp(rho)

and wanted to determine the frequency of the intermediate steps for the parameters.

E.g. p ranges...

I use the interactive plot builder (at least Maple14) and want to define a parameter to be an integer.

How do I carry this into execution?


 

I want to import two columns of data from excel files into vector, V and C. I know the code for reading from excel is like this: excel_to_vector.mw

I am using Maple 14.

Assume I have an equation of two variables, theta and psi (actually using greek letters).  Both of these is a function of time.  Lets say it is something like F:= theta^2 + 2*psidot (where "dot" means first derivative and appears in the equation either as psi with overdot or prime - have tried it both ways).

I want to use diff(F,theta) and display the result "2*theta*thetadot" (i.e. thetadot is theta with overdot) or diff(F,psidot...

The following commands:

with(Statistics):

DensityPlot(Binomial(100,0.5)); #with parameters n=100 and p=0.5

create a density plot of a binomial distributed random variable.

Now I want to create that plot, but have dials for the parameters n and p to interact with the plot through those dials.

How may I accomplish that?

Hi friends,

I am using contourplot / contourplot3d for a function f(x,y). But the coloring accepts only two colors whereas I want to get a contour like the one which is shown here  and is more common in most engineering applications.

My second question is how I can change the size of the plotted graph, because I am using the results in a report, so I need to have a better resolution.

Thank you!

The procedure p gives an approximation for Pi. Idea is to place a unit circle in a unit square, throw in some random points (which eventually will be plotted into this figure) and count the points inside the circle. For large n, the quotient n_circle/n_square should tend to Pi/4. But for large n, there may be faster ways to program this, what would you improve ? But keep the principle of this algorithm as it is.  I'd love to have at least 200k points, but this takes annoying 25s on my machine on each run....

I need to calculate the following conditional expectation

with the marginal density

and

being the density function of a normal N(mu, sigma) distributed random variable

I tried to solve this problem. 

It is a Maple TA question, but I get my solution wrong.

***********************

Question:

There is given a linear equation system consisting of two equations with four unknowns.

-x[1]-2*x[2]+x[3]+2*x[4] = 8

hello
I am doing something about curve fitting. I have got a polynome, I want to have it differentiate on the coefficients A,B,C,D,E,F, then all of these results will be set to zero. so I get 6 eqs,I want to use this 6 eqs to solve the coefficients A to F.  x0,y0,z0 is the coordinate for certain dot. I write the orders as follows:
eq :=(A*x0^2+B*y0^2+C*x0*y0+D*x0+E*y0+F-z0)^2;
S:=map2(diff,eq,[A,B,C,D,E,F]);
solve(S,{A,B,C,D,E,F});
but I got the answer

Hi friends,

is there a way to convert a Maple 13 worksheet into a Mathematica 7 Notebook automatically?

Thanks for help

Walter

Working in Calculus Study Guide which uses EpsilonDelta maplet in examples and problems. Study Guide says to enter epsilon and delta values in fields at right, or to use sliders. Sliders function for rough work. However, fields displaying vlalues are grayed out and do not accept entries. Difficult using sliders to get precise small values. Is this a program error or something I am overlooking? Thx.

First 1981 1982 1983 1984 1985 1986 1987 Last Page 1983 of 2431