Using MATLAB to Solve Differential Equations

Size: px
Start display at page:

Download "Using MATLAB to Solve Differential Equations"

Transcription

1 ECE 350 Linear Systems I MATLAB Tutorial #3 Using MATLAB to Solve Differential Equations This tutorial describes the use of MATLAB to solve differential equations. Two methods are described. The first uses one of the differential equation solvers that can be called from the command line. The second uses Simulink to model and solve a differential equation. Solving First Order Differential Equations with ode45 The MATLAB commands ode 23 and ode 45 are functions for the numerical solution of ordinary differential equations. They use the Runge-Kutta method for the solution of differential equations. This example uses ode45. The function ode45 uses higher order formulas and provides a more accurate solution than ode 23. In this example we will solve the first order differential equation: + 2y = u(t) u(t 1) over the range 0 t 5. We will assume that the initial value y(0) = 0. The first step is to write the equation in the form: = 2y + u(t) u(t 1) Next we need to create a MATLAB m-file to calculate /. From the MATLAB window select: File New M-File. Enter the following: function = f(t,y) = -2*y + (t>=0)-(t>=1); This creates a function that calculates the value of (actually /). The function is called f and the file should be named: f.m when it is saved since all MATLAB functions should be saved in a file with the same name as the function. Convince yourself that the right hand side of the equation for corresponds to the expression

2 above. Make sure that you save this function in your working directory or one that is in your path. Once the function for / has been created we need to specify the end points of the time range (0 t 5) and the initial value of y (zero). This is done in the MATLAB command window with the following commands: >> t= [0 5]; >> inity=0; The ode45 command can now be called to compute and return the solution for y along with the corresponding values of t using: >> [t,y]=ode45(@f, t, inity); Note that refers to the name of the function containing the function. The solution can be viewing with: >> plot(t,y) as shown in figure 1. Figure 1. Solution of First Order Differential Equation Solving First Order Differential Equations with ode45 The ode45 command solves first order differential equations. In order to use this command to solve a higher order differential equation we must convert the higher order equation to a system of first order differential equations. For example, in order to solve the second order equation: d 2 y y = cos2t with y(0) = 0 and t =0 = 1

3 for 0 t 10 we must define a variable x such that: x = Thus we can rewrite the differential equation as: or in terms of x: d 2 y 2 dx = 3 2y + cos2t = 3x 2y + cos2t We will use the ode45 command to solve the system of first order differential equations: dx = 3x 2y + cos2t = x We place these two equations into a column vector, z, where: z = x y and dz = A function is created in a MATLAB m-file to define dz/ named f2 which contains: dx function dz=f2(t,z) dz=[-3*z(1)-2*z(2)+cos(2*t); z(1)]; Note that the first column of dz contains the equation for dx/ and the second an equation for /. The values of x and y are referred to as z(1) and z(2) since they are the first and second elements of the vector z. The range of t values and the initial conditions are input at the command line with: >> t=[0 10]; >> initz=[1; 0]; and the equations are solved and plotted using: >> [t,z]=ode45(@f2, t, initz); >> plot(t, z(:,2))

4 Figure 2. Solution of Second Order Differential Equation Modeling Linear Systems Using Simulink Simulink is a companion program to MATLAB and is included with the student version. It is an interactive system for simulating linear and nonlinear namic systems. It is a graphical mouse-driven program that allows you to model a system by drawing a block diagram on the screen and manipulating it namically. It can work with linear, nonlinear, continuous time, discrete time, multivariable, and multirate systems. In this section the basic operation of Simulink will be described. The next section will demonstrate the use of Simulink to solve differential equations. 1. Open MATLAB and in the command window, type: simulink at the prompt. Alternatively, there is a Simulink icon in the menu bar. 2. After a few seconds Simulink will open and the Simulink Library Browser will open as shown in figure 3. It is important to note that the list of libraries may be different on your computer. The libraries are a function of the toolboxes that you have installed.

5 Figure 3. Simulink Library Browser 3. Click on the Create a New Model icon in the Library Browser window. An additional window will open. This is where you will build your Simulink models. 4. Click on the + sign next to Simulink in the Library Browser. A list of sublibraries will appear including Continuous, Discrete, etc. These sub-libraries contain the most common Simulink blocks. 5. Click once on the Sources sub-library. You should see a listing of blocks as shown in the right column of figure 4.

6 Figure 4. Source Blocks in the Simulink Library 6. Scroll down this list until you see the Sine Wave icon. Click once on the icon to select it and drag this icon into the blank model window. 7. Click once on the Sinks sub-library in the left part of the Library Browser. Click and drag the Scope icon to the model window to the right of the Sine Wave block. The model window should now appear as shown in figure 5. Make sure you have used Scope, not Floating Scope.

7 Figure 5. Model Window with Sine Wave and Scope Blocks 8. Next we want to connect the Sine Wave to the Scope block. Move the mouse over the output terminal of the Sine Wave block until it becomes a crosshair. Click and drag the wire to the input terminal of the Scope block. The cursor will become a double cursor when it is in the correct position. Release the mouse button and the wire will snap into place. Your completed system should now appear as shown in figure 6. Figure 6. Completed System for Viewing Sine Wave

