Chindi Anggraini (160511320).docx

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Chindi Anggraini (160511320).docx as PDF for free.

More details

  • Words: 198
  • Pages: 2
Nama : Chindi Anggraini Nim : 1605111320 Kelas : 3A Math 1. Algoritma untuk menentukan akar-akar persamaan kuadrat Jawab:

Start

Masukkan A,B,C

2

Disk=b −4 ac

YES NO

Disk=0

Disk ¿ 0 ? k

2

−b + √ Disk X 1= 2a X 2=

NO

YES

X 1= Akar Imajiner

−b 2a

X 2= X 1

X1 X2

End

−b2− √ Disk 2a

2. Algoritma menentukan indeks nilai mahasiswa untuk mata kuliah Algoritma dan Pemrograman Jawab: Start Masukkan Nilai tugas 1, nilai tugas 2, nilai tugas 3, nilai UTS dan nilai UAS

Jumlah nilai (Z) = 30% (

Nt 1+ Nt 2+ Nt 3 )+ 35% Nilai UTS + 35% Nilai UAS 3

Case Z of

86≤ Z ≤ 100, maka indeks nilai = A 81 ≤ Z < 86, maka indeks nilai = A76≤ Z <81, maka indeks nilai = B+ 71 ≤ Z < 76, maka indeks nilai = B 66 ≤ Z < 71, maka indeks nilai = B61≤ Z <66, maka indeks nilai = C+ 51 ≤ Z <61, maka indeks nilai = C 45 < Z < 51, maka indeks nilai = D 0 ≤ Z≤ 45, maka indeks nilai = E

Finished

Related Documents