Tutorial 3 1 X C. = where f is frequency (Hz), C is the capacitance (F) Pseudocode

Size: px
Start display at page:

Download "Tutorial 3 1 X C. = where f is frequency (Hz), C is the capacitance (F) Pseudocode"

Transcription

1 Tutorial 3 Pseudocode 1. Using pseudocode design a program to read 3 numbers from the keyboard, add them together, and display the result on the screen. 2. Using pseudocode design a program to calculate the reactance of a capacitor. All values required should be entered by the user. 1 X C = where f is frequency (Hz), C is the capacitance (F) 2πfC 3. Using pseudocode design a program to calculate the total resistance of 2 resistors in series or parallel. The user should enter the values of the resistances and whether or not the resistors are in series or in parallel. 4. Using pseudocode design a program that finds the sum of a set of consecutive numbers between the starting value and the ending value entered by the user. The value of the counter and the progessive sum should be displayed on the screen as the program is calculating. Once the sum has been found, the final result should be displayed with an appropriate message. eg. for numbers between 1 and 4, the program would output the following: The sum is 10 Note: The sum of the numbers between 1 and 10 inclusive is Using pseudocode design a program for a guessing game between 1 and 10. The player is to guess the number and if the player guesses the number then the player wins. If the player doesn t guess the number then the program will keep asking the player to enter a new number until the player wins. Specifically: the program would find a random number, and then ask the player to guess the number. The program should tell the player if the number was greater than, or smaller than the random number. If the number equals the random number then You Win!! is displayed and the program ends. Otherwise the program should keep asking the player to guess the number until the player finally guesses the number. The random number can be found using the following module. The module will find a random value in the range defined by start and end. Eg. start=5 and end=7 gives a random number between 5 and 7 inclusive. Assume that this module is already written for you. random(in:start,end OUT:random_ value) 6. Using pseudocode design a program to find the reactance of a 1mH inductor in the frequency range 1K to 100K Hz using 1KHz intervals. Use a module to calculate the reactance. The module should be called from the loop. X L = 2πfL where f is frequency (Hz), L is the inductance (H)

2 Solutions 1) Get input Calculate result Display result PROGRAM ADD read num1from keyboard read num2 from keyboard read num3 from keyboard set result = num1 + num2 + num3 write result to screen 2) Get input Calculate result display result PROGRAM CAPACITOR_REACTANCE read cap from keyboard read freq from keyboard set xc = 1 / ( 2 * pi * freq * cap) write xc to screen

3 3) get input calculate resistance display results 4) PROGRAM CALC_RES write Enter whether series or parallel to screen read ser_or_par from keyboard read r1 from keyboard read r2 from keyboard IF (ser_or_par = series) set total = r1 + r2 ELSE set total = (r1 * r2) / (r1 + r2) write total to screen get input for k = start to end calculate sum PROGRAM SUM write Enter the start value to screen read loop_start from keyboard write Enter the end value to the screen read loop_end from keyboard sum = 0 FOR counter IS loop_start TO loop_end DO set sum = sum + counter write counter,sum to screen write Total sum is sum to screen

4 5) Note: There are different ways of doing this problem. The methods below all use a flag variable. guess random number while input not equal to = check number against random number display result PROGRAM GUESS1 // While method set leave = false random(in:1,10 OUT:rand) // get the random number. WHILE (leave = false) DO write Enter your guess read guess from keyboard IF (guess < rand) write < to screen IF (guess > rand) write > to screen IF (guess = rand) write You Win! to screen set leave = true PROGRAM GUESS2 // Repeat-Until method set leave = false // assuming a random function. This is for illustration purposes only. // The question would give the form of any function required. random(in:1,10 OUT:rand) REPEAT Write Enter your guess to screen read guess from keyboard IF (guess < rand) write < to screen IF (guess > rand) write > to screen IF (guess = rand) write You Win! to screen set leave = true UNTIL (leave = true)

5 6) for f = 1k to 10k calc_impedance display impedance module: z = 2πfL PROGRAM INDUCTOR_REACTANCE: set L = 1m FOR f IS 1k TO 100K STEP 1K DO calc_reactance(in: f,l OUT: z) write z to screen MODULE calc_reactance(in: freq, L set result = 2*pi*freq*L OUT: result) // the value for pi can be assumed

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 2 SUPPLEMENTARY EXAMINATION 2010

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 2 SUPPLEMENTARY EXAMINATION 2010 NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 2 SUPPLEMENTARY EXAMINATION 2010 (12041022) 19 February (Y-Paper) 13:00 16:00 Calculators may be used. This question

More information

A brief introduction to SCILAB

A brief introduction to SCILAB A brief introduction to SCILAB SCILAB is a powerful and versatile package for mathematical modelling and an excellent tool for solving a wide range of engineering problems. SCILAB supports simple interactive

More information

