MaplePrimes Questions

Does there exist a way in Maple that you can detect a change in a text file without having
to constantly having to call the readdata which keep the command prompt busy in Maple.

Maple 2018  has recently has  become sluggish to start up  -and very slow to respond to input. Can anyone suggest remedies?  I have plenty of space and CPU. Other apps seem to start fine.  Can any suggest a diagnosis and/or solution?

Melvin

How do I know that what numerical method has maple used in this code.?

dsolve({eq11,eq21,eq3,eq4,bc21,bc22},numeric,continuation=lambda1,maxmesh=15000, output=array([seq( i, i=0..N,0.01 )]))

Good day.

Reading through the Fuzzy C-Means routine (attached) written by the one-and-only Carl Love, I was wondering if anybody can tell me how to specify which points in the data belong most strongly to the assigned cluster. 

In the attached routine, there are 2 cases considered; two and three clusters. 

It would be interesting to obtain a list of all points that are assigned to each respective cluster.

Thanks for reading!

Fuzzy_clusters.mw

I have question how start histogram from 0? I have vector with probablity which start from 0.

I generate samples from my probablity:

pr=values of probablity

X:=RandomVariable(ProbablityTable(pr)):

A=Sample(X,1000):

Q=Histogram(A, binwidth=1,range=0..10):

...

I try to use bindwidth=-1 but it's impossible. 

How start histogram from 0 for vectors in maple15?

 
Hi !
 
I have been working for a long time to evaluate several infinites summations .
I often use a command like  "simplify(combine(sum1-sum2))"  to check if both summations are equal .
Now ,I found that the "simplify" command is not reliable at all . Check my file "simplify.mw" .
 
I have Maple 2017 and 2018 on Windows 10 .
I'm angry because I have to double check all of my work trying not to use this buggy command.
If someone can confirm that the 2020 version of Maple has an improved "simplify" command , I will buy it immediately.
 
Thank you !
Rejean

Hello I am trying to compute the following expression;

 

(x^2r+y^2+z^2) gamma^{0} partial_{x} (-xy(1-r)) gamma^{2} partial_{y} \Psi

 

in which r = sqrt(1-K(x^2+y^2+z^2)), K is a constant, the gamma's are the Dirac gamma matrices and \Psi is the wave function. Essentially I would like to have partial_{x} operate on the expression to the right of it and apply product rule where there will be three terms with the last one being partia_{x} partial_{y} \Psi where it evaluates on everything expect the partial and the wavefunction, combining into the term partial_{x} partial_{y} \Psi, and if the partials are the same they combine into a single second order derivative with respect to the given variable. I have done this calculation by hand but seeing that there is an extensive amount of terms I would like to automate it using Maple. I have tried using the D() calling sequence but it doesn't quite give me what I am looking for. Is there anything documentation which will give me what I am looking for?

Hello

I have used Groebner[UnivariatePolynomial] extensively on my procedures and I wonder whether there is an improvement in speed and memory use in Maple 2020 in relation to the version I am currently using, that is, Maple 2017.  

Many thanks.

Ed

restart;
with(LinearAlgebra):
with(VariationalCalculus):
# Energie cinetique/potentiel
T := 0.5*m*(diff(r(t),t)^2+r(t)^2*diff(theta(t),t)^2)+(1/6)*m[0]*l^2*diff(theta(t),t)^2;
Ve := 0.5*k*(r(t)-r[o])^2;
Vg := -m*g*r(t)*cos(theta(t)) - 0.5*m[o]*g*l*cos(theta(t));
# Lagrangien
L := T - (Ve + Vg);
E := EulerLagrange(L,t,[theta(t),r(t)]);
EQ1:=simplify(E[1]);
EQ2:=simplify(E[2]);
dsolve({EQ1,EQ2,D(theta)(0)=0,D(r)(0)=0,theta(0)=0,r(0)=10},{r(t),theta(t)});
dsolve({EQ1,EQ2},{r(t),theta(t)});

Hello ! 

