ecterrab

13431 Reputation

24 Badges

19 years, 357 days

MaplePrimes Activity


These are replies submitted by ecterrab

@Britzel 
The answer is in the previous reply. Take a look at the guide for tensor computations mentioned. Scrolling one page of that post you will see a section "Tetrads and the local system of references." There is a Tetrads package, not new; it is there in your copy of Maple 2018. The relation between the components of a tensor in a coordinate and non-coordinate bases is as you know, A[mu] = e_[~a, mu] A[a], and A[a] = e_[a,~mu] A[mu]. You can compute with both bases at the same time using different kinds of indices, Simplify tensorial expressions having both types of indices, etc. To compute components in either basis (is that what you want?) you can use TensorArray, say as in TensorArray(A[mu]) and TensorArray(A[a]).

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm 
It works fine here. You have had problems installing this updated, manually moving files around as you told me in private email. I suggests you to entirely delete the toolbox/2019 directory, and reinstall the Updates.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@vv 

Nice workaround. When looking at this problem I thought that wouldn't work in this case because bc[2] would depend on t on the lhs and on xt, on the rhs, but no, that is not a problem, only the dependence of the PDE and the evaluation points in the BC count; and in the PDE, x only appears within u(x, y, t), and there are no derivatives with respect to x, and in the BC x is not evaluated at a point. Indeed replace u(y, t) in your solution (2) by u(x, y, t) and pdetest against the original problem in three variables and you see the solution is correct.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@tomleslie 

The first Physics Updates for Maple 2019 is already available for download through the MapleCloud.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft
Editor, Computer Physics Communications

@acer 

This is just a bug in the extended typesetting of eval. The expected display for convert( u, Diff ) is indeed the one you see in this moment with typesetting = standard. I'll take a look at this during the week and write again here.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

 

@guru kido 
In Define((6)), you need to use the equation label (6), not just the number (6). Give a look to the help pages on how to insert an equation label into an input line. On a Mac it is by pressing Command + L. In Windows I imagine it is by pressing Ctrl + L.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

Hi,
Thanks for your post and comments, Samir. Physics for Maple 2019 comes with a myriad of enhancements. 

Regarding Tensor computations, to mention but one that is quite powerful, on top of the previous simplification capabilities for tensorial expressions, an additional, new, simplifier is in place, using group theory to simplify tensorial expressions taking tensor symmetries into account. Examples of this new simplifier handling expressions not handled in previous releases are in the help page for what is new in Physics in Maple 2019.

Besides tensor computations, a tremendous push happened in Quantum Mechanics, with the introduction of tensor products of quantum states and coherent states, a rewriting of the command for computing Taylor expansions with respect to anticommutative variables, and a new command for sorting the operands in noncommutative products in any desired way taking advantage of commutator and anticommutator rules that were set.

One of the most important things about what is new: there are three significant new documents in the help database of Maple 2019. One of them is this Complete Guide for Tensor Computations that you mentioned. The other two are the Mini-Course: Computer Algebra for Physicists, and another document on the Physics Updates. The latter has 77 descriptive links to the updates of Physics that happened for each release and the most relevant posts from Mapleprimes illustrating the package.

Last but not least, the number of changes under the hood is too large to itemize. One of them, not mentioned in the what's new pages, is that in Maple 2019 the impressive conversion network for mathematical functions of the system can now handle anticommutative and noncommutative variables, which are available when you load Physics. 

Maple 2019 is one of the most voluminous releases ever in what concerns developments in the Physics package, regarding code, documentation and diversity of areas covered.  

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft
Editor, Computer Physics Communications

@guru kido 

Take a closer look ... In (6) you indicate a tensorial equation to be used in the definition of W, but in (7) you do not use it. Compare with my original reply. Your input leading to (7) should be Define((6)). Otherwise the system has no way to know about (6). There is a logic to that.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@guru kido 

The reason is in the error message. By default, spacetime indices are represented by greek letters. Check my previous reply: in the first line I Setup(spacetimeindices=lowercaselatin). You didn't do that, but then you used lowercaselatin letters as indices. Try setting the indices first, or use greek letters (the default, you do not need to set them).

Also: use CompacDisplay to avoid unreadable wallpaper expressions as the one you show in the reply above.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@  James Woodsnm
I'm surprised. I'm writing now to the people who take care of the MapleCloud and its access. Please feel free to write me directly at physics@maplesoft.com or here again updating on the status of things, thanks.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@rrbaldino 

Give a look at the help page for Dirac. There you see four approximations (equation numbers 2, 3, 4 and 5). Plotting any of them is enough for a beginner who just wants to see any plot of Dirac.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@struckmeier

Yes, I received your LaTeX and updated my previous reply, the issue is fixed in the latest Physics Updates.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@John Fredsted 

There is a new post, closer to the concept of e-book mentioned in the previous comments in this thread: A Complete Guide for Tensor computations using Physics. That Guide covers most (aims at covering all) of what is necessary to work in Special and General Relativity using Physics. There is also another documentation new page and post: Overview of the Physics Updates containing an organized presentation, also all in one place, of those elusive additional links to the what's new in Physics pages and Physics relevant posts in Mapleprimes.

I wouldn't claim the e-book on the use of the Physics package, mentioned comments above, now exists but these two pages certainly turn the light ON, significantly, on that matter. These two new pages are now linked in all the Physics help pages.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft.

@SKhan97 

It is mentioned in the post,  "This guide, shown below with Sections closed, is linked at the end of this post as a pdf file with all the sections open, and also as a Maple worksheet that allows for reproducing its contents". So you can give a look with the sections open clicking the pdf link at the end of the post, or downloading the Maple worksheet, opening sections and executing their contentes if you prefer. Incidentially, I didn't put a section on Killing vectors, also not about geodesics - the help pages of the corresponding commands explain how to use them  (enter ?KillingVectors or ?Geodesics).

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@John Fredsted 

Coming back to this issue. I revised now Landau's book and, indeed, the implementation in Physics is not wrong, at all, but you are correct regarding the display of g[a, ~b] as kd_[a,~b], and in the "not use" of kd_[a, b], where kd_ = KroneckerDelta. On page 17, Landau's book defines kd_ as a tensor with one index covariant the other contravariant, as in kd_[a, ~b], not saying whether kd_[a, b] is a tensor, but saying "by raising or lowering one index in kd_[a, ~b] we respectively obtain the contravariant and covariant tensor g_[~a, ~b], g_[a, b] ", which in turn is a tensor, and of course we know that raising and lowering the indices of a tensor the tensor remains a tensor ... but,the resulting kd_[a, b] is not used as such, and g_[a, b] is used instead.

Anyway, I suppose my memory got blurred by the years about this notation detail. Landau's paragraph is also not that good for a computer implementation, where tensors are identified by their name, not by the covariant/contravariant character of their indices. The implementation of what the book says regarding notation also requires some gymnastics, with computations flowing with "kd_ is a tensor only if its indices are one covariant the other contravariant, not otherwise", and g_[a, ~b] is always displayed as kd_[a, ~b],.

On the other hand, following Landau's book also regarding notation proved to be appropriate. I'll spend a day tomorrow verifying to what point such a design can be implemented in a robust way.

Independent of that, kd_[a,b] with both indices covariant will not be a tensor anymore already in the next Physics Updates (i.e. v.282 or higher). That will end, once and for all, the potential problem of using kd_[a, b] (with a, b being space or spacetime indices) in quantum mechanics to represent not a tensor but the standard Kronecker delta symbol (1 if a=b, or if a <> b, and unevaluated when equality cannot be resolved).

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

First 22 23 24 25 26 27 28 Last Page 24 of 60