DU MSc Electronics. Topic:- DU_J18_MSC_ELEC. Correct Answer :- C only [Option ID = 89628] Correct Answer : kw [Option ID = 89858]

DU MSc Electronics. Topic:- DU_J18_MSC_ELEC. Correct Answer :- C only [Option ID = 89628] Correct Answer : kw [Option ID = 89858] DU MSc Electronics Topic:- DU_J18_MSC_ELEC 1) A DC voltage source is connected across a series R L C circuit. Under steady conditions, the applied DC voltage drops entirely across the: [Question ID = 52409]

More information

40,000-Count Dual-Display Handheld LCR Meters Models 878B, 879B, and 880

40,000-Count Dual-Display Handheld LCR Meters Models 878B, 879B, and 880 Data Sheet 40,000-Count Dual-Display Handheld LCR Meters Full Featured Handheld LCR Meters The 878B, 879B, and 880 40,000-count handheld LCR meters measure inductance, capacitance, and resistance quickly

More information

CMPT 120 Introduction To Computing Science And Programming I. Pseudocode. Summer 2012 Instructor: Hassan Khosravi

CMPT 120 Introduction To Computing Science And Programming I. Pseudocode. Summer 2012 Instructor: Hassan Khosravi CMPT 120 Introduction To Computing Science And Programming I Pseudocode Summer 2012 Instructor: Hassan Khosravi Guessing game 1. Tell the user to pick a secret number between 1 and 100. 2. The smallest

More information

LOOPS. Repetition using the while statement

LOOPS. Repetition using the while statement 1 LOOPS Loops are an extremely useful feature in any programming language. They allow you to direct the computer to execute certain statements more than once. In Python, there are two kinds of loops: while

More information

Derivation of Startup Mode Parameters For IEEE 802.3af Standard Power over MDI Yair Darshan

Derivation of Startup Mode Parameters For IEEE 802.3af Standard Power over MDI Yair Darshan Derivation of Startup Mode Parameters For IEEE 802.3af Standard Power over MDI Yair Darshan General... 2 List of System Objectives... 2 Derivation of Startup Mode Parameters... 2 Equations Derivation...

More information

Chapter 5: Control Structures II (Repetition) Objectives (cont d.) Objectives. while Looping (Repetition) Structure. Why Is Repetition Needed?

Chapter 5: Control Structures II (Repetition) Objectives (cont d.) Objectives. while Looping (Repetition) Structure. Why Is Repetition Needed? Chapter 5: Control Structures II (Repetition) Objectives In this chapter, you will: Learn about repetition (looping) control structures Explore how to construct and use countercontrolled, sentinel-controlled,

More information

EF

EF EF Application Note DC bus paralleling Issue:1 1 DC bus paralleling...4 1.1 hy connect DC buses together?...4 1.2 Advantages and disadvantages of different methods...5 1.3 Main considerations...6 1.4 Implementation

More information

C++ Programming: From Problem Analysis to Program Design, Fourth Edition. Chapter 5: Control Structures II (Repetition)

C++ Programming: From Problem Analysis to Program Design, Fourth Edition. Chapter 5: Control Structures II (Repetition) C++ Programming: From Problem Analysis to Program Design, Fourth Edition Chapter 5: Control Structures II (Repetition) Objectives In this chapter, you will: Learn about repetition (looping) control structures

More information

Programming Language. Control Structures: Repetition (while) Eng. Anis Nazer Second Semester

Programming Language. Control Structures: Repetition (while) Eng. Anis Nazer Second Semester Programming Language Control Structures: Repetition (while) Eng. Anis Nazer Second Semester 2017-2018 Repetition statements Control statements change the order which statements are executed Selection :

More information

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 2 NOVEMBER 2009

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 2 NOVEMBER 2009 NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 2 NOVEMBER 2009 (12041022) 30 October (Y-Paper) 13:00 16:00 Calculators may be used. This question paper consists

More information

RANDOM NUMBER GAME PROJECT

RANDOM NUMBER GAME PROJECT Random Number Game RANDOM NUMBER GAME - Now it is time to put all your new knowledge to the test. You are going to build a random number game. - The game needs to generate a random number between 1 and

More information

21-Loops Part 2 text: Chapter ECEGR 101 Engineering Problem Solving with Matlab Professor Henry Louie

21-Loops Part 2 text: Chapter ECEGR 101 Engineering Problem Solving with Matlab Professor Henry Louie 21-Loops Part 2 text: Chapter 6.4-6.6 ECEGR 101 Engineering Problem Solving with Matlab Professor Henry Louie While Loop Infinite Loops Break and Continue Overview Dr. Henry Louie 2 WHILE Loop Used to

More information

Basic Electrical Measurements

Basic Electrical Measurements Page 1 of 11 Introduction Basic Electrical Measurements This Lab introduces the five basic, lumped circuit components or element models Resistor, Capacitor, Inductor, Voltage Source, Current Source. Also

