Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9093 > unrolled thread

Re: Symbolic tensor analysis in Mathematica 8

Started by"Dave Snead" <dsnead6@charter.net>
First post2012-03-17 07:49 +0000
Last post2012-03-17 07:49 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Symbolic tensor analysis in Mathematica 8 "Dave Snead" <dsnead6@charter.net> - 2012-03-17 07:49 +0000

#9093 — Re: Symbolic tensor analysis in Mathematica 8

From"Dave Snead" <dsnead6@charter.net>
Date2012-03-17 07:49 +0000
SubjectRe: Symbolic tensor analysis in Mathematica 8
Message-ID<jk1fme$4tm$1@smc.vnet.net>
Bring in the notation package by typing
<< Notation`

This will bring up the Notation Palette.
Choose Symbolize from the palette and put your subscripted v1
as the argument.  Mathematica will consider this as distinct from v
and will not recurse.

For functions, type
vx = f[x, y, z]; vy = g[x, y, z]; vz = h[x, y, z];

Derivative is
D[{vx, vy, vz}, x]

Cheers,
Dave Snead



-----Original Message----- 
From: Misery Slave 
Sent: Friday, March 16, 2012 4:33 AM 
Subject: Symbolic tensor analysis in Mathematica 8 

Hello,

Recently I begun to use Mathematica. For now I'm trying to learn to
use it properly.
The first tasks I would like to play with, are vector and tensor
analysis.
The question is:
For simplicity I would like to have vector definition:

v={v1,v2,v3} or v={vx,vy,vz}

where 1,2,3 or x,y,z are subscripts or superscripts. How do I achieve
that? When I write something like that I get the recursion which I do
not want. And the other thing is: how do I tell Mathematica that for
example vx is a function of x,y,z to get something like:

vx=f(x,y,z), vy=g(x,y,z), vz=h(x,y,z)

to describe vector field. But during derivations I may not know
formulas for f,g,h. But when counting the derivative I would like to
get

Dv/dx={f'(x,y,z),g'(x,y,z),h'(x,y,z)}
and so on.

Thanks in advance and
Best regards,
Misery


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web