Laporan Pemrograman Komputer

LAPORAN 1 PEMROGRAMAN KOMPUTER
“MENCARI BESAR ARUS PADA RANGKAIAN 2 LOOP TERTUTUP DENGAN MENGGUNAKAN PRINSIP MATRIKS PADA APLIKASI MATLAB”

Disusun oleh :
Wanda Juanda Putra (17306144012)
Dani Setyo Yoanto (17306144013)
Ghufron Utsman Affandi (17306144014)

JURUSAN PENDIDIKAN FISIKA
PROGRAM STUDI FISIKA
FAKULTAS MATEMATIKA DAN ILMU PENGETAHUAN ALAM
UNIVERSITAS NEGERI YOGYAKARTA
2017

A. PERMASALAHAN
Menyelesaikan persamaan rangkaian 2 loop tertutup dengan menggunakan model matriks pada aplikasi MATLAB.
Mencari besar arus dalam rangkaian 2 loop tertutup dengan model matriks pada aplikasi MATLAB.
B. TEORI SINGKAT
Hukum II Kirchhoff menyatakan bahwa ‘Di dalam sebuah rangkaian tertutup, jumlah aljabar gaya gerak listrik (є) dengan penurunan tegangan (I.R) sama dengan nol.’ Maksudnya adalah tidak ada energi listrik yang hilang dalam rangkaian tersebut, atau dapat dikatan semua energi yang ada di dalam rangkaian tersebut dapat diserap atau digunakan ketika penurunan potensial sama dengan nol.
Hukum II Kirchhoff secara umum dapat dituliskan dengan rumus : Σє +ΣIR = 0. Hukum II Kirchhoff dapat digunakan dalam menyelesaikan masalah pada rangkaian tertutup, seperti pada rangkaian satu loop, dua loop, dan rangkaian multi-loop.

Jika terdapat rangkaian 2 loop tertutup seperti gambar di atas, kita dapat menyelesaikan permasalahan di atas dengan menggunakan hukum II Kirchhoff. Dengan mengetahui bahwa nilai Loop 1 adalah e1, R1 dan R3 ; dan Loop 2 adalah e2, R2 dan R3. Dengan catatan e1 (epsilon1) dan e2 (epsilon2) adalah sumber tegangan. Sementara itu, R1, R2, dan R3 adalah resistor (hambatan). Setelah mengetahui nilai loop 1 dan 2, maka kita dapat menuliskan. Loop 1 : e1 = i1 R1 + R3 (i1 – i2) dan Loop 2 : R2 R3 i2 + (i2 – i1). Dari persamaan loop di atas, kita dapat menuliskannya dengan bentuk matriks, dengan mengetahui nilai e(epsilon) dan R (hambatan) yang ada dalam rangkaian. Persamaan loop di atas dapat dituliskan dengan matriks:

Secara rinci, matriks di atas dapat dituliskan: I = inv(R)*e
Matriks di atas dapat diselesaikan dengan menggunakan aplikasi, salah satunya dengan menggunakan aplikasi MATLAB dengan menggunakan prinsip matriks.
C. PENYELESAIAN
a. Diagram Alir (Flow Chart)

b. Algoritma
1. Input nilai e (epsilon) dan R (hambatan).
2. Membuat data berupa bentuk matriks dari nilai E (epsilon), dan R (hambatan).
3. Menampilkan data E, dan R, dengan menambah variable pada masing-masing data
4. Mencari nilai I, dengan membuat rumus I = inv (R)*E
5. Menampilkan pilihan hasil yang akan ditampilkan
5.1 Tampilan 2, cara dan penyelesaian
6. Tampilkan output/hasil dari I = inv (R)*E
7. Selesai

c. Program

clear
clc
disp(‘Menentukan Besar Arus pada Rangk. Loop dengan menggunakan MATLAB’);
disp(‘Diketahui Persamaan LOOP: ‘);
disp(‘loop1 : epsilon1= I1*R1+R3(I1-I2)’);
disp(‘loop2 : epsilon2= I2*R2+R3(I2-I1)’);
disp(‘ ‘);

disp(‘Masukkan besar tegangan dan hambatan yang anda inginkan:’);
epsilon1=input(‘epsilon1= ‘); %nilai tegangan (v)
epsilon2=input(‘epsilon2= ‘); %nilai tegangan (v)
E=[epsilon1;
epsilon2;]; %nilai tegangan (v)

R1=input(‘R1= ‘); % hambatan 1 (ohm)
R2=input(‘R2= ‘); % hambatan 2 (ohm)
R3=input(‘R1= ‘); % hambatan 3 (ohm)
R=[R1
R2
R3]; % hambatan 1,2 dan 3(ohm)
E=[epsilon1
epsilon2];
R=[R1+R3 -R3
-R3 R2+R3];
I=inv(R)*E;

