An Introduction to Xcos

Size: px
Start display at page:

Download "An Introduction to Xcos"

Transcription

1 A. B. Raju Ph.D Professor and Head, Electrical and Electronics Engineering Department, B. V. B. College of Engineering and Technology, HUBLI , KARNATAKA 28 th September 2010

2 Outline of Presentation 1 Ordinary Differential Equations 2 Why Scilab/Xcos? 3 How do I construct dynamic models? 4 More examples

3 Ordinary Differential Equations These equations are of great importance in Science and Engineering Many physical laws and relations appear mathematically in the form of differential equations A physical law involving a rate of change of function, such as velocity or acceleration it leads to a differential equation

4 Example (1): Experiments show that a radioactive substance decomposes at a rate proportional to the amount present. Starting with a given amount of substance, say, 2 gms, at a certain time, say, t=0, what can be said about the amount available at a later time? dy dt = ky where k is a constant, whose value depends on the radioactive substance.

5 Example (2): The tank shown below contains 200 gal of water in which 40 lb of salt are dissolved. Five gal of water, each containing 2 lb of dissolved salt, run into the tank per minute, and the mixture, kept uniform by stirring, run out at the same rate. Find the amount of salt y(t) in the tank at any time t. dy dt = inflow rate outflow rate = y

6 Example (3): A body slides on a surface, it experiences friction force F. Experiments show that F = µ N. Assume that the body weighs 45 nt (about 10 lb), µ = 0.20, α = 30 0, the slide is 10 mtr long, initial velocity is zero. Find the velocity of the body at the end of the slide. s(t) W α y N W v(t) Ν F (W/g )*a x Equating horizontal and vertical forces, we get N = W cos α F = µn = µw cos α 0 = W sin α µw cos α W g dx dt

7 Example (4): Find the transfer function, X(s)/F(s) for the system given below. x(t) K M f(t) D Equating horizontal forces, we get f(t) = M d2 x(t) dt 2 + D dx(t) dt + Kx(t)

8 Example (5): RL circuit R V + i L The corresponding differential equation is given by: di dt = 1 (V ir) L

9 How do I solve such differential equations? 1 Get all the data required for the solution (viz., all constants, initial conditions, time-step etc)

10 How do I solve such differential equations? 1 Get all the data required for the solution (viz., all constants, initial conditions, time-step etc) 2 Select a suitable numerical integration algorithm among many available methods

11 How do I solve such differential equations? 1 Get all the data required for the solution (viz., all constants, initial conditions, time-step etc) 2 Select a suitable numerical integration algorithm among many available methods 3 Write a program to implement selected algorithm using any programing languages (viz., C, C++, Fortran, Scilab, Matlab etc)

12 How do I solve such differential equations? 1 Get all the data required for the solution (viz., all constants, initial conditions, time-step etc) 2 Select a suitable numerical integration algorithm among many available methods 3 Write a program to implement selected algorithm using any programing languages (viz., C, C++, Fortran, Scilab, Matlab etc) 4 Collect data required for visualization

13 How do I solve such differential equations? 1 Get all the data required for the solution (viz., all constants, initial conditions, time-step etc) 2 Select a suitable numerical integration algorithm among many available methods 3 Write a program to implement selected algorithm using any programing languages (viz., C, C++, Fortran, Scilab, Matlab etc) 4 Collect data required for visualization 5 Interpret results so obtained

14 Let us see the implementation of aforementioned steps in action: Run rlckt1.sce from Scilab

15 Why Scilab/Xcos? 1 Xos/Scicos: Scilab connected object simulator visual editor

16 Why Scilab/Xcos? 1 Xos/Scicos: Scilab connected object simulator visual editor 2 Scilab package for modelling and simulation of dynamic systems

17 Why Scilab/Xcos? 1 Xos/Scicos: Scilab connected object simulator visual editor 2 Scilab package for modelling and simulation of dynamic systems 3 Dynamic systems can include continuous or discrete sub-systems

18 Why Scilab/Xcos? 1 Xos/Scicos: Scilab connected object simulator visual editor 2 Scilab package for modelling and simulation of dynamic systems 3 Dynamic systems can include continuous or discrete sub-systems 4 It has a friendly GUI for editing models by interconnecting Xcos blocks

19 How do I construct dynamic models? 1 Starting Xcos with an empty diagram

20 How do I construct dynamic models? 1 Starting Xcos with an empty diagram 2 Opening one or more palettes

21 How do I construct dynamic models? 1 Starting Xcos with an empty diagram 2 Opening one or more palettes 3 Copying blocks of interest from the palettes into the diagram

22 How do I construct dynamic models? 1 Starting Xcos with an empty diagram 2 Opening one or more palettes 3 Copying blocks of interest from the palettes into the diagram 4 Setting parameters of the blocks to desired values

23 How do I construct dynamic models? 1 Starting Xcos with an empty diagram 2 Opening one or more palettes 3 Copying blocks of interest from the palettes into the diagram 4 Setting parameters of the blocks to desired values 5 Connecting the blocks input and output ports

