File: vector.dem

package info (click to toggle)
maxima 5.27.0-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 120,648 kB
  • sloc: lisp: 322,503; fortran: 14,666; perl: 14,343; tcl: 11,031; sh: 4,146; makefile: 2,047; ansic: 471; awk: 24; sed: 10
file content (11 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11

/* *****  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;