{{ 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); | |
− | + | setTimeout(function(){ | |
− | |||
− | |||
− | |||
− | |||
b.show([dragMeS, sinLegend, tangent1],1); | b.show([dragMeS, sinLegend, tangent1],1); | ||
whichFunction.moveTo([0,-20]); | whichFunction.moveTo([0,-20]); | ||
b.board.setBoundingBox([-4.5,3.5,4.5,-3.5]); | b.board.setBoundingBox([-4.5,3.5,4.5,-3.5]); | ||
tangentPoint.moveTo([0,0]); | tangentPoint.moveTo([0,0]); | ||
− | + | },20); | |
}); | }); | ||
Rad 127: | Rad 123: | ||
//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); | |
− | + | setTimeout(function(){ | |
− | |||
− | |||
− | |||
− | |||
b.show([dragMe2, polyLegend, tangent1],1); | b.show([dragMe2, polyLegend, tangent1],1); | ||
whichFunction.moveTo([1,-20]); | whichFunction.moveTo([1,-20]); | ||
b.board.setBoundingBox([-4.5,5.5,4.5,-1.5]); | b.board.setBoundingBox([-4.5,5.5,4.5,-1.5]); | ||
tangentPoint.moveTo([1,1]); | tangentPoint.moveTo([1,1]); | ||
− | + | },20); | |
}); | }); | ||
Rad 143: | 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],1); | |
− | + | setTimeout(function(){ | |
− | |||
− | |||
− | |||
− | |||
b.show([dragMeE, expLegend, tangent1],1); | b.show([dragMeE, expLegend, tangent1],1); | ||
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]); | ||
tangentPoint.moveTo([1,1]); | tangentPoint.moveTo([1,1]); | ||
− | + | },20); | |
}); | }); | ||
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.