disp(‘Anda telah memasukkan data’);
disp(‘Tekan untuk melanjutkan’);
pause
clc
disp(‘Data yang anda masukkan adalah:’);
disp([‘epsilon1= ‘, num2str(epsilon1),’volt’]);
disp([‘epsilon2= ‘, num2str(epsilon2),’volt’]);
disp([‘R1= ‘, num2str(R1),’ohm’]);
disp([‘R2= ‘, num2str(R2),’ohm’]);
disp([‘R3= ‘, num2str(R3),’ohm’]);
pause
clc
disp (‘Anda ingin mencari?’);
disp(‘1. Besar arus yang dihasilkan’);
disp(‘2. Cara dan penyelesaiannya’);
pilihan=input(‘Pilihan anda adalah nomor= ‘);

switch pilihan
case(1)
disp(‘Arus pada rangk. tersebut adalah’);
I=inv(R)*E;
case(2)
disp(‘Cara penyelesaian:’);
E=[epsilon1
epsilon2]
R=[R1+R3 -R3
-R3 R2+R3]
disp(‘I=inv(R)*E’);
I=inv(R)*E
end
d. Hasil Keluaran
Diketahui Persamaan LOOP:
loop1 : epsilon1= I1*R1+R3(I1-I2)
loop2 : epsilon2= I2*R2+R3(I2-I1)
Masukkan besar tegangan dan hambatan yang anda inginkan:
epsilon1=
epsilon2=
R1=
R2=
R1=
Anda telah memasukkan data
Tekan untuk melanjutkan
Data yang anda masukkan adalah:
epsilon1= volt
epsilon2= volt
R1= ohm
R2= ohm
R3= ohm
Anda ingin mencari?
1. Besar arus yang dihasilkan
2. Cara dan penyelesaiannya
Pilihan anda adalah nomor= 1
I = []
Pilihan anda adalah nomor= 2
E= []
R= []
I= []
D. REFERENSI
https://belajar.kemdikbud.go.id/SumberBelajar/tampilajar.php?ver=12&idmateri=98&lvl1=4&lvl2=2&lvl3=0&kl=10
http://staff.uny.ac.id/system/files/pendidikan/Jumadi, M.Pd., Dr./Hukum Kirchoff.pdf
http://staff.uny.ac.id/sites/default/files/tmp/Pengenalan Program Matlab Menggunakan Operasi operasi Matriks.pdf

You may also like...

