Latihtan Integral Numerik 2023
Latihtan Integral Numerik 2023
Latihtan Integral Numerik 2023
NIM : 21045000008
MATAKULIAH : Metode Numerik Dan Komputasi
DOSEN PENGAJAR : Ir. H. ABD. RABI , M.Kom.
ℎ 𝑓
3 0 +𝑓 +4 𝑘=gasal 𝑓 +2 𝑘=genap 𝑓
2π σ 𝑡𝑘 σ 𝑡𝑘
Jika jumlah pita 10 h = 2π−0 = 0.6283…
10
π 2π 3π 4π 6π 7π 8π 9π
t 0
5
π 2π
5 5 5 5 5 5 5
f(t) 3.0000 2.6968 2.1160 2.1160 2.6968 3.0000 2.6968 2.1160 2.1160 2.6968 3.0000
s 0.6283
3 3 + 3 + 4 2.6968 + 2.1160 + 3 + 2.1160 + 2.6968 + 2(2.1160 + 2.6968 + 2.6968 + 2.1160 )
>> h=(2*pi-0)/10; t=[0:h:2*pi]'; >> s=(h/3)*(f(0)+f(2*pi)
>> f=@(t) sqrt(4*sin(t).^2+9*cos(t).^2); +4*gasal+2*genap)
>> gasal=sum(f(t(2:2:end-1)));
>> genap=sum(f(t(3:2:end-2)));
⇒ s ≈ 15.8657
Jika jumlah pita 100000 h = 2π−0
100000
>> h=(2*pi-0)/100000; t=[0:h:2*pi]';
>> f=@(t) sqrt(4*sin(t).^2+9*cos(t).^2);
gasal=sum(f(t(2:2:end-1)));
>> s 15.865439589290602
>> genap=sum(f(t(3:2:end-2)));
>> s=(h/3)*(f(0)+f(2*pi)+4*gasal+2*genap)
𝑑𝑥 2 𝑑𝑦 2
ds = 𝑑𝑡 + 𝑑𝑡
𝑑𝑡
2𝜋
s = ʃ 0 16sin2(𝑡) + 36cos2(𝑡) 𝑑𝑡
ℎ 𝑓
3 0 +𝑓 +4 𝑘=gasal 𝑓 +2 𝑘=genap 𝑓
2π σ 𝑡𝑘 σ 𝑡𝑘
Jika jumlah pita 100000 h = 1−0
100000
>> h=(1-0)/100000; t=[0:h:1]';
>> f=@(t) pi*sqrt(16*sin(2*pi*t).^2+36*cos(2*pi*t).^2);
gasal=sum(f(t(2:2:end-1)));
>> s 15.86541975251152
>> genap=sum(f(t(3:2:end-2)));
>> s=(h/3)*(f(0)+f(2*pi)+4*gasal+2*genap)
c. x = 2cos3(2t); y = 2sin3(2t); 0t1
https://openomnia.com/parametric-curve
s 21.2695