Blogger Widgets
Sumber : http://yaqindlive.blogspot.com/2013/02/cara-membuat-judul-dan-deskripsi-blog.html#ixzz2lk2g83rd

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Barcelonistas

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Selasa, 22 Mei 2018

Menghitung jumlah bilangan ganjil kurang dari 100 dengan Matlab

Assalamualaikum warahmatullahi wabarakatuh.

Kali ini admin akan membagikan tips menghitung jumlah  barisan bilangan ganjil yang kurang dari 100 dengan aplikasi Matlab.

Langkah-langkahnya sebagai berikut:
1. Buka aplikasi Matlab anda.
2. Pilih menu New klik script, lalu masukkan scrip seperti gambar berikut:

 

Lebih jelasnya sebagai berikut:
f(1)=1;
f(2)=3;
k=3;
while f(k-1)<=100
    f(k)=2*k-1;
    k=k+1;
end
jml=0;
for n=1:k-2
    disp(f(n))
    jml=jml+f(n);
end
disp(['Jumlahnya adalah ' num2str(jml)])


_______________________________________________________
 3. Save dan beri nama sesuai dengan yang anda inginkan misal "ganjil" . 
4. Lalu panggil nama tersebut di command window yang sebelumnya klik menu Run

 

 

5. Oke sekian tips dari admin.

Wassalamualaikumwarahmatullahiwabarakatuh

Link Kampus: http://siakad.unja.ac.id/