{{ 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 111: | Rad 111: | ||
//Sinuskurva | //Sinuskurva | ||
mlg.af("tangent_illustration_1.sinus", function(){ | mlg.af("tangent_illustration_1.sinus", function(){ | ||
− | b.hide([dragMeE, dragMeC, dragMe2, expLegend, polyLegend, tangent2],1); | + | dragMeE.setAttribute({transitionDuration:0,opacity:0}); |
+ | dragMeC.setAttribute({transitionDuration:0,opacity:0}); | ||
+ | dragMe2.setAttribute({transitionDuration:0,opacity:0}); | ||
+ | //b.hide([dragMeE, dragMeC, dragMe2, expLegend, polyLegend, tangent2],1); | ||
+ | b.hide([expLegend, polyLegend, tangent2],1); | ||
//setTimeout(function(){ | //setTimeout(function(){ | ||
b.show([dragMeS, sinLegend, tangent1],1); | b.show([dragMeS, sinLegend, tangent1],1); | ||
Rad 123: | Rad 127: | ||
//Andragradsfunktion | //Andragradsfunktion | ||
mlg.af("tangent_illustration_1.seconddeg", function(){ | mlg.af("tangent_illustration_1.seconddeg", function(){ | ||
− | b.hide([dragMeE, dragMeS, dragMeC, expLegend, sinLegend, tangent2],1); | + | dragMeE.setAttribute({transitionDuration:0,opacity:0}); |
+ | dragMeC.setAttribute({transitionDuration:0,opacity:0}); | ||
+ | dragMe2.setAttribute({transitionDuration:0,opacity:0}); | ||
+ | //b.hide([dragMeE, dragMeS, dragMeC, expLegend, sinLegend, tangent2],1); | ||
+ | b.hide([expLegend, sinLegend, tangent2],1); | ||
//setTimeout(function(){ | //setTimeout(function(){ | ||
b.show([dragMe2, polyLegend, tangent1],1); | b.show([dragMe2, polyLegend, tangent1],1); | ||
Rad 135: | Rad 143: | ||
//Exponentialfunktion | //Exponentialfunktion | ||
mlg.af("tangent_illustration_1.exponential", function(){ | mlg.af("tangent_illustration_1.exponential", function(){ | ||
− | b.hide([dragMeC, dragMeS, dragMe2, polyLegend, sinLegend, tangent2],1); | + | dragMeE.setAttribute({transitionDuration:0,opacity:0}); |
+ | dragMeC.setAttribute({transitionDuration:0,opacity:0}); | ||
+ | dragMe2.setAttribute({transitionDuration:0,opacity:0}); | ||
+ | //b.hide([dragMeC, dragMeS, dragMe2, polyLegend, sinLegend, tangent2],1); | ||
+ | b.hide([polyLegend, sinLegend, tangent2],1); | ||
//setTimeout(function(){ | //setTimeout(function(){ | ||
b.show([dragMeE, expLegend, tangent1],1); | b.show([dragMeE, expLegend, tangent1],1); |
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.