I'm currently trying to learn some advanced mechanics with the Lagrangian method. I'm ok with the physics part. I can solve small problems by hand but when I try it on maple, it won't work.

The equations I'm using have no mistakes, I'm following a book step by step. 

What I'm stuck with is to get a formula of theta and r that are only function of time (t) to then be able to plot it. And I need dsolve to work to get that.

 

 

 

 

Got a problem related to values written to a library. One of the values somehow gets lost, and I wonder if I did the definition correct.

The specific problem is, that I have defined a table with an index. The value of mytable["hello"] seems to be missing when reading the library.

TestLibrary.mw

Hello,

I am trying to solve the 6 coupled differential equation. The 6 equations have 6 functions to be solved for with 12 boundary condition. I know for a fact that the solution to this equation exists in the form of nice polynomials.

I tried to solve without constraint. The maple solves the equations for only 4 functions and other 2 have value in form of integrals.

With the equations contraints the maple gets disconnected from the kernel after 4-5 hours of evluating.

Any idea to solves this issue ?? I have attached the workbook.

Thanks.

Mota

 

 

     Dear Sir/Madam,

I have faced a problem while using Maple 18. The  warning is the following

Warning, The use of global variables in numerical ODE problems is deprecated, and will be removed in a future release. Use the 'parameters' argument instead (see ?dsolve,numeric,parameters)

This is the code

restart;
with(plots);
beta := 0.2e-1; delta := .5; PI := 10000; mu := 0.16e-1; tau := 0.3e-1; rho := 0.4e-1; epsilon := 0.4e-1; sigma[1] := 0.1e-2; sigma[2] := 0.2e-2; eta := 0.6e-1;
sys := {diff(e(t), t) = beta*(sigma[1]*i(t)+sigma[2]*e(t))*s(t)-(delta+mu)*e(t), diff(i(t), t) = tau*delta*e(t)-(epsilon+rho+mu)*i*t, diff(r(t), t) = (1-tau)*delta*e(t)+epsilon*i(t)-(mu+eta)*r(t), diff(s(t), t) = PI+eta*r(t)-beta*(sigma[1]*i(t)+sigma[2]*e(t))*s(t)-mu*s(t), e(0) = 148, i(0) = 74, r(0) = 14, s(0) = 4110};
p1 := dsolve(sys, numeric, method = rkf45, output = procedurelist);
Warning, The use of global variables in numerical ODE problems is deprecated, and will be removed in a future release. Use the 'parameters' argument instead (see ?dsolve,numeric,parameters)
Error, (in dsolve/numeric) i(t) and i cannot both appear in the given ODE
p2o := odeplot(p1, [t, s(t)], 0 .. 4, numpoints = 100, labels = ["Time (months)", " Infected  "], labeldirections = [horizontal, vertical], style = line, color = red, axes = boxed);
Error, (in plots/odeplot) input is not a valid dsolve/numeric solution

plots[display](p2o);

 

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/nnn.mw .

Download nnn.mw

Hello all,   Hope everyone is safe

Does anyone know why a vector of floats as the variable for SignalPlot returnes the error:

Error:  (in SignalProcessing:-SignalPlot) unable to store  ' " " ' when datatype = float[8] 

Accel3  is vector variable reporting back as  "57850 element Vector[column]"

 SampleRate:=50000.0

When called by SignalPlot?   

SignalPlot(Accel3, samplerate = SampleRate)

I have successfully used SignalPlot without a problem before.

Regards,

Bill

Hello everyone. I want to know how I can extract terms with the lowest sum of the degree of x and of y in a multivariate polynomial (in x and y)?

For instance, if I've f(x) = 100x^2y^2 + 35x^2y + 45y, I want an output of 45y.

On the other hand, if I've g(x) = 13x^2y^2 + xy^2 + 2yx^2, I want an output of xy^2 + yx^2.

Maple Tutors allow for copying of MathML but I need LaTeX of it. Any help please?

First 565 566 567 568 569 570 571 Last Page 567 of 2425