7. sin 𝑥 = 𝑥 Jawab : sin 𝑥 = 𝑥 A =𝑥 S =1 i =1
𝑥3 3!
+
𝑥5 5!
-…+
(−1)𝑛−1 𝑥 2𝑛−1 (2𝑛−1)!
A = - 𝑥 3 = 𝑥*(- 𝑥 2 ) = A*(- 𝑥 2 ) S = 3! = 3 x 2 x 1 = 3 * 2 * 5
sin 𝑥 = 𝑥 -
𝑥3 3!
= sin 𝑥 +
𝐴 5
i=2
A = 𝒙𝟓 = (- 𝒙𝟑 )(- 𝒙𝟐 ) = A * (- 𝒙𝟐 ) S = 𝟓! = 5 x 4 x 3 x 2 x 1 = 5 * 4 * 5 𝒙𝟑 sin 𝒙 = 𝒙 𝟑!
. . . i=n
𝒙𝟓 + 𝟓!
𝑨 = sin 𝒙 + 𝟓
A = A * (- 𝒙𝟐 ) S = (2n+1)! = (2n+1)*(2n)*5 sin 𝒙 = sin 𝒙 +
𝑨 𝟓
A = A * (- 𝑥 2 ) S = (2i+1) * (2i) * s i = 1,2,…,n sin 𝑥 = sin 𝑥 +
𝐴 𝐹
Algoritma Masukan : n Keluaran : sin 𝑥 Langkah-langkah : 1. sin 𝑥 = 𝑥 2. A = 𝑥 3. S = 1 4. Untuk i = 1,2,…,n maka lakukan A = A * (- 𝑥 2 ) S = (2i+1) * (2i) * s sin 𝑥 ∶ = sin 𝑥 +
𝐴 𝐹