MaplePrimes Questions

I can't find the help page for Abel second kind, class B. 

Maple has help page for Abel second kind, class A and Abel second kind, class C. But not for class B. 

Here is an example of Abel second kind class B

ode:=(3*t*y(t)+y(t)^2)+(t^2+t*y(t))*diff(y(t),t)=0;
DEtools:-odeadvisor(ode)

I wanted to know the difference and the transformation used for class B to make it Abel first kind.

I googled and can't find it. Also local help skips over class B.

Is this documented somewhere else?

btw, find error on the help page for class A. Transformation used is wrong. Will leave this for another question.

I'm not currently working on the topic of fluids and I'm not very familiar with it. However, my partner is working on it and is using other software. They have a question about whether Maple can handle this kind of work. Are there any examples available? I’d appreciate any help

thanks!

Dear Maple experts,

is there a possibility/command to get a vizualization of the output of the command FeedbackConnect?

I was thinking of something like this:


as it is given on the maple-help page for that command (but not generated via a maple command as far as I understood)

Thanks in advance !

I have repeatedly seen this on two Windows PCs:

The assignement operator := is rendered as a roman d

This happens after using Maple for some time.
 Exiting Maple and restart of Maple is required. Has someone noticed the same?
All on Windows 10 and for sure in screen reader mode (my default, cannot report on the new GUI).

Please, I am encountering error trying to run these codes for sensitivity analysis using the formula for sensitivity analysis

``

restart;

#
# Set up numerical values for all problem parameters
#
  params:=[ Lambda__p=100,         gamma__B=0.05,      gamma__B=0.05,
                 gamma__C=0.01, omega__C=0.001,  omega__B=0.001,
            sigma__B=0.0001,     sigma__C=0.01, sigma__BC=0.01,
                theta__B=0.8,     theta__C=0.5,      mu__C=1.0,
              Lambda__A=1.0,       Lambda__w=1.0,   varphi__8.33,
            mu__A=1.0, mu__w=1.0, alpha__B=0.005, alpha__C=0.005, alpha__BC=0.15, Zeta__B=0.5, Zeta__C=0.5, delta__A=0.66, delta__w=1.33
          ]:

#
# Define main function
#
  R:= (varphi^2*theta__B*Lambda__p*alpha__B*Lambda__A)/((mu__c*mu__A*N__p^2)*(mu__A*mu__c+mu__A*omega__B+mu__A*sigma__B+mu__c*delta__A+delta__A*omega__B+delta__A*sigma__B));

varphi^2*theta__B*Lambda__p*alpha__B*Lambda__A/(mu__c*mu__A*N__p^2*(mu__A*mu__c+mu__A*omega__B+mu__A*sigma__B+mu__c*delta__A+delta__A*omega__B+delta__A*sigma__B))

(1)

#
# Compute "all" derivatives and evaluate numerically.
#
# For the purposes of this calculation "all"
# derivatives, means the derivatives with respect to
# every variable returned by indets(R, name)
#
# Output a list of two element lists where each of
# the latter is
#
# [ varName,
#   eval( diff( R, varName), params )
# ]
#
 [ seq( [j, eval( diff( R, j), params )],j in indets(R, name))];

Error, invalid input: eval expects its 2nd argument, eqns, to be of type {integer, equation, set(equation)}, but received [Lambda__p = 100, gamma__B = 0.5e-1, gamma__B = 0.5e-1, gamma__C = 0.1e-1, omega__C = 0.1e-2, omega__B = 0.1e-2, sigma__B = 0.1e-3, sigma__C = 0.1e-1, sigma__BC = 0.1e-1, theta__B = .8, theta__C = .5, mu__C = 1.0, Lambda__A = 1.0, Lambda__w = 1.0, 33*varphi__8, mu__A = 1.0, mu__w = 1.0, alpha__B = 0.5e-2, alpha__C = 0.5e-2, alpha__BC = .15, Zeta__B = .5, Zeta__C = .5, delta__A = .66, delta__w = 1.33]

 

#
# Compute all "sensitivities" (where the sensitivity
# is as defined in Rouben Rostamian response to the
# OP's earlier post) and evaluate numerically.
#
# For the purposes of this calculation "all" sensitivities
# means the sensitivity with respect to every variable
# returned by indets(R, name)
#
# Output a list of two element lists where each of
# the latter is
#
# [ varName,
#   eval( varName*diff( R, varName)/R, params )
# ]
#
  seq( [j, eval( j*diff( R, j)/R, params )],j in indets(R, name));

