File:Serie di Taylor della funzione seno.gif
Summary
Description |
Italiano: Approssimazione della funzione seno con polinomi di Taylor di grado 1,3,5,7,9,11 e 13 nel punto x0 = 0. Animazione realizzata con Gnuplot.
set terminal gif animate delay 75
set xrange[-2*pi:2*pi]
set yrange[-2:2]
set grid
set output "TaylorSin.gif"
set label at 4.9,1.5
set label "n = 1" at 4.9,1.7 tc rgb "red"
plot x notitle, sin(x) notitle
unset label
set label "n = 3" at 4.9,1.7 tc rgb "red"
plot x-x**3/6 notitle, sin(x) notitle
unset label
set label "n = 5" at 4.9,1.7 tc rgb "red"
plot x-x**3/6+x**5/120 notitle, sin(x) notitle
unset label
set label "n = 7" at 4.9,1.7 tc rgb "red"
plot x-x**3/6+x**5/120-x**7/5040 notitle, sin(x) notitle
unset label
set label "n = 9" at 4.9,1.7 tc rgb "red"
plot x-x**3/6+x**5/120-x**7/5040+x**9/362880 notitle, sin(x) notitle
unset label
set label "n = 11" at 4.9,1.7 tc rgb "red"
plot x-x**3/6+x**5/120-x**7/5040+x**9/362880-x**11/39916800 notitle, sin(x) notitle
unset label
set label "n = 13" at 4.9,1.7 tc rgb "red"
plot x-x**3/6+x**5/120-x**7/5040+x**9/362880-x**11/39916800+x**13/6227020800 notitle, sin(x) notitle
|
Date | |
Source | Own work |
Author | Gabry |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.