Difference between revisions of "Kelompok 15"
(Created page with " == Anggota Kelompok == 1. Jonathan Kevin 2. Raihan Nurrasyid A (1806149255) 3. Wahyu Nugroho Ramadhan == Tugas Kelompok == === Tugas Operasi Gauss Matriks === >>> from n...") |
(→Anggota Kelompok) |
||
Line 2: | Line 2: | ||
== Anggota Kelompok == | == Anggota Kelompok == | ||
− | 1. Jonathan Kevin | + | 1. Jonathan Kevin (17060366513) |
2. Raihan Nurrasyid A (1806149255) | 2. Raihan Nurrasyid A (1806149255) | ||
3. Wahyu Nugroho Ramadhan | 3. Wahyu Nugroho Ramadhan |
Revision as of 08:43, 29 October 2019
Anggota Kelompok
1. Jonathan Kevin (17060366513) 2. Raihan Nurrasyid A (1806149255) 3. Wahyu Nugroho Ramadhan
Tugas Kelompok
Tugas Operasi Gauss Matriks
>>> from numpy import array >>> from numpy.linalg import inv,solve >>> A = array([[ 4.0, -2.0, 1.0], \ [-2.0, 4.0, -2.0], \ [ 1.0, -2.0, 3.0]]) >>> b = array([1.0, 4.0, 2.0]) >>> print(inv(A)) # Matrix inverse [[ 0.33333333 0.16666667 0. ] [ 0.16666667 0.45833333 0.25 ] [ 0. 0.25 0.5 ]] >>> print(solve(A,b)) # Solve [A]{x} = {b} [ 1. , 2.5, 2. ]