24 How do I construct dynamic models? 1 Starting Xcos with an empty diagram 2 Opening one or more palettes 3 Copying blocks of interest from the palettes into the diagram 4 Setting parameters of the blocks to desired values 5 Connecting the blocks input and output ports 6 Compiling and simulating the diagram

25 How do I construct dynamic models? 1 Starting Xcos with an empty diagram 2 Opening one or more palettes 3 Copying blocks of interest from the palettes into the diagram 4 Setting parameters of the blocks to desired values 5 Connecting the blocks input and output ports 6 Compiling and simulating the diagram 7 Renaming and saving the diagram

26 Xcos implementation RL circuit will be

27 Xcos response of this circuit for R=10Ω, L=100mH and a step input voltage of 50 V is applied 6 Graphic Current (A) Time (s)

28 RLC circuit with step input voltage i V + R L V c C The corresponding differential equations are given by: di dt dv c dt = 1 L (V ir v c) = i C

29 Xcos block diagram is

30 Xcos response for R=2Ω, L=100mH, C=1000µF and a step input voltage of 50 V is applied 5 4 Graphic 1 3 Current (A) Time (s) 100 Graphic 2 80 Voltage (V) Time (s)

31 A Variable Frequency Oscillator d 2 y 1 dt 2 = ω2 y 1 Converting this equation into two first-order differential equations y 2 = ( ) 1 dy1 ω dt dy 2 dt = ωy 1

32 y y Xcos implementation isod Graphic Time (s) Graphic Time (s)

33 Separately excited/permanent magnet dc motor Motor parameters: Rated power = 2 kw Rated armature voltage = 125 V Rated armature current = 16 A Rated speed = 1750 rpm R a = 0.24 Ω, L a = 18 mh, K a φ = , J = 0.5 kgm 2, T l = ω 2 m DC Motor defining equations are: V a = di a R a i a + L a dt + K aφω K a φi a = J dω dt + Bω + T l

34

35 Xcos response is 400 Graphic 1 Speed (rps) Current (A) Time (s) Graphic Time (s)

36 DC motor closed loop speed control system

37 Xcos response is Current (A) Graphic Time (s) 150 Graphic y Time (s)

38 Thank You Any Questions?

Differential equations

Differential equations Differential equations Math 27 Spring 2008 In-term exam February 5th. Solutions This exam contains fourteen problems numbered through 4. Problems 3 are multiple choice problems, which each count 6% of

More information

(a) Torsional spring-mass system. (b) Spring element.

(a) Torsional spring-mass system. (b) Spring element. m v s T s v a (a) T a (b) T a FIGURE 2.1 (a) Torsional spring-mass system. (b) Spring element. by ky Wall friction, b Mass M k y M y r(t) Force r(t) (a) (b) FIGURE 2.2 (a) Spring-mass-damper system. (b)

More information

Problem Set. Assignment #1. Math 3350, Spring Feb. 6, 2004 ANSWERS

Problem Set. Assignment #1. Math 3350, Spring Feb. 6, 2004 ANSWERS Problem Set Assignment #1 Math 3350, Spring 2004 Feb. 6, 2004 ANSWERS i Problem 1. [Section 1.4, Problem 4] A rocket is shot straight up. During the initial stages of flight is has acceleration 7t m /s

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations Swaroop Nandan Bora swaroop@iitg.ernet.in Department of Mathematics Indian Institute of Technology Guwahati Guwahati-781039 A first-order differential equation is an equation

More information

Modeling using ODEs: Mixing Tank Problem. Natasha Sharma, Ph.D.

