#! mavscript --jasymca TEMPLATE.txt
# oder / or
#! mavscript -j TEMPLATE.txt


mavscript --jasymca
-------------------

Eingabe / input:
Länge / length §m l = 10.30 §i m
Breite / width §m b =  2.37 §i m
Höhe / hight   §m h =  4.80 §i m

Ausgabe / output:
Ausgabe mit 4 signifikanten Stellen / output with 4 significant digits §m format 10 4 §n
Das Volumen beträgt §m V = l*b*h §io m³
Twice the volume is §m 2*V §o m³

Das Objekt ist §m if (l>b)  antwort = "länger als breit"; else antwort = "breiter als lang"; end §n§m antwort §o.
The object is rather §m if (h>b)  answer="high"; else answer = "wide"; end §n§m answer §o.

Ein Würfel mit dem selben Volumen §m V §o m³ hat die Seitenlänge
A cube of that volume has the side length
§m a = V^(1/3) §i = §m a §o m.
oder / or
§m syms x; X = solve(x^3 - V, x); float(X) §io


# Anmerkungen / Notes
# -------------------
# Jasymca ist ein Computer-Algebra-System, deren Syntax sich an Octave anlehnt.
# Das Handbuch zu Jasymca ist im Verzeichnis INFO/jasymca enthalten.
# 
# Jasymca is a computer-algebra-system. Its syntax is similar to Octave.
# The Jasymca manual is included in the directory INFO/jasymca.
