File: vector.dem

package info (click to toggle)
maxima 5.47.0-9
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 193,104 kB
  • sloc: lisp: 434,678; fortran: 14,665; tcl: 10,990; sh: 4,577; makefile: 2,763; ansic: 447; java: 328; python: 262; perl: 201; xml: 60; awk: 28; sed: 15; javascript: 2
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;