MaplePrimes Questions

Can a plot be output to a pixel array?                                                  

Is there a way to disable Maples AI Formula Assistant? This could be relevant when using Maple for a test.

Given this simplified solution, 

sol1 := (-vin + sqrt(-4*I2^2*R^2 + vin^2))/(2*I2*omega0*L)

how do I bring the denominator back under the radical?

I have solution to system of equations that results (I assign it to) in:

I2sol := -I*omega0*k*L*vin*1/(L^2*k^2*omega0^2 + R^2)

I then try to solve it for k by doing

solve(I2sol = I2, k)

but that doesn't work.  What is the "right" Maple way to rearrange I2 such that the expression is the solution(s) for k?

I want to make the system of ODE into its dimensionless version:

Dimensional version: 

dN/dT= R*N (1 −N/K)−alpha*N*P/(A + N);

dP/dT= gamma*N*P/( A + N) + C*P/(1 + Q*P) −MP;

N (0) ≡N_0 ≥0 and P (0) ≡P_0 ≥0

R, K alpha, gamma, M, C, Q are all positive constant. 

Using one choice of dimensionless variable x = N/K , y = alpha*P/(R*K), t = R*T, the system of ODE can be reduced to its dimensionless version as follows:

dx/dt = x*(1 −x ) −x*y/(a + x);

dy/dt = b*x*y/(a + x) + c*y/(1 + q*y) −m*y

where the dimensionless parameters are a = A/K , b = gamma/R , c = C/R , q = Q*R*K/alpha, and m = M/R.

How to do this in maple. Please help. 

How to integrate the below term

int((n*p+exp(n*p))*exp(-p)*p^(s-1)*f^s/((n*p+exp(2*n*p))*factorial(s)), p = 0 .. 1);
eval(%);

Hey! I need help ASAP, because my maple file has been corrupted and i dont know what to do. Do you guys know how to recover a file? i can save it again as_mw. but should i change it to xml? or how? i have the link to my maple file attached, so if someone can help me, it could be helpful! Because i have an upcoming exam. Thanks youu

I noticed tags on the post  

https://mapleprimes.com/questions/238161-Why-Maple-Gives-Solution-To-Euler-Ode

keep disappearing. 

I added tags "differential equation" and "dsolve" and so on.  

Later on when I visit this site again I found the tags are all gone.

Why does Mapleprimes remove the tags on post?

Or is someone else removing the tags? If so, why? is something wrong with the tags I've added?

This happend twice on this one post. I noticed earlier today the tags were gone, so I added them again. And now I see the same thing. They are all gone.

How could I find the volume of this equation (x^2+y^2+z^2+12)^2=64(x^2+y^2) using triple integrals in both spherical and cylindrical coords ? Thank you !

I found that sometimes Maple gives

               Error, (in Typesetting:-Parse) too many levels of recursion

When using the Latex command on the output of Student:-ODEs:-ODESteps

Below is worksheet showing it works for some and gives error for others. Is there a workaround for this? I'd like to convert the steps to Latex.

This happens in worksheet using either Display->Typesetting level as EXTENDED or STANDARD

restart;

interface(version);

