File: vector.dem

package info (click to toggle)
maxima 5.42.1-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 150,192 kB
  • sloc: lisp: 382,565; fortran: 14,666; perl: 14,365; tcl: 11,123; sh: 4,622; makefile: 2,688; ansic: 444; xml: 23; awk: 17; sed: 17
file content (12 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
load("vector");

/* *****  This DEMO appears to be broken.  Please use the VECT 
package on the SHARE directory. - JPG 6/5/78  ***** */

/* First, we establish p, q, f, and g as vector entities: */
declare([p, q, f, g], nonscalar);
/* To attempt to prove the following vector identity: */
p cross q dotdel f cross g + q cross f dotdel p cross g +
	f cross p dotdel q cross g = 0;
/* Now determine the expansion of: */
laplacian %pi*(s+h) = div 3*s*p;