MaplePrimes Questions

Hi,

How to animate my fractals procedures ? I managed to put them in the procedure, to explore them with the Explore command, but I can’t animate them, ( i want to export them in GIF format.) Thank you for your help

 

Fractalsanimate.mw

Hello,

I am a first time user of Maple. I have an (m x n) array called 'arr' with missing values. For all non NULL values within the array I'd like to apply a function, called 'EigenvalueEquation'. My Ansatz is as follows:

map(EigenvalueEquation, arr)

It produces an error since one cannot execute a function with a NULL value as an input. How can I skip those entries within my array? I'd like to avoid looping over the entire array.

Any help is greatly appreciated.

Patrick

Two of the three Watt's curves plotted in this worksheet display with gaps.

Why is this and how can these curves be displayed without gaps?

WattsCurve.mw

 Function given like this

J:=0

F:=proc(operation)

J:=0;

for i to n do
    for j from i + 1 to n do if A(i, j) = 1 then J := J + mod(X (operation) Y); end if; end do; end do;
end proc;

I have simply put the word operation their to explain

If call the fuction F by F("m")  m means multiple the I should get * operator should multiple and it should multiply

If I call function F by F("A") A means Addition then should get + operator should add and it should do +

If I call function F by F("S")  S means Subtraction then should get - operator should subtract and it should do -

mod means absolute value always

Hi

Keep getting "Error, null" on every calculation i make. It indicates hidden spaces or something weird????.

Screenshot of it is included. 

https://imgur.com/a/wSdUeqe

Would be great with a fix or some help because this is driving me mad....

I have  a:=1; b:= 2; c:=1; d:= 6; e:= 2;

P:= a*b*c*d*e;

How do I get  P:=1*2*1*6*2  result with the Maple command?

Thank you for your help!

Hello,

I have a term:

eq:=2*cosh(xi)^8*alpha*B[2]^2 + 4*A[2]*sinh(xi)^6*cosh(xi)^2 + 4*A[1]*sinh(xi)^5*cosh(xi)^3 + 4*sinh(xi)^4*cosh(xi)^4*A[0];

I want to extract the coefficient of for example "sinh(xi)^6*cosh(xi)^2" but the following codes failed:
coeff(eq,(sinh(xi)^6)*(cosh(xi)^2));

frontend(coeff,[eq,(sinh(xi)^6)*(cosh(xi)^2)]);

please help me to solve it.

Thanks in advance.

It would be nice to have the file name in addition to the name of the code attachment on the top.

I enter ...

5*a^2 + 2*b - 7 = 0

a:=1

b=

and get b=b not b=1

I thought I figgured out how to do this a couple of weeks ago but after an absense from Maple Flow I'll be darn'd if I can remember how to make it work.

Of course I can manually manulape the the equation...

b := (-5*a^2 + 7)/2

a:=1

then enter b =

and get the rusults 1 ... but I thought Maple Flow would do all that for me in the first instane above...

Thanks for any help.

 

 suppose i have outputs of several functions retured as variables float

A , B , C , D ,E , F , G , H , I , J , K ,L,M ,N , O, P,Q

I run the functions several times that all the function are run even if one is run 

so for each run I get a row of the matrix M in that order how to create from that outputs

each output is appended as next row in the same way to the matrix in the same order

Then I want the final matrix after all run to me exported to excel

I have downloaded Maple and install the trial version , i entered the Purchase code  and every thing was done, I did not get any errors , however, while i am trying to open Maple, when I open the software , I see this window which i have uploaded below , and when i click on Active i eneter my purchase code again , and it says it has acitivated and then when i click ok , it exit , what is the issue ?

can you help me ?

Hi.

1- I want to solve the following equation:
eq:=diff(theta(t),t)=-(A[1]*Dirac(t-T[1])+A[2]*Dirac(t-T[2]));

with the boundary conditions:

bcon := theta(0)=-v[1],theta(1)=v[3]:

but the code

dsolve({eq,bcon},theta(t)) assuming T[1]<T[2];
and also

dsolve({eq,bcon},theta(t), method=laplace) assuming T[1]<T[2];

do not work. 

The solution must be:

theta(t)=piecewise(0 <= t and t < T[1], -v[1], T[1] < t and t < T[2], 0, T[2] < t and t <= 1, v[3]);

2-Furthemore, solving the ode:

restart;
eq2 := diff(phi(t),t)=piecewise(0 <= t and t < T[1], -v[1], T[1] < t and t < T[2], 0, T[2] < t and t <= 1, v[3]);

with the similar bc:

bcon2 := phi(0)=-v[2],phi(1)=v[4];

is another problem which I am trying to solve it. but again the code

dsolve({eq2,bcon2},phi(t)) assuming T[1]<T[2];

does not work!! while the solution must be:

phi(t)=piecewise(0 <= t and t < T[1], v[1]*(t-T[1]), T[1] < t and t < T[2], 0, T[2] < t and t <= 1, v[3]*(t-T[2]));

Could you please help me to solve these two problems??

I really appreciate any help you can provide.

 

First 302 303 304 305 306 307 308 Last Page 304 of 2428