C_R

3412 Reputation

21 Badges

5 years, 316 days

MaplePrimes Activity


These are replies submitted by C_R

@Kitonum 

If I flip the direction of action of one of the prismatic joints (to define the constraint AC=BD) in the model (edit: and increase the initial angle B to 120 deg) I can reprocude your solution.

@Christopher2222 

A variant of Carls statement that separates commands/functions from the argument for the expense of beeing slightly longer

(numer@(lhs - rhs) = 0)(eq);

Carls statement is probably the shortes possible

@Carl Love 

All works fine now and thank you for this nice piece of code.

I still cannot find out what went wrong with the file below when I came to the black box conclusion

blackbox_simplify.mw

If I paste from this file

printlevel:=1000
                   

simplify((x2 - x3)*x1 - x2*x4 + x3*x4 + (y1 - y4)*(y2 - y3));

I get the expected huge ammount of information but if I re-execute the file not much is printed.

 

Update:

No need to investigate. simplify remembered the old output...

@acer 

Thanks for the tweak. I hope we will see this integrated one day.👍

@Christopher2222 @Scot Gould @Ronan 

Just an observation:

I have a Maple 2024 session running for more than a week with many worksheets open and no signs of icons dissapearing.

What I did yesterday: I configured (in the NVIDIA control pannel) my computer (Maple 2024 still running) such that Maple 2023 uses exclusively the NVIDIA graphics processor. Et voila

All this without any extended use of Maple 2023. Maple 2024 is not configured to use a particular processor and the system can chose the graphics processor. I cannot tell at the moment which resources the Maple 2024 session is using.

What is maybe more important: I started Maple 2023 in laptop mode (i.e. only the internal 2k display available). Now I am back in the office and have a 4k external monitor connected).

New: mouse over and minimizing do not bring all icons back

 

Concerning Java, there are IDE alternatives to Eclipse. By coincidence I talked to a software engineer who told me that his Java team recently switched to IntelliJ IDEA for a windows application. So there are options

 

 

@Carl Love 

I tried printlevel:=1000 and alternatively

trace(simplify);
simplify((x2 - x3)*x1 - x2*x4 + x3*x4 + (y1 - y4)*(y2 - y3));

From that I could not understand at which code line the simplification stopped. For other commands (like dsolve) I had more success with printlevel and trace. Can I do better here?

@vv 

I like this more than my current solution (that I did not wanted to share in advance)

eval(ineq*(-2),-2=c);# case c<0
                             b < a

To flip a < b to b < a for c<0

map(`*`, ineq, -c)*(-1);# case c<0
                             b < a

Thanks

@sursumCorda 

Simplify cannot be traced. Whatever simplify does I cannot imagine a reason why simplify should not perform a recursive operation on the remainder of subexpressions that were not simplified yet  as

simplify(- x2*x4 + x3*x4 )
                         -(x2 - x3) x4

This extra step is not a modification of existing simplifications, its just an addition.
For the time beeing collect has to be used

simplify((x2 - x3)*x1 - x2*x4 + x3*x4 + (y1 - y4)*(y2 - y3)):
collect(%,x4);
       (-x2 + x3) x4 + (x2 - x3) x1 + (y1 - y4) (y2 - y3)

@Scot Gould 

Maple 2024 uses a JDK

different from Maple 2020

I looks to me that this change was required because future support was not guaranteed.

I think future Maple versions will still be Java based because I do not see an alternative for a multiplatform "WORA" application. Even Microsoft supports Java.

Let's hope for a better Java Virtual Machine and/or Microsoft OS interfaces.

@sija 

I did the manual export on a 4k monitor. This might be a reason for better quality.

I do not have 2018 installed,  so I cannot check if the quality changes.

I suggest that you send a separate question for ways to programatically export. 

@nm 

If I add up the displayed Memory of all active worksheets in my session and compare it to the GUI task (javaw.exe): The GUI task has allocated about 2 Gb which is roughly 1/3 of all added Memory entries. This fits to what you said (with quite some overhead).

I have made an "interesting" observation: Memory equals 4.18 M after a new worksheet has been created.

Entering a single character (without enter, i.e. nothing send to the mserver.exe task jet) changes Memory to 54.18 M. This further supports that Memory is GUI related.

I consider your reply to be a good working hypothesis. Thanks

Update: The overhead is probably the Java Virtual Machine required to run Java Code

Does not work for me (2024). What works

expr:=3/2*(y-1)^(2/3)-3/2*x^2-c__1 = 0;
limit(expr,[y = 3,x=-7]);

 

@sija 

With Maple 2024 I get an error before, because plotAll(t) does not exist in the the worksheet where I pasted you code. In which file shall I paste it?

With Maple 2024 I exported manually (right click).

Nice animations.

Suggetion: Saving the files in workbook format could make browsing easier.

@Scot Gould 

Ok, that's statistically significant enough for me to know that I'm not representing an exotic case.

If you want to check one day for installed graphic cards:

Open the device manager (right click on the start button) and expand the display adapters entry.

Looks like this on my machine

First 28 29 30 31 32 33 34 Last Page 30 of 67