C_R

3577 Reputation

21 Badges

6 years, 95 days

MaplePrimes Activity


These are replies submitted by C_R

@Preben Alsholm 

I got 2025.1 when I installed MapleSim 2025 yesterday. Testing the interrupt was the frist I wanted to try with your worksheet. I assume now that Windows uses wrong parameters to size the Maple window. I have to reset this somehow. I will send an update A.S.A.P. when I get access to the button.

Update @Preben Alsholm :

Interrupt works for ifactor but not for your worksheet.

@Carl Love 

dsolve is easy to use since it can determine the dependend variable. From the ICs, in this case, it was clear to me what the ODE should be solved for. 
I was wondering why Maple does not solve the problem or at least issues a warning that more information is required?

My initial conclusion was the same that Maple cannot solve the problem. 

@Carl Love 

!!!

Could an attentive documentation reader find the small correction themselves?

Appart from bugs, the GUI is not finished yet. Example

Icons to expand a collapse panels (in red) are not harmonized. The grey horizontal bar (highlighted in yellow) is still in use for animation controls

It looks to me that this is a remnant of the former (very handy!!!) tool bar

Quick access buttons and tool bars of the legacy GUI provided better flow and higher productivity. Right now, with the new GUI, it is hoped that new users become faster productive. Old users notice a setback in productivity because of too many clicks and mouse movements.
I expect Maplesoft to add customization in future versions, because all other ribbon applications I know have that and also because Maplesoft uses Maple themselves. Slowing down own staff for a manyear more of GUI developement does not make sense. 

Until then I use the screen reader version of 2025.

 

The error message is caused by Maples integration algorithm that calls the subroutine int/hermiter/horowitzLog 

with an inappropriate argument. This is not your fault. You can try to follow what int does by entering

infolevel[int]:=3;# up to 5 for more details

The integral is not trivial. To make solutions possible sometimes assumptions can help. I tried

int(G, [xi = 0 .. infinity, eta = 0 .. 1]) assuming (0 < omega, 0 < b, 0 < x)

which lets the error message dissappear without returning immediate a result. Maple is buisy filling the memory in the background by investigating cases of possible solutions. The possible parameter ranges and their relationship (see subexpressions in the integrant where more than one parameter appears) required this. If you know a case for parameters with fixed values that should return a solution you could give it a try. If that does not work, I am affraid, Maple cannot provide a solution.

@Rouben Rostamian  

and very instructive. I see your point that for a given rotation axis first two more (Euler) angles must be determined before a rotation can be performed (proivided that the right rotation matrix is used with the correct sign of the angles).

Maple should have this easy way of rotation built-in.

Thank you

Interestingly the help page of simplify does not define what a simple expresion is.

It could be that simplify does not consider changing the argument of trig functions.

I would have expected simplify,size to do this because here the user input is clear about what kind of simple is wanted.

There might be expressions where simplify,size calling combine automatically would exclude other possible simplifications an expert could desire and for this reason it did not work.

Just a guess...

@chkat 

If I interprete correctly, Maple kernels (mserver) terminate external processes but the GUI does not do that.

The behaviour might be OS dependend. You use Linux. Correct?

Could you upload demo code that works under Windows?

By "closing the Maple window" you mean crtl-F4 or crtl-shift-F4 or close tab (right click on tab) or exiting the Maple seesion (i.e. the GUI, Alt-F4).

@one man 

It is possible to simulate rolling without slipage with MapleSim. Sometimes unreasonable high values for parameters of the contact have to be used. The problem is that no slip detector is available in MapleSim. Only in rare cases slip can be detected. This make simulation nice to look at but limits the interpretation. Slip equals wear and that is of interest.

Here it took me a while to reproduce an ideal rolling case.

I had no time for a code review. You say:Then we look at where its current location on the trajectory should be

Does this mean that the trajectory is given? By that, do you mean the trajectory of the contact point?

@Rouben Rostamian  

Then it looks like as if the output is not properly generated.

Thank you for the explanations. I would love to see Maple supporting quaternions.

This is a nice animation that raises a question: Are there initinal conditions that reverse the direction of travel of the small torus inside the large one?

Too bad that MapleSim does not allow a torus inside a torus contact. Simulating this with Maple is tempting but would take allot of time. Maybe there are other trustwothy alternatives that could be employed to find such solutions.

@Andiguys 

The problem is complex. In those cases answers might be obtained by restructuring expressions. The expression P in Simple_T can be converted to a factored expression: P=t1*t2*t3 .
These factors can be investigated separately and you might be able to extract meaningful relations. Here is one for t1 telling us conditions when t1 is positive and that apparently t1 cannot be negative. Now you have to combine this result with solutions for t2 and t3 and identify realtions for the parameters. In the best case you can derive form these realtions ranges for parameters (using solve).  There are quite some combinations to be investigated.
I now have to work on a less intersting task but I hope this helps to advance. It's not exculded that this problem can be boiled down to something meaningfull.

   

{beta, lambda, upsilon, varphi, varepsilon, U[0]}

(15)

solve({t1>0,seq(i>0, i in indets(t1))});#lets try the simplest factor

{varphi <= 6*(upsilon*U[0]+1)/(varepsilon*lambda), 0 < beta, 0 < lambda, 0 < upsilon, 0 < varphi, 0 < varepsilon, 0 < U[0]}, {0 < beta, 0 < lambda, 0 < upsilon, 0 < varepsilon, 0 < U[0], beta < 3*lambda*varepsilon^2*upsilon/(lambda*varphi*varepsilon-6*upsilon*U[0]-6), 6*(upsilon*U[0]+1)/(varepsilon*lambda) < varphi}, {0 < lambda, 0 < upsilon, 0 < varepsilon, 0 < U[0], 6*(upsilon*U[0]+1)/(varepsilon*lambda) < varphi, 3*lambda*varepsilon^2*upsilon/(lambda*varphi*varepsilon-6*upsilon*U[0]-6) < beta}

(16)

solve({t1<0,seq(i>0, i in indets(t1))})

 

 

Download Simple_T_rply.mw

Interrupt works in screen reader.

Looks to me that the interrupt does get through to the kernel.
To interrup: Click on the bug icon an then quit and you are back to normal.

 

@nm

When my laptop runs on battery it switches to a balanced mode which limits tasks running full steam on the processor and the graphics card. This leads to Maple running slower. I assume that in the case we are discussig simplify was interupted by timelimit before this dll is called

What I see is that the dll is still active: the offset adress pointer (yellow) is still changing its adress.

Whatever simplify has asked the dll to do, it seems to be in an infinite loop. No new memory is allocated which is often the case in other instances where Maple "hangs" but effectivley an algorithm piles up result after result without comming to an end.

If timelimit would accept an instruction limit or processor cycles instead of a real time limit, a termination would be more deterministic.

My hypothesis is that Maple cannot termiate (all?) third party dlls. mserver.exe (including timelimit) is waiting for the dll to terminate. All functions in the stack of mserver wait for the above functions to terminate.

This case should be debugged.

3 4 5 6 7 8 9 Last Page 5 of 70