`Standard Worksheet Interface, Maple 2024.0, Windows 10, March 01 2024 Build ID 1794891`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1722 and is the same as the version installed in this computer, created 2024, April 12, 17:58 hours Pacific Time.`

ode:=diff(y(x),x)=0;
the_output:=Student:-ODEs:-ODESteps(ode,y(x)):
latex(the_output)

diff(y(x), x) = 0

\begin{array}{ccc}
 & {} & \textrm{Let's solve}
\\
 {} & {} & \frac{d}{d x}y \! \left(x \right)=0
\\
 \textrm{•} & {} & \textrm{Highest derivative means the order of the ODE is}1
\\
 {} & {} & \frac{d}{d x}y \! \left(x \right)
\\
 \textrm{•} & {} & \textrm{Integrate both sides with respect to}x  
\\
 {} & {} & \int \left(\frac{d}{d x}y \! \left(x \right)\right)d x =\int 0d x +\mathit{C1}  
\\
 \textrm{•} & {} & \textrm{Evaluate integral}
\\
 {} & {} & y \! \left(x \right)=\mathit{C1}  
\\
 \textrm{•} & {} & \textrm{Solve for}y \! \left(x \right)
\\
 {} & {} & y \! \left(x \right)=\mathit{C1}  
\end{array}

ode := diff(y(x), x, x, x ) + 3*diff(y(x), x, x) + 4*diff(y(x), x) + 2*y(x) = 0;
the_output:=Student:-ODEs:-ODESteps(ode,y(x)):
latex(the_output)

diff(diff(diff(y(x), x), x), x)+3*(diff(diff(y(x), x), x))+4*(diff(y(x), x))+2*y(x) = 0

Error, (in Typesetting:-Parse) too many levels of recursion

 

 

Download latex_error_ODE_steps_maple_2024_april_13_2024.mw

update: Reported to Maplesoft support.

I have a proceure that returns 7 values. I cac get it to return ang single specific value ousing e.g [2] to get the second.
Or a range[3..6] for the third to sixth.

Is there a way to get specific seperated values e.g [1] and[[6]. The procedure is burried in a package so it is difficult to post.

This second order (Euler type) ode has no solution for the given two initial conditions. but Maple gives solution with one unresolved constant of integration.

ode:=x^2*diff(y(x),x$2)-2*y(x)=0;
ic:=y(0)=4,D(y)(0)=-1;

sol_no_IC:=dsolve(ode)

The IC's are given at x=0 as a trick to see what Maple will do. We see that at x=0 there is division by zero. So no solution exist for these IC's. But see what happens

sol_with_IC:=dsolve([ode,ic])

It seems Maple simply threw away the part of the solution it could not handle due to the x=0 and just returned the rest.

odetest(sol_with_IC,[ode,ic])

The correct answer should have been the NULL solution (i.e. no solution). 

What Am I missing here? Why does Maple do this? Should Maple have returned such a solution?

Maple 2024 on windows 10.

update:

Reported to Maplesoft support.

update:

Here is another example ode. This is first order ode. Maple gives a solution that does not satisfy the initial condition also. I wish I can understand how Maple comes up with these solutions since when I solve these by hand I see it is not possible to satisfy the IC, hence no solution exist.

14876

interface(version);

`Standard Worksheet Interface, Maple 2024.0, Windows 10, March 01 2024 Build ID 1794891`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1722 and is the same as the version installed in this computer, created 2024, April 12, 17:58 hours Pacific Time.`

restart;

14876

ode:=diff(y(x),x)+y(x)/x=x^2;
ic:=y(0)=a;

diff(y(x), x)+y(x)/x = x^2

y(0) = a

dsolve(ode)

y(x) = ((1/4)*x^4+c__1)/x

sol:=dsolve([ode,ic])

y(x) = (1/4)*x^3

odetest(sol,[ode,ic])

[0, a]

Student:-ODEs:-ODESteps([ode,ic])

Error, (in Student:-ODEs:-applyICO1) numeric exception: division by zero

 

 

Download another_strange_solution_ode_maple_2024.mw

I can't figure out what Maple is complaining about with this error.  In fact, this is an exact copy/paste from another section in my document that runs fine.  This section, however, generates the error, "Error, missing operator `;`.

I appreciate any help!

for_mapleprimes_help.mw

If I set up

DGsetup([t, r, theta, phi, psi], M1, verbose)

then the frame-name M1 is displayed with every new execution group prompt as "M1 >"

How do I switch off the frame-name to be displayed at the prompt, so I only get ">" ?

It is irritating as heck !

The only way around this is to restart the kernel, then I can add new execution groups without frame-names displayed.

Thanks

First 113 114 115 116 117 118 119 Last Page 115 of 2426