Kelompok 15
Revision as of 00:44, 28 October 2019 by Raihan.nurrasyid (talk | contribs) (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
1. Jonathan Kevin 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. ]