MaplePrimes Questions

Fyi, this looks like a bug in odesteps. I was not expecting it to give steps for this, but I do not think it should give internal error. Will report it also.  It should just say not supported or something like this.

interface(version);

`Standard Worksheet Interface, Maple 2025.1, Linux, June 12 2025 Build ID 1932578`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

restart;

ode:=x^2*diff(y(x),x$2)+(x^2-5*x)*diff(y(x),x)+(5-6*x)*y(x)=0; #22942.  

x^2*(diff(diff(y(x), x), x))+(x^2-5*x)*(diff(y(x), x))+(5-6*x)*y(x) = 0

sol:=dsolve(ode);

y(x) = c__1*x^5*(x+5)+c__2*x*(x^4*(x+5)*Ei(1, x)+(-x^4-4*x^3+3*x^2-4*x+6)*exp(-x))

Student:-ODEs:-ODESteps(ode)

Warning, cannot verify that the given particular solution, y(x) = 1+1/5*x, actually solves the corresponding homogeneous ODE, diff(diff(y(x),x),x)+1/x*(x-5)*diff(y(x),x)-(-5+6*x)/x^2*y(x) = 0

Error, (in Student:-ODEs:-ChangeVariables) the ODE, diff(diff(U(T),T),T) = 5*(T^2+6*T-5)/T^2/(5+T)*U(T)-diff(U(T),T)*(T^2+2*T-25)/T/(5+T), contains the undifferentiated dependent variable, U(T), but the transformation %3, does not

 

 

Download internal_error_ODESteps_sept_2_2025.mw

Any idea why Maple dsolve can't find solution to this ode? From textbook

The strange thing, it solves if it asked for implicit solution. But the default, will give no solution.

Is this a defect? Should it not have returned the book solution automatically?   How is a user supposed to know the ode has a solution or not, if default call returns no solution?

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.1, Linux, June 12 2025 Build ID 1932578`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1877 and is the same as the version installed in this computer, created 2025, July 11, 19:24 hours Pacific Time.`

restart;

ode:=v(x)*diff(v(x),x) = g;
ic:=v(x__0) = v__0;
sol:=dsolve([ode,ic]);

v(x)*(diff(v(x), x)) = g

v(x__0) = v__0

restart;

ode:=v(x)*diff(v(x),x) = g;
ic:=v(x__0) = v__0;
sol:=dsolve([ode,ic],'implicit');

v(x)*(diff(v(x), x)) = g

v(x__0) = v__0

-2*g*x+v(x)^2+2*g*x__0-v__0^2 = 0

#why did not default call return this?
PDEtools:-Solve(sol,v(x))

v(x) = (2*g*x-2*g*x__0+v__0^2)^(1/2), v(x) = -(2*g*x-2*g*x__0+v__0^2)^(1/2)

Download dsolve_gives_no_solution_sept_2_2025.mw

I have bought Maple Flow 2025 and trying to use it in an effective way. While doing this I noticed some little issues that could be improved.

1. When typing text it would be nice that the cursor goes automatically to the next line when at the border of chosen paper size (e.g. A4).

2. It would be nice that you could separate the containers when they overlap by using 1 button. Now you can align containers vertically but it would be nice if you can do that also horizontally.

I also have a question, is it possible to place a section in another section as you can in Maple or is this not possible? 

I test a lot of them but some of them make a problem i  don't know i am do it in wrong way or the author did wrong i need verifying thus solution of odes specially in case 4 when we have not equal sign how use that?

and case 5 is Weierstrass elliptic function which i don't know how set up and use i think is a on kinf of odes but why they use that sign for this function?

ode-17.mw

The font size in the debugger is very small.

Even if I increase the zoom in the worksheet before starting the debugger, this has no effect on the debugger.

Is there an option to use larger font for the debugger? Here is an example, this is worksheet after making the zoom 145%

 

And here is the debugger window.  side by side with the worksheet. Notice the font in debugger do not change.

 

It looks even smaller on the desktop, I am using large monitor also. 

Is there separate setting to change font size for debugger?

Maple 2025.1 on Linux KDE plasma, Cauchy OS (Arch based)


I'm struggling to construct a statistical Distribution involving Product.
This is likely a question of delayed evaluation but I'm not capable to fix it.
Can you please look to this  Product_error.mw  worksheet  and help me fixing the issue?

Thanks in advance

Hi,

I’m having fun animating a beautiful geometric shape starting from a few trigonometric functions. I’m wondering if there’s a way to link each curve in the animation to its name.

restart

plots:-animatecurve([sin(x), sin(x)^2, sin(x)^3, sin(x)^4, sin(x)^5, sin(x)^6, surd(sin(x), 2), surd(sin(x), 3), surd(sin(x), 4), surd(sin(x), 5), surd(sin(x), 6)], x = 0 .. Pi, thickness = 2.5, background = "AliceBlue", labels = ["", ""], size = [800, 800])

 

plot([sin(x), sin(x)^2, sin(x)^3, sin(x)^4, sin(x)^5, sin(x)^6, surd(sin(x), 2), surd(sin(x), 3), surd(sin(x), 4), surd(sin(x), 5), surd(sin(x), 6)], x = 0 .. Pi, thickness = 2.5)

 

NULL

Download Animation_Trigo.mw

How to get amultiple line plots in one graph for differnt values of E1 := .1,0.2,0.3,and 0.4 with differnt color line red,blue,black and green and how to get numerical values for the all E1 value in one matrix form 

