Gigih Putro Pratomo

From ccitonlinewiki
Revision as of 21:51, 20 February 2019 by Gigih.putro (talk | contribs)
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)