Question : MATLAB subs to evaluate symbolic equation and function ?Answer : Example 1 :syms x f=log(sin(x)) g=exp(tan(x)) subs(f,pi/2) % evaluate of f at x= pi/2 subs(g,0) % evaluate of g at x= 0Output :ans = (sym) 0 ans =…
Posted inMechanical Engineering