## Compute sequences of functions easily...

I create a lot of procs and functions and then find myself having to create sequences of their values. I use for loops, seq or create a new proc to do it.

e.g., suppose I have a proc like f := n->n^2 or whatever. I can do [seq(f(k),k=0..5)]. Is there a very simple notation that maple has to do the same? E.g., hypopthetically f(0..5) and it handles the accumulation in to a sequence itself

## How to stop maple from rewriting equational form...

e.g., I have an equation that is written like a/b*c and maple rewrites it as a*c/b.

c is a complicated expression and when it's written with b under it, it takes up far more vertical spaces than necessary giving less visual resolution even if b is just 2.

In latex notation it is the difference between \frac{a}{b} c and \frac{ac}{b}.

In general what is the process? I noticed I can sometimes use   to block things in but this also interfers with mathamtical notation. e.g., 3^f becomes just that rather than f writen as a superscript.

Clearly I could hack it using various things but I want something direct and simple that tells maple not to try to do it's magic tricks.

For example, sometimes I might have 2*(a + b) and maple displays it as 2a + 2b. If I write it as 2*(a+b) then this is noted as 2*(a+b) but the 2 is different.. I guess it is treated as a string or something... For my cases it works since I'm not trying to calculate anything from the expression but just for visual purposes, other times though I might want to calculate(usually the visual doesn't matter in calculation but sometimes both are desired).

I really want to avoid having to litter the expressions with special syntax to get such simple behavior. Something to tell maple not to carry out whatever algebraic transform it is programmed to do.

BTW, what does ! do? !3 + 4 opens a new window with an exit code.

## Problem collect with distributed ...

Hello,
the following command

collect(c4*dnub*kpbr*ksr*nur*nurdel + c4*dnur*kpbr*ksr*nub*nurdel, [nur, nub, dnur, dnub, nurdel, nubdel, dnurdel, dnubdel, c4], distributed)

returns

c4*dnub*kpbr*ksr*nur*nurdel + c4*dnur*kpbr*ksr*nub*nurdel

However, I am expecting it to return

c4*kpbr*ksr*(dnub*nur*nurdel+dnur*nub*nurdel)

Where is the error?

## Coefficients of expressions...

Hello,

Lets say I have an expression

f:=(a+b)*x1+(a^2+b^2)*(x1+x2^2)+c*(x2-x3)*a*b

and I have a list

p:=[a+b,a^2+b^2,c*b*a].

How can I get the coefficients of the element from p in f, ie,

cof=[x1,x1+x2^2, x2-x3].

such that cof[i] corresponds to p[i]?

## How do I remove these unwanted trailing zeros from...

How do I remove these unwanted trailing zeros from my plot ? I have tried setting striptrailing=true from the Tyesetting package but no difference. Thanks

## extract solution for each to excel file...

how can i extract solution for each GB to excel file

 (1)

 (2)

 (3)

 (4)

## How to use the Liebniz notation in a complex expre...

Hi

I would like to use  the Liebniz notation that someone from the technical support posted here
Writing Derivatives at a Point Using Leibniz Notation
to display a formula that is not just a partial derivative but a more complex expression invoking partial derivatives.
Typically an expression like this one:

2*(Diff(f(mu__1, mu__2), mu__1))^2*lambda__1^2-(Diff(f(mu__1, mu__2), mu__1))^2*mu__1^2+2*(Diff(f(mu__1, mu__2), mu__2))^2*lambda__2^2-(Diff(f(mu__1, mu__2), mu__2))^2*mu__2^2+2*(Diff(f(mu__1, mu__2), mu__1))*(Diff(f(mu__1, mu__2), mu__2))*lambda__1*lambda__2-2*(Diff(f(mu__1, mu__2), mu__1))*mu__1*(Diff(f(mu__1, mu__2), mu__2))*mu__2

Could anyone help me to do this?

(PS: I'm still using Maple 2015.2)

## Interfacing maple with gnuplot...

Can I get to know how to interface maple with gnu plot. Thank you.

## comment écrire les composantes d'un vecteur contra...

Bonjour,

Comment écrire les composantes d'un vecteur contravariant avec des indices numériques ? Ce vecteur n'est pas un spacetimevector.

Par exemple : <x^1, x^2,x^3> avec cette écriture maple interprète ces indices comme des nombres et non comme des symboles

Merci pour vore retour

## A problem with integration...

I do a calculation o a simple integral

int(cosh(cos(2*t)), t = 0 .. 2*Pi)

and get the answer 0 (zero), which I know is incorrect. The cosh function of a real argument is always positive.

If I represent the cosh function as a sum of two exponentials

(1/2)*(int(cosh(cos(2*t)), t = 0 .. 2*Pi) + int(cosh(-cos(2*t)), t = 0 .. 2*Pi))

I get

2*Pi*BesselI(0, 1)

which looks much better.

What's the matter? Why Maple yields two different results? Victor.

## Match parameter name of a function...

I'm trying to create an iterator function

Iter := proc(ff, n)
local i,f;
if n = 0 then return (x->x); end;
f := x->ff:
f := apply(unapply(ff))(x);
for i from 1 to n-1 do
f := ff(f);
end;
return unapply(f,x);
end:

This seems to work except that it converts the independent variable to x, which can cause problems.

That is, if I pass something like n->sin(n) then it will output something like x->sin(sin(x))...

Of course, I do explicitly use x but it is because I don't know how to get the input's independent variable.

Ideally I'd like to be able to work on multiple arguments and iterate over the first, by default.

e.g., f#2(x,y,z) = f(f(x,y,z),y,z)

Ultimately the proc above doesn't work well as I want to be able to use it in all contexts(I could pass the value to Iter but I'd rather use function notation.

## How to model a very simple phonetic voice generato...

This must be so complicated process to describe the exact mechanism in human or animals ... and there are many reserchs on web for this subject ! Not expected Large answer !

By this way i am just curious to know by support of signal processing methods available in maple we can model a very basic vibrator as larynx and variable duct (what kind of filter we can call ?) or cavity that play the role of tongue or lips for changing of main stream to made various phonemes or frequencies

Here is a movie that show the section of human vocal system :

Anatomy

## results of minimization iteration ...

is it possible to get all the iteration values for a minimization problem

## How to animate linear transformation of multiple p...

Hey,

I want to animate action of linear transformation on multiple polygons, in the end, it should be a grid of multiple parallel lines that will get morphed. The transformation is defined by a matrix A.

So far I got this code to work:

with(plots):
with(plottools):
setoptions(style=patch,view=[-5..5,-5..5], scaling=constrained):
basis_i:=polygon([[0,0],[1,0]],color=red):

N:=20:
F:=(x,y) -> (1-k/N)*<x,y> + k/N*(A.<x,y>):
L := transform((x,y)->convert(F(x,y),list)):
A:=<<2,1>|<-1,1>>;

frames:=seq(L(basis_i),k=0..N):

display(frames, insequence=true);

It animates the basis vector nicely, but I can't seem to figure out, how to animate multiple lines, multiple polygons.

Anyone knows how to do this?

Any help will be much appreciated.

 3 4 5 6 7 8 9 Last Page 5 of 1628
﻿