In a previous post we discuss the definition of the coordinated patch on a manifold, how to define differential forms, wedge them or calculate their exterior derivative… even simplify’em. This time a zero form will be defined and a list of forms will be created… So, let’s begin! Define a 0-form Once created the coordinated [...]
Posts Tagged ‘Web Browser’
SAGE tip: GRmodule. Day 07.
Posted in Mathematics, Physics, SAGE, tagged Calculation, chrome, chromium, CLI, Command, Dictionary, Eye, Free, Functions, General, GRPy, How to, HowTo, Install, Joris, Keys, Line, Linux, Maple, Mathematica, Mathematics, Matlab, Module, Notebook, Numpy, Packages, Physics, Programming, Python, Relativity, Sage, Sage-dev, Sagemath, Science, Symbolic, Sympy, Tensor, Tensors, Terminal, Tips and Tricks, Ubuntu, Vankerschaver, Web Browser on February 26, 2011 | Leave a Comment »
This code is supposed to be (if some one does the work in the future) located in sage.tensor.differential_form_element. The code presented below is a slight modification of Joris code for differential forms manipulation on SAGE. Needed modules from sage.symbolic.ring import SymbolicRing, SR from sage.rings.ring_element import RingElement from sage.algebras.algebra_element import AlgebraElement from sage.rings.integer import Integer from [...]
SAGE tip: Exponentiate a Matrix
Posted in Linux, Mathematics, Physics, Science, tagged Differential, Exponentiate, Geometry, Groups, How to, HowTo, Linux, Maple, Mathematica, Mathematics, Matlab, Matrix, Mechanics, Notebook, Operator, Programming, Python, Quantum, Rewrite, Sage, Sage-dev, Sagemath, Simplify, Symbolic, Terminal, Theory, Tips and Tricks, Ubuntu, Web Browser on February 24, 2011 | 2 Comments »
From time to time when one works with operators, such as in Quantum mechanics, something like an exponential of the operator appears (this is also the case in many areas of Mathematics like group theory of differential geometry). This exponentiation of a matrix should be understood as the series expansion of the exponential. SAGE knows [...]
SAGE tip: GRmodule. Day 06.
Posted in Science, tagged Calculation, chrome, chromium, CLI, Command, Dictionary, Eye, Free, Functions, General, How to, HowTo, Install, Keys, Line, Linux, Maple, Mathematica, Mathematics, Matlab, Module, Notebook, Numpy, Packages, Physics, Programming, Python, Relativity, Sage, Sage-dev, Sagemath, Science, Symbolic, Sympy, Tensor, Tensors, Terminal, Tips and Tricks, Ubuntu, Web Browser on February 22, 2011 | Leave a Comment »
I’ve just updated the SAGE worksheet which uses the definitions described in the previous posts. There are some explanations in text format The code has been hidden… because is long. Moreover… I’ve discover something really amazing! Joris Vankerschaver‘s code of the differential form package in SAGE. Thus, I could use some ideas from Joris’ code [...]
SAGE tip: Series Expansion
Posted in Linux, Mathematics, Physics, Science, tagged Calculation, chromium, CLI, Command, Expansion, Free, Google, Group, Groups, How to, HowTo, Linux, Maple, Mathematica, Mathematics, Matlab, Notebook, Online, Packages, Programming, Python, Sage, Sage-dev, Sagemath, Series, Symbolic, Taylor, Terminal, Tips and Tricks, Ubuntu, Web Browser on February 19, 2011 | Leave a Comment »
Two days ago I was trying to expand in series a lot of functions… so I ask myself, Could it be done in SAGE? It should be possible… but, How? So I ask on google group. Solution by Andrzej Chrzeszczyk sage: var(‘r’); sage: f=2*r/sinh(2*r) sage: f.taylor(r,0,5) 14/45*r^4 – 2/3*r^2 + 1 sage: maxima(f).powerseries(‘r’,0) -4*r*’sum((2^(2*i2-1)-1)*2^(2*i2-1)*bern(2*i2)*r^(2*i2-1)/ (2*i2)!,i2,0,inf) [...]