Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Heaven’s Light is Our Guide

Department of Industrial & Production Engineering

Name : Md. Nazmul Ahsan Shairan

Roll : 145012

Class : 4th year – Even Semester

Experiment No. : 01

Experiment Name : Basic operations of MATLAB

Course Title : Control Theory and Automation Lab

Course No. : IPE 4222


Problem No. 1:
p=(17*(sqrt(5)-1))/(15^2-13^2);
q=(5^7*log10(exp(3)))/(pi*sqrt(121));
r=log(exp(4))+sqrt(11);
ans=p+q+r;
disp(ans)

Solution:
2.9532e+03

Problem No. 2:
p=(5*pi)/6;
q=((tan(p)+sin(2*p))/cos(p))+log(abs(p^5-p^2))+cosh(p)-2*tanh(p);
disp(q)

Solution:
11.3331

Problem No. 3:
a=1;
b=2;
c=1.8;
p=(a*b*(a+b))/(c*sqrt(abs(a*b)));
q=c^a;
r=(sqrt(14)*b)/(exp(3*c));
s=log10(c)/(log10(a+b+c));
t=2*sinh(a);
u=3*tanh(b);
x=a+p+q+r+log(2)+s+t-u;
disp(x)

Solution:
5.7170

You might also like