<!-- Beginvar i=0;function reponse(form){for(var i=0;i<form.length;i++){if(form[i].checked){break}}var repondu=""if(i<form.length){repondu=form[i].value}return repondu;}function affiche(form,i){var auteur="Arnaud Saint-Martin de www.homeomath.com";var echelle=eval(form.echelle.value);var dim1=eval(form.dim1.value);var dim2=eval(form.dim2.value);var unite1=eval(form.unite1.value);var unite2=eval(form.unite2.value);unite1=Math.pow(10,unite1);unite2=Math.pow(10,unite2);if(i==1){dim2=eval(dim1/echelle);dim2=eval(dim2*unite1/unite2);dim2=arrondi(dim2,10000000);document.formulaire.dim2.value=dim2;};if(i==2){dim1=eval(dim2*echelle);dim1=eval(dim1*unite2/unite1);dim1=arrondi(dim1,10000000);document.formulaire.dim1.value=dim1;};}function arrondi(x,choix){var retour=eval(x*choix);var tronc=Math.round(retour);tronc=eval(tronc/choix);return tronc;}
