finished hw4 and imdterm

This commit is contained in:
Dane Sabo 2025-03-17 16:42:12 -04:00
parent 7f74985468
commit be790819cc
2 changed files with 3 additions and 1 deletions

BIN
ME_2046/HW4/Figure_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -54,6 +54,8 @@ sm.pprint(F)
sm.pprint(G)
sm.pprint(A)
sm.pprint(B)
print(sm.latex(A))
print(sm.latex(B))
########################################################a
print("PROBLEM 4:")
@ -61,7 +63,7 @@ print("bilinear transform")
T = 0.2 # s
G_s = 10 / (s + 10)
G_z = G_s.subs(s, 2 * (z - 1) / T * (z + 1))
G_z = G_s.subs(s, 2 * (z - 1) / T / (z + 1))
sm.pprint(G_z)
sm.pprint(G_z.simplify())