Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Currently, using Explore results in a new worksheet which contains all the sliders and output components.

And there is code, which makes it all "work", that gets hidden in that new worksheet. But It's very awkward to copy those Components back to the original worksheet, because of the disassociation with the working code.

If, instead of having dependent code be hidden in that new worksheet in collapsed Document blocks, all the working code were instead inlined...

Hi guys,

I am new to Maple, so forgive my ignorance!

I need to define the implicit function R:=exp[(L/2)-(m/2R)] for use. When I attempt this the normal way, I get a 'recursive argument' error. How can I get round this?

 

Jimmy

I tried to carry out an advanced plotting task and I am not even sure, if Maple is able to do that.

In a Cartesian coordinate system with axis x=1..100 and y=0..1, I wanted to plot three graphs at once and have the parameters n, p and rho to be interactive.

Here are the graphs:

(1) y=1-exp(-rho*x);  #depending on x and rho

(2) y=-(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...

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 :

 

Here is a challenge: reproduce this Mathematica notebook in Maple - without cheating, naturally.

I think I'm jealous.  But I'd love to be shown wrong and have someone do up a Maple 14 document which does everything that that notebook does, only better.

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....

First 1803 1804 1805 1806 1807 1808 1809 Last Page 1805 of 2231