MaplePrimes Questions

Hi all, 

When I am differentiate the composite functions, I wanna make the output more elegant.

For example, from the following code:

restart;
A__1 := A__0 + k(e)*a__1;
diff(phi(A__1), a__1);

I define a function phi(A__1) and function A__1(a__1), and the latter is known. 

But Maple output:

D(numtheory:-phi)(A__0 + k(e)*a__1)*k(e)

I think "D(numtheory:-phi)(A__0 + k(e)*a__1)" part can be simplified into d(phi)/d(A__1).

Do you have some ideas? Thanks!

Trying to use the following question dialog

with(Maplets[Elements]);
maplet := Maplet(QuestionDialog("Is x > 0?"));
result := parse(Maplets[Display](maplet));

Displays question with Yes and No buttons but whichever button is clicked the result is always false.  This was based closely on an example from the documentation.

So, how can I tell which button was clicked.  Also, the close button could have been clicked - how should that be dealt with?

In 1D worksheet mode I can't figure out how to insert a line between a and c. 

restart

a:=1
                             a := 1

c:=3
                             c := 3


Hello guys.

Is there any way to convert a worksheet to a document and vice versa?

Regards,

Oliveira.

Hello, everyone. I have plotted a simple equation and now have the following observation regarding it.

1- How to change or control axis style mean style like bold, colour change etc?

2-  How to change or control the font, colour and style of numbers written automatically by maple while plotting on the axis (x-axis, y-axis)?

3- How to change the font, style and colours of labels?

The problem I am facing is that whenever I save or import any graph as png or jpeg and then paste it into MS word, it's quality or pixel changes and it looks very bad. is there any way to save and paste good-quality pictures into documents that means DPI?

Qaulity_Help.mw

I am trying to use procedures for the first time in a Document.  I copied and pasted an example (addList) from the documentation into my document.  This example works fine but putting a restart at the beginning of the Document breaks it and I don't understand why.

I am also trying to write my own very first procedure, more or less following the pattern of the example, but that is giving an unable to parse error and, again, I don't understand why.

I am sure this is a very simple error on my part but I would appreciate some help un understanding what I am doing wrong.

Thank you.

ProcsTests.mw

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.

Dear all

I get any error when do sum opereration on elements matrix

please correct me

thank you

Download Question-3.mwQuestion-3.mwQuestion-3.mw

I'm writing firmware for a floating point unit on a DSP.

The single-precision (32-bit) number format includes:
· 1 sign bit: 0 means the value is positive and 1 means the value is negative.
· 8-bit exponent: This exponent is biased to allow for both positive and negative exponents.
· 23-bit mantissa: The mantissa includes an implicit leading 1 plus the fractional bits.

Is there a way to define the float as 32 bit and then convert it to binary representation in maple?

Or would I have to manually compute it in maple?

Thanks for your help

Reference 

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.

I can save a variable M (actually a matrix) using

save M, "Test" or save M, "Test..xyz"

where .xyz can be any file extension except .m  This saves the variable in "Maple language format" and it can be restored using

read "Test" or read "Test.xyz".

But if I save with a .m extension

save M,"Test.m" then

read "Test.m" does not seem to restore the variable. What am I missing?

Secondly, is there a recommended file extension for a Maple language format file created with the save command?

xwhat is the fenchel conjugate transform of f(x)=x*x2*x3 over xi in R?  the general question is what is the fenchel transform of a polynomial that is not a quadratic?

I am aware of the palette that has this symbol, but I want to be able to type it as this is way more efficient use of time.

How do we type it in?

How should I draw a 2D graph for which one parameter in x axis and 3 parameters in y axis change with respect to x axis parameter in same graph. To be exact in my problem for changing β value (in x axis) what will be the optimum value for p, q and e. I had obtained the optimum p (named as ptemp in file), optimum q (named as qtemp in file), optimum e (named as etemp in file) for different values of β. But I don’t know how to plot it? Whether to give plot command inside the loop or not? Please help me. I am attaching the file with code and a sample graph. ( Find the problem in Numerical analysis - below in file)                                        new_assignment.mw

Consider the system of two equations 

x+y=2

x*y=4

Let's try to solve this using Maple's solve command.

This seems at first glance like one solution, but actually it is two, which I see if I use evalf.

Solving the equations by hand I get two solutions

y=1+sqrt(3)*i, x=4/y

y=1-sqrt(3)*i, x=4/y

If I use evalf on these two solutions I get the same result as the two solutions using solve.

My question is where does the expression y=2* RootOf(_Z^2-_Z+1) come from?

By hand, seems to be the solution to y^2-2y+4=0.

First 133 134 135 136 137 138 139 Last Page 135 of 2308