Gigih Putro Pratomo

From ccitonlinewiki
Revision as of 21:50, 20 February 2019 by Gigih.putro (talk | contribs) (Created page with " == 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.ar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)