zenterix

310 Reputation

4 Badges

3 years, 97 days

MaplePrimes Activity


These are questions asked by zenterix

Consider the following matrix

Q := <cos(t), sin(t)>; sin(t), -cos(t)>

If I multiply the first column by the second column (at first glance this would see to be a 2x1 column multiplied by a 2x1 column, which isn't possible), I still get a result. 

(Q[1 .. 2, 1]) . (Q[1 .. 2, 2])

Now this isn't really that big a deal. Apparently, something like Q[1 .. 2, 1] is actually a Vector, so we're actually computing the dot product between two vectors. However, the result is the following

What is the bar over the variable t?

There is a button at the top right corner that has an icon that seems to say 4pi/3. When I hover over it is says "Maple Math". I click on it, and insert an expression that I copy directly from Maple: a simple definition of a function. There is an error that says "You have entered an invalid Maple expression". Why? The function is defined as z__1 := (x,y) -> x+y. Perhaps the issue is the subscript. I don't know but the UI does not tell me.

Here is an example that does not give an error in the form when I click the aforementioned "Maple Math" button. However, what I see below is a broken icon and the equation f := (x,y) -> x + y (exactly like this).

f := (x, y) -> x + y

I am bewildered by the brokenness of this UI. 

I would like to be able to use python's matplotlib from Maple. I am doing the following currently

with(Python)
Start('home' = "/opt/anaconda3/lib/python3.9", 'path' = "/opt/anaconda3/lib/python3.9/site-packages")
ImportModule("matplotlib as mpl")

and the error I get back is

Error, (in Python:-ImportModule) ModuleNotFoundError: No module named 'matplotlib'
['Traceback (most recent call last):\n', '  File "<string>", line 1, in <module>\n', "ModuleNotFoundError: No module named 'matplotlib'\n"]

The string I passed into path is the directory where matplotlib seems to be located as far as I can tell. I looked this up in my IDE Spyder, but using the command print(matplotlib__file__).

UPDATE: but actually if I open a new worksheet and execute 

with(Python)
Start('home' = "/opt/anaconda3/lib/python3.9", 'path' = "/opt/anaconda3/lib/python3.9/site-packages")

The error is that 

Error, (in Python:-Start) unable to start Python: could not create process, mpython

So Maple isn't finding Python apparently.

I tried for 'home' also "/opt/anaconda3/bin", did not work.
 

I've been running some animations on a Macbook Pro 2015 8GB RAM and a Macbook Pro SIlicon 2021 16GB RAM. The problem I was trying to solve was making these laptops run out of memory (animation of a 3D trajectory with 100000 points).

So I switched to a desktop linux setup with 256GB of RAM and 16 cores. I installed Maple and set everything up but it seems SUPER buggy (menus disappearing when I try to hover over their items) and it just crashes on versions of the problem I have that are easy to run even on the 8GB RAM Macbook from 2015.

Is there a history of the Linux version being worse than the Mac version or something? Is there any chance an .mla file I created on a Mac somehow doesn't work correct on Linux? Could it be some internal Maple limitation on memory? I am wondering what it could be.

The OS is Ubuntu 22.10 and the architecture is x86-64.

The requirements say Ubuntu 21.10. Does this mean at least 21.10, or exactly 21.10?

Maple is 2022.2.

Maple Build Number is 1657361

The freezing/crashing of Maple seems to occur when I play an animation. Everything gets slow and then everything stops working. 1000 point trajectory on a sphere. No issue on a much less powerful Macbook.

Here is a worksheet with the calculations I describe below: subintomatrix.mw

I have a simple three dimensional linear system and I want Maple to solve it for me. 

Using LinearAlgebra:-LinearSolve, the solution is the parametrized Vector (t,-2t,t), which I save to a variable solution.

I'd like to be able to substitute a value into t.

eval(solution, {t=1}) does not work, unfortunately.

First 6 7 8 9 10 11 12 Page 8 of 15