No Responses

  1. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Factor nicely considered.!
    http://cialismsnrx.com/
    prix cialis 5mg en pharmacie en france
    generic cialis
    black guy cialis commercial
    cialis generic

  2. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Amazing lots of amazing knowledge.
    http://cialismsnrx.com/
    cialis and excessive drinking
    cialis 20 mg
    buy cialis online in canada
    cialis online

  3. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Terrific content. Thanks a lot!
    http://cialismsnrx.com/
    cialis forum experience
    cialis 20 mg
    entran forte sau cialis
    cialis generic

  4. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thank you! Helpful stuff!
    https://www.cialisfidel.com/
    splitting 5mg cialis tablets
    cialis online
    can avodart and cialis be taken together
    generic cialis

  5. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You’ve made your stand pretty clearly..
    https://www.cialisfidel.com/
    cialis quel prix
    cheap cialis
    cialis ayuda con la eyaculacion precoz
    cialis without a doctor prescription

  6. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Wow a good deal of very good data.
    http://cialismsnntx.com/
    cialis under the tongue
    cialis generic
    cialis generico online recensioni
    cialis generic

  7. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks. I like it!
    https://www.cialismim.com/
    is 40 mg cialis too much
    cheap cialis
    cialis tadalafil fiyatД±
    cialis 20 mg

  8. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Many thanks, An abundance of information.

    http://cialismsnntx.com/
    site de vente cialis
    cialis 20 mg
    cialis.com.vn
    cialis 20mg

  9. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Nicely put, Cheers!
    https://www.cialismim.com/
    was ist stärker viagra oder cialis
    cialis 20mg
    viagra cialis levitra alcohol
    generic cialis

  10. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks. Numerous data.

    http://cialispego.com/
    cialis cause impotence
    cialis online
    cialis receptfritt spanien
    generic cialis

  11. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Very good tips. Thanks!
    http://cialisttk.com/
    qual’ГЁ la differenza tra il cialis e viagra
    buy cialis online
    cialis can you drink alcohol
    cheap cialis

  12. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You have made your stand pretty effectively!.
    http://cialismsnrx.com/
    costo del cialis in francia
    buy cialis online
    generic cialis tadalafil review
    cheap cialis

  13. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Really a good deal of helpful advice!
    https://www.cialisfidel.com/
    how long does cialis side effects last
    cheap cialis
    cialis soft tabs reviews
    cialis 20mg

  14. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Really all kinds of excellent material.
    http://cialismsnntx.com/
    cialis foro en femenino
    generic cialis
    cialis e emicrania
    cialis without a doctor prescription

  15. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Excellent data. Thanks a lot!
    http://cialismsnrx.com/
    vrai cialis internet
    generic cialis
    efectos secundarios de la pildora cialis
    generic cialis

  16. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Nicely put, Cheers!
    https://www.cialisfidel.com/
    lloyds pharmacy cialis 10mg
    cialis 20 mg
    ist cialis in spanien rezeptfrei
    buy cialis online

  17. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Many thanks. Lots of material!

    http://cialispego.com/
    cialis online purchase in india
    cheap cialis
    clonazepam cialis interaction
    cialis 20 mg

  18. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thank you, I appreciate it!
    http://cialispego.com/
    how common is priapism with cialis
    cialis without a doctor prescription
    can you take l arginine and cialis
    cialis without a doctor prescription

  19. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thanks a lot. I enjoy this.
    https://www.cialisfidel.com/
    brand cialis 20mg
    cialis generic
    cialis 20mg vs viagra 100mg
    buy cialis online

  20. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You mentioned this perfectly!
    https://www.cialisfidel.com/
    cipla ltd cialis
    cialis 20 mg
    switching from cialis and viagra
    cheap cialis

  21. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Useful write ups. Regards!
    https://www.cialisfidel.com/
    how to buy cialis in singapore
    cialis 20 mg
    cialis 30 day trial free
    cheap cialis

  22. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Amazing a lot of good info!
    http://cialispego.com/
    cialis duration of effect
    cheap cialis
    kohlpharma cialis 20mg
    cialis without a doctor prescription

  23. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Effectively voiced truly! !
    https://www.cialisfidel.com/
    drug cialis used
    cialis generic
    cialis no interactГєa con alimentos ni alcohol
    cialis 20mg

  24. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Appreciate it! A good amount of postings.

    https://www.cialismim.com/
    headache from cialis
    cialis 20 mg
    cialis 30 day free supply
    cialis 20mg

  25. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You stated it wonderfully.
    http://cialismsnrx.com/
    cimetidine and cialis
    cialis online
    cialis pen
    cheap cialis

  26. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Thank you, I like this.
    https://www.cialismim.com/
    explain the cialis bathtub symbolism
    cialis 20 mg
    uses of cialis 5mg
    cialis 20mg

  27. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Useful postings. Cheers.
    http://cialispego.com/
    cialis heart attack
    cialis generic
    cialis and diarrhea
    cialis without a doctor prescription

  28. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You said it very well.!
    https://www.cialismim.com/
    mexican cialis online
    generic cialis
    doc morris cialis 20mg
    cialis 20 mg

  29. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You expressed that wonderfully!
    http://cialisttk.com/
    cialis rezeptfrei internet
    cheap cialis
    qual o mais eficaz o viagra o cialis ou o levitra
    cialis without a doctor prescription

  30. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Excellent forum posts. Cheers!
    https://www.cialismim.com/
    cialis venta online
    cheap cialis
    cialis 20mg boite de 4 prix
    cialis without a doctor prescription

  31. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Regards, Wonderful stuff!
    https://www.cialismim.com/
    cialis dry eyes
    cialis generic
    what is stronger than cialis
    cialis generic

  32. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You made the point.
    http://cialisttk.com/
    uso correcto del cialis
    cialis online
    cialis soffio al cuore
    cialis online

  33. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Truly a lot of fantastic information.
    https://www.cialismim.com/
    cialis free samples canada
    cialis 20mg
    cigna prior authorization form cialis
    buy cialis online

  34. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Truly all kinds of useful data.
    http://cialispego.com/
    legit website for cialis
    buy cialis online
    cialis negative side effects
    generic cialis

  35. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Wow quite a lot of awesome information!
    https://www.cialismim.com/
    does cialis make you lose weight
    cialis without a doctor prescription
    customer support cialis
    cialis online

  36. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    With thanks. Good stuff!
    http://cialisttk.com/
    cheapest 20 mg cialis
    cialis generic
    cialis sildenafil citrate
    cialis 20 mg

  37. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Awesome advice. Regards!
    https://www.cialisfidel.com/
    cialis geciktirici sprey
    cialis generic
    cialis generika cipla
    cheap cialis

  38. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Useful information. Many thanks.
    http://cialismsnntx.com/
    comprar cialis mexico df
    cialis generic
    does cialis cause high blood pressure
    generic cialis

  39. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Amazing loads of useful data.
    http://cialisttk.com/
    how long does cialis last 5mg
    cialis 20 mg
    tempi di reazione cialis
    cheap cialis

  40. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    With thanks, Loads of postings!

    http://cialisttk.com/
    comentarios sobre el uso de cialis
    cheap cialis
    why back pain with cialis
    buy cialis online

  41. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    You made your point extremely nicely..
    http://cialispego.com/
    cialis does not work with alcohol
    buy cialis online
    cialis cual tomar
    cialis online

  42. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Cheers! I like it.
    http://cialismsnntx.com/
    vente en ligne cialis
    cialis 20 mg
    cialis with ramipril
    cialis online

  43. HaroldHeape says:
    Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.

    Amazing content. Many thanks.
    http://cialisttk.com/
    natural herbal cialis
    cialis 20mg
    dapoxetina y cialis
    cheap cialis

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 34 = 37