행렬과 연립방정식

215 days 전, JEEWOONGYOO 작성

A= matrix([[2,5,-13],[3,-9,3],[-5,6,8]]) B= vector([1000,0,-600]) A.solve_right(B) # solve_right 기억해두기 
       
(1200, 500, 300)
(1200, 500, 300)
print(factorial(6)) 
       
720
720
print(binomial(500, 5)) 
       
255244687600
255244687600
A= matrix(3, 3,[1,2,0,2,1,2,1,2,3]) x = vector([1,1,1]) K10 = (A^10)*x print("whatever:", K10) #Case sensitive K11 = (A^11)*x whatever2= K11[0]/K10[0] #print(whatever2.n()) # n() 이 있어야 계산해주네 #print(whatever2) print(A.eigenvalues()) # A의 각행별로 고유값이 나오네 
       
('whatever:', (3498205, 6681695, 9264127))
[-1.279452315768607?, 1.459362941393819?, 4.820089374374788?]
('whatever:', (3498205, 6681695, 9264127))
[-1.279452315768607?, 1.459362941393819?, 4.820089374374788?]