Adam Ledger

Mr. Adam Ledger

360 Reputation

11 Badges

9 years, 127 days
unemployed
hobo
Perth, Australia

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are questions asked by Adam Ledger

Sometimes we have questions that apply to every execution we make, regardless of what the actual nature of the commands included in that execution are.

 

For this reason, I propose that in the same way that we have the feature of "start up" code, which automatically executes upon opening the specified worksheet, we also implement an option of automatically executed code for every execution that is carried out within the specified worksheet. 

for example, code that serves purposes of output such as 

" This execution took xxxx minutes and xx.x seconds to complete, and required an average of x % of your computer's total processor utilization capacity across all cores "

I know how i will be providing this feature in my worksheets, but i just feel that it would be a beneficial feature for those that use maple for purposes that do not involve a knowledge of how maple is programmed, and would not be able to do so.

Any discussion about this would be welcomed, which is why i am posting about it of course.

If i was a good student i wouldnt be using the is function for these at all, but im quite tired now so i thought that it would be fine this time. But i honest cannot see what additional declarations need to be made here, and why a false is returned for the first query, then FAIL for the negation of the first in the second query, the only thing i can think of is declaring that indeed n and m are elements of N, but if maple was allowing for Gaussian n,m surely both queries would return fail, and so obvious it is indeed acknowledging the arguments are on R, anyway hopefully someone gets the chance to make me feel silly here

 


 

assume(n < m, n > 1)

is((3*n-1)/(n^3+2*n+1)-(3*m-1)/(m^3+2*m+1) < 0)

false

(1)

is((3*n-1)/(n^3+2*n+1)-(3*m-1)/(m^3+2*m+1) >= 0)

FAIL

(2)

``


 

Download MISSING_ASSUMPTION.mw

I dont fully understand the principle of a global variable for example _Z in RootOf expressions. Can someone please explain this to me.

I've been doing some soul searching and started to think that the maple interface and i are kindred spirts, conjoined spirit twins if you will, and i can confirm this if this is the manner in which the totient function is calculated:

 

Ok embarassing I posted this one and now it outputs this java error file log and yep i dont know that much about java at all. 

 

Sometimes it works, sometimes it closes maple automatically and spits out the .txt error log i have attached if thats any help... MAPLE_EXAMPLE_16.mw  i honestly have never ever seen maple behave this way in more than a decade of playing around in it with stuff like this.

EDIT: Here is a version with smaller plot components that seems to be working.... MAPLE_EXAMPLE_17.mw

It says i am not allowed to upload a log file but this is what it looks like:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 1024000 bytes for GrET in C:\BUILD_AREA\jdk6_18\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
#
 
V  [jvm.dll+0x15df8a]
V  [jvm.dll+0x1e1e14]
V  [jvm.dll+0x1a1aad]
V  [jvm.dll+0xc834f]
V  [jvm.dll+0xca01c]
V  [jvm.dll+0xca370]
V  [jvm.dll+0xce42a]
V  [jvm.dll+0x1d8592]
V  [jvm.dll+0xc9398]
V  [jvm.dll
Java Threads: ( => current thread )
  0x522e7c00 JavaThread "Timer-28" [_thread_blocked, id=23236, stack(0x5f2f0000,0x5f6f0000)]
  0x522e7400 JavaThread "Timer-22" [_thread_blocked, id=24248, stack(0x6b440000,0x6b840000)]
  0x522e2c00 JavaThread "WMI:MapleClientSocket:Kernel Connection " daemon [_thread_blocked, id=11140, stack(0x6a2d0000,0x6a6d0000)]
  0x522e7000 JavaThread "WMI:MapleClientSocket:Kernel Connection " daemon [_thread_blocked, id=6792, stack(0x64d30000,0x65130000)]
  0x522e6400 JavaThread "WMI:MapleClientSocket:Kernel Connection " daemon [_thread_blocked, id=20280, stack(0x6a6d0000,0x6aad0000)]
  0x522e4400 JavaThread "Timer-18" daemon [_thread_blocked, id=23888, stack(0x63f20000,0x64320000)]
  0x522e6800 JavaThread "Timer-17" [_thread_blocked, id=17320, stack(0x69ed0000,0x6a2d0000)]
  0x522e5000 JavaThread "WMI:MapleClientSocket:Kernel Connection " daemon [_thread_blocked, id=13480, stack(0x69ad0000,0x69ed0000)]
  0x522e4800 JavaThread "Timer-16" daemon [_thread_blocked, id=18184, stack(0x68ed0000,0x692d0000)]
  0x522e3000 JavaThread "Timer-15" [_thread_blocked, id=23296, stack(0x692d0000,0x696d0000)]
  0x522e3800 JavaThread "WMI:MapleClientSocket:Kernel Connection " daemon [_thread_blocked, id=16388, stack(0x66820000,0x66c20000)]
  0x522e1400 JavaThread "Timer-14" daemon [_thread_blocked, id=24500, stack(0x61c50000,0x62050000)]
  0x522e0c00 JavaThread "Timer-13" [_thread_blocked, id=15848, stack(0x659b0000,0x65db0000)]
  0x522e0000 JavaThread "WMI:MapleClientSocket:Kernel Connection " daemon [_thread_blocked, id=7260, stack(0x655b0000,0x659b0000)]
  0x466cb000 JavaThread "Timer-12" daemon [_thread_blocked, id=1112, stack(0x64320000,0x64720000)]
  0x4699b800 JavaThread "Timer-11" [_thread_blocked, id=24540, stack(0x64930000,0x64d30000)]
  0x4699b400 JavaThread "Timer-10" daemon [_thread_blocked, id=21144, stack(0x60bf0000,0x60ff0000)]
  0x4699d400 JavaTh
 
First 19 20 21 22 23 24 25 Last Page 21 of 34