#! mavscript --beanshell TEMPLATE.txt
# oder / or
#! mavscript-beanshell TEMPLATE.txt
#! mavscript -b TEMPLATE.txt


mavscript --beanshell
---------------------

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:
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";} §n§m antwort §o.
The object is rather §m if (h>b) answer="high"; else {answer = "wide";} §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 λ = Math.pow(V, 1./3.) §i = §m λ §o m.


# Anmerkungen / Notes
# -------------------
# BeanShell ist ein Interpreter der Programmiersprache Java.
# Es verwendet Variablen (auch Unicode), kann aber nicht symbolisch (algebraisch) rechnen.
# Das Handbuch zu BeanShell ist im Verzeichnis INFO/beanshell enthalten.
# 
# BeanShell is an interpreter of the programming language Java.
# It uses variables (unicode chars allowed), but it is not an algebra system.
# The BeanShell manual is included in the directory INFO/yacas.
