Maple 2022 Questions and Posts

These are Posts and Questions associated with the product, Maple 2022

How can I substitute equation (5) into equation (4) to obtain the final form [see image in BE.mw]?

Additionally, how can I use subscript notation for derivatives, such as expressing diff(f(tau,sigma), tau)  as  f[tau]​?

By using the 'declare' command in Maple, one can utilize subscript notation. However, in this case, the function must be written in terms of τ and σ on each step.

Could anyone help me to convert a code written in Mathematica to a Maple worksheet? I have PDF only. Could any one have a look on Mpale sheet and PDF....

Mathematica__to_Maple.mw

Mathematica_file.pdf

aa1.mw      aa2.mw 

In my view, these two processes are similar, but they yield different outcomes. What accounts for this discrepancy?

How to collect coefficients of eta^j, j=0,1 from (7)?

restart

with(LinearAlgebra)

with(plots)

with(Physics)

interface(showassumed = 0)

Setup(mathematicalnotation = true)

[mathematicalnotation = true]

(1)

quantumOperators := {H, Id, Mqu, Mqu1, Theta, X, X1}

{H, Id, Mqu, Mqu1, Theta, X, X1}

(2)

Setup(quantumoperators = quantumOperators)

[quantumoperators = {H, Id, Mqu, Mqu1, Theta, X, X1}]

(3)

assume(x::real); assume(t::real)

alias(q = q(x, t), qb = qb(x, t), r = r(x, t), rb = rb(x, t), psi = psi(x, t), phi = phi(x, t), g = g(x, t), gb = gb(x, t), H = H(x, t), X = X(x, t), X1 = X1(x, t), Theta = Theta(x, t), eta = eta(t), Mqu = Mqu(x, t))

q, qb, r, rb, psi, phi, g, gb, H, X, X1, Theta, eta, Mqu

(4)

``

NULL

D1 := (Id*eta-H).X

eta*Physics:-`*`(Id, X)-Physics:-`*`(H, X)

(5)

D2 := diff(D1, x); D3 := subs({diff(X, x) = Mqu}, D2)

eta*Physics:-`*`(Id, diff(X, x))-Physics:-`*`(diff(H, x), X)-Physics:-`*`(H, diff(X, x))

 

eta*Physics:-`*`(Id, Mqu)-Physics:-`*`(diff(H, x), X)-Physics:-`*`(H, Mqu)

(6)

D3+D1 = D1*Mqu1

eta*Physics:-`*`(Id, Mqu)-Physics:-`*`(diff(H, x), X)-Physics:-`*`(H, Mqu)+eta*Physics:-`*`(Id, X)-Physics:-`*`(H, X) = Physics:-`*`(eta*Physics:-`*`(Id, X)-Physics:-`*`(H, X), Mqu1)

(7)

collect(coeff, eta, 1)

1

(8)

collect(coeff, eta, 0)

0

(9)
 

NULL

Download coefff.mw

mm.mw    I want to obtain T_1*P_1*T_2*P_2*T_3*P_3. What should I do?

Hi,

I recently moved from Windows 10 to Windows 11. I am using Maple 2022.2, and I got that installed and working OK. 

I have four Maple worksheets that I have saved as tasks on Windows 10, but my OS move requires some adjustments. When I try save the modified worksheets to the default Maple help database, I get an error saying that the database is read-only. When I try to make a new database file, Maple asks if it should create it, but then I get an error that Maple can't open the new database.

Suggestions?

Thanks,

Jno.

I have some lecture notes and examples that suddenly appears to be corrupted. I am getting the following error code when trying to open the file: "There was a problem in the loading process, you worksheet may be incomplete."

I've tried the following trouvleshooting:

- Close and reopen Maple

- Restarting computer

- Tried different computer

note: I have no backup files as I do not have autosave switched on.

I have also tried looking into the solution posted on a previous question on this site (https://www.mapleprimes.com/questions/235363-How-To-Fix-Corrupted-Maple-File), i.e.  changing the file format to.xml and making changes but with no luck :(

Is anyone able to help me fix it and un-corrupt this file:

Lecture_2_-_notes.mw

How to find the dispersion relation (9). Although I calculated the dispersion relation (see Eq. (3) in DR_1.mw), it is not consistent as in the image. 

 

Solving differential equations, Maple sometimes unfortunately returns the solution in an utterly  unusable form I never encountered a use for.

As an example a solution was found assuming separation of variables. Maple returns the following solution,

X(ts) = DESol({diff(_Y(ts), ts, ts) + (a^4*m^2*cos(ts)^4 etc. etc. etc.}, {_Y(ts)})

Is there a command where I can just get the argument of the solution, namely the differential equation diff(_Y(ts),ts,ts) + etc  ?  or even better as diff(X(ts),ts,ts) + etc   as I intended and expected it to be without the silly and unnecessary proxy variable _Y(ts) ?

It is such a pity that Maple return these results not as a differential equation in F2(ts), but gives the result in a proxy variable which isutterly unnecessary.

Anyway, if anyone knows a command just to get the argument of the solution above to get rid of all the unnecessary and proxy structure, I will appreciate it as I currently copy the solution and redefine it, which can introduce errors and destroys the generality of the document.

Hi everyone!

I am trying to count the number of operations (addition, subtraction, multiplication, division) in object "A".  I have donea lot of searching around, but haven't been able to find out how to do this.  Some help would be appreciated!

Count_the_number_of_operations_in_A.mw

Hi everyone!

I am trying to build a matrix using for loops.  I have been unable to construct a matrix using one "double" for loop using variables i and j.

Instead, I have 5 "single" for loops.  Could someone show me how to do this using a "double" loop over i and j (rows and colums)?

Thanks so much!

How_to_do_this_using_one_double_loop.mw

Hi,

When I enter this command into maple and press enter, nothing is produced.  That's the "first" problem.  However, what I am trying to do is to figure out how many calculations (multipication, addition, subtraction, division) are performed for each variable that "solve" is designed to solve.  Basically, how many math operations are performed when calculating A?

Thanks for your help!

Count_operations.mw

Hello

in this example Untitled.mw Maple 2022 on MacOs  'finds' a minimum bigger than the maximum.

It looks like something is wrong...

Best Nicola

So I have this Maple document that I worked on yesterday, and now when I open it it just opens as the start-up screen where I can choose between document and worksheet mode. I can see that the file is much larger (900 kb) than an empty document, so it should definitely have the data still in there, but opening it with a text editor I couldn't manage to fix my issue. Does anyone have any tips? I have a back-up of the file (from the restore backup menu), but most of the content is not there, so it would be very helpful to get this one fixed.

Exercises.mw
Thanks in advance, 
Kristian.

1 2 3 4 5 6 7 Last Page 1 of 39