Error, invalid input: eval expects its 2nd argument, eqns, to be of type {integer, equation, set(equation)}, but received [Lambda__p = 100, gamma__B = 0.5e-1, gamma__B = 0.5e-1, gamma__C = 0.1e-1, omega__C = 0.1e-2, omega__B = 0.1e-2, sigma__B = 0.1e-3, sigma__C = 0.1e-1, sigma__BC = 0.1e-1, theta__B = .8, theta__C = .5, mu__C = 1.0, Lambda__A = 1.0, Lambda__w = 1.0, 33*varphi__8, mu__A = 1.0, mu__w = 1.0, alpha__B = 0.5e-2, alpha__C = 0.5e-2, alpha__BC = .15, Zeta__B = .5, Zeta__C = .5, delta__A = .66, delta__w = 1.33]

 

Download Computed_Sensitivity_Analys_for_CBD.mw

Dear Maple experts,

I try to avoid the generation of new variable names (for states, inputs, outputs) introduced automatically by maple (StateSpace(), FeedbackConnect()) in the two (connected) cases:

1)

I generated a discrete StateSpace system using a difference equation:

sys2 := StateSpace([u(n)=K_virt*(q_a(n)-q_d)+D_virt*(q_a(n)-q_a(n-1))/T],inputvariable=[q_a(n)],outputvariable=[u(n)],discrete=true,sampletime=T);

The statevariable "x1(n)" is automatically generated by maple

I tried to avoid this by using the following commands that don't work:

sys2 := StateSpace([u(n)=K_virt*(q_a(n)-q_d)+D_virt*(q_a(n)-q_a(n-1))/T],inputvariable=[q_a(n)],outputvariable=[u(n)],statevariable=[q_a(n-1)],discrete=true,sampletime=T);

-> error message:

Error, (in ProcessOptions) argument 'statevariable = [q_a(n-1)]' invalid: rhs should be of type list({name, anyfunc(name)})

sys2 := StateSpace([u(n)=K_virt*(q_a(n)-q_d)+D_virt*(q_a(n)-q_a(n-1))/T],inputvariable=[q_a(n)],outputvariable=[u(n)],statevariable=[q_a_delayed],discrete=true,sampletime=T);

-> error message:

Error, (in DynamicSystems:-StateSpace) missing state(s): {q_a_delayed(n)}

sys2 := StateSpace([u(n)=K_virt*(q_a(n)-q_d)+D_virt*(q_a(n)-q_a(n-1))/T],inputvariable=[q_a(n)],outputvariable=[u(n)],statevariable=[q_a_delayed(n)],discrete=true,sampletime=T);

-> error message:

Error, (in DynamicSystems:-StateSpace) missing state(s): {q_a_delayed(n)}

Can you help me here?

2)

I have two discrete StateSpace models (sys1, sys2):

* sys2 is the one from above (1 input, 1 output, 1 state)

* sys1 (2 inputs, 4 outputs, 4 states) doesn't contain any automatically generated variables (I obtained this one by transforming a continuous statespace model to a discrete one)

* variables that represent the same signal have the same name in both systems.

   -> "q_a(n)" appears as an output in sys1 and as an input in in sys2

   -> "u(n)"     appears as an input in sys1 and as an output in in sys2

Now I combined these two models via:

FeedbackConnect([sys1, sys2],[[2,2,1,-1]])

Instead of using the variable names I introduced maple generates new variable names for inputs, outputs and states.

How can I avoid this?

(the option "merge=evaluate") seems not to work (even if I work with numeric values for the system parameters instead of symbols)

Thank you in advance!

It seems that the new Ribbon interface has several bugs (probably an update will come soon). So, not only the Export As is not working, but I see that (at least in Windows), opening a worksheet with a large output will display the output using the Maple input font.
Just save a .mw with the content:

expand((x+1)^200);

and then open it.

in this example is so different solution How i can get directly answer of this kind of ode equation when contain complicate term

restart; ode := 6*x*y(x)^2+4*x^3*y(x)+(6*x^2*y(x)+x^4+exp(y(x)))*(diff(y(x), x)) = 0; with(DEtools, odeadvisor); Student:-ODEs:-Type(ode); W := dsolve(ode, y(x)); odetest(W, ode)

0

(1)

NULL

Download ode.mw

hello everyone,

I am a bit shortsighted even with my glasses.

So my question is easy :: is there a way that when I open a (new) worksheet the magnification is 150%.

