C_R

2957 Reputation

19 Badges

5 years, 120 days

MaplePrimes Activity


These are questions asked by C_R

In the example below, the second call to simplify is ineffective

eq := (a*x + b)/(c*x + d) = 1;

`simplify/nodenom`:= x -> (numer@(lhs - rhs) = 0)(x);                       
                      
`simplify/nodenom`(eq);
simplify(eq, nodenom);

Why is that?
Convert, for example, works

`convert/nodenom`:= x -> (numer@(lhs - rhs) = 0)(x);

`convert/nodenom`(eq);
               
convert(eq, nodenom);

 

This is new:

Maple 2024 frozen on opening recent files

Maple 2023 frozen on opening

Maple 2022 frozen on opening start page

Maple 2021 blinking

Maple 2020 opening start page

The above system state is constant for about 30 min. Maple sessions without start page are working. I can enter code but file opeing and saving does not work. The fact that Maple 2020 is also not working makes it unlikely that the Java environement is part of the problem.

I have several times restarted the system. The rest of the system is working.

Something happened to the system and I have no clue what is was and what I can do about it.

Any ideas or suggestions what I could try? Windows 10.

Under piecewise in ?updates,Maple2024,AdvancedMath I find

{simplify,combine}(piecewise(x <= 0, 2*ln(1 - x), 0 < x, ln((x - 1)^2))) assuming (x, real);
                         /  /       2\\ 
                        { ln\(x - 1) / }
                         \            / 

Same result without simplify

{combine}(piecewise(x <= 0, 2*ln(1 - x), 0 < x, ln((x - 1)^2))) assuming (x, real);
                         /  /       2\\ 
                        { ln\(x - 1) / }
                         \            / 

What I do not understand is the grouping of simplify and combine in a set. This looks like a function composition which is normally done with the composition operator

(simplify@combine)(expr)

Asking differently: What is

{simplify,combine}(expr)

supposed to do in the examples?

Printlevel can be used to understand how Maple processes input. In some cases printlevel has to be increased to high values which produces an ennormeous amount of output.

In case a particular procedure has been identified for detailed analysis it would be desirable only for this procedure to set a printlevel. Kind of a local printlevel.

Does something like this or other ways exist?

trace as I understand it only traces the procedure given as argument but not levels "below".

Multiplication is possible by a numerical constant

a < b;
-1*%;
                             a < b

                            -b < -a

However, using a name with assumptions

with(RealDomain):# just to make sure that a and b are real, probably not required
ineq := a/c < b/c;
assume(c < 0);
c*ineq;
expand(%);
eval(%);
                                 a   b
                         ineq := - < -
                                 c   c

                           /a   b   \
                          *|- < -, c|
                           \c   c   /

                           /a   b   \
                          *|- < -, c|
                           \c   c   /

                           /a   b   \
                          *|- < -, c|
                           \c   c   /

does not work. Have I missed an essential assumption/trick?

What else can I do?

Or: is there a mathematical reasons not to offer this possibilty.

Context: For manual case studies of parameters in inequalties I find it sometimes helpfull to remove rational expressions. Doing this manually with lhs/rhs and denom and flipping < or > is prone to errors

First 10 11 12 13 14 15 16 Last Page 12 of 38