MaplePrimes Questions

 I have a long list of integers looking like

   725  =  5^2 * 29

  1125 =  3^2 * 5^3

   2048 = 2^11

   4752 = 2^4 * 3^3 * 11

  For all of them I need to extract  base & exponents, namely

  for  725:   [5,2, 29,1]

   for 1125: [3,2, 5,3], etc

   "op" gets lost for integers like  2048, power of a single number.

 How to do this ?...  Thanks.

If a sub-procedure A is defined inside another procedure B, and procedure B is called in a performance-critical inner loop, will the Maple interpreter read the definition of A again every time procedure B is called? I'm wondering if I should just avoid nested procedures, as how you would write programs in C, as opposed to Pascal which allows nested procedures.

Hello, I am trying to fix the problem reported below.

I am using the 64 bit version of Maple 2020.1. I am experiencing similar problems with other java applications. So I believe it must be something related to Java.

Moreover, it looks like the local refreshing problem is following the cursor of the mouse, therefore it must be something related to the interaction of the mouse with the GUI.

I am using a I7 CPU, 32 GB of Ram and a Nvidia Geforce RTX 2070.

Is anyone experiencing something like this? How can I fix this?

Hi,

I have a small problem initializing my random variables. When I run the sheet with the!!! button, the values do not change. Do you have any ideas?

Thanks

QinitierVariables.mw

Hello Everyone,

I am fairly new with Maple, but I am slowly getting the hang of it.

For a university project I need to be able to create a form where a user can input a matrix manually.
Also, I need to have something like a ComboBox where I can input how many rows that matrix will need. (1-20 or so)

I have solved the latter part by adding a "When Use"-Code that sets my Array/Matrix of the DataTable to be a Zero Matrix with the correct dimensions in accordance with the value chosen in the ComboBox.
(This is for a composite calculation, the ComboBox gives the number of plies, the matrix defines the ply orientation)

I then expected that the ZeroMatrix would serve as the baseline and the user can then manually edit the Matrix to be the correct values manually, but this gives me the error message that the DataTable cannot be edited.
I suspect the ZeroMatrix is now the "Master", because I defined it via Code.

Working with "visibleRows" did not help, because it does not change the matrix size only the size of DataTable and the user can still scroll down.

What I need is that I have a fully editable DataTable with exactly the number of rows that I specified using the ComboBox.

Does anyone of you perhaps have an idea what I could do to achieve this?
Any help would be fantastic! :)

Best Regards,
Lennart

I have been stuggling with this for a few hours. I have my function 4x^2+9y^2. I have my point (2,1,25). I found my gradient to be 16i+18j. I want to plot the level curve that contains the point (2,1,25) and the gradient together. 

I know how to graph multiple level curves but not one.

Thank you in advanced!

How to pdsolve(diff( f(a,b), a+b) = diff( f(a,b),a))?

My personal edition of Maple 2020 throws java-lang-thread for every plot3d. No further output is provided by Maple. How can I further troubleshoot this?

Dave

I am trying to use the command FileTools[Text][ReadFile] to import the contents of a text file as a string in maple, but I want to be able to identify when line breaks occur, instead of the white space that I get.

Is this possible?

Recently i'm noticing that mathematica is basically a mind-reader with their FullSimplify function, whereas maple even with simple expressions does not show what I would consider optimal (I agree this will be somewhat subjective).

Here is a trivial example:
ex1:=(2*sqrt(N__s) + N__s + 1)/(2*N__s + 2);

none of these are any help
simplify(ex1);
simplify(ex1, size);
simplify(ex1, symbolic);
simplify(ex1, sqrt);
simplify(ex1, sqrt, symbolic);

The ideal expression I would like to see here is:
1/2 + sqrt(N__s)/(N__s + 1)

Am I doing it all wrong (suppose I don't know of this simple form beforehand)?

Mathematica gets it right - see the following screenshot:

I'm finding this a lot... especially when hyperbolic functions and sqrt's are involved ("symbolic" option helps sometimes, but often the expressions are still not what I would consider "simplifed").

Why do I get an error when using this:/// during readin of a xml attachment in Maple workbook?

Exceltools Import works without problems.

ReadXML.zip

Is there any programming or package to solve my problem. I am poor in programming. 

Thanks sincerely!

 

Hello,

I am trying to solve some coupled equations. however, I keep getting the error ' invalid subscript selector.

Does anybody have any solution for this?

here is the file : -

error.mw

 

Thanks !

Regards,

Mota

I am so sorry for all of the questions. I am getting extremely frustrated with Maple. 

I want to plot a 3D rendering of 4x^2+9y^2 but I want the full paraboloid to show. However, all I keep getting is cut off versions.

 

First 500 501 502 503 504 505 506 Last Page 502 of 2428