8 9. In the model window select Simulation Start. You will hear a beep when the simulation is complete. Double click on the Scope icon and it will open and display the output of the sine wave block. Try clicking on the binocular icon in the Scope window. This should cause the axes to readjust as shown in figure 7. Figure 7. Scope Display 10. Note that the period of the sine wave is just over six. What frequency does this correspond to? Return to the model window and double click on the Sine Wave block. The Sine Wave parameters window will open as shown in figure 8.

9 Figure 8. Sine Wave Block Parameters 11. The frequency was set to 1 rad/sec. Any of the parameters shown can be altered to change the sine wave. Change the entry in the frequency parameter to: 2*pi*10. This is a 10 Hz sine wave. Click OK and re-simulate. Use the binoculars icon to expand the scope display. What do you observe? The sine wave should NOT be displayed properly. This is because at this higher frequency the sampling rate has not been set high enough. 12. Return to the model window and select: Simulation Configuration Parameters. The Stop Time for the simulation defaults to 10. Change it to 1, click OK, and re-run the simulation. You should now be able to properly view the sine wave on the scope. Use the binoculars to expand the display. Verify that the period of each cycle is one 0.1 second as you expect for a 10 Hz wave. 13. Another method for modifying the display is to specify the step size. Return to the model window and select Simulation Configuration Parameters. Note that the Solver Type defaults to variable-step. Change the Solver Type to fixed step and

10 then enter the value 0.01 into the Fixed Step Size entry. Click OK and run the simulation once again. Note that the display is now smooth. 14. Drag the Pulse Generator from the Source sub-library into the model window. Double click the Pulse Generator block and modify the parameters as shown in figure 9 below. Click OK. Figure 9. Pulse Generator Parameters 15. In the scope window, click on the Parameters icon (second from the left). Change the number of axes to 2 and click OK. Return to the model window and note that the scope now has two inputs. Connect a wire from the Pulse Generator to the second input. Your model should now appear as shown in figure 10.

11 Figure 10. Model Window with Two Sources 16. Re-run the simulation and observe the two waveforms as shown in figure 11 below. Figure 11. Two Input Scope Window 17. Open the Continuous sub-library. Drag the Integrator block into the model window and reconfigure the diagram as shown in figure 12.

12 Figure 12. Simulink Diagram 18. Re-simulate the system and observe the output on the scope. Note that the second trace is now the integral of the pulse train input. Modeling a Differential Equation in Simulink Now we will use Simulink to model the differential equations solved earlier. Beginning with the first order differential equation: + 2y = u(t) u(t 1) First we need to simulate the single one-second pulse. Since the simulation will run for 0 t 5, we can use the pulse generator to generate a five second pulse with a 1 second pulse wih. Since it will not repeat within the five seconds, this simulates a single pulse. Remove the integrator from the model shown in figure 12 and connect the pulse generator directly to the scope input. Change the pulse generator to have the settings as shown in figure 13. The 20% pulse wih corresponds to one second as needed. Change the simulation time in the configuration parameters to five seconds and simulate the system. Specify fixed-step samples of 0.01 seconds. Verify that the pulse generator is outputting the desired pulse for the differential equation above.

13 Figure 13. Pulse Generator Settings for 1 Second Pulse The differential equation above can be written as: = 2y + u(t) u(t 1) = 2y + p(t) where p(t) is the one second pulse. The right hand side of this equation can be modeled in Simulink using the model shown in figure 14. The subtraction block and the gain block are found in the Math Operations sub-library. Figure 14. Simulink Model

14 The labels on the wires are inserted by double clicking on the wires and typing in the text. By double clicking on the gain block you can set its constant to two. If the input to the gain block is y, then the output of the subtractor is /. By passing this output through an integrator, the input y is found. The model in figure 15 should now simulate the original differential equation. Figure 15. Simulink Model of First Order Differential Equation Run the simulation for 5 seconds and confirm that the scope displays the same output as we obtained in the first section of this tutorial. We can also simulate the second order differential equation: d 2 y y = cos2t in Simulink. This equation can be re-written as: d 2 y 2 = 3 2y + cos2t and modeled in Simulink as shown in figure 16. In order to get the three input subtractor, use the two input subtractor selected above. Double click on the block and change the

15 List of Signs to: This will result in a block that adds the top input and subtracts the second and third inputs. Figure 16. Simulink Model In order to get y and / we need to integrate the output of this summer twice. If we add two integrators to the output of figure 16 we can feed the values of y and / back to the inputs as shown in figure 17. Figure 17. Simulink Model of 2 nd Order Differential Equation Simulate the circuit for 10 seconds. The output shown in figure 18 is obtained on the scope.

16 Figure 18. MATLAB Scope Output If we want to compare this output to that obtained in the earlier solution we can save the output to the workspace. The simout block found in the Sinks sub-library is added as shown in figure 19. Double click the simout block and change the format of the output to an Array. Figure 19. Simulink Model of 2 nd Order Circuit Simulate the model again. Note that an array named simout appears in the workspace. Plot this output along with the output obtained for the command line solution of the second order differential equation. The following commands are used: >> z = [1; 0]; >> t = [0 10]; >> [t, z]=ode45(@f2, t, z);

17 >> plot(t,z(:,2)) >> hold on >> plot(0:.01:10, simout, 'r') The two solutions appear in figure 20. Note that the time values for the simout plot are determined by the fixed spacing of 0.01 specified in the configuration parameters in Simulink. Figure 20. Two Solutions of the 2 nd Order Differential Equation The solutions are not the same. There are two reasons. First of all, the sinusoidal input is a sine and not a cos. In order to convert a sine to a cos we need to apply a phase shift of π/2. Double click on the Sine Wave block and enter: pi/2 for the phase. Re-simulate and plot along with the command line solution as shown in figure 21. Figure 21. Two Solutions of the 2 nd Order Differential Equation

18 Now the stea state portions of the solutions are the same. However, the initial transient response is not. This is because the two solutions were obtained with different initial conditions. In the earlier command line solution the initial conditions: y(0) = 0 and t =0 = 1 were used. The integrator blocks in Simulink allow for the inclusion of initial conditions. The second integrator outputs the value of y. Thus, the default initial condition of zero is correct. However the first integrator outputs /. Double click on the first integrator and change the initial condition to one. After simulating and replotting both solutions the curves in figure 22 are obtained. Note that the solutions now match. This confirms that either method will provide a correct solution. Figure 22. Two Solutions of the 2 nd Order Differential Equation

19

Introduction to Simulink

Introduction to Simulink Introduction to Simulink MEEN 364 Simulink is a software package for modeling, simulating, and analyzing dynamical systems. It supports linear and nonlinear systems, modeled in continuous time, sampled

More information

An Introduction to Using Simulink

An Introduction to Using Simulink An Introduction to Using Simulink Eric Peasley, Department of Engineering Science, University of Oxford version 4.0, 2013 An Introduction To Using Simulink. Eric Peasley, Department of Engineering Science,

More information

Building a Simulink model for real-time analysis V1.15.00. Copyright g.tec medical engineering GmbH

Building a Simulink model for real-time analysis V1.15.00. Copyright g.tec medical engineering GmbH g.tec medical engineering GmbH Sierningstrasse 14, A-4521 Schiedlberg Austria - Europe Tel.: (43)-7251-22240-0 Fax: (43)-7251-22240-39 office@gtec.at, http://www.gtec.at Building a Simulink model for real-time

More information

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT) Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT) Reference Text : Process Dynamics and Control 2 nd edition, by Seborg, Edgar, Mellichamp,

More information

Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.

Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model. Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model. Introduction To Mentor Graphics Mentor Graphics BOLD browser allows

More information

Práctica 1: PL 1a: Entorno de programación MathWorks: Simulink

Práctica 1: PL 1a: Entorno de programación MathWorks: Simulink Práctica 1: PL 1a: Entorno de programación MathWorks: Simulink 1 Objetivo... 3 Introducción Simulink... 3 Open the Simulink Library Browser... 3 Create a New Simulink Model... 4 Simulink Examples... 4

More information

Module 2 Introduction to SIMULINK

Module 2 Introduction to SIMULINK Module 2 Introduction to SIMULINK Although the standard MATLAB package is useful for linear systems analysis, SIMULINK is far more useful for control system simulation. SIMULINK enables the rapid construction

More information

Summary of important mathematical operations and formulas (from first tutorial):

Summary of important mathematical operations and formulas (from first tutorial): EXCEL Intermediate Tutorial Summary of important mathematical operations and formulas (from first tutorial): Operation Key Addition + Subtraction - Multiplication * Division / Exponential ^ To enter a

More information

Lab 3: Introduction to Data Acquisition Cards

Lab 3: Introduction to Data Acquisition Cards Lab 3: Introduction to Data Acquisition Cards INTRODUCTION: In this lab, you will be building a VI to display the input measured on a channel. However, within your own VI you will use LabVIEW supplied

More information

How to program a Zumo Robot with Simulink

How to program a Zumo Robot with Simulink How to program a Zumo Robot with Simulink Created by Anuja Apte Last updated on 2015-03-13 11:15:06 AM EDT Guide Contents Guide Contents Overview Hardware Software List of Software components: Simulink

More information

Setting Up Outlook on Workstation to Capture Emails

Setting Up Outlook on Workstation to Capture Emails Setting Up Outlook on Workstation to Capture Emails Setting up Outlook to allow email to pass directly to M-Files requires a number of steps to assure that all of the data required is sent to the correct

More information

Lab 1: Full Adder 0.0

Lab 1: Full Adder 0.0 Lab 1: Full Adder 0.0 Introduction In this lab you will design a simple digital circuit called a full adder. You will then use logic gates to draw a schematic for the circuit. Finally, you will verify

More information

Two's Complement Adder/Subtractor Lab L03

Two's Complement Adder/Subtractor Lab L03 Two's Complement Adder/Subtractor Lab L03 Introduction Computers are usually designed to perform indirect subtraction instead of direct subtraction. Adding -B to A is equivalent to subtracting B from A,

More information

Solving ODEs in Matlab. BP205 M.Tremont 1.30.2009

Solving ODEs in Matlab. BP205 M.Tremont 1.30.2009 Solving ODEs in Matlab BP205 M.Tremont 1.30.2009 - Outline - I. Defining an ODE function in an M-file II. III. IV. Solving first-order ODEs Solving systems of first-order ODEs Solving higher order ODEs

More information

Simulink Getting Started Guide

Simulink Getting Started Guide Simulink Getting Started Guide R05b How to Contact MathWorks Latest news: www.mathworks.com Sales and services: www.mathworks.com/sales_and_services User community: www.mathworks.com/matlabcentral Technical

More information

Excel Guide for Finite Mathematics and Applied Calculus

Excel Guide for Finite Mathematics and Applied Calculus Excel Guide for Finite Mathematics and Applied Calculus Revathi Narasimhan Kean University A technology guide to accompany Mathematical Applications, 6 th Edition Applied Calculus, 2 nd Edition Calculus:

More information

Lab 1: Introduction to PSpice

Lab 1: Introduction to PSpice Lab 1: Introduction to PSpice Objectives A primary purpose of this lab is for you to become familiar with the use of PSpice and to learn to use it to assist you in the analysis of circuits. The software

More information

CONCEPT-II. Overview of demo examples

CONCEPT-II. Overview of demo examples CONCEPT-II CONCEPT-II is a frequency domain method of moment (MoM) code, under development at the Institute of Electromagnetic Theory at the Technische Universität Hamburg-Harburg (www.tet.tuhh.de). Overview

More information

FREE FALL. Introduction. Reference Young and Freedman, University Physics, 12 th Edition: Chapter 2, section 2.5

FREE FALL. Introduction. Reference Young and Freedman, University Physics, 12 th Edition: Chapter 2, section 2.5 Physics 161 FREE FALL Introduction This experiment is designed to study the motion of an object that is accelerated by the force of gravity. It also serves as an introduction to the data analysis capabilities

More information

Maple Quick Start. Introduction. Talking to Maple. Using [ENTER] 3 (2.1)

Maple Quick Start. Introduction. Talking to Maple. Using [ENTER] 3 (2.1) Introduction Maple Quick Start In this introductory course, you will become familiar with and comfortable in the Maple environment. You will learn how to use context menus, task assistants, and palettes

More information

Generating ABI PRISM 7700 Standard Curve Plots in a Spreadsheet Program

Generating ABI PRISM 7700 Standard Curve Plots in a Spreadsheet Program Generating ABI PRISM 7700 Standard Curve Plots in a Spreadsheet Program Overview The goal of this tutorial is to demonstrate the procedure through which analyzed data generated within an ABI PRISM 7700

More information

Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command

Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command 7 Getting Started 7.1 Construction of a Simple Diagram Scicos contains a graphical editor that can be used to construct block diagram models of dynamical systems. The blocks can come from various palettes

More information

Beginner s Matlab Tutorial

Beginner s Matlab Tutorial Christopher Lum lum@u.washington.edu Introduction Beginner s Matlab Tutorial This document is designed to act as a tutorial for an individual who has had no prior experience with Matlab. For any questions

More information

Scientific Graphing in Excel 2010

Scientific Graphing in Excel 2010 Scientific Graphing in Excel 2010 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.

More information

Piston Ring. Problem:

Piston Ring. Problem: Problem: A cast-iron piston ring has a mean diameter of 81 mm, a radial height of h 6 mm, and a thickness b 4 mm. The ring is assembled using an expansion tool which separates the split ends a distance

More information

EE 242 EXPERIMENT 5: COMPUTER SIMULATION OF THREE-PHASE CIRCUITS USING PSPICE SCHEMATICS 1

EE 242 EXPERIMENT 5: COMPUTER SIMULATION OF THREE-PHASE CIRCUITS USING PSPICE SCHEMATICS 1 EE 242 EXPERIMENT 5: COMPUTER SIMULATION OF THREE-PHASE CIRCUITS USING PSPICE SCHEMATICS 1 Objective: To build, simulate, and analyze three-phase circuits using OrCAD Capture Pspice Schematics under balanced

More information

Circuit Simulation: Here are some of ADS analysis:

Circuit Simulation: Here are some of ADS analysis: Advanced Design System (ADS) Tutorial: ADS is a simulator like spice, cadence. But it focuses on the RF and microwave design, so most of its devices on the library are microwave devices. Circuit Simulation:

More information

Introduction. Chapter 1

Introduction. Chapter 1 Chapter 1 Introduction MATLAB (Matrix laboratory) is an interactive software system for numerical computations and graphics. As the name suggests, MATLAB is especially designed for matrix computations:

More information

Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data

Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data In the measurement of the Spin-Lattice Relaxation time T 1, a 180 o pulse is followed after a delay time of t with a 90 o pulse,

More information

Getting Started with Crystal Reports Session Description:

Getting Started with Crystal Reports Session Description: Session Description: If you would like to create customized reports look no further. This session will introduce you to the tools needed to write basic reports using the Report Wizard and Blank Report

More information

Lecture 2 Mathcad Basics

Lecture 2 Mathcad Basics Operators Lecture 2 Mathcad Basics + Addition, - Subtraction, * Multiplication, / Division, ^ Power ( ) Specify evaluation order Order of Operations ( ) ^ highest level, first priority * / next priority

More information

Excel Tutorial. Bio 150B Excel Tutorial 1

Excel Tutorial. Bio 150B Excel Tutorial 1 Bio 15B Excel Tutorial 1 Excel Tutorial As part of your laboratory write-ups and reports during this semester you will be required to collect and present data in an appropriate format. To organize and

More information

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click. EDIT202 Spreadsheet Lab Assignment Guidelines Getting Started 1. For this lab you will modify a sample spreadsheet file named Starter- Spreadsheet.xls which is available for download from the Spreadsheet

More information

Preface of Excel Guide

Preface of Excel Guide Preface of Excel Guide The use of spreadsheets in a course designed primarily for business and social science majors can enhance the understanding of the underlying mathematical concepts. In addition,

More information

Start Active-HDL by double clicking on the Active-HDL Icon (windows).

Start Active-HDL by double clicking on the Active-HDL Icon (windows). Getting Started Using Aldec s Active-HDL This guide will give you a short tutorial in using the project mode of Active-HDL. This tutorial is broken down into the following sections 1. Part 1: Compiling

More information

This activity will show you how to draw graphs of algebraic functions in Excel.

This activity will show you how to draw graphs of algebraic functions in Excel. This activity will show you how to draw graphs of algebraic functions in Excel. Open a new Excel workbook. This is Excel in Office 2007. You may not have used this version before but it is very much the

More information

Importing from Tab-Delimited Files

Importing from Tab-Delimited Files January 25, 2012 Importing from Tab-Delimited Files Tab-delimited text files are an easy way to import metadata for multiple files. (For more general information about using and troubleshooting tab-delimited

More information

6.094 Introduction to Programming in MATLAB

6.094 Introduction to Programming in MATLAB 6.094 Introduction to Programming in MATLAB Lecture 5: Symbolics, Simulink, File I/O, Building GUIs Instructor: Danilo Šćepanović IAP 2010 Outline (1) Symbolic Math (2) Simulink (3) File I/O (4) Graphical

More information

Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz

Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz Xilinx ISE Tutorial Department of Electrical and Computer Engineering State University of New York New Paltz Fall 2010 Baback Izadi Starting the ISE Software Start ISE from the

More information

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy CATIA V5 Tutorials Mechanism Design & Animation Release 18 Nader G. Zamani University of Windsor Jonathan M. Weaver University of Detroit Mercy SDC PUBLICATIONS Schroff Development Corporation www.schroff.com

More information

A Guide to Using Excel in Physics Lab

A Guide to Using Excel in Physics Lab A Guide to Using Excel in Physics Lab Excel has the potential to be a very useful program that will save you lots of time. Excel is especially useful for making repetitious calculations on large data sets.

More information

Lab 4 - Data Acquisition

Lab 4 - Data Acquisition Spring 11 Lab 4 - Data Acquisition Lab 4-1 Lab 4 - Data Acquisition Format This lab will be conducted during your regularly scheduled lab time in a group format. Each student is responsible for learning

More information

Work with Arduino Hardware

Work with Arduino Hardware 1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running

More information

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Excel Tutorial Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information. Working with Data Entering and Formatting Data Before entering data

More information

Excel 2010: Create your first spreadsheet

Excel 2010: Create your first spreadsheet Excel 2010: Create your first spreadsheet Goals: After completing this course you will be able to: Create a new spreadsheet. Add, subtract, multiply, and divide in a spreadsheet. Enter and format column

More information

MATLAB Control System Toolbox Root Locus Design GUI

MATLAB Control System Toolbox Root Locus Design GUI MATLAB Control System Toolbox Root Locus Design GUI MATLAB Control System Toolbox contains two Root Locus design GUI, sisotool and rltool. These are two interactive design tools for the analysis and design

More information

EET 310 Programming Tools

EET 310 Programming Tools Introduction EET 310 Programming Tools LabVIEW Part 1 (LabVIEW Environment) LabVIEW (short for Laboratory Virtual Instrumentation Engineering Workbench) is a graphical programming environment from National

More information

0 Introduction to Data Analysis Using an Excel Spreadsheet

0 Introduction to Data Analysis Using an Excel Spreadsheet Experiment 0 Introduction to Data Analysis Using an Excel Spreadsheet I. Purpose The purpose of this introductory lab is to teach you a few basic things about how to use an EXCEL 2010 spreadsheet to do

More information

3. On the top menu bar, click on File > New > Project as shown in Fig. 2 below: Figure 2 Window for Orcad Capture CIS

3. On the top menu bar, click on File > New > Project as shown in Fig. 2 below: Figure 2 Window for Orcad Capture CIS Department of Electrical Engineering University of North Texas Denton, TX. 76207 EENG 2920 Quickstart PSpice Tutorial Tutorial Prepared by Oluwayomi Adamo 1. To run the PSpice program, click on Start >

More information

Copyright 2011 Linear Technology. All rights reserved.

Copyright 2011 Linear Technology. All rights reserved. Copyright. All rights reserved. LTspice IV Getting Started Guide 2 Benefits of Using LTspice IV Stable SPICE circuit simulation with Unlimited number of nodes Schematic/symbol editor Waveform viewer Library

More information

This activity will guide you to create formulas and use some of the built-in math functions in EXCEL.

This activity will guide you to create formulas and use some of the built-in math functions in EXCEL. Purpose: This activity will guide you to create formulas and use some of the built-in math functions in EXCEL. The three goals of the spreadsheet are: Given a triangle with two out of three angles known,

More information

Excel Companion. (Profit Embedded PHD) User's Guide

Excel Companion. (Profit Embedded PHD) User's Guide Excel Companion (Profit Embedded PHD) User's Guide Excel Companion (Profit Embedded PHD) User's Guide Copyright, Notices, and Trademarks Copyright, Notices, and Trademarks Honeywell Inc. 1998 2001. All

More information

Introduction to ROOT and data analysis

Introduction to ROOT and data analysis Introduction to ROOT and data analysis What is ROOT? Widely used in the online/offline data analyses in particle and nuclear physics Developed for the LHC experiments in CERN (root.cern.ch) Based on Object

More information

Interactive Excel Spreadsheets:

Interactive Excel Spreadsheets: Interactive Excel Spreadsheets: Constructing Visualization Tools to Enhance Your Learner-centered Math and Science Classroom Scott A. Sinex Department of Physical Sciences and Engineering Prince George

More information

Microsoft Access Rollup Procedure for Microsoft Office 2007. 2. Click on Blank Database and name it something appropriate.

Microsoft Access Rollup Procedure for Microsoft Office 2007. 2. Click on Blank Database and name it something appropriate. Microsoft Access Rollup Procedure for Microsoft Office 2007 Note: You will need tax form information in an existing Excel spreadsheet prior to beginning this tutorial. 1. Start Microsoft access 2007. 2.

More information

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by internal auditors around the world in their day-to-day

More information

Creating a new project: Choose File> New Project. A dialog box appears and asking about the work directory that by default

Creating a new project: Choose File> New Project. A dialog box appears and asking about the work directory that by default Advanced Design System (ADS) Tutorial: ADS is a simulator like spice, cadence. But it focuses on the RF and microwave design, so most of its devices on the library are microwave devices. Circuit Simulation:

More information

Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor)

Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor) Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor) Concept: circuits Time: 30 m SW Interface: 750 Windows file: RLC.SWS EQUIPMENT NEEDED Science Workshop Interface Power Amplifier (2) Voltage

More information

Gestation Period as a function of Lifespan

Gestation Period as a function of Lifespan This document will show a number of tricks that can be done in Minitab to make attractive graphs. We work first with the file X:\SOR\24\M\ANIMALS.MTP. This first picture was obtained through Graph Plot.

More information

Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005

Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005 Introduction to OpenOffice Writer 2.0 Jessica Kubik Information Technology Lab School of Information University of Texas at Austin Fall 2005 Introduction: OpenOffice Writer is a word processing application

More information

Electronic WorkBench tutorial

Electronic WorkBench tutorial Electronic WorkBench tutorial Introduction Electronic WorkBench (EWB) is a simulation package for electronic circuits. It allows you to design and analyze circuits without using breadboards, real components

More information

Designing a Schematic and Layout in PCB Artist

Designing a Schematic and Layout in PCB Artist Designing a Schematic and Layout in PCB Artist Application Note Max Cooper March 28 th, 2014 ECE 480 Abstract PCB Artist is a free software package that allows users to design and layout a printed circuit

More information

Jump-Start Tutorial For ProcessModel

Jump-Start Tutorial For ProcessModel Jump-Start Tutorial For ProcessModel www.blueorange.org.uk ProcessModel Jump-Start Tutorial This tutorial provides step-by-step instructions for creating a process model, running the simulation, and viewing

More information

MICROSOFT WORD TUTORIAL

MICROSOFT WORD TUTORIAL MICROSOFT WORD TUTORIAL G E T T I N G S T A R T E D Microsoft Word is one of the most popular word processing programs supported by both Mac and PC platforms. Microsoft Word can be used to create documents,

More information

MATLAB. Creating Graphical User Interfaces Version 6. The Language of Technical Computing. Computation. Visualization. Programming

