Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7760

Wolfram Language • Re: Free Raspberry license Mathematica really usefui for studying mathematics!

$
0
0
Until today I was only aware of free Mathematica license with all Raspberry Pi computers.

TIL that there is a free developer license for wolfram-engine (without graphics) as well:
https://www.wolfram.com/engine/free-license/
Also free for personal or education use (you have to register, license for 2 Linux/Max/Windows PCs).

I installed it on my 8C/16T AMD 8840HS laptop and on 16C/32T AMD 9950X workstation, Raspberry Pi5 is 4C/4T. Just asked gemini whether wolframscript can exploit multithreading, and it can in many different ways.

I wanted to compare my overclocked with 3GHz Pi5 with both AMD Ubuntu machines. So I executed the same script taking 5min on my Pi5, and it did need 2:13min on the laptop and 1:33min on the workstation (wolframscript did run with 100% CPU on all three machines).

Code:

pi@raspberrypi5:~ $ /usr/bin/time wolframscript -f f1537.wl > out0.50user 0.34system 4:59.79elapsed 0%CPU (0avgtext+0avgdata 82352maxresident)k0inputs+864outputs (0major+5887minor)pagefaults 0swapspi@raspberrypi5:~ $ wolframscript --version -code '$Version'WolframScript 1.12.0 for Linux ARM (64-bit)14.3.0 for Linux ARM (64-bit) (September 25, 2025)pi@raspberrypi5:~ $ freqmin=cur=3000000=maxpi@raspberrypi5:~ $ 

Code:

hermann@8840hs:~/submanifold$ /usr/bin/time wolframscript -f f1537.wl > out0.30user 0.41system 2:12.39elapsed 0%CPU (0avgtext+0avgdata 112904maxresident)k0inputs+216outputs (0major+18966minor)pagefaults 0swapshermann@8840hs:~/submanifold$ wolframscript --version -code '$Version'WolframScript 1.14.0 for Linux x86 (64-bit)15.0.0 for Linux x86 (64-bit) (May 26, 2026)hermann@8840hs:~/submanifold$ 

Code:

hermann@9950X:~/submanifold$ /usr/bin/time wolframscript -f f1537.wl > out0.04user 0.07system 1:32.58elapsed 0%CPU (0avgtext+0avgdata 116764maxresident)k0inputs+216outputs (0major+18967minor)pagefaults 0swapshermann@9950X:~/submanifold$ wolframscript --version -code '$Version'WolframScript 1.14.0 for Linux x86 (64-bit)15.0.0 for Linux x86 (64-bit) (May 26, 2026)hermann@9950X:~/submanifold$

So the mighty 2D/3D graphics output is what Mathematica on my Pi5 gives me in addition to wolframscript:
submanifold.png

But for such simple graphics gemini created curve follower script (after many iterations) using differential of the manifold (I just learned about manifolds at end of my Analysis 2 lecture, more to come in future Differential Geometry 1 lecture) and Newton method. The graphics output is faster with that (same part of submanifold, here with x/y scaling identical):

Code:

hermann@8840hs:~/submanifold$ python f.py 65 6 6 430 2 0.02Projected starting point onto manifold: x = 5.810328, y = 5.810328431 points calculated.hermann@8840hs:~/submanifold$
submanifold.py.png

Statistics: Posted by HermannSW — Wed Jul 22, 2026 7:23 pm



Viewing all articles
Browse latest Browse all 7760

Latest Images

Trending Articles



Latest Images