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) %…
Question : z transform homework Solution : We know that Z-transform a causal sequence is given as \[Z\left(a^n\right)=\frac{z}{z-a},\ \left|z\right|>\left|a\right|\] (a) Therfore Z-transform of sequence \[y_n=3^n\] Using a =3 \[Z\left(3^n\right)=\frac{z}{z-3}\ ,\…
Z-transform of unit step sequence Solution : The definition of unit step sequence is \[u_n=1 if n=0,1,2,3,….0 if n=-1,-2,-3,…\] We know that Z-transform of a signal yn is given as…
Question : what are Inference rules or logical deductions? Solution : Inference rules or Logical Deductions Set of logical rules applied to prove a new proposition using the proofs of…
Question : What is a predicate ? Solution : Predicate : A predicate is a proposition whose truth value depends on the truth value of one or more variables. A…
Question : Write in logical notation of the following propositions. For every nonnegative integer n the value of n^2 + n +41 is prime. The equation a^4 + b^4 +…
Question : What is a proposition in computer Science? Solution : Definition of Proposition : A proposition is any statement that is either true or false. A proposition is denoted…
Question : Use polyfit matlab to fit a polynomial of order 4 to the following data and plot the polynomial x1 1.06 1.17 1.32 1.55 1.89 2.41 2.963 3.575 y4…
Question : Find sinh(x+iy) formula Solution : Let the complex number as \[z=sinh\left(x+iy\right)\] We know that \[\sin{\left(iz\right)}=isinh\left(z\right)\] So we shall multiply and divide by i we get \[z=\frac{isinh\left(x+iy\right)}{i}=\frac{\sin{\left(i\left(x+iy\right)\right)}}{i}=\frac{\sin{\left(ix-y\right)}}{i}\] Now we…