<!-- Begin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){var ab=eval(form.ab.value);var bm=eval(form.bm.value);var b=eval(form.angle.value);var auteur="Arnaud Saint-Martin de www.homeomath.com";var texte="";var bc=0;var bn=0;var bp=0;var r1=0;var r2=0;var r3=0;if((bm<ab)&&(b<90)&&(b>0)){bc=eval(ab/Math.cos(b*Math.PI/180));bn=eval(bm/Math.cos(b*Math.PI/180));bp=eval(bm*Math.cos(b*Math.PI/180));bc=arrondi(bc,10);bn=arrondi(bn,10);bp=arrondi(bp,10);r1=arrondi(eval(bm/bn),100);r2=arrondi(eval(ab/bc),100);r3=arrondi(eval(bp/bm),100);texte="BM/BN = "+bm+"/"+bn+" = "+r1+"\n";texte=texte+"BA/BC = "+ab+"/"+bc+" = "+r2+"\n";texte=texte+"BP/BM = "+bp+"/"+bm+" = "+r3+"\n";texte=texte+"On trouve sensiblement la même valeur, ce nombre "+"\""+r1+"\" s'appelle le rapport de projection orthogonale, il ne dépend que de l'angle ABC.";texte=texte+"\nOn l'appelle aussi le cosinus de l'angle ABC et on le note cos ABC.";}else{alert("M est un point du segment [AB] et l'angle ABC est aigu ! ");texte="";};document.formulaire.texte.value=texte;}function arrondi(x,choix){var retour=eval(x*choix);var tronc=Math.round(retour);tronc=eval(tronc/choix);return tronc;}function imageab(f,a,b){var ch=f;var valeur=0;ch=ch.replace(/\./g,"&");ch=ch.replace(/\+/g,"|");ch=ch.replace(/a/g,a);ch=ch.replace(/b/g,b);valeur=eval(ch);return valeur;}