More information

Why Is Repetition Needed?

Why Is Repetition Needed? Why Is Repetition Needed? Repetition allows efficient use of variables. It lets you process many values using a small number of variables. For example, to add five numbers: Inefficient way: Declare a variable

More information

Quiz. Introduction: Python. In this project, you ll make a quiz game to challenge your friends. Activity Checklist.

Quiz. Introduction: Python. In this project, you ll make a quiz game to challenge your friends. Activity Checklist. Python 1 Quiz All Code Clubs must be registered. Registered clubs appear on the map at codeclub.org.uk - if your club is not on the map then visit jumpto.cc/18cplpy to find out what to do. Introduction:

More information

Classwork 7: Craps. N. Duong & R. Rodriguez, Java Crash Course January 6, 2015

Classwork 7: Craps. N. Duong & R. Rodriguez, Java Crash Course January 6, 2015 Classwork 7: Craps N. Duong & R. Rodriguez, Java Crash Course January 6, 2015 For this classwork, you will be writing code for the game Craps. For those of you who do not know, Craps is a dice-rolling

More information

(Python) Chapter 3: Repetition

(Python) Chapter 3: Repetition (Python) Chapter 3: Repetition 3.1 while loop Motivation Using our current set of tools, repeating a simple statement many times is tedious. The only item we can currently repeat easily is printing the

More information

Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION PR 121 rev. 0 11/11/2011 Pagina 1 di 9 ELECTRICITY ENERGY METER FIRMWARE 1.6 Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION 2.0 DATA MESSAGE DESCRIPTION 2.1 Data field description 2.2 Data format

More information

Crude Video Game Simulator Algorithm

Crude Video Game Simulator Algorithm Crude Video Game Simulator Algorithm The following program will simulate free games at an arcade. The player will enter his/her score for 5 levels of play. The sum of these is their game score. If this

More information

Repetition Structures

Repetition Structures Repetition Structures Chapter 5 Fall 2016, CSUS Introduction to Repetition Structures Chapter 5.1 1 Introduction to Repetition Structures A repetition structure causes a statement or set of statements

More information

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution.

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution. Repetition Structures Introduction to Repetition Structures Chapter 5 Spring 2016, CSUS Chapter 5.1 Introduction to Repetition Structures The Problems with Duplicate Code A repetition structure causes

More information

300 khz Bench LCR Meter

300 khz Bench LCR Meter Model: 891 300 khz Bench LCR Meter USER MANUAL Cs 13 49 I. D 0. 190,. ;, I I, t II to\ tlf! 1 \1 I J f' i l!f,,,.....,. '",...,... Test Equipment Depot - 800.517.8431-99 Washington Street Melrose, MA 02176

More information

Java Outline (Upto Exam 2)

Java Outline (Upto Exam 2) Java Outline (Upto Exam 2) Part 4 IF s (Branches) and Loops Chapter 12/13 (The if Statement) Hand in Program Assignment#1 (12 marks): Create a program called Ifs that will do the following: 1. Ask the

More information

Application Note One Wire Digital Output. 1 Introduction. 2 Electrical Parameters for One Wire Interface. 3 Start and Data Transmission

Application Note One Wire Digital Output. 1 Introduction. 2 Electrical Parameters for One Wire Interface. 3 Start and Data Transmission Application Note One Wire Digital Output 1 Introduction The pressure transmitter automatically outputs pressure data, and when appropriate temperature data, in a fixed interval. The host simply waits for

More information

EE 301 Signals & Systems I MATLAB Tutorial with Questions

EE 301 Signals & Systems I MATLAB Tutorial with Questions EE 301 Signals & Systems I MATLAB Tutorial with Questions Under the content of the course EE-301, this semester, some MATLAB questions will be assigned in addition to the usual theoretical questions. This

More information

FACTS and HVDC for Grid Connection of Large Wind Farms

FACTS and HVDC for Grid Connection of Large Wind Farms David Larsson Power-Gen Europe 2005 Milan, Italy FACTS and HVDC for Grid Connection of Large Wind Farms www.abb.com/facts FACTS Agenda Wind Generators Response to Grid Faults PICTURE JPG-FORMAT WEB OPTIMIZED

More information

Repetition Algorithms

Repetition Algorithms Repetition Algorithms Repetition Allows a program to execute a set of instructions over and over. The term loop is a synonym for a repetition statement. A Repetition Example Suppose that you have been

More information

Inverters with Capacitive Output Impedance (C-inverters)

Inverters with Capacitive Output Impedance (C-inverters) Inverters with Capacitive Output Impedance (C-inverters) Yu Zeng Supervisor: Prof. Qing-Chang Zhong Department of Automatic Control and System Engineering The University of Sheffield UKACC PhD Presentation

More information

