Hello everybody,
I was going through the manual and I'm having difficulties trying to replicate the example on Adding Custom Distributions (Section 4.6 under Probability Distributions and Random Variables).
I cannot replicate the piecewise function using 2D Input. I can only type the first 2 conditions. I know it can be done in 1-D with the piecewise command but I'd like to use the other way.
Any suggestions would be greatly appreciated.
Regards,
Ruben

Hi Maplers:
I'm probably spoiled, but maybe Maple can actually solve the following type of problem and I just haven't figured out how.
Solve a recursion equation in two variables:
f(m+1,n+1) = some expression involving combinations of f(m,n) etc.
I am impressed with "rsolve" that magically finds solutions to
f(m+1)=...
i.e. a single variable.
With great effort I have managed to figure out my 2-variable problem using generating function techniques, but perhaps Maple can do the whole thing in one great big single step.
Does anyone know if such a thing exists? I can't find anything in the Help.

Hello,
I'm trying to export a worksheet in LaTeX format. It gives me a .tex file which requires a package maplestd2e.sty (not maple2e.sty) which I don't have. I found a file called maple2e.sty at http://www.maplesoft.com/support/downloads/latex_patch.aspx and it works up to a point. Firstly I had to change the output tex file to require package maple2e.sty and more importantly it has equations running off of the edge of the page.
Please help,
Regards,
A. Carmichael

Hello,
I'm finding, how to translate/customize Maplets from the Calculus1 (Maple 10.06) to different language (for students). Can anyone help me? Is any possibility to download source codes? Thank you very, very much!

I want to calculate a definite integral with a parameter S(assume S>0),which is as follows:
The link can be found in the

View 3216_how to calculate the difinite integral.mw on MapleNet or

Download 3216_how to calculate the difinite integral.mwView file details
in maple 10 ,it always gives a trivial solution ,can it

Is there a way to use fdiff for functions, which allow only numerical input?
It seems that fdiff is sending symbolics and that would not work in my case
of interest (and I want to avoid to code such stuff, especially how to get
the appropriate step size automatically ...).
Related to Maple I only find this (general) source, but no according paper:
M. Monagan, E. Cheb-Terrab
A numerical differentiation routine for computing single,
multiple and partial derivatives to arbitrary precision.
This enables us to compute numerical values of derivatives
of special functions for whic

Given is a sphere and a tetraeder.
How can I (calculate and) plot the intersection of a plane with both objects?
The intersection shoud be a circle and a triangle (in 2D or 3D).
I tried a lot, but it didn't work out at all. The intersection command just works e.g. with two spheres.
Many thanks for any help in advance!

I have solve the Legendre equation (1-x^2)y''-2xy'+alpha(alpha+1)y=0.
The solutions are:
y1=1-alpha(alpha+1)x^2/2! +alpha(alpha-2)(alpha+1)(alpha+3)x^4/4! +sum{(-1)^m [(alpha-1)...(alpha-2m+2)][(alpha+2)...(alpha+2m-1)]x^2m/(2m)!}
y2=x-(alpha-1)(alpha+2)x^3/3!+(alpha-1)(alpha-3)(alpha+2)(alpha+4)x^5/5!+sum{(-1)^m[(alpha-1)...(alpha-2m+1][(alpha+2)...(alpha+2m)]x^2m+1/(2m)!}
I tried to obtain a Legendre polynomial, say P5(x), with Maple'sum function by plugging in the general expression but I do not obtain the correct answer.
Can someone indicate how this can be done.
Thank you kindly.

Is it possible with Maple to make contour plot of a function defined by its values in 2D grid?

Hello,
how to write function such inc or succ in Pascal.
This code
```
inc := proc(x) x := x+1; return x; end proc;
A := 10;
inc(A);
```

gives an error
```
Error, (in inc) illegal use of a formal parameter
```

Hello! I have the cubic spline S=S(t) defined on 1<=t<=3, and I need to calculate such integral:int((diff(S,t)^2+1)^(1/2),t=1..3);

When I try to calculate this integral, maple8 says:"undefined"...

What is the problem?

p.s. maple code:

x:=[1,2,3];

y:=[1,0,2];

with(CurveFitting);

S:=spline(x,y,t,cubic);

int((diff(S,t)^2+1)^(1/2),t=1..3);

Thankful in advance, Max.

Hi,
When I open maple and start a session I load a number of packages.
For example:
with(...)
with(..)
Now, when I open a new worksheet/file in the same session, do I have to reload the packages?
TIA
Larry Ciak

Hi, I need some help on plot and I am still new. Hope someone can take care of my questions, thanks first!
I want to plot a figure. And I want to the x-axis label shows \phi_1; and y-axis label shows \Pi. I want to show them with the subscripts "1 and t"
And I want to show the figure title as "V_L=20, \gamma=1".
Can maple do this?
Thanks a lot!

Hi Everyone,
I am trying to make a special substitution which neither
```
subs
```

nor
```
algsubs
```

seem to be able to make. I have long polynomials (maybe with 3000 terms), but for the sake of clarity here is an example with a short one:
Poly:=a[1]^3+a[1]*a[3]^2+a[2]+a[1]*a[2];
Now I would like to substitute a[1] by a[1]^2, but only in the terms that have a[1] (to the power of one). (It is important that the a[1]^3 in the original Poly is not changed to a[1]^6 ).
So after substitution the polynomial should become:
Poly:=a[1]^3+a[1]^2*a[3]^2+a[2]+a[1]^2*a[2];