at E1=0.1 value of diff(g(x), x, x), diff(f(x), x, x),diff(f(x), x) and diff(g(x),  x).

AGM_method_single_line_plot.mw

I recently upgraded from Maple 23 to Maple 24. While many display issues have been resolved, I’ve encountered a new real problem: when entering operations or a factorial in a denominator or exponent, the cursor unexpectedly jumps to the inline position. This forces me to manually reposition the cursor using backspace plus left-arrow keys, and forgetting to do so can lead to errors. I have a perpetual Maple license through my university and haven’t purchased maintenance this time. Is there any way to fix or work around this cursor-jumping issue in Maple 24 without purchasing a new license?

The_Bohrs_Model_-_MaplePrimes.mw

Look at the equation (11) in the Maple's document. I would like to force Maple to let the variable "r" inside the squared root so to get the equation (12). Any idea of doing that?  Thank you in advance for your help.

Already  by Help of my favorite Dr.David he did find the thus three step for non schrodinger equation but in here i got some issue of coding which is so different from before, is about transformation of pdes to two parts od real and imaginary part and then substitution our function the functions is clear but combining them and findinf leading exponent and resonance point and finding function in step 3 in different and jsut the function is different with eperate the real and imaginary part for finding step one ...

note:=q=u*exp(#) then |q|=u

schrodinger-test.mw

paper-1

paper-2

(2500iw/(1+5iw) )+(200iw/1-10iw)+5 rationalize and simplify

Hello All

I have the system of 4 differential equations with retarted delay (t-tau) and advanced argument (t+tau). The problem is also considered as a two-value boundary problem since some variables have initial conditions and some have terminal ones.

Here is a model:

Data:

A := 10;
B := 5;
C := 2;
tau = 0.5;
T := 10;
 z := 5;
 N := 20;
 

System:

sys := diff(K(t), t) = A*Q(t - tau) + K(t), diff(Q(t), t) = l_Q(t)*z - N, diff(l_K(t), t) = B*Q(t - tau) + l_K(t), diff(l_Q(t), t) = l_K(t + tau)*K(t + tau) + C;

Initial and terminal conditions:
 
inc := K(0) = 50, Q(0) = 200, l_K(T) = -20, l_Q(T) = 0;
   

I will appreciate any direction/suggestion on how this system can be solved. 

Dmitry

I was surprised that Maple can't solve this first order ode which is exact ode.

I solved by hand and Maple says my solution is correct.

Any one can find why Maple failed to solve this and if older versions can solve it? Also tried implicit option, but that did not help.

interface(version);

`Standard Worksheet Interface, Maple 2025.1, Linux, June 12 2025 Build ID 1932578`

SupportTools:-Version();

`The Customer Support Updates version in the MapleCloud is 29 and is the same as the version installed in this computer, created June 23, 2025, 10:25 hours Eastern Time.`

restart;

ode:=diff(y(x),x) = (2*sin(2*x)-tan(y(x)))/x/sec(y(x))^2;

diff(y(x), x) = (2*sin(2*x)-tan(y(x)))/(x*sec(y(x))^2)

sol:=dsolve(ode);

mysol:=cos(2*x)+x*tan(y(x))=c__1;

cos(2*x)+x*tan(y(x)) = c__1

odetest(mysol,ode);

0

 

 

Download maple_solving_exact_ode_august_25_2025.mw

In the attached file, the trigonometric term (2, term) is transformed into a term (3, term1) consisting of radicals. Is there a Maple procedure that can be used to reverse this process? Given an algebraic term (e.g., consisting of radicals, powers, etc.), under what conditions can it be transformed into a trigonometric form (not a Fourier series) in the sense of (3) according to (2)?test.mw

 interface(version);

`Standard Worksheet Interface, Maple 2024.2, Windows 11, October 29 2024 Build ID 1872373`

(1)

restart

term := 2*cos(5*arcsin((1/2)*x))

2*cos(5*arcsin((1/2)*x))

(2)

term1 := expand(term)

-3*(-x^2+4)^(1/2)*x^2+(-x^2+4)^(1/2)+(-x^2+4)^(1/2)*x^4

(3)

convert(term1, trig)

-3*(-x^2+4)^(1/2)*x^2+(-x^2+4)^(1/2)+(-x^2+4)^(1/2)*x^4

(4)

simplify(term1, trig)

(-x^2+4)^(1/2)*(x^4-3*x^2+1)

(5)

solve(term1 = sqrt(2), x)

(1/2)*(8-2*(10+2*5^(1/2))^(1/2))^(1/2), (1/2)*(8+2*(10-2*5^(1/2))^(1/2))^(1/2), (1/2)*(8+2*(10+2*5^(1/2))^(1/2))^(1/2), -(1/2)*(8-2*(10+2*5^(1/2))^(1/2))^(1/2), -(1/2)*(8+2*(10-2*5^(1/2))^(1/2))^(1/2), -(1/2)*(8+2*(10+2*5^(1/2))^(1/2))^(1/2)

(6)

evalf(solve(term1 = sqrt(2), x))

.3128689302, 1.782013048, 1.975376681, -.3128689302, -1.782013048, -1.975376681

(7)

plot(term, x = -2.5 .. 2.5)

 

plot(term1, x = -2.5 .. 2.5)

 

NULL

Download test.mw

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