C_R

3212 Reputation

21 Badges

5 years, 214 days

MaplePrimes Activity


These are questions asked by C_R

I have currently a Maple session running with only one open worksheet.

The worksheet only contains an input line with the name "a" and an output line with the name "a".

The fan of my laptop is running full throttle and the task manager displays 10% CPU usage and a very high power usage (3 mserver.exe running, the process with the cpu load is javaw.exe. Suspending this process shuts down the fan).

After about an hour I decided to ask. While typing this post (in Firefox, probably unrelated) the CPU usage went down and the fan went quite. The total system CPU usage is now down to 2%.

Has anybody seen the same? What could have cause it? It's not the first time I observe this. Anything that I could check before restarting Maple? All on Windows 10 after system restart.

Update:

The thread that consumes cpu is called ucrtbase.dll!configthreadlocate

Starting Maplesim in parallel almost immediately turns off the fan while the displayed cpu load is still high but now variing.

How can I check if a name has been used/entered already but was not assigned to a value

The variable palette only lists assigned names.

I tried unames() but this lists all unassigned names. A 'user' option (which filters for user-assigned names) as in anames() does not seem to exist.

One of my failed attempts (in 1D-Math):

restart;
unames():
initial_unames := {%}:
new_name;
{unames()} minus initial_unames; # should ideally return a reduced set containing new_name;
has(%,new_name)

What else can be done? (I am probably overlooking something very simple.)

I was wondering if there is a way to measure/extract the contact forces that occur during a contact event? Preferably I would like to visualize the contact forces in the 3D result view.

I would also like to extract information about slippage in a contact.

Is this somehow possible?

I cannot find an explanation why a boolean evaluation with higher Digits is not the same

NULL

restart;interface(version);

`Standard Worksheet Interface, Maple 2024.1, Windows 10, June 25 2024 Build ID 1835466`

(1)

Digits:=10;
is(ln(.1e11*abs(-.304805898398896+1.*RealRange(.304805898398895,.304805898398897)))/ln(10) < -6);
Digits:=30;
is(ln(.1e11*abs(-.304805898398896+1.*RealRange(.304805898398895,.304805898398897)))/ln(10) < -6)

10

 

true

 

30

 

true

(2)

Digits:=10;
ln(0.1*10^11*abs(-0.304805898398896 + 1.*RealRange(0.304805898398895, 0.304805898398897)))/ln(10) < -6;
is(%);
is(ln(0.1*10^11*abs(-0.304805898398896 + 1.*RealRange(0.304805898398895, 0.304805898398897)))/ln(10) < -6);

10

 

ln(0.1000000000e11*abs(-.304805898398896+1.*RealRange(.304805898398895, .304805898398897)))/ln(10) < -6

 

true

 

true

(3)

Digits := 30;
ln(0.1*10^11*abs(-0.304805898398896 + 1.*RealRange(0.304805898398895, 0.304805898398897)))/ln(10) < -6;
is(%);
is(ln(0.1*10^11*abs(-0.304805898398896 + 1.*RealRange(0.304805898398895, 0.304805898398897)))/ln(10) < -6);

30

 

ln(10000000000.0*abs(-.304805898398896+1.*RealRange(.304805898398895, .304805898398897)))/ln(10) < -6

 

false

 

false

(4)

.1e11

0.1e11

(5)

0.1*10^11

10000000000.0

(6)

NULL

RealRange seems to be evaluated differently.
Any explanation for that?


(expression extracted from an error message)

 

Download eval_of_range_in_ln.mw

 

 

I was about to review a piece of code which is the "main procedure" of a worksheet (as one would say in other languages).

What I mean by that are the top level code statements of a Maple worksheet which are not part of procedures. For the code example I can easily put everything into a procedure and invoke the Maple debugger. For larger worksheets this becomes complicated.

For this reason I was wondering whether the debugger can also be started for a complete document.

First 7 8 9 10 11 12 13 Last Page 9 of 41