## Beginner's question: Can Maple simplify 3x+3y into...

Hello everybody, I'm just trying to get familiar with Maple and I'm wondering if it would be possible to transform an expresion like: 3*x+3*y into 3*(x+y). Many thanks in advance, Ruben

## Simplification of preexponential terms after convo...

Dear all, i want to do some pharmacokinetic calculations with the convolution intergral. E.g. the input rate into the linear system is Inpfunc:=t-> a*exp(-k*t)+b*exp(-m*t); the system impulse response is Transfunc:=t->c*exp(-u*t)+d*exp(-v*t)+e*exp(-w*t); When i compute the system response to the input rate function as Respf:=int(Transfunc(t-tau)*Inpfunc(tau),tau=0..t); I do obtain a huge mess of exponentials. With the 'collect' function i collected the preexponential terms but they were still huge (abt. 4 screens full). I have tried 'factor', 'symplify' and so on but all commands

## plotsetup in jsp pages...

Hi, By default it seems that using plot in the maple:statement tag in a jsp page creates jpegs. Is there a way, via plotsetup or otherwise, to create images in different formats? Thanks.

## How to output in engineering notation...

Hello all! How can I get Maple 10 to output it's numbers using engineering notation (milli, micro, Mega, Giga, etc) instead of indices? Thanks --Amr

## Piecewise with more than 2 conditions using 2D Inp...

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

## solve a recursive equation in 2 variables...

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.

## Latex Export...

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

## How do I translate Maplets in Calculus1 to other L...

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!

## how to calculate a definite integral with a param...

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.mw
View file details in maple 10 ,it always gives a trivial solution ,can it

## numerical differentiation / fdiff...

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

## 3D Plot - Intersection of Plane with Sphere and Te...

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!

## Using Maple's sum fuction to generate Legendre pol...

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.

## Plots...

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

## Passing arguments to proc...

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

## Problem with spline integrating......

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);