## 45 Reputation

4 years, 140 days

## How to draw a circle point by point in a...

Maple 2015

Hello everyone! I was trying to draw a circle point by point using animate, but there's a catch: I'd like it to be created in front of the user, that is seeing every point being drawn in sequence.

Like this, but with the point leaving a trail behind him.

Can anyone help?

## How do I draw a petersen graph?...

Maple 2015

Hello everyone, we are doing some excercises on graphs. The commands PetersenGraph and GeneralisedPetersenGraph only draw an indirected one, and i was wondering, is there a way to draw a directed Petersen graph?

## Help file .maple...

Maple 2015

Hello everyone.

I've took part in a math competition and we use Maple 15 as software to solve the various problems. We, apart from solving the problems, to correct and give a score to 4 other participants per problems. We have to download their solution and read it and then valuate it. However one of the files is .maple and not .mw. How can I open it? The tutors said to us that we just have to change extension and copy-paste the content into another document, but the the program doesn't let me copy the text (it's a mess) because "it's too big to be copied". I have obviously asked them how to solve this since what they said isn't working, but they didn't answer...

So, does anyone know how I could convert a file from .maple to .mw and still see the document as it was intended?

## Can anyone tell me what is causing this ...

Maple 2015

Hi everyone! I was writing this code for an interactive component, when I stumbled into a problem that I couldn't solve...

Here is the code.

use DocumentTools in
if type(Do(%NIniziale), posint) then
if Do(%NIterazioni)<=100 then
if type(Do(%NIterazioni), posint) then
Do(%E="Valid Values!");
Even:=Do(%Pari);
Odd:=Do(%Dispari);
Iterazioni:=proc (N, i)
local m, n;
n:=N;
for m from 1 to i do
if type(n, even) = true then
n := Even;
else
n := Odd;
end if;
end do;
return (SetCellFormula("Risultati", i, 1, eval(n)));
end proc;
ix:=Do(eval(%NIterazioni));
Nx:=Do(eval(%NIniziale));
seq(Iterazioni(Nx,y),y=1..eval(ix));
if Do(%NIterazioni)<100 then
seq(SetCellFormula("Risultati", x, 1, "//"), x=1+ix..100);
end if;
else
Do(%E="Inavalid Values");
seq(SetCellFormula("Risultati", x, 1, "ERROR"), x=1..100);
end if;
else
Do(%E="Invalid Values");
seq(SetCellFormula("Risultati", x, 1, "ERROR"), x=1..100);
end if;
else
Do(%E="Invalid Values");
seq(SetCellFormula("Risultati", x, 1, "ERROR"), x=1..100);
end if;
end use;

Now this are what the names stands for:

%Pari is a math conainer in which there is a function of n that is to be used when n is even;

%Dispari is a math conainer in which there is a function of n that is to be used when n is odd;

"Risultati" is the name of a spreadsheet on which the results will be displayed;

%NIterazioni is a math conainer in which there is a posint that indicates how many times the procedure is to be iterated;

%NIniziale is a math conainer in which there is the starting number (another posint) to which on which the procedure will operate;

%E is a text area that will signal the validity of the input.

What I wanted to do was a procedure that reiterated two function on a given number a given amount of times and returned the result of every passage, however, when computing, it returns the function in n and not the final numbers.