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

  Home Study tools

 My courses
 My books My folder Career Life 

Find solutions for your homework Search

home / study / engineering / chemical engineering / chemical engineering questions and answers / problem 2. consider the following second ord…

Question: Problem 2. Consider the following second order dynamic syst… Post a question
Answers from our experts for your tough
homework questions
(1 bookmark)

Enter question

Continue to post
20 questions remaining

My Textbook Solutions

Thomas'... Physics for... Physics for...

13th Edition 10th Edition 9th Edition


(1)

View all solutions

Show transcribed image text

Expert Answer

Anonymous answered this


Was this answer helpful? 1 1
158 answers

Answer:

Matlab code to solve the given differential equation and plot


the response h(t) is given below.

Comments are added in the code and the screenshot of response is


also given.

Code:

%Q1: Solving diff eqn

syms h(t) % Define symbolic variable

Dh=diff(h); % First derivative of y

ode=diff(h,t,2)==(-2*Dh)-(2.5*h)+(0.5625*sin(0.25*t)) % Diff
eqn

condn1=h(0)==0; % Initial condition 1

condn2=Dh(0)==0; % Initial condition 1

condn=[condn1 condn2]; % % Initial condition vector

h(t)=dsolve(ode,condn) % Solve

hh = matlabFunction(h); % Make the solution as a function to


plot

% Q2: Plot the response h(t) vs t

fplot(hh, [0 50]) % Plot function

grid on

xlabel('t')

ylabel('h(t)')

Response:
  Home Study tools
 My courses
 My books My folder Career Life 

Code for obtaining transfer function from the differential


equation is given below and the resulting transfer
function of
command window is also shown.

Code:

syms ss(t) h(t) dhdt(t) t s H(s) S(s) h0 dhdt0 ss0 % Define


symbolic variables

t_eqn=0.4*diff(h(t),t,2)+(0.8*diff(h(t),t))+h(t)==0.3*ss(t) % Diff
eqn

s_eqn=subs(laplace(t_eqn), [laplace(h(t), t, s), laplace(ss(t),


t,s), diff(h(t), t)], [H(s), S(s), dhdt(t)]) % Equation in
s
domain, by Laplace transform

s_eqn_0 = subs(s_eqn, [h(0), dhdt(0)], [0, 0]) % Initial


conditions

syms Htemp % Another symbolic variable to simplify the

TF=solve(subs(s_eqn_0,H(s),Htemp),Htemp)/S(s) % Obtain transfer


function in the simplified form

Command window:

FRom the screenshot above, the transfer function TF is


simplified further as; (Substituting D(h)(s)=0- given
initial
condition)

G(s)=H(s)/S(s)=3/4s^2+8s+10

From the transfer function , the values of damping ratio, gain


and amplitude of process after the transients
die out can be
calculated as follows.
  Home Study tools
 My courses
 My books My folder Career Life 

Comment


Questions viewed by other students

Q: Problem 2. Consider the following second order dynamic system described by the differential equation dut) 0.8 +v' (t)
= 0.2s' (t) dt? dt where v' (t),s' (t) are respectively the output, manipulated input of the process in deviation variable
form. The initial condition of the system is +1.25 duo du (0) =0 (4) (5) dt v (O)=0 The system is subjected to a sinusoidal
input described by...

A: See answer

Q: (2) Problem 1. Consider the following first order dynamic system described by the differential equation dk' () 6.5 +k' (t)
= 0.85u' (t) + d (t) dt where k' (t),u' (t) and d' (t) are respectively the output, manipulated input and disturbance of the
process in deviation variable form. The initial condition of the system is k' (O) = 0 (1) The system is subjected to a
rectangular pulse...

A: See answer

Show more 
  Home Study tools
 My courses
 My books My folder Career Life 

COMPANY

LEGAL & POLICIES

CHEGG PRODUCTS AND SERVICES

CHEGG NETWORK

CUSTOMER SERVICE

© 2003-2021 Chegg Inc. All rights reserved.

You might also like