## 499 Reputation

11 years, 70 days

## Thank you...

WTable := WTable([seq(i,i=1..40,2)],..);

Thank you

## Thanks, this answer I wanted...

Hi acer

Sorry for my question that was not clear

this form is the most easy: (-1)^~(r-~1);

Thank you very much

## Thanks, this answer I wanted...

Hi acer

Sorry for my question that was not clear

this form is the most easy: (-1)^~(r-~1);

Thank you very much

## Thank you...

Thank you for your answer. I'm pleased to be a member in Mapleprimes.

But for legende, is there any way to move legende inside a plot (not only the four positions: left, right, top, bottom) like in matlab ?

Best regards

## Thank you...

Thank you for your answer. I'm pleased to be a member in Mapleprimes.

But for legende, is there any way to move legende inside a plot (not only the four positions: left, right, top, bottom) like in matlab ?

Best regards

## plot and animate OK...

Dear Scotty,

Thanks for your answer. It is ok now

Best regards

## plot and animate OK...

Dear Scotty,

Thanks for your answer. It is ok now

Best regards

## Now, it's correct...

Hi,

Yes, when I corrected <>, not ~= there is no problem and the code is correct.

Thank you for all

Kamel

## Now, it's correct...

Hi,

Yes, when I corrected <>, not ~= there is no problem and the code is correct.

Thank you for all

Kamel

## Hi, I do a little corection for frem(q,...

Hi,

I do a little corection for frem(q,1)<>0 but there is an error in if programming and frem is an equivalent to mod for real numbers and give the same results.

restart;Qs:=24; p:=20; m:=3; q:=Qs/(2*p*m); if (q=1) then
> yc:=Qs/(2*p); elif (frem(q,1)<>0) then if (evalf(Qs/(2*p))<1) then
> yc:=1; else yc:=floor(Qs/(2*p)); end if; else yc:=round(0.8*Qs/(2*p)); end if;

the result must be yc:=1;

## Hi, I do a little corection for frem(q,...

Hi,

I do a little corection for frem(q,1)<>0 but there is an error in if programming and frem is an equivalent to mod for real numbers and give the same results.

restart;Qs:=24; p:=20; m:=3; q:=Qs/(2*p*m); if (q=1) then
> yc:=Qs/(2*p); elif (frem(q,1)<>0) then if (evalf(Qs/(2*p))<1) then
> yc:=1; else yc:=floor(Qs/(2*p)); end if; else yc:=round(0.8*Qs/(2*p)); end if;

the result must be yc:=1;

## frem is ok...

Hi,

Thanks for all answers, command frem of Maple give the same results as mod of matlab. I will see help page for details.

Best regards

Kamel

## frem is ok...

Hi,

Thanks for all answers, command frem of Maple give the same results as mod of matlab. I will see help page for details.

Best regards

Kamel

## mod in maple is just for integer ?...

Hi,

Thank you for answer, but mod in maple work only for integer.

In matlab, mod(2.5,1)=0.5 in maple don't work.

Thanks

## mod in maple is just for integer ?...

Hi,

Thank you for answer, but mod in maple work only for integer.

In matlab, mod(2.5,1)=0.5 in maple don't work.

Thanks

 First 14 15 16 17 Page 16 of 17
﻿