% put your answer code below syms x(t) mata = matb = matans = k1= k2= k3= k4= % enter force respose equation with constants here: yp = in matlab
main.m
syms x(t) k1 k2 k3 k4
mata = % enter value for matrix amatb = % enter value for matrix bmatans = % enter value for matrix ans% Enter force response equation with constants hereyp = k1*x(t) + k2*x(t).';