{{ tocSubheader }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
Karin.hedin@osteraker.se (Diskussion | bidrag) | Karin.hedin@osteraker.se (Diskussion | bidrag) | ||
Rad 135: | Rad 135: | ||
//Exponentialfunktion | //Exponentialfunktion | ||
mlg.af("tangent_illustration_1.exponential", function(){ | mlg.af("tangent_illustration_1.exponential", function(){ | ||
− | b.hide([dragMeC, dragMeS, dragMe2, polyLegend, sinLegend, tangent2], | + | b.hide([dragMeC, dragMeS, dragMe2, polyLegend, sinLegend, tangent2],1); |
setTimeout(function(){ | setTimeout(function(){ | ||
− | b.show([dragMeE, expLegend, tangent1],0); | + | dragMeE.setAttribute({transitionDuration:0,opacity:1}); |
+ | expLegend.setAttribute({transitionDuration:0,opacity:1}); | ||
+ | tangent1.setAttribute({transitionDuration:0,opacity:1}); | ||
+ | //b.show([dragMeE, expLegend, tangent1],0); | ||
whichFunction.moveTo([2,-20]); | whichFunction.moveTo([2,-20]); | ||
b.board.setBoundingBox([-4.5,5.5,4.5,-1.5]); | b.board.setBoundingBox([-4.5,5.5,4.5,-1.5]); |
Man kan därför använda tangenter för att illustrera en kurvas lutning i en viss punkt på grafen.
Lägg märke till att en tangent till en cirkel skapar en rät vinkel med cirkelns radie.