SEPTIA PRATIWI (16029051) TUGAS 2 METODE NUUMERIK(1).docx

SEPTIA PRATIWI (16029051) TUGAS 2 METODE NUUMERIK(1).docx -...

This preview shows 1 out of 8 pages.

NAMA : SEPTIA PRATIWI NIM : 16029051 CONTOH FLOWCHART DAN PSEUDOCODE PERMASALAHAN MATEMATIS A. Membuat algoritma menggunakan flowchart dan pseudocode untuk menghitung luas persegi panjang Algoritma : 1. Masukkan panjang 2. Masukkan lebar 3. Luas Persegi panjang adalah panjang dikalikan lebar 4. Tampilkan luas persegi panjang Pseudocode : 1. Input panjang 2. Input lebar 3. Luas = panjang x lebar 4. Print luas lingkaran
Image of page 1

Subscribe to view the full document.

B. Membuat algoritma menggunakan flowchart dan pseudocode untuk menghitung luas lingkaran Algoritma :1. Masukkan phi (π) 2. Masukkan jari-jari (r) 3. Luas Lingkaran adalah phi dikalikan jari-jari 4. Tampilkan luas lingkaran Pseudocode : 1. Input phi (π) 2. Input jari-jari (r) 3. Luas = π x r x r 4. Print luas lingkaran
Image of page 2
C. Membuat algoritma menggunakan flowchart dan pseudocode untuk menentukan apakah bilangan yang di input adalah bilangan ganjil atau bilangan genap. Algoritma :1. Masukkan sebuah bilangan 2. Bagi bilangan tersebut dengan bilangan atau angka 2 3. Jika bilangan menghasilkan sisa pembagian 0 maka genap 4. Jika bilangan tidak menghasilkan sisa pembagian 0 maka
Image of page 3

Subscribe to view the full document.

Image of page 4
Image of page 5

Subscribe to view the full document.

Image of page 6
Image of page 7

Subscribe to view the full document.

Image of page 8
You've reached the end of this preview.
  • Fall '17
  • Prof. Jalius Jama

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern