MobileCoach ISRII Handout
|
|
- Brittany Barbra Tucker
- 5 years ago
- Views:
Transcription
1 MobileCoach ISRII Handout Andreas Filler Updated for MobileCoach version Last update:
2 Understanding MobileCoach rules Comment Rule Rule Type/ Comparator Comparison Term Fix setter value Result Value à Result Variable Slide 2 Andreas Filler October 12th, 2017
3 Understanding MobileCoach rules Rule Placeholder Variables Slide 3 Andreas Filler October 12th, 2017
4 Rule Classes Calculation Rule is a calculable term Placeholders are handled as decimal numbers (e.g. 2.5, empty value: 0) Comparison term depends on rule type but is calculated the same way Example: floor($daysparticipated/70) à floor(200/70) à 2 Text Operation Rule is a stitched text Placeholders are handled as text (e.g. 05, empty value: ) Comparison term depends on rule type but is calculated the same way Example: Hello $participantname! à Hello Jessica! Date Operation Rule Term is a date Placeholders are handled as text (e.g. 05, empty value: ) Comparison term depends on rule type Example: and date difference in days à -105 Slide 4 Andreas Filler October 12th, 2017
5 Rule Types #1 Rule Class Rule Type Result Value Comparison Result Calculation calculate value but result is always true calculated decimal value TRUE Calculation calculate value but result is always false calculated decimal value FALSE Calculation calculated value is smaller than calculated decimal value TRUE / FALSE Calculation calculated value is smaller or equal than calculated decimal value TRUE / FALSE Calculation calculated value equals calculated decimal value TRUE / FALSE Calculation calculated value is bigger or equal than calculated decimal value TRUE / FALSE Calculation calculated value is bigger than calculated decimal value TRUE / FALSE Text Operation create text but result is always true stitched text TRUE Text Operation create text but result is always false stitched text FALSE Text Operation calculate amount of select many values number TRUE Text Operation text value equals stitched text TRUE / FALSE Text Operation text value not equals stitched text FALSE / TRUE Text Operation text value matches regular expression stitched text TRUE / FALSE Text Operation text value not matches regular expression stitched text FALSE / TRUE Text Operation text value from select many at position appropriate sub-value TRUE / FALSE Text Operation text value from select many at random position appropriate sub-value TRUE Slide 5 Andreas Filler October 12th, 2017
6 Rule Types #2 Rule Class Rule Type Result Value Comparison Result Date Operation Date Operation date difference value equals (days since given date (rule) calculated and compared to comparison term) calculate date difference in days and true if zero/always true (two dates given, days since given date if comparision term is in the past) none (unmodified given date) date difference in days TRUE=fits / FALSE=fits not TRUE=0 / FALSE<>0 or always TRUE Intervention Operation check value in variable accross interventions and true if duplicate found boolean TRUE=at least one match already found / FALSE=no match found Slide 6 Andreas Filler October 12th, 2017
7 Regular Expressions for Text Operation Rules Examples: a b c d [0-9]+ [a-za-z]* [a-z]{2,4} \d+ Groups and Ranges. Any character except new line (\n) (a b) a or b (...) Group (?:...) Passive (non-c apt uring) group [abc] Range (a or b or c) [^abc] Not (a or b or c) [a-q] Lower case letter from a to q [A-Q] Upper case letter from A to Q [0-7] Digit from 0 to 7 \x Group/ sub pattern number " x" Ranges are inclusive. Character Classes Special Characters \c Control character \n New line \s White space \r Carriage return \S Not white space \t Tab \d Digit \v Vertical tab \D Not digit \f Form feed \w Word \xxx Octal character xxx \W Not word \xhh Hex character hh \x Hexade cimal digit \O Octal digit Quanti fiers * 0 or more {3} Exactly or more {3,} 3 or more? 0 or 1 {3,5} 3, 4 or 5 Add a? to a quantifier to make it ungreedy. Always check your regular expressions! (Web) (Mac) Slide 7 Andreas Filler October 12th, 2017
8 Number Formatters for Text Operation Rules Examples: $costspermonth è $costspermonth{usd %.,0f} è USD 20,000 $costspermonth{usd %.,2f} è USD 20, $day.$month.$year è $day{%02.0f}.$month{%02.0f}.$year è Explanation: % [, = thousand separator] [ _/0 spaces/null] [amount of spacing digits]. [amount decimal digits] f Slide 8 Andreas Filler October 12th, 2017
9 Rule Functions for Calculation Rules Math Function abs(x) absolute value acos(x) arc cosine asin(x) arc sine atan(x) arc tangent average(x,y,z...) average of arguments ceil(x) nearest upper integer cos(x) cosine cosh(x) hyperbolic cosine floor(x) nearest lower integer ln(x) natural logarithm (base e) log(x) base 10 logarithm max(x,y,z...) maximum of arguments min(x,y,z...) minimum of arguments round(x) nearest integer sin(x) sine sinh(x) hyperbolic sine sum(x,y,z...) sum of arguments tan(x) tangent tanh(x) hyperbolic tangent random() pseudo-random number (between 0 and 1) Constants e pi base of natural algorithms ratio of the circumference of a circle to its diameter Math Operator List Function + addition - subtraction - unary minus * multiplication / division ^ exponentiation % modulo first(x,y,z...) second(x,y,z...) third(x,y,z...) position(p,x,y,z...) Number Function digit(x,y) position of 1 st highest value in given list starting with 1 position of 2 nd highest value in given list starting with 1 position of 3 rd highest value in given list starting with 1 value at position p in given list x,y,z starting with 1 from second parameter gives the digit at position x of number y counted from the right side inrange(x,min,max) return 1 if min <= x <= max, otherwise 0 Slide 9 Andreas Filler October 12th, 2017
10 Variable Understanding Participant Variables $participantdialogoptionsmsdata $participantsupervisordialogoptionsmsdata $participantdialogoption data $participantsupervisordialogoption data $participantdialogoptionexternalid $participantsupervisordialogoptionexternalid $participantfeedbackurl $participantmessagereply $participantrawmessagereply $participantunexpectedmessage $participantunexpectedrawmessage $participantintention $participantname $participantlanguage $participantgroup Cellphone number of the participant Cellphone number of the participant s supervisor address of the participant address of the participant s supervisor Unique id of participant in external communication system Unique id of participant s supervisor in external communication system Unique feedback URL of the participant Last message reply sent by participant Last message reply sent by participant (without cleaning) Last message unexpectedly received received from participant Last message unexpectedly received received from participant (without cleaning) Last intention sent by participant Nickname of participant Language of participant, e.g. ch-fr Group of participant $participantparticipationindays Monitoring participation in days of the participant, starting with 0 $participantparticipationinweeks Monitoring participation in weeks of the participant, starting with 0 Slide 10 Andreas Filler October 12th, 2017
11 Understanding System Variables Variable $systemhourofday Hour of day (0-23) $systemdayinweek Day of week, starting with 1=Monday $systemdayofmonth Day of month, starting with 1 $systemmonth Month of year, starting with 1 $systemyear Year in 4 digits $systemlinkedsurvey Survey linked with slide/message $systemlinkedmediaobject Media object contained in slide/message Slide 11 Andreas Filler October 12th, 2017
12 Helpful URLs MobileCoach Deepstream.io integration: MobileCoach JavaDoc: MobileCoach Eclipse Plugin Repository: Setup: Slide 12 Andreas Filler October 12th, 2017
13 Contact Andreas Filler, M.Sc. Center for Digital Health Interventions Health-IS Lab, University St. Gallen & ETH Zurich Slide 13 Andreas Filler October 12th, 2017
Sketchify Tutorial Properties and Variables. sketchify.sf.net Željko Obrenović
Sketchify Tutorial Properties and Variables sketchify.sf.net Željko Obrenović z.obrenovic@tue.nl Properties and Variables Properties of active regions and sketches can be given directly, or indirectly
More informationTECH TIP VISION Calibration and Data Acquisition Software
TECH TIP VISION Calibration and Data Acquisition Software May 2016 Using Calculated Channels in VISION Calculated channels are data items created in a Recorder file whose values are calculated from other
More informationCSI31 Lecture 5. Topics: 3.1 Numeric Data Types 3.2 Using the Math Library 3.3 Accumulating Results: Factorial
CSI31 Lecture 5 Topics: 3.1 Numeric Data Types 3.2 Using the Math Library 3.3 Accumulating Results: Factorial 1 3.1 Numberic Data Types When computers were first developed, they were seen primarily as
More informationC++ Overview. Chapter 1. Chapter 2
C++ Overview Chapter 1 Note: All commands you type (including the Myro commands listed elsewhere) are essentially C++ commands. Later, in this section we will list those commands that are a part of the
More informationMethods CSC 121 Fall 2014 Howard Rosenthal
Methods CSC 121 Fall 2014 Howard Rosenthal Lesson Goals Understand what a method is in Java Understand Java s Math Class Learn the syntax of method construction Learn both void methods and methods that
More informationOrdinary Differential Equation Solver Language (ODESL) Reference Manual
Ordinary Differential Equation Solver Language (ODESL) Reference Manual Rui Chen 11/03/2010 1. Introduction ODESL is a computer language specifically designed to solve ordinary differential equations (ODE
More informationProduct Price Formula extension for Magento2. User Guide
Product Price Formula extension for Magento2 User Guide version 1.0 Page 1 Contents 1. Introduction... 3 2. Installation... 3 2.1. System Requirements... 3 2.2. Installation...... 3 2.3. License... 3 3.
More informationIntroduction to MATLAB
Introduction to MATLAB Dr./ Ahmed Nagib Mechanical Engineering department, Alexandria university, Egypt Sep 2015 Chapter 5 Functions Getting Help for Functions You can use the lookfor command to find functions
More informationConsider this m file that creates a file that you can load data into called rain.txt
SAVING AND IMPORTING DATA FROM A DATA FILES AND PROCESSING AS A ONE DIMENSIONAL ARRAY If we save data in a file sequentially than we can call it back sequentially into a row vector. Consider this m file
More informationLinReg 2.06 Manual. DePauw University: Physics Department 120 Physics I and 130 Physics II
LinReg 2.06 Manual DePauw University: Physics Department 120 Physics I and 130 Physics II Updated March 23 rd, 2011 1 About LinReg: LinReg is a program used extensively in DePauw s physics laboratory classes.
More informationMethods CSC 121 Fall 2016 Howard Rosenthal
Methods CSC 121 Fall 2016 Howard Rosenthal Lesson Goals Understand what a method is in Java Understand Java s Math Class and how to use it Learn the syntax of method construction Learn both void methods
More informationCustom Variables (Virtual Variables)
Page 1 of 7 Custom Variables (Virtual Variables) Allocate not only allows you to select standard variables, but also allows you to create your own unique demographic variables. You may create new variables
More informationChapter 1 Introduction to MATLAB
Chapter 1 Introduction to MATLAB 1.1 What is MATLAB? MATLAB = MATrix LABoratory, the language of technical computing, modeling and simulation, data analysis and processing, visualization and graphics,
More informationUSER-DEFINED ELEMENT IN ZMAN TM
ZIVE Application Note6: User defined element in ZMAN USER-DEFINED ELEMENT IN ZMAN TM How to add a new user-defined element? Introduced by ZMAN 2.2, the SIMPLE category provides you with a functionality
More informationFunctions and Inverses ID1050 Quantitative & Qualitative Reasoning
Functions and Inverses ID1050 Quantitative & Qualitative Reasoning Function and Inverse Function Gun Analogy Functions take a number, perform an operation on it, and return another number. The inverse
More informationChapter 2. Outline. Simple C++ Programs
Chapter 2 Simple C++ Programs Outline Objectives 1. Building C++ Solutions with IDEs: Dev-cpp, Xcode 2. C++ Program Structure 3. Constant and Variables 4. C++ Operators 5. Standard Input and Output 6.
More informationMethods CSC 121 Spring 2017 Howard Rosenthal
Methods CSC 121 Spring 2017 Howard Rosenthal Lesson Goals Understand what a method is in Java Understand Java s Math Class and how to use it Learn the syntax of method construction Learn both void methods
More informationMYSQL NUMERIC FUNCTIONS
MYSQL NUMERIC FUNCTIONS http://www.tutorialspoint.com/mysql/mysql-numeric-functions.htm Copyright tutorialspoint.com MySQL numeric functions are used primarily for numeric manipulation and/or mathematical
More informationC++ Programming Lecture 11 Functions Part I
C++ Programming Lecture 11 Functions Part I By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department Introduction Till now we have learned the basic concepts of C++. All the programs
More informationPROGRAMMING WITH MATLAB DR. AHMET AKBULUT
PROGRAMMING WITH MATLAB DR. AHMET AKBULUT OVERVIEW WEEK 1 What is MATLAB? A powerful software tool: Scientific and engineering computations Signal processing Data analysis and visualization Physical system
More informationLimnor Studio User s Guide
L i m n o r S t u d i o U s e r G u i d e - P a r t I I I 1 Limnor Studio User s Guide Part III Expressions Contents 1 Introduction to Expressions... 3 1.1 What are expressions... 3 1.2 Create and edit
More informationGoals for This Lecture:
Goals for This Lecture: Understand integer arithmetic Understand mixed-mode arithmetic Understand the hierarchy of arithmetic operations Introduce the use of intrinsic functions Real Arithmetic Valid expressions
More informationME 142 Engineering Computation I. Unit 1.2 Excel Functions
ME 142 Engineering Computation I Unit 1.2 Excel Functions TOA Make sure to submit TOA If not submitted, will receive score of 0 Common Questions from 1.1 & 1.2 Named Cell PP 1.1.2 Name cell B2 Payrate
More informationLab 1 - Worksheet Spring 2013
Math 300 UMKC Lab 1 - Worksheet Spring 2013 Learning Objectives: 1. How to use Matlab as a calculator 2. Learn about Matlab built in functions 3. Matrix and Vector arithmetics 4. MATLAB rref command 5.
More informationChapter 4: Basic C Operators
Chapter 4: Basic C Operators In this chapter, you will learn about: Arithmetic operators Unary operators Binary operators Assignment operators Equalities and relational operators Logical operators Conditional
More information9 Using Equation Networks
9 Using Equation Networks In this chapter Introduction to Equation Networks 244 Equation format 247 Using register address lists 254 Setting up an enable contact 255 Equations displayed within the Network
More informationSummary of basic C++-commands
Summary of basic C++-commands K. Vollmayr-Lee, O. Ippisch April 13, 2010 1 Compiling To compile a C++-program, you can use either g++ or c++. g++ -o executable_filename.out sourcefilename.cc c++ -o executable_filename.out
More informationCT 229 Java Syntax Continued
CT 229 Java Syntax Continued 06/10/2006 CT229 Lab Assignments Due Date for current lab assignment : Oct 8 th Before submission make sure that the name of each.java file matches the name given in the assignment
More informationIntroduction to Engineering gii
25.108 Introduction to Engineering gii Dr. Jay Weitzen Lecture Notes I: Introduction to Matlab from Gilat Book MATLAB - Lecture # 1 Starting with MATLAB / Chapter 1 Topics Covered: 1. Introduction. 2.
More informationHive Wavetables. Introduction 2. Concepts 3 Some Terminology 3. Commands 4
Hive Wavetables Introduction 2 Concepts 3 Some Terminology 3 Commands 4 Info 4 NumFrames 4 Seed 4 Wave 5 Spectrum 5 Phase 5 Import 6 Export 6 Move 6 Interpolate 7 Normalize 7 Envelope 7 Operators 8 Mathematical
More informationIntroduction to Computer Programming in Python Dr. William C. Bulko. Data Types
Introduction to Computer Programming in Python Dr William C Bulko Data Types 2017 What is a data type? A data type is the kind of value represented by a constant or stored by a variable So far, you have
More informationIntroduction to Python, Cplex and Gurobi
Introduction to Python, Cplex and Gurobi Introduction Python is a widely used, high level programming language designed by Guido van Rossum and released on 1991. Two stable releases: Python 2.7 Python
More informationMaths Functions User Manual
Professional Electronics for Automotive and Motorsport 6 Repton Close Basildon Essex SS13 1LE United Kingdom +44 (0) 1268 904124 info@liferacing.com www.liferacing.com Maths Functions User Manual Document
More informationOperations. Making Things Happen
Operations Making Things Happen Object Review and Continue Lecture 1 2 Object Categories There are three kinds of objects: Literals: unnamed objects having a value (0, -3, 2.5, 2.998e8, 'A', "Hello\n",...)
More informationCS1010E Lecture 3 Simple C Programs Part 2
CS1010E Lecture 3 Simple C Programs Part 2 Joxan Jaffar Block COM1, Room 3-11, +65 6516 7346 www.comp.nus.edu.sg/ joxan cs1010e@comp.nus.edu.sg Semester II, 2015/2016 Lecture Outline Standard Input and
More informationIntroduction to MATLAB 7 for Engineers
Introduction to MATLAB 7 for Engineers William J. Palm III Chapter 3 Functions and Files Getting Help for Functions You can use the lookfor command to find functions that are relevant to your application.
More informationPart V Appendices c Copyright, Todd Young and Martin Mohlenkamp, Department of Mathematics, Ohio University, 2017
Part V Appendices c Copyright, Todd Young and Martin Mohlenkamp, Department of Mathematics, Ohio University, 2017 Appendix A Glossary of Matlab Commands Mathematical Operations + Addition. Type help plus
More informationProgramming in MATLAB
trevor.spiteri@um.edu.mt http://staff.um.edu.mt/trevor.spiteri Department of Communications and Computer Engineering Faculty of Information and Communication Technology University of Malta 17 February,
More informationIntroduction to Programming
Introduction to Programming Department of Computer Science and Information Systems Tingting Han (afternoon), Steve Maybank (evening) tingting@dcs.bbk.ac.uk sjmaybank@dcs.bbk.ac.uk Autumn 2017 Week 4: More
More informationThe Expressions plugin PRINTED MANUAL
The Expressions plugin PRINTED MANUAL Expressions plugin All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying,
More informationUser manual. Version 9.2.0
User manual A B Version 9.2.0 Contents 1 Calculation 2 1.1 Using the application............................ 2 1.1.1 Doing a calculation......................... 2 1.1.2 Using the result of the immediately
More informationExtending Ninox with NX
Introduction Extending Ninox with NX NX, the Ninox query language, is a powerful programming language which allows you to quickly extend Ninox databases with calculations and trigger actions. While Ninox
More informationData Types and Basic Calculation
Data Types and Basic Calculation Intrinsic Data Types Fortran supports five intrinsic data types: 1. INTEGER for exact whole numbers e.g., 1, 100, 534, -18, -654321, etc. 2. REAL for approximate, fractional
More informationQuick MATLAB Syntax Guide
Quick MATLAB Syntax Guide Some useful things, not everything if-statement Structure: if (a = = = ~=
More information6-1 (Function). (Function) !*+!"#!, Function Description Example. natural logarithm of x (base e) rounds x to smallest integer not less than x
(Function) -1.1 Math Library Function!"#! $%&!'(#) preprocessor directive #include !*+!"#!, Function Description Example sqrt(x) square root of x sqrt(900.0) is 30.0 sqrt(9.0) is 3.0 exp(x) log(x)
More informationNumerical Analysis First Term Dr. Selcuk CANKURT
ISHIK UNIVERSITY FACULTY OF ENGINEERING and DEPARTMENT OF COMPUTER ENGINEERING Numerical Analysis 2017-2018 First Term Dr. Selcuk CANKURT selcuk.cankurt@ishik.edu.iq Textbook Main Textbook MATLAB for Engineers,
More informationOperators Functions Order of Operations Mixed Mode Arithmetic VOID Data. Syntax and type conventions Using the Script window interface
Introduction Syntax Operators Functions Order of Operations Mixed Mode Arithmetic VOID Data Introduction Map Layer Mathematics Algebraic statements are used to perform the basic mathematical operations
More informationJavascript Bignum Extensions
1 Javascript Bignum Extensions Version 2018-05-27 Author: Fabrice Bellard i Table of Contents 1 Introduction................................................... 1 2 Operator overloading..........................................
More informationThe Number object. to set specific number types (like integer, short, In JavaScript all numbers are 64bit floating point
Internet t Software Technologies JavaScript part three IMCNE A.A. 2008/09 Gabriele Cecchetti The Number object The JavaScript Number object does not allow you to set specific number types (like integer,
More informationStudyMate 2. Create Activities or Games
StudyMate 2 Create Activities or Games WORKSHOP DESCRIPTION...3 PREREQUISITES...3 OBJECTIVES...3 INTRODUCTION...4 REQUESTING STUDYMATE...4 INSTALLING STUDYMATE...4 OBTAINING SUPPORT...5 GETTING STARTED...5
More informationVisualisation Lab: gnuplot
Visualisation Lab: gnuplot Anton Gerdelan February 2, 2012 What is gnuplot? gnuplot is a tool for creating graphs and charts. gnuplot has a terminal. You can enter commands to tell gnuplot how to format
More informationCP122 Computer Science I. Chapter 3: Methods/Functions
CP122 Computer Science I Chapter 3: Methods/Functions Offline viewing of some Netflix shows now available Tech News Tech News Offline viewing of some Netflix shows now available Consumer Review Fairness
More informationMATELECT PDsoft v1.00
MATELECT PDsoft v1.00 INSTRUCTION MANUAL TABLE OF CONTENTS SYSTEM REQUIREMENTS... 4 TECHNICAL SUPPORT... 4 INSTALLING THE LICENSE FILE... 5 ABOUT PDsoft... 6 A GUIDED TOUR OF THE USER INTERFACE... 6 CHART
More informationArithmetic. 2.2.l Basic Arithmetic Operations. 2.2 Arithmetic 37
2.2 Arithmetic 37 This is particularly important when programs are written by more than one person. It may be obvious to you that cv stands for can volume and not current velocity, but will it be obvious
More informationFortran 90 Basics. Fall I don t know what the programming language of the year 2000 will look like, but I know it will be called FORTRAN.
Fortran 90 Basics I don t know what the programming language of the year 2000 will look like, but I know it will be called FORTRAN. Fall 2009 Charles Anthony Richard Hoare 1 F90 Program Structure A Fortran
More informationAPPENDIX P. Derived Parameter Specification
APPENDIX P Derived Parameter Specification Acronyms... P-iii 1.0 Derived Parameter Definition... P-5 2.0 Derived Algorithm Grammar: Components... P-5 3.0 Operators... P-6 3.1 Arithmetic Operators... P-6
More informationTelemetry Standards, IRIG Standard (Part 1), Appendix P, June 2011 APPENDIX P DERIVED PARAMETER SPECIFICATION. Paragraph Title Page
APPENDIX P DERIVED PARAMETER SPECIFICATION Paragraph Title Page 1.0 Derived Parameter Definition... P-1 2.0 Derived Algorithm Grammar: Components... P-1 3.0 Operators... P-2 4.0 Numeric Constants... P-4
More informationExpressions and operators
Mathematical operators and expressions The five basic binary mathematical operators are Operator Operation Example + Addition a = b + c - Subtraction a = b c * Multiplication a = b * c / Division a = b
More informationA. Introduction to Function 1. Modular Programming input processing output functions library functions 2. Function 1. Benefit of Using Functions
Lesson Outcomes At the end of this chapter, student should be able to: Use pre-defined functions: (sqrt(), abs(), pow(), toupper(), tolower(), strcmp(), strcpy(), gets()) Build independent functions or
More informationEngineering Problem Solving with C++, Etter/Ingber
Engineering Problem Solving with C++, Etter/Ingber Chapter 2 Simple C++ Programs C++, Second Edition, J. Ingber 1 Simple C++ Programs Program Structure Constants and Variables C++ Operators Standard Input
More informationIntroduction to PartSim and Matlab
NDSU Introduction to PartSim and Matlab pg 1 PartSim: www.partsim.com Introduction to PartSim and Matlab PartSim is a free on-line circuit simulator that we use in Circuits and Electronics. It works fairly
More informationWelcome to EGR 106 Foundations of Engineering II
Welcome to EGR 106 Foundations of Engineering II Course information Today s specific topics: Computation and algorithms MATLAB Basics Demonstrations Material in textbook chapter 1 Computation What is computation?
More informationParaMagic TM v16.6 sp1
75 Fifth Street NW, Suite 213 Atlanta, GA 30308, USA Voice: +1-404-592-6897 Web: www.intercax.com E-mail: info@intercax.com ParaMagic TM v16.6 sp1 Users Guide Table of Contents 1! About... 3! 2! Quick
More informationAMS 27L LAB #1 Winter 2009
AMS 27L LAB #1 Winter 2009 Introduction to MATLAB Objectives: 1. To introduce the use of the MATLAB software package 2. To learn elementary mathematics in MATLAB Getting Started: Log onto your machine
More informationPython Programming: An Introduction to Computer Science
Python Programming: An Introduction to Computer Science Chapter 3 Computing with Numbers Python Programming, 3/e 1 Objectives n To understand the concept of data types. n To be familiar with the basic
More informationXQ: An XML Query Language Language Reference Manual
XQ: An XML Query Language Language Reference Manual Kin Ng kn2006@columbia.edu 1. Introduction XQ is a query language for XML documents. This language enables programmers to express queries in a few simple
More informationThe Expressions plugin PRINTED MANUAL
The Expressions plugin PRINTED MANUAL Expressions plugin All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying,
More informationProcess Optimization
Process Optimization Tier II: Case Studies Section 1: Lingo Optimization Software Optimization Software Many of the optimization methods previously outlined can be tedious and require a lot of work to
More informationPython Lists: Example 1: >>> items=["apple", "orange",100,25.5] >>> items[0] 'apple' >>> 3*items[:2]
Python Lists: Lists are Python's compound data types. A list contains items separated by commas and enclosed within square brackets ([]). All the items belonging to a list can be of different data type.
More informationLesson #3. Variables, Operators, and Expressions. 3. Variables, Operators and Expressions - Copyright Denis Hamelin - Ryerson University
Lesson #3 Variables, Operators, and Expressions Variables We already know the three main types of variables in C: int, char, and double. There is also the float type which is similar to double with only
More information1 Week 1: Basics of scientific programming I
MTH739N/P/U: Topics in Scientific Computing Autumn 2016 1 Week 1: Basics of scientific programming I 1.1 Introduction The aim of this course is use computing software platforms to solve scientific and
More informationProgram Structure and Format
Program Structure and Format PROGRAM program-name IMPLICIT NONE specification part execution part subprogram part END PROGRAM program-name Comments Comments should be used liberally to improve readability.
More informationChapter 3 Mathematical Functions, Strings, and Objects
Chapter 3 Mathematical Functions, Strings, and Objects 1 Motivations Suppose you need to estimate the area enclosed by four cities, given the GPS locations (latitude and longitude) of these cities, as
More informationModular Test Sequencer MTS
Modular Test Sequencer MTS Operating Manual Rev. 1.7 PI Electronics AG Segelhof 1 CH-5405 Baden-Daettwil Trademarks LabVIEW is registered trademark of National Instruments. Notice The information in this
More informationIntroduction to MATLAB
to MATLAB Spring 2019 to MATLAB Spring 2019 1 / 39 The Basics What is MATLAB? MATLAB Short for Matrix Laboratory matrix data structures are at the heart of programming in MATLAB We will consider arrays
More informationIntroduction to MATLAB
ELG 3125 - Lab 1 Introduction to MATLAB TA: Chao Wang (cwang103@site.uottawa.ca) 2008 Fall ELG 3125 Signal and System Analysis P. 1 Do You Speak MATLAB? MATLAB - The Language of Technical Computing ELG
More informationEP375 Computational Physics
EP375 Computational Physics Topic 1 MATLAB TUTORIAL BASICS Department of Engineering Physics University of Gaziantep Feb 2014 Sayfa 1 Basic Commands help command get help for a command clear all clears
More information2 Making Decisions. Store the value 3 in memory location y
2.1 Aims 2 Making Decisions By the end of this worksheet, you will be able to: Do arithmetic Start to use FORTRAN intrinsic functions Begin to understand program flow and logic Know how to test for zero
More informationMATLAB Basics EE107: COMMUNICATION SYSTEMS HUSSAIN ELKOTBY
MATLAB Basics EE107: COMMUNICATION SYSTEMS HUSSAIN ELKOTBY What is MATLAB? MATLAB (MATrix LABoratory) developed by The Mathworks, Inc. (http://www.mathworks.com) Key Features: High-level language for numerical
More informationProduct Data 3. COMPASS Performance Monitoring Software Part of the Type 3540 COMPASS Version 6.x or higher
Product Data 3. Part of the Type 3540 COMPASS Version 6.x or higher Application Software Types 7109, 7110, 7116, 7120-X BPD 0008-EN-13 COMPASS X-Plot Enhanced Scalar Plot Software Type 7110 The Type 7110
More informationChapter 3 Functions and Files
Chapter 3 Functions and Files Getting Help for Functions You can use the lookfor command to find functions that are relevant to your application. For example, type lookfor imaginary to get a list of the
More informationANSI C Programming Simple Programs
ANSI C Programming Simple Programs /* This program computes the distance between two points */ #include #include #include main() { /* Declare and initialize variables */ double
More informationChapter 3. Computer Science & Engineering 155E Computer Science I: Systems Engineering Focus. Existing Information.
Chapter 3 Computer Science & Engineering 155E Computer Science I: Systems Engineering Focus Lecture 03 - Introduction To Functions Christopher M. Bourke cbourke@cse.unl.edu 3.1 Building Programs from Existing
More informationReference manual. PreFEED Corporation
Reference manual PreFEED Corporation Microsoft and Windows are registered trademarks of Microsoft Corporation of the United States of America. The contents of this manual are subject to change without
More information3.1. Chapter 3: The cin Object. Expressions and Interactivity
Chapter 3: Expressions and Interactivity 3.1 The cin Object Copyright 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 3-1 The cin Object Standard input stream object, normally the keyboard,
More informationVariable and Data Type 2
The Islamic University of Gaza Faculty of Engineering Dept. of Computer Engineering Intro. To Computers (LNGG 1003) Lab 3 Variable and Data Type 2 Eng. Ibraheem Lubbad March 2, 2017 Python Lists: Lists
More informationFAQ No. 53. ihost: Logic Points. Roles and Privileges. Adding and removing logic points. Accessing and using the Logic Editor
ihost: Logic Points In addition to displaying values reported by a unit, ihost supports adding additional logic points to a unit and calculating the value based on a custom logic expression. On calculation
More informationIntroduction to C++ Introduction and History. Characteristics of C++
Introduction and History Introduction to C++ Until 1980, C programming was widely popular, and slowly people started realizing the drawbacks of this language and at the same time, the engineers had come
More informationBuilt-in Types of Data
Built-in Types of Data Types A data type is set of values and a set of operations defined on those values Python supports several built-in data types: int (for integers), float (for floating-point numbers),
More informationWelcome. Please Sign-In
Welcome Please Sign-In Day 1 Session 1 Self-Evaluation Topics to be covered: Equations Systems of Equations Solving Inequalities Absolute Value Equations Equations Equations An equation says two things
More informationWhat is Matlab? The command line Variables Operators Functions
What is Matlab? The command line Variables Operators Functions Vectors Matrices Control Structures Programming in Matlab Graphics and Plotting A numerical computing environment Simple and effective programming
More informationProgramming in QBasic
Programming in QBasic Second lecture Constants In QBASIC: Constants In QBASIC division into three types: 1. Numeric Constants: there are two types of numeric constants: Real: the numbers used may be written
More informationINTRODUCTION TO WEB DEVELOPMENT AND HTML. Lecture 15: JavaScript loops, Objects, Events - Spring 2011
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 15: JavaScript loops, Objects, Events - Spring 2011 Outline Selection Statements (if, if-else, switch) Loops (for, while, do..while) Built-in Objects: Strings
More informationAn Introduction to Unix
An Introduction to Unix Sylvia Plöckinger March 3, 2011 Sylvia Plöckinger () An Introduction to Unix March 3, 2011 1 / 29 General Information Find this file on: http://homepage.univie.ac.at/nigel.mitchell/numprac/
More informationChapter 2. MATLAB Basis
Chapter MATLAB Basis Learning Objectives:. Write simple program modules to implement single numerical methods and algorithms. Use variables, operators, and control structures to implement simple sequential
More informationComputer Science & Engineering 150A Problem Solving Using Computers
Computer Science & Engineering 150A Problem Solving Using Computers Lecture 03 - Stephen Scott (Adapted from Christopher M. Bourke) 1 / 41 Fall 2009 Chapter 3 3.1 Building Programs from Existing Information
More informationipad App User Guide Getting Started with Desmos Tables Variables and Sliders Settings, Zoom, and Language Graphable Expressions Supported Functions
ipad App User Guide Learn more about graphing functions, plotting tables of data, evaluating equations, exploring transformations, and more! If you have questions that aren t answered in here, send us
More informationExpressions. Eric Roberts Handout #3 CSCI 121 January 30, 2019 Expressions. Grace Murray Hopper. Arithmetic Expressions.
Eric Roberts Handout #3 CSCI 121 January 30, 2019 Expressions Grace Murray Hopper Expressions Eric Roberts CSCI 121 January 30, 2018 Grace Hopper was one of the pioneers of modern computing, working with
More informationIntroduction to MATLAB 7 for Engineers
PowerPoint to accompany Introduction to MATLAB 7 for Engineers William J. Palm III Chapter 3 Functions and Files Copyright 2005. The McGraw-Hill Companies, Inc. Permission required for reproduction or
More informationLecture 14. Daily Puzzle. Math in C. Rearrange the letters of eleven plus two to make this mathematical statement true. Eleven plus two =?
Lecture 14 Math in C Daily Puzzle Rearrange the letters of eleven plus two to make this mathematical statement true. Eleven plus two =? Daily Puzzle SOLUTION Eleven plus two = twelve plus one Announcements
More information