MATLAB. Creating Graphical User Interfaces Version 6. The Language of Technical Computing. Computation. Visualization. Programming MATLAB The Language of Technical Computing Computation Visualization Programming Creating Graphical User Interfaces Version 6 How to Contact The MathWorks: www.mathworks.com comp.soft-sys.matlab support@mathworks.com

More information

PLAY VIDEO. Close- Closes the file you are working on and takes you back to MicroStation V8i Open File dialog.

PLAY VIDEO. Close- Closes the file you are working on and takes you back to MicroStation V8i Open File dialog. Chapter Five Menus PLAY VIDEO INTRODUCTION To be able to utilize the many different menus and tools MicroStation V8i offers throughout the program and this guide, you must first be able to locate and understand

More information

Using Excel to Execute Trigonometric Functions

Using Excel to Execute Trigonometric Functions In this activity, you will learn how Microsoft Excel can compute the basic trigonometric functions (sine, cosine, and tangent) using both radians and degrees. 1. Open Microsoft Excel if it s not already

More information

Command-induced Tracking Jitter Study I D. Clark November 24, 2009

Command-induced Tracking Jitter Study I D. Clark November 24, 2009 Command-induced Tracking Jitter Study I D. Clark November 24, 2009 Introduction Reports of excessive tracking jitter on the MMT elevation axis have lately been theorized to be caused by the input command

More information

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER 2014 Amplifier - 1 FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER The objectives of this experiment are: To understand the concept of HI-FI audio equipment To generate a frequency response curve for an audio

More information

Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives. Laboratory #3 Figures of Merit

Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives. Laboratory #3 Figures of Merit Electrical and Computer Engineering E E 452. Electric Machines and Power Electronic Drives Laboratory #3 Figures of Merit Summary Simple experiments will be conducted. Experimental waveforms will be measured,

More information

CNCTRAIN OVERVIEW CNC Simulation Systems 1995 2008

CNCTRAIN OVERVIEW CNC Simulation Systems 1995 2008 CNCTRAIN OVERVIEW CNC Simulation Systems 1995 2008 p2 Table of Contents Getting Started 4 Select a control system 5 Setting the Best Screen Layout 6 Loading Cnc Files 7 Simulation Modes 9 Running the Simulation

More information

RLC Series Resonance

RLC Series Resonance RLC Series Resonance 11EM Object: The purpose of this laboratory activity is to study resonance in a resistor-inductor-capacitor (RLC) circuit by examining the current through the circuit as a function

More information

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS Last Edited: 2012-07-09 1 Access to Outlook contacts area... 4 Manage Outlook contacts view... 5 Change the view of Contacts area... 5 Business Cards view... 6

More information

WebSphere Business Monitor V7.0 Business space dashboards

WebSphere Business Monitor V7.0 Business space dashboards Copyright IBM Corporation 2010 All rights reserved IBM WEBSPHERE BUSINESS MONITOR 7.0 LAB EXERCISE WebSphere Business Monitor V7.0 What this exercise is about... 2 Lab requirements... 2 What you should

More information

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW LabVIEW Day 1 Basics Vern Lindberg LabVIEW first shipped in 1986, with very basic objects in place. As it has grown (currently to Version 10.0) higher level objects such as Express VIs have entered, additional

More information

By Clicking on the Worksheet you are in an active Math Region. In order to insert a text region either go to INSERT -TEXT REGION or simply

By Clicking on the Worksheet you are in an active Math Region. In order to insert a text region either go to INSERT -TEXT REGION or simply Introduction and Basics Tet Regions By Clicking on the Worksheet you are in an active Math Region In order to insert a tet region either go to INSERT -TEXT REGION or simply start typing --the first time

More information

The very basic basics of PowerPoint XP

The very basic basics of PowerPoint XP The very basic basics of PowerPoint XP TO START The above window automatically shows when you first start PowerPoint. At this point, there are several options to consider when you start: 1) Do you want

More information

WebSphere Business Monitor V6.2 Business space dashboards

WebSphere Business Monitor V6.2 Business space dashboards Copyright IBM Corporation 2009 All rights reserved IBM WEBSPHERE BUSINESS MONITOR 6.2 LAB EXERCISE WebSphere Business Monitor V6.2 What this exercise is about... 2 Lab requirements... 2 What you should

More information

Lab 1. The Fourier Transform

Lab 1. The Fourier Transform Lab 1. The Fourier Transform Introduction In the Communication Labs you will be given the opportunity to apply the theory learned in Communication Systems. Since this is your first time to work in the

More information

PSPICE TUTORIAL (BASIC)

PSPICE TUTORIAL (BASIC) Department of Electrical & Computer Engineering PSPICE TUTORIAL (BASIC) Professor: Dr. Subbarao V. Wunnava Teaching Assistant: Rafael Romero COURTESY: ED LULE/ BORIS LINO/ORCAD Updated: Spring.2006, 07

More information

How to test and debug an ASP.NET application

How to test and debug an ASP.NET application Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult

More information

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different) Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different) Spreadsheets are computer programs that allow the user to enter and manipulate numbers. They are capable