Solving Minesweeper Using CSP

Solving Minesweeper Using CSP Solving Minesweeper Using CSP AI Course Final Project Gil & Chai Usage (After using Makefile) java player/aiplayer

More information

Computers Programming Course 7. Iulian Năstac

Computers Programming Course 7. Iulian Năstac Computers Programming Course 7 Iulian Năstac Recap from previous course Operators in C Programming languages typically support a set of operators, which differ in the calling of syntax and/or the argument

More information

Introduction to Computer Science Unit 3. Programs

Introduction to Computer Science Unit 3. Programs Introduction to Computer Science Unit 3. Programs This section must be updated to work with repl.it Programs 1 to 4 require you to use the mod, %, operator. 1. Let the user enter an integer. Your program

More information

Mitigation of Voltage Swells I

Mitigation of Voltage Swells I Mitigation of Voltage Swells I 3.2.1. Surge arresters and transient voltage surge suppressors Arresters and TVSS devices protect equipment from transient over voltages by limiting the maximum voltage,

More information

static String usersname; public static int numberofplayers; private static double velocity, time;

static String usersname; public static int numberofplayers; private static double velocity, time; A class can include other things besides subroutines. In particular, it can also include variable declarations. Of course, you can declare variables inside subroutines. Those are called local variables.

More information

Repetition, Looping. While Loop

Repetition, Looping. While Loop Repetition, Looping Last time we looked at how to use if-then statements to control the flow of a program. In this section we will look at different ways to repeat blocks of statements. Such repetitions

More information

Introduction to Computer Science Unit 4B. Programs: Classes and Objects

Introduction to Computer Science Unit 4B. Programs: Classes and Objects Introduction to Computer Science Unit 4B. Programs: Classes and Objects This section must be updated to work with repl.it 1. Copy the Box class and compile it. But you won t be able to run it because it

More information

Control Structures II. Repetition (Loops)

Control Structures II. Repetition (Loops) Control Structures II Repetition (Loops) Why Is Repetition Needed? How can you solve the following problem: What is the sum of all the numbers from 1 to 100 The answer will be 1 + 2 + 3 + 4 + 5 + 6 + +

More information

Introduction. C provides two styles of flow control:

Introduction. C provides two styles of flow control: Introduction C provides two styles of flow control: Branching Looping Branching is deciding what actions to take and looping is deciding how many times to take a certain action. Branching constructs: if

More information

Administrativia. CS107 Introduction to Computer Science. Readings. Algorithms. Expressing algorithms

Administrativia. CS107 Introduction to Computer Science. Readings. Algorithms. Expressing algorithms CS107 Introduction to Computer Science Lecture 2 An Introduction to Algorithms: and Conditionals Administrativia Lab access Searles 128: Mon-Friday 8-5pm (unless class in progress) and 6-10pm Sat, Sun

More information

SEMICONDUCTOR AN267 MATCHING NETWORK DESIGNS WITH COMPUTER SOLUTIONS MOTOROLA APPLICATION NOTE INTRODUCTION NETWORK SOLUTIONS COMPONENT CONSIDERATIONS

SEMICONDUCTOR AN267 MATCHING NETWORK DESIGNS WITH COMPUTER SOLUTIONS MOTOROLA APPLICATION NOTE INTRODUCTION NETWORK SOLUTIONS COMPONENT CONSIDERATIONS MOTOROLA SEMICONDUCTOR APPLICATION NOTE Order this document by AN/D AN MATCHING NETWORK DESIGNS WITH COMPUTER SOLUTIONS Prepared by: Frank Davis INTRODUCTION One of the problems facing the circuit design

More information

What is Iteration? CMPT-101. Recursion. Understanding Recursion. The Function Header and Documentation. Recursively Adding Numbers

What is Iteration? CMPT-101. Recursion. Understanding Recursion. The Function Header and Documentation. Recursively Adding Numbers What is Iteration? CMPT-101 Week 6 Iteration, Iteration, Iteration, Iteration, Iteration, Iteration,... To iterate means to do the same thing again and again and again and again... There are two primary

More information

C Programming for Engineers Structured Program

C Programming for Engineers Structured Program C Programming for Engineers Structured Program ICEN 360 Spring 2017 Prof. Dola Saha 1 Switch Statement Ø Used to select one of several alternatives Ø useful when the selection is based on the value of

More information

OPERATION AND SERVICE MANUAL

OPERATION AND SERVICE MANUAL OPERATION AND SERVICE MANUAL BOP FULL RACK POWER SUPPLY BIPOLAR KEPCO INC. An ISO 9001 Company. MODEL BOP FULL RACK POWER SUPPLY ORDER NO. REV. NO. NOTE: This on-line version of the Technical Manual includes

More information

COMMUNICATION MODBUS PROTOCOL

COMMUNICATION MODBUS PROTOCOL COMMUNICATION MODBUS PROTOCOL CE4DT36 CONTO D4 Pd (3-single phase) PR134 20/10/2016 Pag. 1/11 Contents 1.0 ABSTRACT... 2 2.0 DATA MESSAGE DESCRIPTION... 3 2.1 Parameters description... 3 2.2 Data format...

More information

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS All programs need to be submitted on 7th Oct 206 by writing in hand written format in A4 sheet. Flowcharts, algorithms, source codes and outputs

More information

Tutorial 12 Craps Game Application: Introducing Random Number Generation and Enumerations

Tutorial 12 Craps Game Application: Introducing Random Number Generation and Enumerations Tutorial 12 Craps Game Application: Introducing Random Number Generation and Enumerations Outline 12.1 Test-Driving the Craps Game Application 12.2 Random Number Generation 12.3 Using an enum in the Craps

More information

Lab 2: Structured Program Development in C

Lab 2: Structured Program Development in C Lab 2: Structured Program Development in C (Part A: Your first C programs - integers, arithmetic, decision making, Part B: basic problem-solving techniques, formulating algorithms) Learning Objectives

More information

Guideline on How to Size an NGR

Guideline on How to Size an NGR EN Guideline on How to Size an NGR Knowledgebase Resistance-grounded power systems: Guideline on How to Size a Neutral-Grounding Resistor NGR (Neutral-Earthing Resistor NER) Savostianik, P.ENG., Mervin

More information

Condition Controlled Loops. Introduction to Programming - Python

Condition Controlled Loops. Introduction to Programming - Python Condition Controlled Loops Introduction to Programming - Python Decision Structures Review Programming Challenge: Review Ask the user for a number from 1 to 7. Tell the user which day of the week was selected!

More information

Electromagnetic Compatibility ( EMC )

Electromagnetic Compatibility ( EMC ) Electromagnetic Compatibility ( EMC ) Introduction about Components 6-2 -1 Agenda Ferrite Core Isolation Transformers Opto-Isolators Transient and Surge Suppression Devices Varistors Gas-Tube Surge Suppressors

More information

CEMTool Tutorial. Control statements

CEMTool Tutorial. Control statements CEMTool Tutorial Control statements Overview This tutorial is part of the CEMWARE series. Each tutorial in this series will teach you a specific topic of common applications by explaining theoretical concepts

More information

Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Problem Solving through Programming In C Prof. Anupam Basu Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 18 Switch Statement (Contd.) And Introduction to

More information

Coding Tutorial. Derrick Hasterok. February 1, 2005

Coding Tutorial. Derrick Hasterok. February 1, 2005 Coding Tutorial Derrick Hasterok February 1, 2005 1 Beginning to Code Starting to write a program can be difficult for a beginner because of the large vocabulary one must first amass. Once this hurdle

More information

Introduction to Scratch

Introduction to Scratch Introduction to Scratch Familiarising yourself with Scratch The Stage Sprites Scripts Area Sequence of Instructions Instructions and Controls If a computer is a box think of a program as a man inside the

More information

Chapter 5: Control Structures II (Repetition)

Chapter 5: Control Structures II (Repetition) Chapter 5: Control Structures II (Repetition) 1 Objectives Learn about repetition (looping) control structures Explore how to construct and use count-controlled, sentinel-controlled, flag-controlled, and

More information

Add the backgrounds. Add the font.

Add the backgrounds. Add the font. To find all sprites, font, and backgrounds look in your resources folder under card game. Pick sprites for the following: The Mouse Desired Objects A disappearing animation for the desired objects Clutter

More information

PSpice Tutorial. Physics 160 Spring 2006

PSpice Tutorial. Physics 160 Spring 2006 PSpice Tutorial This is a tutorial designed to guide you through the simulation assignment included in the first homework set. You may either use the program as installed in the lab, or you may install

More information

CS111: PROGRAMMING LANGUAGE II

CS111: PROGRAMMING LANGUAGE II CS111: PROGRAMMING LANGUAGE II Computer Science Department Lecture 1(c): Java Basics (II) Lecture Contents Java basics (part II) Conditions Loops Methods Conditions & Branching Conditional Statements A

More information

COMMUNICATION MODBUS PROTOCOL

COMMUNICATION MODBUS PROTOCOL COMMUNICATION MODBUS PROTOCOL CE4DMID31 / CE4DMID21 CONTO D4 Pd MID PR123 20/10/2016 Pag. 1/9 Contents 1.0 ABSTRACT... 2 2.0 DATA MESSAGE DESCRIPTION... 3 2.1 Parameters description... 3 2.2 Data format...

More information

USING THE VENABLE RLC WINDOWS SOFTWARE VERSION 4.5

USING THE VENABLE RLC WINDOWS SOFTWARE VERSION 4.5 USING THE VENABLE RLC WINDOWS SOFTWARE VERSION 4.5 FOR MODELS 350/3120/3215/3225/3235 AND Series 43xx/51xx/63xx/74xx/88xx/350c System Venable Instruments 8656 SH 71 West, Bldg. E Cuesta Center Austin,

More information

Click on the SwCAD III shortcut created by the software installation.

Click on the SwCAD III shortcut created by the software installation. LTSpice Guide Click on the SwCAD III shortcut created by the software installation. Select File and New Schematic. Add a component Add a resistor Press R or click the resistor button to insert a resistor.

More information

2 kw DFIG Training System

2 kw DFIG Training System 2 kw DFIG Training System LabVolt Series Datasheet Festo Didactic en 220 V - 50 Hz 07/2018 Table of Contents General Description 2 OPAL-RT OP5600 - HIL Simulator Controller & Data Acquisition 2 OPAL-RT

More information

20W DC-DC Converter P20J-Series

20W DC-DC Converter P20J-Series 20W - Converter P20J-Series Wide 4:1 input range Efficiency up to 89 % Adjustable output voltage Remote control on / off 3000 V isolation Continuous short circuit protection Over voltage protection MTBF

More information

CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION 11/11/2011 Pagina 1 di 11 ELECTRICITY ENERGY METER FIRMWARE 1.3 CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION 2.0 DATA MESSAGE DESCRIPTION 2.1 Data field description 2.2 Data format 2.3 Description

More information

OWNER S MANUAL 9908-TE. HIGH PRECISION AUTO-RANGING DC/True RMS AC BENCH-TOP DIGITAL MULTIMETER

OWNER S MANUAL 9908-TE. HIGH PRECISION AUTO-RANGING DC/True RMS AC BENCH-TOP DIGITAL MULTIMETER OWNER S MANUAL 9908-TE HIGH PRECISION AUTO-RANGING DC/True RMS AC BENCH-TOP DIGITAL MULTIMETER IMPORTANT! Read and understand this manual before using the instrument. Failure to understand and comply with

More information

Chapter 4 Lab. Loops and Files. Objectives. Introduction

Chapter 4 Lab. Loops and Files. Objectives. Introduction Chapter 4 Lab Loops and Files Objectives Be able to convert an algorithm using control structures into Java Be able to write a while loop Be able to write a do-while loop Be able to write a for loop Be

More information

1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol.

1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol. 1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol. B. Outputs to the console a floating point number f1 in scientific format

More information

Example 3. #include <iostream> using namespace std; int main()

Example 3. #include <iostream> using namespace std; int main() 1 Repetition Structure Examples Example 1 #include float number, sum=0; // number to be read cin >> number; // read first number cout

More information

Lab 2: Booleans, Strings, Random Numbers, Recursion, Variables, Input function

Lab 2: Booleans, Strings, Random Numbers, Recursion, Variables, Input function Lab 2: Booleans, Strings, Random Numbers, Recursion, Variables, Input function Due: Mar25 (Note that this is a 2-week lab) This lab must be done using paired partners. You should choose a different partner

More information

ELECTRONICS MANUFACTURE-The In-Circuit Test sequence

ELECTRONICS MANUFACTURE-The In-Circuit Test sequence ELECTRONICS MANUFACTURE-The In-Circuit Test sequence In-Circuit Test comprises several sections, each consisting of a series of tests on individual devices. By testing devices individually, failures can

More information

Last Time: Rolling a Weighted Die

