Skip to content

Instantly share code, notes, and snippets.

@Elkkuss
Elkkuss / Matikka4.py
Created September 21, 2025 14:49
tehtävät 4 tehtävät 4
import numpy as np
# Define A, B, C(with variables x, y)
def A_matrix(x, y):
return np.array([[x+y, 5],
[-1, x-y]])
B = np.array([[3, 2],
[-3, 1]])