Difference between revisions of "Gigih Putro Pratomo"

From ccitonlinewiki
Jump to: navigation, search
Line 18: Line 18:
  
 
print (a - b)
 
print (a - b)
 +
 +
 +
 +
 +
== Latihan Metode Gauss ==
 +
[[File:Gigih_Putro_Pratomo_PR_Terjemahan_Gauss.png]]

Revision as of 23:15, 26 February 2019

Tugas 2

Untuk pengkodingan program Python dengan persamaan "ax + by = c" dan "px + qy = r" maka tahap-tahapnya adalah sebagai berikut:


import numpy as np

A = np.array([

   [a, b, c]
   ])

B = np.array([

   [p, q, r]
   ])

print (a + b)

print (a - b)



Latihan Metode Gauss

Gigih Putro Pratomo PR Terjemahan Gauss.png