Scripts by Dieter Egger

Deutsche Originalversion

Here are some examples of REDUCE scripts. You can either click the links below to read the scripts in a web browser or you can download them for later input into REDUCE. Since the scripts often use the same variable, it is advisable to restart REDUCE before processing a new script.

Solving equations: algebra.txt

Analyzing functions: analyze.red
Decide on the function to be analyzed, for example "f:=x**3 - 2*x**2;"

Properties: boolean.txt

Analysis: calculus.txt

Physical constants: establish definitions: constants.red; delete definitions: clear_constants.red

Sine, cosine, tangent: example01.red

Binomials, trigonometry, computational accuracy: example02.red

Simple function analysis: example03.red

Simple derivatives: example04.red

Binomials, rules: example05.red

Nested parentheses: heron.txt

Hypergeometry and MeijerG: hypermeijerg.txt
Without LaTeX formatting OK.

Integration, limits: integLimit.red

Integration: integral.txt

Introduction: introReduce.txt

Linear algebra: linalg.txt

Matrix inversion: mat.red

Computation of space-time metrics
Metric-tensor from the equation of the hypersurface of a hypersphere, 2-dim: metric2calc.red, 3-dim: metric3calc.red, 4-dim: metric4calc.red
Riemann, Ricci, Einstein tensors and solution of the field equations, 2-dim: metric2d.red, 3-dim: metric3d.red, 4-dim: metric4d.red

Dynamic variable names: mkid.txt

Partial fractions: partialFraction.txt

Energy of a photon (requires constants.red and clear_constants.red): photonenergy.txt

Prefix operators: prefix.txt

Programming: programming.txt

Simple rules: rules.red

Definition of a function: scalprod.red

Speed of light: speedoflight.txt