answers=["Norden","Osten","Süden","Westen"];
vs1 = (vs1==0) ? 12.345 : vs1;
By = (richtung==1) ? Ay+vs1 : Ay;
By = (richtung==3) ? Ay-vs1 : By;
Bx = (richtung==2) ? Ax+vs1 : Ax;
Bx = (richtung==4) ? Ax-vs1 : Bx;
Cx = Bx+vs2x;
Cy = By+vs2y;
strecke1 = abs(vs1);
strecke2 = sqrt(vs2x*vs2x+vs2y*vs2y);
strecke_gesamt = strecke1+strecke2;
geschw = km/minuten*60;
zeit = strecke_gesamt/geschw;
zeith = floor(zeit);
zeitm = floor((zeit-zeith)*60);
zeits = (zeit-zeith)*3600-zeitm*60;
richtungw = pick(richtung,"","North","East","South","West");