I can do it easily by hand but I am looking for 'something' in my maple.ini file to do this?

As well with the help pages.

Because even if I have a 150% magnification and I call a help page the display is still 100 % not 150%.

A part that I would like to set for every session a Digits:16 .

In the .ini file where I must input this? A ";" or not?

Thank you veru much.

Jean-Michel

I've reported this problem to Maple many years ago but still not fixed in Maple 2025.

Maple not able to verify its own solution on some series solutions using odetest.

Any one can suggest a workaround one can use other than odetest to verify ode solution when using series? Or have an idea why this happens?

The solution is correct but for some reason odetest returns FAIL 

Below is one example of many I have

restart;

interface(version);

`Standard Worksheet Interface, Maple 2025.0, Linux, March 24 2025 Build ID 1909157`

 

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1861 and is the same as the version installed in this computer, created 2025, April 10, 15:58 hours Pacific Time.`

ode:=x*diff(y(x),x$2)+y(x)=0;
IC:=y(0)=1;
maple_sol:=dsolve([ode,IC],y(x),'series');
odetest(maple_sol,[ode,IC],'series','point'=0);

x*(diff(diff(y(x), x), x))+y(x) = 0

y(0) = 1

y(x) = c__1*x*(series(1-(1/2)*x+(1/12)*x^2-(1/144)*x^3+(1/2880)*x^4-(1/86400)*x^5+O(x^6),x,6))+ln(x)*(series(-x+(1/2)*x^2-(1/12)*x^3+(1/144)*x^4-(1/2880)*x^5+O(x^6),x,6))+(series(1-(3/4)*x^2+(7/36)*x^3-(35/1728)*x^4+(101/86400)*x^5+O(x^6),x,6))

Warning, unable to compute series necessary to test the given solution

FAIL

 

 

Download series_unable_to_odetest_april_12_2025.mw

I don't know what combination of keys I used, but I deleted all the answers and comments to this question in one go. 
https://mapleprimes.com/posts/229696-I-Find-An-Error

Can some moderator recover all of them?

Thanks in advance and sorry for the inconvenience

Hi,

I'm experimenting with building random series on different topics, inspired by several of your comments, using a table-style layout. For this example, I'm testing systems of linear equations with two unknowns, but I can't manage to generate the systems with curly braces. I hope the purpose of my question is clear. Any ideas? Thanks

Systmes_Idea.mw

This question is about a particularity of a widely used function, which looks like a bug at the first glance, but is not (after carefully studying the help page).

The function “add” (a built-in function with special evaluation rules) is intended to be used on sequences. If for any reason (in a procedure for example) a sequence degenerates to a single scalar expression and add is applied to it, the expression can change. This is most likely undesired. In the case below (simplified from a real case that happened to me) a product is transformed into a nonsense sum.

data := 1.*Unit(m);
accu_length := add(data);
data := data, 2.*Unit(m);
accu_length := add(data);
                       data := 1. Unit(m)

                  accu_length := 1. + Unit(m)

                 data := 1. Unit(m), 2. Unit(m)

                   accu_length := 3. Unit(m)

It is quite likely that the above unit error will be noticed. In the following case it is more likely that a change in value remains unnoticed.

data := 2/5;
add(data);
                                   2
                           data := -
                                   5

                               7

I was wondering whether Maple could issue a warning to prevent this use error of add, when certain types of expressions are passed to add.
Alternatively Maple could return the expression unchanged. So far, I have not found a case where it makes sense to apply add to operands of a scalar expression (excluding set, list, array, ... ).

This leads to the question of whether this functionality (add working on a scalar expression) is needed at all. I tried a few and none of them is useful

[a = b, a^b, a@b, a/b, sin(a), int(f(x), x), a[b]];
map(add, %);
        [        b       a                            ]
        [a = b, a , a@b, -, sin(a), int(f(x), x), a[b]]
        [                b                            ]

          [                         1                ]
          [a + b, a + b, a + b, a + -, a, f(x) + x, b]
          [                         b                ]

Anything else which could make sense?

i dont know in this paper he do factoring or he solved by substitution i did both way but i can't do end step which is finding parameter can anyone help ? i did 2 way but i can't finished 

find-parameter.mw

find-parameter_2.mw

In the File menu,  the Export As dialog is missing. Only the default (.pdf) can be used; no .mpl or .tex)
The Save As dialog is incomplete (e.g. save to .mws).

Or, is the installation corrupted?

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