Last Time: Rolling a Weighted Die Last Time: Rolling a Weighted Die import math/rand func DieRoll() int { return rand.intn(6) + 1 Multiple Rolls When we run this program 100 times, we get the same outcome! func main() int { fmt.println(dieroll())

More information

Keysight U1731C/ U1732C/U1733C Handheld LCR Meter. Quick Start Guide

Keysight U1731C/ U1732C/U1733C Handheld LCR Meter. Quick Start Guide Keysight U1731C/ U1732C/U1733C Handheld LCR Meter Quick Start Guide Contacting Keysight www.keysight.com/find/assist (worldwide contact information for repair and service) Safety and EMC Information This

More information

COMMUNICATION MODBUS PROTOCOL MF96001 / 021 NEMO 96HD

COMMUNICATION MODBUS PROTOCOL MF96001 / 021 NEMO 96HD COMMUNICATION MODBUS PROTOCOL MF96001 / 021 NEMO 96HD PR106 20/10/2016 Pag. 1/31 Contents 1.0 ABSTRACT... 2 2.0 DATA MESSAGE DESCRIPTION... 3 2.1 Parameters description... 3 2.2 Data format... 4 2.3 Description

More information

Unit 7. 'while' Loops

Unit 7. 'while' Loops 1 Unit 7 'while' Loops 2 Control Structures We need ways of making decisions in our program To repeat code until we want it to stop To only execute certain code if a condition is true To execute one segment

More information

INSTRUCTION MANUAL BOP 3/4 RACK POWER SUPPLY BIPOLAR

INSTRUCTION MANUAL BOP 3/4 RACK POWER SUPPLY BIPOLAR INSTRUCTION MANUAL BOP 3/4 RACK POWER SUPPLY BIPOLAR KEPCO INC. An ISO 9001 Company. MODEL BOP 3/4 RACK POWER SUPPLY ORDER NO. REV. NO. NOTE IMPORTANT NOTES: This on-line version of the Technical Manual

More information

2. Control Pin Functions and Applications

2. Control Pin Functions and Applications IMARY CONTROL ( PIN) Module Enable / Disable. The module can be disabled by pulling the below 2.3 V with respect to the Input. This should be done with an open-collector transistor, relay, or optocoupler.

More information

PrimaLuna ProLogue Specs Info

PrimaLuna ProLogue Specs Info PrimaLuna Tube Equipment Model ProLogue One Specs PrimaLuna Tube Equipment Model ProLogue Two Specs PrimaLuna Tube Equipment Model ProLogue Three Specs PrimaLuna Tube Equipment Model ProLogue Four Specs

More information

Experiment 0: Introduction to Cadence

Experiment 0: Introduction to Cadence UNIVERSITY OF CALIFORNIA AT BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences EE105 Lab Experiments Experiment 0: Introduction to Cadence Contents 1. Introduction...

More information

Skill Development Centre by AN ISO CERTIFIED COMPANY

Skill Development Centre by AN ISO CERTIFIED COMPANY Skill Development Centre by AN ISO CERTIFIED COMPANY Industrial Automation Training Embedded/ VLSI system design Electrical control panel Design Product Development Fiber optics Technician Electrician

More information

LAB 2 INTRODUCTION TO PROGRAMMING

LAB 2 INTRODUCTION TO PROGRAMMING LAB 2 INTRODUCTION TO PROGRAMMING School of Computer and Communication Engineering Universiti Malaysia Perlis 1 OBJECTIVES 1. Clear understanding of sequential, selection and repetition structure to solve

More information

Attia, John Okyere. Control Statements. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999

Attia, John Okyere. Control Statements. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 Attia, John Okyere. Control Statements. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 1999 by CRC PRESS LLC CHAPTER THREE CONTROL STATEMENTS 3.1 FOR

More information

Government of Karnataka Department of Technical Education Board of Technical Examinations, Bengaluru

Government of Karnataka Department of Technical Education Board of Technical Examinations, Bengaluru Government of Karnataka Department of Technical Education Board of Technical Examinations, Bengaluru Course Title: C PROGRAMMING LAB Course Code : 15EE23P Semester : II Course Group : Core Teaching Scheme

More information

CS 135 Winter 2018 Tutorial 7: Accumulative Recursion and Binary Trees. CS 135 Winter 2018 Tutorial 7: Accumulative Recursion and Binary Trees 1

CS 135 Winter 2018 Tutorial 7: Accumulative Recursion and Binary Trees. CS 135 Winter 2018 Tutorial 7: Accumulative Recursion and Binary Trees 1 CS 135 Winter 2018 Tutorial 7: Accumulative Recursion and Binary Trees CS 135 Winter 2018 Tutorial 7: Accumulative Recursion and Binary Trees 1 Goals of this tutorial You should be able to... understand

More information

Outline. Announcements. Homework 2. Boolean expressions 10/12/2007. Announcements Homework 2 questions. Boolean expression

Outline. Announcements. Homework 2. Boolean expressions 10/12/2007. Announcements Homework 2 questions. Boolean expression Outline ECS 10 10/8 Announcements Homework 2 questions Boolean expressions If/else statements State variables and avoiding sys.exit( ) Example: Coin flipping (if time permits) Announcements Professor Amenta

More information

DC-DC CONVERTERS SINGLE OUTPUT, 60 WATTS EXTREMELY WIDE 12:1 INPUT VOLTAGE RANGE: 9-75VDC, VDC RAILWAY APPLICATIONS

DC-DC CONVERTERS SINGLE OUTPUT, 60 WATTS EXTREMELY WIDE 12:1 INPUT VOLTAGE RANGE: 9-75VDC, VDC RAILWAY APPLICATIONS DC-DC CONVERTERS SINGLE OUTPUT, 60 WATTS EXTREMELY WIDE 12:1 INPUT VOLTAGE RANGE: 9-75VDC, 14-160VDC RAILWAY APPLICATIONS FEATURES 60 Watt Output Power Extremely Wide 12:1 Input range: 9-75, 14-160 Output

More information

Modeling RNA/DNA with Matlab - Chemistry Summer 2007

Modeling RNA/DNA with Matlab - Chemistry Summer 2007 Modeling RNA/DNA with Matlab - Chemistry 694 - Summer 2007 If you haven t already, download MatlabPrograms.zip from the course Blackboard site and extract all the files into a folder on your disk. Be careful

More information

Cree 300-W CCM PFC Demo Board

Cree 300-W CCM PFC Demo Board Cree 300-W CCM PFC Demo Board Features Designed to meet IEC1000-3-2 Worldwide Line Operation 85 Vrms to 265 Vrms Regulated 385 Vdc, 300-W max output Switching frequency 130 khz Specifications Input Voltage

More information

PROBLEM SOLVING AND PROGRAM. Looping statements Executing steps many times

PROBLEM SOLVING AND PROGRAM. Looping statements Executing steps many times PROBLEM SOLVING AND PROGRAM Looping statements Executing steps many times LOOPING What if there are a number of steps that must be done several times, would you re-write those steps for each time you needed

More information

ANNA UNIVERSITY QB ( )

ANNA UNIVERSITY QB ( ) ANNA UNIVERSITY QB (2003--2008) UNIT I POWER SEMICONDUCTOR DEVICES PART A 1. Draw the V-I characteristics of SCR and mark the holding current and latching current in the characteristics. Nov/Dec04 2. What

More information

1W & 2W Wide Input Range DC/DC CONVERTERS. Features

1W & 2W Wide Input Range DC/DC CONVERTERS. Features 1W & 2W Wide Input Range DC/DC CONVERTERS Features 8 Pin SIP Package 2:1 Wide Range Input Nominal 5V, 12V, 24V and 48V input Single and dual outputs Regulated Output 1kV isolation, 2kV &3kV options 40

More information

CheckSum. FUNC-2B Functional Test Module. The FUNC-2B features:

CheckSum. FUNC-2B Functional Test Module. The FUNC-2B features: CheckSum FUNC-2B Functional Test Module FUNC-2B Functional Test Module Made in U.S.A. The CheckSum Model FUNC-2B Functional Test System is designed to be used as an extension to a CheckSum ICT System.

More information

Metal Film Precision Resistors CSR Series

Metal Film Precision Resistors CSR Series Features Excellent overall stability Tight tolerance down to ±0.1% Extremely low TCR down to ±10 PPM/ C High power rating up to 1 Watts Applications Automotive Telecommunication Medical Equipment Measurement

More information

Introduction to Java Programs for Packet #4: Classes and Objects

Introduction to Java Programs for Packet #4: Classes and Objects Introduction to Java Programs for Packet #4: Classes and Objects Note. All of these programs involve writing and using more than one class file. 1. Copy the Box class and compile it. But you won t be able

More information

PACKAGE AND PLATFORM VIEW OF INTEL S FULLY INTEGRATED VOLTAGE REGULATORS (FIVR) Edward (Ted) Burton

PACKAGE AND PLATFORM VIEW OF INTEL S FULLY INTEGRATED VOLTAGE REGULATORS (FIVR) Edward (Ted) Burton PACKAGE AND PLATFORM VIEW OF INTEL S FULLY INTEGRATED VOLTAGE REGULATORS (FIVR) Edward (Ted) Burton Ivy Bridge Platform Haswell Platform Core VR 0V-1.2V Graphics VR 0V-1.2V PLL VR 1.8V I/O VR 1.0V System

More information

Gambler s Ruin Lesson Plan

Gambler s Ruin Lesson Plan Gambler s Ruin Lesson Plan Ron Bannon August 11, 05 1 Gambler s Ruin Lesson Plan 1 Printed August 11, 05 Prof. Kim s assigned lesson plan based on the Gambler s Ruin Problem. Preamble: This lesson plan

More information

Smith Chart Utility May 2007

Smith Chart Utility May 2007 Smith Chart Utility May 2007 Notice The information contained in this document is subject to change without notice. Agilent Technologies makes no warranty of any kind with regard to this material, including,

More information

EFL VI TESTER - TFT MANUEL BOOK

EFL VI TESTER - TFT MANUEL BOOK www.reelektronik.com EFL VI TESTER - TFT MANUEL BOOK (FAULT LOCATOR WITH IMPEDANCE (VI) CURVES TECHNIQUE) NOTES ; 1) Disconnecting the power to discharge the capacitor in the abdomen and tested electronic

More information

DATA COMMUNICATION. Part TWO Data Transmission

DATA COMMUNICATION. Part TWO Data Transmission DATA COMMUNICATION Part TWO Data Transmission This Chapter intends to create basic concepts of Data communication. We will be covering some basic definitions and details Q: What are the basics Communication

More information

CSE 203A: Randomized Algorithms

CSE 203A: Randomized Algorithms CSE 203A: Randomized Algorithms (00:30) The Minimax Principle (Ch 2) Lecture on 10/18/2017 by Daniel Kane Notes by Peter Greer-Berezovsky Game Tree Evaluation (2.1) - n round deterministic 2-player game

More information