Modeling using ODEs: Mixing Tank Problem. Natasha Sharma, Ph.D. Reference W. Boyce and R. DiPrima, Elementary Differential Equations and Boundary Value s 8th Edition, John Wiley and Sons, 2005. First-Order Ordinary Differential Equation Definition (First Order Ordinary

More information

Math 308 Exam I Practice Problems

Math 308 Exam I Practice Problems Math 308 Exam I Practice Problems This review should not be used as your sole source for preparation for the exam. You should also re-work all examples given in lecture and all suggested homework problems..

More information

E11 Lecture 13: Motors. Professor Lape Fall 2010

E11 Lecture 13: Motors. Professor Lape Fall 2010 E11 Lecture 13: Motors Professor Lape Fall 2010 Overview How do electric motors work? Electric motor types and general principles of operation How well does your motor perform? Torque and power output

More information

Math 308 Exam I Practice Problems

Math 308 Exam I Practice Problems Math 308 Exam I Practice Problems This review should not be used as your sole source of preparation for the exam. You should also re-work all examples given in lecture and all suggested homework problems..

More information

Chapter three. Mathematical Modeling of mechanical end electrical systems. Laith Batarseh

Chapter three. Mathematical Modeling of mechanical end electrical systems. Laith Batarseh Chapter three Mathematical Modeling of mechanical end electrical systems Laith Batarseh 1 Next Previous Mathematical Modeling of mechanical end electrical systems Dynamic system modeling Definition of

More information

Noise - irrelevant data; variability in a quantity that has no meaning or significance. In most cases this is modeled as a random variable.

Noise - irrelevant data; variability in a quantity that has no meaning or significance. In most cases this is modeled as a random variable. 1.1 Signals and Systems Signals convey information. Systems respond to (or process) information. Engineers desire mathematical models for signals and systems in order to solve design problems efficiently

More information

State Space Representation

State Space Representation ME Homework #6 State Space Representation Last Updated September 6 6. From the homework problems on the following pages 5. 5. 5.6 5.7. 5.6 Chapter 5 Homework Problems 5.6. Simulation of Linear and Nonlinear

More information

The most up-to-date version of this collection of homework exercises can always be found at bob/math365/mmm.pdf.

The most up-to-date version of this collection of homework exercises can always be found at   bob/math365/mmm.pdf. Millersville University Department of Mathematics MATH 365 Ordinary Differential Equations January 23, 212 The most up-to-date version of this collection of homework exercises can always be found at http://banach.millersville.edu/

More information

Chapter1. Ordinary Differential Equations

Chapter1. Ordinary Differential Equations Chapter1. Ordinary Differential Equations In the sciences and engineering, mathematical models are developed to aid in the understanding of physical phenomena. These models often yield an equation that

More information

Mixing Problems. Solution of concentration c 1 grams/liter flows in at a rate of r 1 liters/minute. Figure 1.7.1: A mixing problem.

Mixing Problems. Solution of concentration c 1 grams/liter flows in at a rate of r 1 liters/minute. Figure 1.7.1: A mixing problem. page 57 1.7 Modeling Problems Using First-Order Linear Differential Equations 57 For Problems 33 38, use a differential equation solver to determine the solution to each of the initial-value problems and

More information

Modeling and Simulation Revision IV D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

Modeling and Simulation Revision IV D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N Modeling and Simulation Revision IV D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N 2 0 1 7 Modeling Modeling is the process of representing the behavior of a real

More information

Practice Final Exam Solutions

Practice Final Exam Solutions Important Notice: To prepare for the final exam, study past exams and practice exams, and homeworks, quizzes, and worksheets, not just this practice final. A topic not being on the practice final does

More information

Chapter 2 Notes, Kohler & Johnson 2e

Chapter 2 Notes, Kohler & Johnson 2e Contents 2 First Order Differential Equations 2 2.1 First Order Equations - Existence and Uniqueness Theorems......... 2 2.2 Linear First Order Differential Equations.................... 5 2.2.1 First

More information

CHAPTER 1. First-Order Differential Equations and Their Applications. 1.1 Introduction to Ordinary Differential Equations

CHAPTER 1. First-Order Differential Equations and Their Applications. 1.1 Introduction to Ordinary Differential Equations CHAPTER 1 First-Order Differential Equations and Their Applications 1.1 Introduction to Ordinary Differential Equations Differential equations are found in many areas of mathematics, science, and engineering.

More information

Introduction to Process Control

Introduction to Process Control Introduction to Process Control For more visit :- www.mpgirnari.in By: M. P. Girnari (SSEC, Bhavnagar) For more visit:- www.mpgirnari.in 1 Contents: Introduction Process control Dynamics Stability The

More information

Differential Equation (DE): An equation relating an unknown function and one or more of its derivatives.

Differential Equation (DE): An equation relating an unknown function and one or more of its derivatives. Lexicon Differential Equation (DE): An equation relating an unknown function and one or more of its derivatives. Ordinary Differential Equation (ODE): A differential equation that contains only ordinary

More information

MATH 312 Section 3.1: Linear Models

MATH 312 Section 3.1: Linear Models MATH 312 Section 3.1: Linear Models Prof. Jonathan Duncan Walla Walla College Spring Quarter, 2007 Outline 1 Population Growth 2 Newton s Law of Cooling 3 Kepler s Law Second Law of Planetary Motion 4

More information

2.5 Linear Applications

2.5 Linear Applications 2.5 Linear Applications 111 2.5 Linear Applications This collection of applications for the linear equation y + p(x)y = r(x) includes mixing problems, especially brine tanks in single and multiple cascade,

More information

Lecture (20) DC Machine Examples Start of Synchronous Machines

Lecture (20) DC Machine Examples Start of Synchronous Machines Lecture (20) DC Machine Examples Start of Synchronous Machines Energy Systems Research Laboratory, FIU All rights reserved. 20-1 Energy Systems Research Laboratory, FIU All rights reserved. 20-2 Ra R f

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 14 121011 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Steady-State Analysis RC Circuits RL Circuits 3 DC Steady-State

More information

AMJAD HASOON Process Control Lec4.

AMJAD HASOON Process Control Lec4. Multiple Inputs Control systems often have more than one input. For example, there can be the input signal indicating the required value of the controlled variable and also an input or inputs due to disturbances

More information

Math Applied Differential Equations

Math Applied Differential Equations Math 256 - Applied Differential Equations Notes Existence and Uniqueness The following theorem gives sufficient conditions for the existence and uniqueness of a solution to the IVP for first order nonlinear

More information

2.4 Differences Between Linear and Nonlinear Equations 75

2.4 Differences Between Linear and Nonlinear Equations 75 .4 Differences Between Linear and Nonlinear Equations 75 fying regions of the ty-plane where solutions exhibit interesting features that merit more detailed analytical or numerical investigation. Graphical

More information

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University Old Math 330 Exams David M. McClendon Department of Mathematics Ferris State University Last updated to include exams from Fall 07 Contents Contents General information about these exams 3 Exams from Fall

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Definition: A differential equation is an equation involving the derivative of a function. If the function depends on a single variable, then only ordinary derivatives appear and

More information

ENGR 2405 Chapter 8. Second Order Circuits

ENGR 2405 Chapter 8. Second Order Circuits ENGR 2405 Chapter 8 Second Order Circuits Overview The previous chapter introduced the concept of first order circuits. This chapter will expand on that with second order circuits: those that need a second

More information

Name: October 24, 2014 ID Number: Fall Midterm I. Number Total Points Points Obtained Total 40

Name: October 24, 2014 ID Number: Fall Midterm I. Number Total Points Points Obtained Total 40 Math 307O: Introduction to Differential Equations Name: October 24, 204 ID Number: Fall 204 Midterm I Number Total Points Points Obtained 0 2 0 3 0 4 0 Total 40 Instructions.. Show all your work and box

More information

MODELING IN XCOS USING MODELICA

MODELING IN XCOS USING MODELICA powered by MODELING IN XCOS USING MODELICA In this tutorial we show how to model a physical system described by ODE using the Modelica extensions of the Xcos environment. The same model has been solved

More information

Modeling and Analysis of Dynamic Systems

Modeling and Analysis of Dynamic Systems Modeling and Analysis of Dynamic Systems by Dr. Guillaume Ducard Fall 2016 Institute for Dynamic Systems and Control ETH Zurich, Switzerland 1/22 Outline 1 Lecture 5: Hydraulic Systems Pelton Turbine:

More information

130 CHAP. 4 Systems of ODEs. Phase Plane. Qualitative Methods. Find the eigenvalues and eigenvectors of the matrix

130 CHAP. 4 Systems of ODEs. Phase Plane. Qualitative Methods. Find the eigenvalues and eigenvectors of the matrix 3 CHAP. 4 Systems of ODEs. Phase Plane. Qualitative Methods This quadratic equation in l is called the characteristic equation of A. Its solutions are the eigenvalues l and l of A. First determine these.

More information

Modeling and Simulation Revision III D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

Modeling and Simulation Revision III D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N Modeling and Simulation Revision III D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N 0 1 4 Block Diagrams Block diagram models consist of two fundamental objects:

More information

9.1 Solving Differential Equations

9.1 Solving Differential Equations 9.1 Solving Differential Equations What is a differential equation? Real-world examples: The order of a differential equation is the order of the that occurs in the equation. A differential equation is

More information

Practice Final Exam Solutions

Practice Final Exam Solutions Important Notice: To prepare for the final exam, one should study the past exams and practice midterms (and homeworks, quizzes, and worksheets), not just this practice final. A topic not being on the practice

More information

Math Spring 2014 Homework 2 solution

Math Spring 2014 Homework 2 solution Math 3-00 Spring 04 Homework solution.3/5 A tank initially contains 0 lb of salt in gal of weater. A salt solution flows into the tank at 3 gal/min and well-stirred out at the same rate. Inflow salt concentration

More information

Dynamic Modeling. For the mechanical translational system shown in Figure 1, determine a set of first order

Dynamic Modeling. For the mechanical translational system shown in Figure 1, determine a set of first order QUESTION 1 For the mechanical translational system shown in, determine a set of first order differential equations describing the system dynamics. Identify the state variables and inputs. y(t) x(t) k m

More information

XXIX Applications of Differential Equations

XXIX Applications of Differential Equations MATHEMATICS 01-BNK-05 Advanced Calculus Martin Huard Winter 015 1. Suppose that the rate at which a population of size yt at time t changes is proportional to the amount present. This gives rise to the

More information

Fall 2011 ME 2305 Network Analysis. Sinusoidal Steady State Analysis of RLC Circuits

Fall 2011 ME 2305 Network Analysis. Sinusoidal Steady State Analysis of RLC Circuits Fall 2011 ME 2305 Network Analysis Chapter 4 Sinusoidal Steady State Analysis of RLC Circuits Engr. Humera Rafique Assistant Professor humera.rafique@szabist.edu.pk Faculty of Engineering (Mechatronics)

More information

Lecture 6, September 1, 2017

Lecture 6, September 1, 2017 Engineering Mathematics Fall 07 Lecture 6, September, 07 Escape Velocity Suppose we have a planet (or any large near to spherical heavenly body) of radius R and acceleration of gravity at the surface of

More information

V 1 V 2. r 3. r 6 r 4. Math 2250 Lab 12 Due Date : 4/25/2017 at 6:00pm

V 1 V 2. r 3. r 6 r 4. Math 2250 Lab 12 Due Date : 4/25/2017 at 6:00pm Math 50 Lab 1 Name: Due Date : 4/5/017 at 6:00pm 1. In the previous lab you considered the input-output model below with pure water flowing into the system, C 1 = C 5 =0. r 1, C 1 r 5, C 5 r r V 1 V r

More information

Section 2.5 Mixing Problems. Key Terms: Tanks Mixing problems Input rate Output rate Volume rates Concentration

Section 2.5 Mixing Problems. Key Terms: Tanks Mixing problems Input rate Output rate Volume rates Concentration Section 2.5 Mixing Problems Key Terms: Tanks Mixing problems Input rate Output rate Volume rates Concentration The problems we will discuss are called mixing problems. They employ tanks and other receptacles

More information

Coupled Drive Apparatus Modelling and Simulation

Coupled Drive Apparatus Modelling and Simulation University of Ljubljana Faculty of Electrical Engineering Victor Centellas Gil Coupled Drive Apparatus Modelling and Simulation Diploma thesis Menthor: prof. dr. Maja Atanasijević-Kunc Ljubljana, 2015

More information

Module 24: Outline. Expt. 8: Part 2:Undriven RLC Circuits

Module 24: Outline. Expt. 8: Part 2:Undriven RLC Circuits Module 24: Undriven RLC Circuits 1 Module 24: Outline Undriven RLC Circuits Expt. 8: Part 2:Undriven RLC Circuits 2 Circuits that Oscillate (LRC) 3 Mass on a Spring: Simple Harmonic Motion (Demonstration)

More information

It is convenient to think that solutions of differential equations consist of a family of functions (just like indefinite integrals ).

It is convenient to think that solutions of differential equations consist of a family of functions (just like indefinite integrals ). Section 1.1 Direction Fields Key Terms/Ideas: Mathematical model Geometric behavior of solutions without solving the model using calculus Graphical description using direction fields Equilibrium solution

More information

Review Problems for Exam 2

Review Problems for Exam 2 Review Problems for Exam 2 This is a list of problems to help you review the material which will be covered in the final. Go over the problem carefully. Keep in mind that I am going to put some problems

More information

Linear Circuits. Concept Map 9/10/ Resistive Background Circuits. 5 Power. 3 4 Reactive Circuits. Frequency Analysis

Linear Circuits. Concept Map 9/10/ Resistive Background Circuits. 5 Power. 3 4 Reactive Circuits. Frequency Analysis Linear Circuits Dr. Bonnie Ferri Professor School of Electrical and Computer Engineering An introduction to linear electric components and a study of circuits containing such devices. School of Electrical

More information

Outline. Calculus for the Life Sciences. What is a Differential Equation? Introduction. Lecture Notes Introduction to Differential Equa

Outline. Calculus for the Life Sciences. What is a Differential Equation? Introduction. Lecture Notes Introduction to Differential Equa Outline Calculus for the Life Sciences Lecture Notes to Differential Equations Joseph M. Mahaffy, jmahaffy@mail.sdsu.edu 1 Department of Mathematics and Statistics Dynamical Systems Group Computational

More information

Chapter 3 - Solved Problems

Chapter 3 - Solved Problems Chapter 3 - Solved Problems Solved Problem 3.. A nonlinear system has an input-output model given by dy(t) + ( + 0.2y(t))y(t) = u(t) + 0.2u(t) 3 () 3.. Compute the operating point(s) for u Q = 2. (assume

More information

AC&ST AUTOMATIC CONTROL AND SYSTEM THEORY SYSTEMS AND MODELS. Claudio Melchiorri

AC&ST AUTOMATIC CONTROL AND SYSTEM THEORY SYSTEMS AND MODELS. Claudio Melchiorri C. Melchiorri (DEI) Automatic Control & System Theory 1 AUTOMATIC CONTROL AND SYSTEM THEORY SYSTEMS AND MODELS Claudio Melchiorri Dipartimento di Ingegneria dell Energia Elettrica e dell Informazione (DEI)

More information

First Order RC and RL Transient Circuits

First Order RC and RL Transient Circuits First Order R and RL Transient ircuits Objectives To introduce the transients phenomena. To analyze step and natural responses of first order R circuits. To analyze step and natural responses of first

More information

Math 266, Midterm Exam 1

Math 266, Midterm Exam 1 Math 266, Midterm Exam 1 February 19th 2016 Name: Ground Rules: 1. Calculator is NOT allowed. 2. Show your work for every problem unless otherwise stated (partial credits are available). 3. You may use

More information

DEplot(D(y)(x)=2*sin(x*y(x)),y(x),x=-2..2,[[y(1)=1]],y=-5..5)

DEplot(D(y)(x)=2*sin(x*y(x)),y(x),x=-2..2,[[y(1)=1]],y=-5..5) Project #1 Math 181 Name: Email your project to ftran@mtsac.edu with your full name and class on the subject line of the email. Do not turn in a hardcopy of your project. Step 1: Initialize the program:

More information

Chapters 8.1 & 8.2 Practice Problems

Chapters 8.1 & 8.2 Practice Problems EXPECTED SKILLS: Chapters 8.1 & 8. Practice Problems Be able to verify that a given function is a solution to a differential equation. Given a description in words of how some quantity changes in time

More information

Last lecture: Recurrence relations and differential equations. The solution to the differential equation dx

Last lecture: Recurrence relations and differential equations. The solution to the differential equation dx Last lecture: Recurrence relations and differential equations The solution to the differential equation dx = ax is x(t) = ce ax, where c = x() is determined by the initial conditions x(t) Let X(t) = and

More information

Chapter 1 Fundamental Concepts

Chapter 1 Fundamental Concepts Chapter 1 Fundamental Concepts Signals A signal is a pattern of variation of a physical quantity as a function of time, space, distance, position, temperature, pressure, etc. These quantities are usually

More information

R10 JNTUWORLD B 1 M 1 K 2 M 2. f(t) Figure 1

R10 JNTUWORLD B 1 M 1 K 2 M 2. f(t) Figure 1 Code No: R06 R0 SET - II B. Tech II Semester Regular Examinations April/May 03 CONTROL SYSTEMS (Com. to EEE, ECE, EIE, ECC, AE) Time: 3 hours Max. Marks: 75 Answer any FIVE Questions All Questions carry

More information

First order differential equations

First order differential equations First order differential equations Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra by Goode and Annin Samy T. First

More information

EC Control Systems- Question bank

EC Control Systems- Question bank MODULE I Topic Question mark Automatic control & modeling, Transfer function Write the merits and demerits of open loop and closed loop Month &Year May 12 Regula tion Compare open loop system with closed

More information

MATH 251 Examination I October 8, 2015 FORM A. Name: Student Number: Section:

MATH 251 Examination I October 8, 2015 FORM A. Name: Student Number: Section: MATH 251 Examination I October 8, 2015 FORM A Name: Student Number: Section: This exam has 14 questions for a total of 100 points. Show all you your work! In order to obtain full credit for partial credit

More information

16.07 Dynamics. Problem Set 3

16.07 Dynamics. Problem Set 3 NAME :..................... Massachusetts Institute of Technology 16.07 Dynamics Problem Set 3 Out date: Sept 17, 2007 Due date: Sept 26, 2007 Problem 1 Problem 2 Problem 3 Problem 4 Study Time Time Spent

More information

Topic 3 Notes Jeremy Orloff

Topic 3 Notes Jeremy Orloff Topic 3 Notes Jeremy Orloff 3 Input-response models 3.1 Goals 1. Be able to use the language of systems and signals. 2. Be familiar with the physical examples in these notes. 3.2 Introduction In 18.03

More information

2.004 Dynamics and Control II Spring 2008

2.004 Dynamics and Control II Spring 2008 MIT OpenCourseWare http://ocw.mit.edu 2.004 Dynamics and Control II Spring 2008 or information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 2 I C + 4 * Massachusetts

More information

Three major steps in modeling: Construction of the Model Analysis of the Model Comparison with Experiment or Observation

Three major steps in modeling: Construction of the Model Analysis of the Model Comparison with Experiment or Observation Section 2.3 Modeling : Key Terms: Three major steps in modeling: Construction of the Model Analysis of the Model Comparison with Experiment or Observation Mixing Problems Population Example Continuous

More information

6.003 Homework #1. Problems. Due at the beginning of recitation on September 14, 2011.

6.003 Homework #1. Problems. Due at the beginning of recitation on September 14, 2011. 6.003 Homework #1 Due at the beginning of recitation on September 14, 2011. Problems 1. Solving differential equations Solve the following differential equation y(t) + 3 dy(t) + 2 d2 y(t) = 1 dt dt 2 for

More information

Graded and supplementary homework, Math 2584, Section 4, Fall 2017

Graded and supplementary homework, Math 2584, Section 4, Fall 2017 Graded and supplementary homework, Math 2584, Section 4, Fall 2017 (AB 1) (a) Is y = cos(2x) a solution to the differential equation d2 y + 4y = 0? dx2 (b) Is y = e 2x a solution to the differential equation

More information

1 The Derivative and Differrentiability

1 The Derivative and Differrentiability 1 The Derivative and Differrentiability 1.1 Derivatives and rate of change Exercise 1 Find the equation of the tangent line to f (x) = x 2 at the point (1, 1). Exercise 2 Suppose that a ball is dropped

More information

Basic Theory of Differential Equations

Basic Theory of Differential Equations page 104 104 CHAPTER 1 First-Order Differential Equations 16. The following initial-value problem arises in the analysis of a cable suspended between two fixed points y = 1 a 1 + (y ) 2, y(0) = a, y (0)

More information

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs.

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs. MATH 1231 MATHEMATICS 1B 2010. For use in Dr Chris Tisdell s lectures. Calculus Section 3A: - First order ODEs. Created and compiled by Chris Tisdell S1: What is an ODE? S2: Motivation S3: Types and orders

More information

Systems of Ordinary Differential Equations

Systems of Ordinary Differential Equations Systems of Ordinary Differential Equations MATH 365 Ordinary Differential Equations J Robert Buchanan Department of Mathematics Fall 2018 Objectives Many physical problems involve a number of separate

More information

ET3-7: Modelling II(V) Electrical, Mechanical and Thermal Systems

ET3-7: Modelling II(V) Electrical, Mechanical and Thermal Systems ET3-7: Modelling II(V) Electrical, Mechanical and Thermal Systems Agenda of the Day 1. Resume of lesson I 2. Basic system models. 3. Models of basic electrical system elements 4. Application of Matlab/Simulink

More information

CHAPTER Let x(t) be the position (displacement) of the particle at time t. The force on the particle is given to be

CHAPTER Let x(t) be the position (displacement) of the particle at time t. The force on the particle is given to be CHAPTER Section. Differential Equation Models.. Let y(t) be the number of bacteria at time t. The rate of change of the number of bacteria is y (t). Since this rate of change is given to be proportional

More information

MAE106 Homework 2 - Solution DC Motors & Intro to the frequency domain

MAE106 Homework 2 - Solution DC Motors & Intro to the frequency domain MAE06 Homework 2 - Solution DC Motors & Intro to the frequency domain University of California, Irvine Department of Mechanical and Aerospace Engineering Problem You are given the circuit shown in Figure.

More information

1.1. BASIC ANTI-DIFFERENTIATION 21 + C.

1.1. BASIC ANTI-DIFFERENTIATION 21 + C. .. BASIC ANTI-DIFFERENTIATION and so e x cos xdx = ex sin x + e x cos x + C. We end this section with a possibly surprising complication that exists for anti-di erentiation; a type of complication which

More information

The RLC circuits have a wide range of applications, including oscillators and frequency filters

The RLC circuits have a wide range of applications, including oscillators and frequency filters 9. The RL ircuit The RL circuits have a wide range of applications, including oscillators and frequency filters This chapter considers the responses of RL circuits The result is a second-order differential

More information

MAT01B1: Separable Differential Equations

MAT01B1: Separable Differential Equations MAT01B1: Separable Differential Equations Dr Craig 3 October 2018 My details: acraig@uj.ac.za Consulting hours: Tomorrow 14h40 15h25 Friday 11h20 12h55 Office C-Ring 508 https://andrewcraigmaths.wordpress.com/

More information

Response of Second-Order Systems

Response of Second-Order Systems Unit 3 Response of SecondOrder Systems In this unit, we consider the natural and step responses of simple series and parallel circuits containing inductors, capacitors and resistors. The equations which

More information

Antiderivatives. Definition A function, F, is said to be an antiderivative of a function, f, on an interval, I, if. F x f x for all x I.

Antiderivatives. Definition A function, F, is said to be an antiderivative of a function, f, on an interval, I, if. F x f x for all x I. Antiderivatives Definition A function, F, is said to be an antiderivative of a function, f, on an interval, I, if F x f x for all x I. Theorem If F is an antiderivative of f on I, then every function of

More information

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS 130 LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS DIFFERENTIAL EQUATIONS: A differential equation (DE) is an equation involving an unknown function and one or more of its derivatives. A differential

More information

Eigenvalues and eigenvectors System Theory: electricmotor

Eigenvalues and eigenvectors System Theory: electricmotor Eigenvalues and eigenvectors System Theory: electricmotor Alireza Abouhossein Ph.D. Alireza.abouhossein@unibo.it 1 Example-1 Can you calculate A^2, A -1 -I? without multiplying A or finding the inverse

More information

4. Some Applications of first order linear differential

4. Some Applications of first order linear differential September 9, 2012 4-1 4. Some Applications of first order linear differential Equations The modeling problem There are several steps required for modeling scientific phenomena 1. Data collection (experimentation)

More information

3.8 Exponential Growth and Decay

3.8 Exponential Growth and Decay 3.8 Exponential Growth and Decay Suppose the rate of change of y with respect to t is proportional to y itself. So there is some constant k such that dy dt = ky The only solution to this equation is an

More information

Systems of Differential Equations: General Introduction and Basics

Systems of Differential Equations: General Introduction and Basics 36 Systems of Differential Equations: General Introduction and Basics Thus far, we have been dealing with individual differential equations But there are many applications that lead to sets of differential

More information

Mathematical Modeling and Dynamic Simulation of DC Motors using MATLAB/Simulink Environment

Mathematical Modeling and Dynamic Simulation of DC Motors using MATLAB/Simulink Environment Mathematical Modeling and Dynamic Simulation of DC Motors using MATLAB/Simulink Environment K. Kalaiselvi 1, K.Abinaya 2, P. Ramesh Babu 3 1,2 Under Graduate Scholar, Department of EEE, Saranathan College

More information

(Refer Slide Time: 00:32)

(Refer Slide Time: 00:32) Nonlinear Dynamical Systems Prof. Madhu. N. Belur and Prof. Harish. K. Pillai Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 12 Scilab simulation of Lotka Volterra

More information

If you need more room, use the backs of the pages and indicate that you have done so.

If you need more room, use the backs of the pages and indicate that you have done so. Math 125 Final Exam Winter 2018 Your Name Your Signature Student ID # Quiz Section Professor s Name TA s Name Turn off and stow away all cell phones, watches, pagers, music players, and other similar devices.

More information

Specialist Mathematics 2017 Sample paper

Specialist Mathematics 2017 Sample paper South Australian Certificate of Education The external assessment requirements of this subject are listed on page 20. Question Booklet 2 Specialist Mathematics 2017 Sample paper 2 Part 2 (Questions 10

More information

Possible

Possible Department of Electrical Engineering and Computer Science ENGR 21. Introduction to Circuits and Instruments (4) ENGR 21 SPRING 24 FINAL EXAMINATION given 5/4/3 Possible 1. 1 2. 1 3. 1 4. 1 5. 1 6. 1 7.

More information

Introduction to numerical simulations for Stochastic ODEs

Introduction to numerical simulations for Stochastic ODEs Introduction to numerical simulations for Stochastic ODEs Xingye Kan Illinois Institute of Technology Department of Applied Mathematics Chicago, IL 60616 August 9, 2010 Outline 1 Preliminaries 2 Numerical

More information

APPM 2360: Midterm exam 1 February 15, 2017

APPM 2360: Midterm exam 1 February 15, 2017 APPM 36: Midterm exam 1 February 15, 17 On the front of your Bluebook write: (1) your name, () your instructor s name, (3) your recitation section number and () a grading table. Text books, class notes,

More information

Hands-on Lab. Damped Compound Pendulum System ID (Experimental and Simulation) L Bar length m d Pivot to CG distance m m Mass of pendulum kg

Hands-on Lab. Damped Compound Pendulum System ID (Experimental and Simulation) L Bar length m d Pivot to CG distance m m Mass of pendulum kg Hands-on Lab Damped Compound Pendulum System ID (Experimental and Simulation) Preamble: c d dt d L Bar length m d Pivot to CG distance m m Mass of pendulum kg L L m g L Sketched above is a damped compound

More information

Chapter 1 Fundamental Concepts

Chapter 1 Fundamental Concepts Chapter 1 Fundamental Concepts 1 Signals A signal is a pattern of variation of a physical quantity, often as a function of time (but also space, distance, position, etc). These quantities are usually the

More information

8. Set up the integral to determine the force on the side of a fish tank that has a length of 4 ft and a heght of 2 ft if the tank is full.

8. Set up the integral to determine the force on the side of a fish tank that has a length of 4 ft and a heght of 2 ft if the tank is full. . Determine the volume of the solid formed by rotating the region bounded by y = 2 and y = 2 for 2 about the -ais. 2. Determine the volume of the solid formed by rotating the region bounded by the -ais

More information

Music 420 Lecture Elementary Finite Different Schemes

Music 420 Lecture Elementary Finite Different Schemes Music 420 Lecture Elementary Finite Different Schemes Julius O. Smith III (jos@ccrma.stanford.edu) Center for Computer Research in Music and Acoustics (CCRMA) Department of Music, Stanford University Stanford,

More information

8. Introduction and Chapter Objectives

8. Introduction and Chapter Objectives Real Analog - Circuits Chapter 8: Second Order Circuits 8. Introduction and Chapter Objectives Second order systems are, by definition, systems whose input-output relationship is a second order differential

More information

QUESTION 1: Find the derivatives of the following functions. DO NOT TRY TO SIMPLIFY.

QUESTION 1: Find the derivatives of the following functions. DO NOT TRY TO SIMPLIFY. QUESTION 1: Find the derivatives of the following functions. DO NOT TRY TO SIMPLIFY. (a) f(x) =tan(1/x) (b) f(x) =sin(e x ) (c) f(x) =(1+cos(x)) 1/3 (d) f(x) = ln x x +1 QUESTION 2: Using only the definition

More information

Department of Mechanical Engineering

Department of Mechanical Engineering Department of Mechanical Engineering 2.010 CONTROL SYSTEMS PRINCIPLES Laboratory 2: Characterization of the Electro-Mechanical Plant Introduction: It is important (for future lab sessions) that we have

More information

22.2. Applications of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes

22.2. Applications of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes Applications of Eigenvalues and Eigenvectors 22.2 Introduction Many applications of matrices in both engineering and science utilize eigenvalues and, sometimes, eigenvectors. Control theory, vibration

More information