


clc;clear all;format compact
x=input('Enter range of x values for which plot is to be created: '); %Asks user to enter x
zeta=[0.3 0.5 0.8]; %Values of zeta
%Computes y(x) for each zeta
y1=1-((1/sqrt(1-zeta(1)^2)))*exp(-zeta(1).*x).*sin(sqrt(1-zeta(1)^2).*x+acos(zeta(1)));
y2=1-((1/sqrt(1-zeta(2)^2)))*exp(-zeta(2).*x).*sin(sqrt(1-zeta(2)^2).*x+acos(zeta(2)));
y3=1-((1/sqrt(1-zeta(3)^2)))*exp(-zeta(3).*x).*sin(sqrt(1-zeta(3)^2).*x+acos(zeta(3)));
%Creates 4 subplots as asked.
subplot(2,2,1)
plot(x,y1,'-k','LineWidth',2);xlabel('x in radians');ylabel('y(x)');title('\zeta=0.3');
subplot(2,2,2)
plot(x,y2,'-r','LineWidth',2);xlabel('x in radians');ylabel('y(x)');title('\zeta=0.5');
subplot(2,2,3)
plot(x,y3,'-b','LineWidth',2);xlabel('x in radians');ylabel('y(x)');title('\zeta=0.8');
subplot(2,2,4)
plot(x,y1,x,y2,x,y3,'LineWidth',2);xlabel('x in radians');ylabel('y(x)');legend('\zeta=0.3','\zeta=0.5','\zeta=0.8');
Step by stepSolved in 2 steps with 2 images

- Consider the series R-L circuit shown in figure below. For obtaining transient free response, switch should be closed at instant t = to. Find the value of to. (consider R = wL) t=to 2sin 8t R vor Larrow_forwardA three way intersection is in need of a traffic signal control system and you have been assigned thetask to design and implement the system. Each direction has only one lane and one set of signalcontrol lights (green, yellow and red). Your design should only allow one go or green light at atime. Further, all transitions from green to red should go through an intermediate 2-4 secondsyellow light. and draw the design of the schematicarrow_forwardAlso, express the signum function in terms of the unit step function.arrow_forward
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,





