MaplePrimes Questions

Fyi, this looks like a bug.

But I do not know if it is new or not. I am using Maple 2022.2 on windows 10

Why it fails first time?

(ps. unable to paste content of worksheet here. looks like forum is not working, will paste an image)

Here is the code also in plain text

restart;
delMdelY:=-2*y^2/((x^2 - y^2)^2*(x - k*sqrt(x^2 + y^2))) - 1/((x^2 - y^2)*(x - k*sqrt(x^2 + y^2))) - y^2*k/((x^2 - y^2)*(x - k*sqrt(x^2 + y^2))^2*sqrt(x^2 + y^2));
delNdelX:=-2*x/(x^2 - y^2)^2;
if simplify(delMdelY - delNdelX)=0 then
    print("ok");
else
    print("not ok");
fi;

Maple Worksheet - Error

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

Download simplify_fails_in_proc.mw

I have plotted in the same display a pointplot and a constant (a horizontal line)..

The worksheet is:

restart;
with(plots);
plot1 := plots[pointplot]([seq([r, 1 - combinat[numbperm](180000, r)/180000^r], r = 1 .. 1000)]);

plot2 := plot(0.25, r = 1 .. 1000);
display({plot1, plot2}, axes = boxed);


How do I solve for when the constant plot2 is less than plot1? I know at r=323 it goes above the threshold, but I don't know how to show this in an expression in Maple, and I've looked for several hours now, both Google search and on Maplesoft with no luck.

For the simulation of a microcontroller I am looking for discrete components like AD and DA converters, filters, differentiators, integrators.

The plant to be controlled is built with components from the MapleSim 2022 component library.

If there are no libraries that are compatible with the current version of MapelSim, I wonder if there is something that could be customized.

Any insights on the subject are welcome.

I have seen several examples of using Maple to numerically solve a PDE, but I'm looking for a "symbolic" method.

Very basic exampl - I have a system of differential equations with two state variables [x1 and x2] like so:
 
x1_prime = x2 + u*x1 + dH/dx1      <--- dH/dx1 is the partial deriv of H wrt x1
x2_prime = x1 + dH/dx2                 <--- dH/dx2 is the partial deriv of H wrt x2
 
H is the energy function that I'm trying to find.
--> I know the partial derivatives of the function H (from above), but I don't know what H itself is. Is there a Maple function or example that will help me find H symbollically?

If I type seq(i,i=1..1000) <enter> I get a large output.

Then when I type

for i from 1 to 5 do
  i;
end do;

It takes Maple 8 seconds to complete the job.  Is this normal when using Windows 7?

Good day to all maple users; I have plotted a simple graph using line style and am interested in drawing a phase portrait graph for the same function also display command is not working exactly. looking for help regarding this?

Graph_Display.mw

Hello,

I am having problems printing Maple Flow documents. I have set up both a header and a footer. In the Print Preview mode, everything is fine. When I try to print to a PDF file, the header loses its format and the footer does not print at all. Printing to a printer looks the same. What settings must be selected so that the printout can be passed on as a well-formatted document?

Many thanks in advance.



 

Did Maple just end the links to older maple manuals? 

I can't locate the link to find older maple manuals on the maplesoft website.  Did it get moved?  I can't find it.  Does anyone have a link?

Hello Everybody

My name is Emmanuel and i live in Paris, France. I work in insurance and i am an actuary. 

I am a new maple user because i wanted to have some fun redoing some mathematics. (I studied mathematic 30 years ago).

I would like to develop an animation with epicyles to draw something. 

(there is a famous one on youtube with homer simpson)

My idea is to embed an image with a simple drawing, get the coordonate from the points and apply a complex fourier transfor to get the parameters and make an animation.

I found the way to make the animation, to emben the image. .But i cant find how to get a maxtrix or a vector (i dont know what is the best ) of the coordinate of the point of the drawing. Does any of you have an idea to do it ? 

Thanks a lot

with(Optimization):
expr_optimize := fSW__Ratio_Tol[XU5]*f_ratio__SpreadSpectrum[XU5]*(R34^2*k1__RT[XU5] + R34*k2__RT[XU5] + k3__RT[XU5])/R34^2;
seqUnknownRanges := R34 = 5.640*10^4*Unit('Omega') .. 6.160*10^4*Unit('Omega'), k1__RT[XU5] = 4.054*10^4*Unit(1/('s')) .. 4.054*10^4*Unit(1/('s')), k2__RT[XU5] = 1.593*10^11*Unit(1/('F')) .. 1.593*10^11*Unit(1/('F')), k3__RT[XU5] = -2.645*10^15*Unit('m'^4*'kg'^2/('s'^7*'A'^4)) .. -2.645*10^15*Unit('m'^4*'kg'^2/('s'^7*'A'^4)), fSW__Ratio_Tol[XU5] = 0.950 .. 1.050, f_ratio__SpreadSpectrum[XU5] = 1 .. 1.250;
NLPSolve(expr_optimize, seqUnknownRanges, 'useunits', 'method' = 'modifiednewton', 'optimalitytolerance' = 0.101);

NLPSolve returns this message "Warning, convergence is not assured; examine Hessian values, or consider raising tolerance"

How can I capture this message in a procedure and take appropriate action?

Is there a way to see the Maple implementation of Runge Kutta 4th order method in dsolve?

By searching I found I can print the implementation of a procedure as follows

interface(verboseproc = 2)

print(dsolve)

But I'd like specifically to see the code for the method RK45.

It is easy to simplify the following expression (to 4), but maple's ceil function does not seem to be interested in simplifying it.

where n is greater than or equal to 4. 

simplify(ceil((3*n-8)/(n-3))) assuming n>=4, n::positive # As-is output

We have to rewrite "(3*n-8)/(n-3)" in this form "3 + 1/(n - 3)" to recognize.

simplify(ceil(3 + 1/(n - 3))) assuming  n>=4, n::positive

4

  • My first question is: How to transform (3*n-8)/(n-3) into 3 + 1/(n - 3) by maple?
  • My second question: Can we see the steps of execution of the simplification involving  ceil)?

I am trying to generate c code for a LinearAlgebra test problem using Maple:

But the output cannot be used due to the warning:

Warning, the function names {KroneckerProduct} are not recognized in the target language

The proposed code looks like:

1 2 3 4 5 6 7 Last Page 3 of 2177