More information

SAS Analyst for Windows Tutorial

SAS Analyst for Windows Tutorial Updated: August 2012 Table of Contents Section 1: Introduction... 3 1.1 About this Document... 3 1.2 Introduction to Version 8 of SAS... 3 Section 2: An Overview of SAS V.8 for Windows... 3 2.1 Navigating

More information

Learning Module 6 Linear Dynamic Analysis

Learning Module 6 Linear Dynamic Analysis Learning Module 6 Linear Dynamic Analysis What is a Learning Module? Title Page Guide A Learning Module (LM) is a structured, concise, and self-sufficient learning resource. An LM provides the learner

More information

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN STEP 7 MICRO/WIN TUTORIAL Step7 Micro/WIN makes programming of S7-200 easier. Programming of S7-200 by using Step 7 Micro/WIN will be introduced in a simple example. Inputs will be defined as IX.X, outputs

More information

GeoGebra Statistics and Probability

GeoGebra Statistics and Probability GeoGebra Statistics and Probability Project Maths Development Team 2013 www.projectmaths.ie Page 1 of 24 Index Activity Topic Page 1 Introduction GeoGebra Statistics 3 2 To calculate the Sum, Mean, Count,

More information

How to Concatenate Cells in Microsoft Access

How to Concatenate Cells in Microsoft Access How to Concatenate Cells in Microsoft Access This tutorial demonstrates how to concatenate cells in Microsoft Access. Sometimes data distributed over multiple columns is more efficient to use when combined

More information

Years after 2000. US Student to Teacher Ratio 0 16.048 1 15.893 2 15.900 3 15.900 4 15.800 5 15.657 6 15.540

Years after 2000. US Student to Teacher Ratio 0 16.048 1 15.893 2 15.900 3 15.900 4 15.800 5 15.657 6 15.540 To complete this technology assignment, you should already have created a scatter plot for your data on your calculator and/or in Excel. You could do this with any two columns of data, but for demonstration

More information

Exercise 10: Basic LabVIEW Programming

Exercise 10: Basic LabVIEW Programming Exercise 10: Basic LabVIEW Programming In this exercise we will learn the basic principles in LabVIEW. LabVIEW will be used in later exercises and in the project part, as well in other courses later, so

More information

Formulas, Functions and Charts

Formulas, Functions and Charts Formulas, Functions and Charts :: 167 8 Formulas, Functions and Charts 8.1 INTRODUCTION In this leson you can enter formula and functions and perform mathematical calcualtions. You will also be able to

More information

Word 2010: Mail Merge to Email with Attachments

Word 2010: Mail Merge to Email with Attachments Word 2010: Mail Merge to Email with Attachments Table of Contents TO SEE THE SECTION FOR MACROS, YOU MUST TURN ON THE DEVELOPER TAB:... 2 SET REFERENCE IN VISUAL BASIC:... 2 CREATE THE MACRO TO USE WITHIN

More information

In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class.

In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class. Creating a Pie Graph Step-by-step directions In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class. 1. Enter Data A. Open

More information

EXPERIMENT NUMBER 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP

EXPERIMENT NUMBER 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP 1 EXPERIMENT NUMBER 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP Purpose: To demonstrate the relationship between the voltage and current of a capacitor. Theory: A capacitor is a linear circuit element whose

More information

Introduction to Microsoft Word 2003

Introduction to Microsoft Word 2003 Introduction to Microsoft Word 2003 Sabeera Kulkarni Information Technology Lab School of Information University of Texas at Austin Fall 2004 1. Objective This tutorial is designed for users who are new

More information

Creating a table of contents quickly in Word

Creating a table of contents quickly in Word Creating a table of contents quickly in Word This note shows you how to set up a table of contents that can be generated and updated quickly and easily, even for the longest and most complex documents.

More information

Introduction to the TI-Nspire CX

Introduction to the TI-Nspire CX Introduction to the TI-Nspire CX Activity Overview: In this activity, you will become familiar with the layout of the TI-Nspire CX. Step 1: Locate the Touchpad. The Touchpad is used to navigate the cursor

More information

E x p e r i m e n t 5 DC Motor Speed Control

E x p e r i m e n t 5 DC Motor Speed Control E x p e r i m e n t 5 DC Motor Speed Control IT IS PREFERED that students ANSWER THE QUESTION/S BEFORE DOING THE LAB BECAUSE THAT provides THE BACKGROUND information needed for THIS LAB. (0% of the grade

More information

Reading Wonders Training Resource Guide

Reading Wonders Training Resource Guide Reading Wonders Training Resource Guide Table of Contents Page Register for Your Teacher Access 2 Redeem Master Codes 4 Enroll Students Teacher / District Import (Single or Multiple Students) 7 Individual

More information

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11 MS Excel Handout: Level 2 elearning Department 2016 Page 1 of 11 Contents Excel Environment:... 3 To create a new blank workbook:...3 To insert text:...4 Cell addresses:...4 To save the workbook:... 5

More information