VBA. VBA at a glance. Lecture 61
|
|
- Berenice Morgan
- 6 years ago
- Views:
Transcription
1 VBA VBA at a glance Lecture 61 1
2 Activating VBA within SOLIDWORKS Lecture 6 2
3 VBA Sub main() Function Declaration Dim A, B, C, D, E As Double Dim Message, Title, Default Message = "A : " ' Set prompt. Title = "InputBox" ' Set title. Default = "0.0" ' Set default. VBA statement End Sub End of the function Lecture 6 3
4 Data Declaration 1. Numeric: Integer, Long, Single, Double, Currency Dim A, B, C As Integer 2. String Dim MyStr As String MyStr = SolidWorks Lecture 6 4
5 InputBox InputBox(prompt[, title] [, default] [, xpos] [, ypos] ) Title Dim Message, Title, Default Message = "A : " Title = "InputBox" Default = "0.0" A = InputBox(Message, Title, Default) Message Default Lecture 6 5
6 MsgBox MsgBox(prompt[, buttons] [, title] ) Dim Msg, Style, Help, Ctxt, Response, MyString Msg = "Do you want to continue?" Style = vbyesno + vbcritical + vbdefaultbutton2 Title = "MsgBox Demonstration" Response = MsgBox(Msg, Style, Title) Title Msg vbcritical vbyesno vbdefaultbutton2 (highlighted) Lecture 6 6
7 MSgBox: Style vbokonly Display OK button only vbokcancel Display OK and Cancel buttons vbabortretryignore Display Abort, Retry, and Ignore buttons vbyesnocancel Display Yes, No, and Cancel buttons vbyesno Display Yes and No buttons vbretrycancel Display Retry and Cancel buttons vbcritical Display Critical Message icon vbdefaultbutton1 First button is default. vbdefaultbutton2 Second button is default. vbdefaultbutton3 Third button is default. vbdefaultbutton4 Fourth button is default. Lecture 6 7
8 MsgBox Display numeric value Dim A As Double A = 10.5 Dim Msg, Style, Title, Response Msg = A Style = vbokonly Title = Output " Response = MsgBox(Msg, Style, Title) Lecture 6 8
9 Arithmetic Numeric + Add Subtract / Divide 25/5 5 \ Integer Division 20\3 6 * Multiply 5*4 20 ^ Exponent (power of) 3^3 27 Mod Remainder of division 20 Mod 6 2 String & String concatenation "G"&" "&"B" G B + String concatenation A + B AB Lecture 6 9
10 Mathematical Examples Converting radian to degree deg rad 180 pi Sub main() pi = 4 * atn(1.0) deg = rad * / pi DIM deg, rad, pi AS DOUBLE * input the rad pi = 4 * atn(1.0) deg = rad * / pi * display the result End Sub Lecture 6 10
11 Mathematical Examples Converting degree to rad rad deg pi 180 pi = 4 * atn(1.0) rad = deg * pi / 180 Length calculation l x 2 y 2 l = sqr ( x^2 + y^2) Lecture 6 11
12 Mathematical Examples Quadratic Equation x 1,x 2 b 2 b 2a 4ac par1 = sqr ( b^2 4 * a * c ) x1 = (-b + par1)/(2 * a) x2 = (-b - par1)/(2 * a) Note: Equations can written using one equation or using multiple equations (depends on individual) Lecture 6 12
13 Mathematical Operators : + + : can be applied to string and number. Dim A, B As DOUBLE A = 2 B = 3 C = A + B C =23 (C = ) Therefore, Val is used to convert to numerical value C = Val(A) + Val(B) C = 5 Lecture 6 13
14 Function: with returned value Sub main() Dim length As Double length = Hypotenuse(3, 4) Interfacing the function MsgBox "Length is " & length End Sub Function Declaration As Double: return Double value Function Hypotenuse(A As Double, B As Double) As Double Hypotenuse = Sqr(A ^ 2 + B ^ 2) End Function Lecture 6 14
15 Function: with no returned value Sub main() Dim first first = subr1() End Sub No As Double or Integer : will not return any value Function subr1() Dim Msg, Style, Title, Response Msg = A Style = vbokonly Title = "First subr" Response = MsgBox(Msg, Style, Title) End Function Lecture 6 15
16 Tips to write good program Write short source code Short source code is easy to comprehend. Main function will the manage the sub function Sub Main() func1() func2() End Sub Function func1() End Function Lecture 6 16
17 Tips to write good program Write note : use to write the remark. Function Declaration Function Hypotenuse(A As Double, B As Double) As Double Hypotenuse = Sqr(A ^ 2 + B ^ 2) End Function Lecture 6 17
18 Tips to write good program Use tab to differentiate between segments Sub Main() Dim A As Double If rad < 0 Then rad = Else If a < 0 Then dim End If End Sub Lecture 6 18
19 Tips to write good program Use global declaration for variables and constant Dim pi As Double Sub Main() pi = 4 * atn(1.0) End Sub Lecture 6 19
20 Task Calculate the coordinates of a inscribed hexagon based on the radius of the circle. Lecture 6 20
21 Procedure 1. Input the radius of the circle 2. Calculate all the vertices Point.x = Rad* cos(ang) Point.y = Rad* sin(ang) where ang is 0 o, 60 o, 120 o, 180 o, 240 o,300 o Lecture 6 21
22 Programming: Step 1 Dim Message, Title Dim Default, Rad As Double Message = Radius of the circle " Title = "InputBox" Default = 10.0" Rad = InputBox(Message, Title, Default) Lecture 6 22
23 Programming: Step 2 Note: ang is radian, therefore the ang in cos function is radian. Dim pi, p1x, p1y, p2x, p2y As Double pi = 4 * Atn(1) p1x = Rad p1y = 0 p2x = Rad * Cos(pi / 3) p2y = Rad * Sin(pi / 3) p6x = Rad * Cos(5*pi / 3) p6y = Rad * Sin(5*pi / 3) Lecture 6 23
24 Programming: Step 3 Verifying the program, by displaying and checking the answer with known radis Possible amendment: round-off error when rad = 10.0 p2x = 5 p2x = Round(Rad * Cos(pi / 3), 2) Lecture 6 24
25 Integration with SolidWorks Easiest method to write VBA for Solidworks is to record the process of modeling. Tool Macro Record or Icon Lecture 6 25
26 Macro for line drawing 1. Set the sketch plane 2. Set the macro to record 3. Draw the line (single line) 4. Stop the recording 5. Save the macro 6. View the macro Lecture 6 26
27 ' ***************************************************** ' C:\DOCUME~1\use\LOCALS~1\Temp\swx2956\Macro1.swb - macro recorded on 02/22/09 by use ' ***************************************************** Dim swapp As Object Dim Part As Object Dim SelMgr As Object Dim boolstatus As Boolean Dim longstatus As Long, longwarnings As Long Dim Feature As Object Sub main() Set swapp = Application.SldWorks Set Part = swapp.activedoc Part.CreateLine , , 0, , , 0 End Sub Lecture 6 27
28 Createline2 Function retval = ModelDoc2.CreateLine2 ( p1x, p1y, p1z, p2x, p2y, p2z) Input: (double )p1x X value of the line start point (double) p1y Y value of the line start point (double) p1z Z value of the line start point (double) p2x X value of the line end point (double) p2y Y value of the line end point (double) p2z Z value of the line end point Return: (LPDISPATCH) retval Pointer to a Dispatch object, if the operation fails, then NULL is returned Lecture 6 28
29 Sub main() Set swapp = Application.SldWorks Set Part = swapp.activedoc Conversion from the macro created p1x = p1y = Part.CreateLine2 p1x, p1y, 0, p2x, p2y, 0 Or Dim line1 As Object Set line1 = Part.CreateLine2 (p1x, p1y, 0, p2x, p2y, 0) End Sub Lecture 6 29
30 Task 2 Write a program to create the hexagon based on user input radius? Lecture 6 30
An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is
InputBox( ) Function An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is A = InputBox ( Question or Phrase, Window Title, ) Example1: Integer:
More informationProgramming Concepts and Skills. Arrays continued and Functions
Programming Concepts and Skills Arrays continued and Functions Fixed-Size vs. Dynamic Arrays A fixed-size array has a limited number of spots you can place information in. Dim strcdrack(0 to 2) As String
More informationUnderstanding the MsgBox command in Visual Basic
Understanding the MsgBox command in Visual Basic This VB2008 tutorial explains how to use the MsgBox function in Visual Basic. This also works for VBS MsgBox. The MsgBox function displays a message in
More informationvariables programming statements
1 VB PROGRAMMERS GUIDE LESSON 1 File: VbGuideL1.doc Date Started: May 24, 2002 Last Update: Dec 27, 2002 ISBN: 0-9730824-9-6 Version: 0.0 INTRODUCTION TO VB PROGRAMMING VB stands for Visual Basic. Visual
More informationExcel & Visual Basic for Applications (VBA)
Class meeting #18 Monday, Oct. 26 th GEEN 1300 Introduction to Engineering Computing Excel & Visual Basic for Applications (VBA) user interfaces o on-sheet buttons o InputBox and MsgBox functions o userforms
More informationMICROSOFT EXCEL 2000 LEVEL 5 VBA PROGRAMMING INTRODUCTION
MICROSOFT EXCEL 2000 LEVEL 5 VBA PROGRAMMING INTRODUCTION Lesson 1 - Recording Macros Excel 2000: Level 5 (VBA Programming) Student Edition LESSON 1 - RECORDING MACROS... 4 Working with Visual Basic Applications...
More informationIFA/QFN VBA Tutorial Notes prepared by Keith Wong
Chapter 2: Basic Visual Basic programming 2-1: What is Visual Basic IFA/QFN VBA Tutorial Notes prepared by Keith Wong BASIC is an acronym for Beginner's All-purpose Symbolic Instruction Code. It is a type
More informationVBScript: Math Functions
C h a p t e r 3 VBScript: Math Functions In this chapter, you will learn how to use the following VBScript functions to World Class standards: 1. Writing Math Equations in VBScripts 2. Beginning a New
More informationProgramming with visual Basic:
Programming with visual Basic: 1-Introdution to Visual Basics 2-Forms and Control tools. 3-Project explorer, properties and events. 4-make project, save it and its applications. 5- Files projects and exercises.
More information3 IN THIS CHAPTER. Understanding Program Variables
Understanding Program Variables Your VBA procedures often need to store temporary values for use in statements and calculations that come later in the code. For example, you might want to store values
More information6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples:
VBA program units: Subroutines and Functions Subs: a chunk of VBA code that can be executed by running it from Excel, from the VBE, or by being called by another VBA subprogram can be created with the
More informationExcel Macro Record and VBA Editor. Presented by Wayne Wilmeth
Excel Macro Record and VBA Editor Presented by Wayne Wilmeth 1 What Is a Macro? Automates Repetitive Tasks Written in Visual Basic for Applications (VBA) Code Macro Recorder VBA Editor (Alt + F11) 2 Executing
More informationSolidWorks 2006 API 1
SolidWorks 2006 API 1 Human Centered CAD Laboratory 1 2009-04-16 About The Goal The goal of this course is to introduce you the SolidWorks 2006 Application Programming Interface(API). Using the SolidWorks
More informationCopyrighted Material. Copyrighted. Material. Copyrighted
Properties Basic Properties User Forms Arrays Working with Assemblies Selection Manager Verification and Error Handling Introduction This exercise is designed to go through the process of changing document
More informationVisual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB
Visual Programming 1. What is Visual Basic? Visual Basic is a powerful application development toolkit developed by John Kemeny and Thomas Kurtz. It is a Microsoft Windows Programming language. Visual
More informationCreating Macros David Giusto, Technical Services Specialist, Synergy Resources
Creating Macros David Giusto, Technical Services Specialist, Synergy Resources Session Background Ever want to automate a repetitive function or have the system perform calculations that you may be doing
More informationINFORMATICS: Computer Hardware and Programming in Visual Basic 81
INFORMATICS: Computer Hardware and Programming in Visual Basic 81 Chapter 3 THE REPRESENTATION OF PROCESSING ALGORITHMS... 83 3.1 Concepts... 83 3.1.1 The Stages of Solving a Problem by Means of Computer...
More informationMICROSOFT EXCEL VISUAL BASIC FOR APPLICATIONS INTERMEDIATE
MICROSOFT EXCEL VISUAL BASIC FOR APPLICATIONS INTERMEDIATE NOTE Unless otherwise stated, screenshots of dialog boxes and screens in this book were taken using Excel 2003 running on Window XP Professional.
More informationSolidWorks A Visual Basic for Applications tutorial for SolidWorks users SDC PUBLICATIONS
Automating SolidWorks 2004 using Macros A Visual Basic for Applications tutorial for SolidWorks users SDC PUBLICATIONS Schroff Development Corporation www.schroff.com www.schroff-europe.com By Mike Spens
More informationProgram Workspace. Why numerical methods? Problem examples Why programming? Why numerical methods and programming? Why VBA?
Contents In the end we will conserve only what we love. We love only what we understand. We will understand only what we are taught.. Baba Dioum From a 1968 speech given at the general assembly of the
More informationOutline. Midterm Review. Using Excel. Midterm Review: Excel Basics. Using VBA. Sample Exam Question. Midterm Review April 4, 2014
Midterm Review Larry Caretto Mechanical Engineering 209 Computer Programming for Mechanical Engineers April 4, 2017 Outline Excel spreadsheet basics Use of VBA functions and subs Declaring/using variables
More informationVisual Basic for Applications
Visual Basic for Applications Programming Damiano SOMENZI School of Economics and Management Advanced Computer Skills damiano.somenzi@unibz.it Week 1 Outline 1 Visual Basic for Applications Programming
More informationAgenda. First Example 24/09/2009 INTRODUCTION TO VBA PROGRAMMING. First Example. The world s simplest calculator...
INTRODUCTION TO VBA PROGRAMMING LESSON2 dario.bonino@polito.it Agenda First Example Simple Calculator First Example The world s simplest calculator... 1 Simple Calculator We want to design and implement
More informationMathsGeeks
1. Find the first 3 terms, in ascending powers of x, of the binomial expansion of and simplify each term. (4) 1. Bring the 3 out as the binomial must start with a 1 Using ( ) ( ) 2. (a) Show that the equation
More informationFinal Exam: Precalculus
Final Exam: Precalculus Apr. 17, 2018 ANSWERS Without Notes or Calculators Version A 1. Consider the unit circle: a. Angle in degrees: What is the angle in radians? What are the coordinates? b. Coordinates:
More informationMath Interim Mini-Tests. 3rd Grade Mini-Tests
3rd Grade Mini-Tests Mini-Test Name Availability Area of Plane Figures-01 Gr 3_Model, Reason, & Solve Problems-04 Multiplicative Properties & Factors-01 Patterns & Using the Four Operations-01 Real-World
More informationContents. Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference
Introduction To VBA Contents Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference Some Basics Code: You perform actions in VBA
More informationChapter 2.4: Common facilities of procedural languages
Chapter 2.4: Common facilities of procedural languages 2.4 (a) Understand and use assignment statements. Assignment An assignment is an instruction in a program that places a value into a specified variable.
More informationStart Visual Basic. Session 1. The User Interface Form (I/II) The Visual Basic Programming Environment. The Tool Box (I/II)
Session 1 Start Visual Basic Use the Visual Basic programming environment Understand Essential Visual Basic menu commands and programming procedure Change Property setting Use Online Help and Exit Visual
More informationAlternatives To Custom Dialog Box
Alternatives To Custom Dialog Box Contents VBA Input Box Syntax & Function The Excel InputBox method Syntax The VBA MsgBox Function The Excel GetOpenFilename Method The Excel GetSaveAsFilename Method Reference
More informationCS313D: ADVANCED PROGRAMMING LANGUAGE
CS313D: ADVANCED PROGRAMMING LANGUAGE Computer Science department Lecture 2 : C# Language Basics Lecture Contents 2 The C# language First program Variables and constants Input/output Expressions and casting
More informationMacro Programming Reference Guide. Copyright 2005 Scott Martinez
Macro Programming Reference Guide Copyright 2005 Scott Martinez Section 1. Section 2. Section 3. Section 4. Section 5. Section 6. Section 7. What is macro programming What are Variables What are Expressions
More information2 nd Week Lecture Notes
2 nd Week Lecture Notes Scope of variables All the variables that we intend to use in a program must have been declared with its type specifier in an earlier point in the code, like we did in the previous
More informationFull file at
Java Programming, Fifth Edition 2-1 Chapter 2 Using Data within a Program At a Glance Instructor s Manual Table of Contents Overview Objectives Teaching Tips Quick Quizzes Class Discussion Topics Additional
More informationObject Oriented Programming Using C++ Mathematics & Computing IET, Katunayake
Assigning Values // Example 2.3(Mathematical operations in C++) float a; cout > a; cout
More informationThis tutorial will teach you about operators. Operators are symbols that are used to represent an actions used in programming.
OPERATORS This tutorial will teach you about operators. s are symbols that are used to represent an actions used in programming. Here is the link to the tutorial on TouchDevelop: http://tdev.ly/qwausldq
More informationChapter 2 Using Data. Instructor s Manual Table of Contents. At a Glance. Overview. Objectives. Teaching Tips. Quick Quizzes. Class Discussion Topics
Java Programming, Sixth Edition 2-1 Chapter 2 Using Data At a Glance Instructor s Manual Table of Contents Overview Objectives Teaching Tips Quick Quizzes Class Discussion Topics Additional Projects Additional
More informationThese are reserved words of the C language. For example int, float, if, else, for, while etc.
Tokens in C Keywords These are reserved words of the C language. For example int, float, if, else, for, while etc. Identifiers An Identifier is a sequence of letters and digits, but must start with a letter.
More informationBASIC ELEMENTS OF A COMPUTER PROGRAM
BASIC ELEMENTS OF A COMPUTER PROGRAM CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING LOGO Contents 1 Identifier 2 3 Rules for naming and declaring data variables Basic data types 4 Arithmetic operators
More informationME009 Engineering Graphics and Design CAD 1. 1 Create a new part. Click. New Bar. 2 Click the Tutorial tab. 3 Select the Part icon. 4 Click OK.
PART A Reference: SolidWorks CAD Student Guide 2014 2 Lesson 2: Basic Functionality Active Learning Exercises Creating a Basic Part Use SolidWorks to create the box shown at the right. The step-by-step
More informationVB FUNCTIONS AND OPERATORS
VB FUNCTIONS AND OPERATORS In der to compute inputs from users and generate results, we need to use various mathematical operats. In Visual Basic, other than the addition (+) and subtraction (-), the symbols
More information2-4 Graphing Rational Functions
2-4 Graphing Rational Functions Factor What are the zeros? What are the end behaviors? How to identify the intercepts, asymptotes, and end behavior of a rational function. How to sketch the graph of a
More informationMathematics Background
Finding Area and Distance Students work in this Unit develops a fundamentally important relationship connecting geometry and algebra: the Pythagorean Theorem. The presentation of ideas in the Unit reflects
More informationFundamentals. Fundamentals. Fundamentals. We build up instructions from three types of materials
Fundamentals We build up instructions from three types of materials Constants Expressions Fundamentals Constants are just that, they are values that don t change as our macros are executing Fundamentals
More informationYou will have mastered the material in this chapter when you can:
CHAPTER 6 Loop Structures OBJECTIVES You will have mastered the material in this chapter when you can: Add a MenuStrip object Use the InputBox function Display data using the ListBox object Understand
More informationReview for Programming Exam and Final May 4-9, Ribbon with icons for commands Quick access toolbar (more at lecture end)
Review for Programming Exam and Final Larry Caretto Mechanical Engineering 209 Computer Programming for Mechanical Engineers May 4-9, 2017 Outline Schedule Excel Basics VBA Editor and programming variables
More informationComputer System and programming in C
1 Basic Data Types Integral Types Integers are stored in various sizes. They can be signed or unsigned. Example Suppose an integer is represented by a byte (8 bits). Leftmost bit is sign bit. If the sign
More informationLong (LONGMATH) variables may be used the same as short variables. The syntax is the same. A few limitations apply (see below).
Working with Long Numbers. Long Variables Constants You define a long variable with the LONG statement, which works similar to the DIM statement. You can define long variables and dimension long variable
More informationMath Content
2013-2014 Math Content PATHWAY TO ALGEBRA I Hundreds and Tens Tens and Ones Comparing Whole Numbers Adding and Subtracting 10 and 100 Ten More, Ten Less Adding with Tens and Ones Subtracting with Tens
More informationChapter 2 Using Data. Instructor s Manual Table of Contents. At a Glance. A Guide to this Instructor s Manual:
Java Programming, Eighth Edition 2-1 Chapter 2 Using Data A Guide to this Instructor s Manual: We have designed this Instructor s Manual to supplement and enhance your teaching experience through classroom
More informationTABLE 2: Mathematics College Readiness Standards for Score Range 13 15
TABLE 2: Mathematics College Readiness Standards for Score Range 13 15 Perform one-operation computation with whole numbers and decimals Solve problems in one or two steps using whole numbers Perform common
More informationWorking with Algebraic Expressions
2 Working with Algebraic Expressions This chapter contains 25 algebraic expressions; each can contain up to five variables. Remember that a variable is just a letter that represents a number in a mathematical
More informationVBA with SOLIDWORKS (Base Solid Model) Lecture 61
VBA 4 VBA with SOLIDWORKS (Base Solid Model) Lecture 61 1 Basic Procedure 1. Set the plane 2. Draw the profiles using sketch entities 3. Create the base model (Step 1 and 2: has learnt from previous slide)
More informationLecture 5. If, as shown in figure, we form a right triangle With P1 and P2 as vertices, then length of the horizontal
Distance; Circles; Equations of the form Lecture 5 y = ax + bx + c In this lecture we shall derive a formula for the distance between two points in a coordinate plane, and we shall use that formula to
More informationLong (or LONGMATH ) floating-point (or integer) variables (length up to 1 million, limited by machine memory, range: approx. ±10 1,000,000.
QuickCalc User Guide. Number Representation, Assignment, and Conversion Variables Constants Usage Double (or DOUBLE ) floating-point variables (approx. 16 significant digits, range: approx. ±10 308 The
More informationChapter 2: Using Data
Chapter 2: Using Data TRUE/FALSE 1. A variable can hold more than one value at a time. F PTS: 1 REF: 52 2. The legal integer values are -2 31 through 2 31-1. These are the highest and lowest values that
More informationPrentice Hall Mathematics Course Correlated to: Archdiocese of Chicago (Illinois) Mathematics Curriculum Frameworks (2004) Grades 6-12
Archdiocese of Chicago (Illinois) Mathematics Curriculum Frameworks (2004) Grades 6-12 Goal Outcome Outcome Statement Priority Code Chapter Topic 6 6.01 6.06.01 - Represent place values from millionths
More information2.Simplification & Approximation
2.Simplification & Approximation As we all know that simplification is most widely asked topic in almost every banking exam. So let us try to understand what is actually meant by word Simplification. Simplification
More informationChapter 1 An Introduction to Computer Science. INVITATION TO Computer Science 1
Chapter 1 An Introduction to Computer Science INVITATION TO Computer Science 1 Q8. Under what conditions would the well-known quadratic formula not be effectively computable? (Assume that you are working
More informationOutline. Writing Functions and Subs. Review Immediate (1-line) Errors. Quiz Two on Thursday (2/23) Same Code Without Option Explicit
Writing Functions and Subs Larry Caretto Mechanical Engineering 209 Computer Programming for Mechanical Engineers February 21, 2017 Outline Review Debugging and Option Explicit What are functions and subs?
More informationOverview (4) CPE 101 mod/reusing slides from a UW course. Assignment Statement: Review. Why Study Expressions? D-1
CPE 101 mod/reusing slides from a UW course Overview (4) Lecture 4: Arithmetic Expressions Arithmetic expressions Integer and floating-point (double) types Unary and binary operators Precedence Associativity
More informationCS321 Introduction To Numerical Methods
CS3 Introduction To Numerical Methods Fuhua (Frank) Cheng Department of Computer Science University of Kentucky Lexington KY 456-46 - - Table of Contents Errors and Number Representations 3 Error Types
More informationSection 14: Trigonometry Part 1
Section 14: Trigonometry Part 1 The following Mathematics Florida Standards will be covered in this section: MAFS.912.F-TF.1.1 MAFS.912.F-TF.1.2 MAFS.912.F-TF.1.3 Understand radian measure of an angle
More informationExcel VBA Programming
Exclusive Study Manual Excel VBA Programming Advanced Excel Study Notes (For Private Circulation Only Not For Sale) 7208669962 8976789830 (022 ) 28114695 www.laqshya.in info@laqshya.in Study Notes Excel
More informationr the COR d e s 3 A lg e b r a Alabama Pathways
BUI LT fo COM r the MON COR E Gra 2013 2014 d e s 3 A lg e b r a Alabama Pathways I Grade 3 Operations and Algebraic Thinking Operations and Algebraic Thinking Operations and Algebraic Thinking Number
More informationr the COR d e s 3 A lg e b r a New York Common Core Pathways
BUI LT fo COM r the MON COR E Gra 2013 2014 d e s 3 A lg e b r a New York Common Core Pathways I Grade 3 Number and Operations - Fractions Measurement and Data Geometry Place Value with Whole Numbers Place
More informationENGINEERING 1020 Introduction to Computer Programming M A Y 2 6, R E Z A S H A H I D I
ENGINEERING 1020 Introduction to Computer Programming M A Y 2 6, 2 0 1 0 R E Z A S H A H I D I Today s class Constants Assignment statement Parameters and calling functions Expressions Mixed precision
More informationINSIDE the circle. The angle is MADE BY. The angle EQUALS
ANGLES IN A CIRCLE The VERTEX is located At the CENTER of the circle. ON the circle. INSIDE the circle. OUTSIDE the circle. The angle is MADE BY Two Radii Two Chords, or A Chord and a Tangent, or A Chord
More informationAlgebra II Trigonometric Functions
Slide 1 / 162 Slide 2 / 162 Algebra II Trigonometric Functions 2015-12-17 www.njctl.org Slide 3 / 162 Trig Functions click on the topic to go to that section Radians & Degrees & Co-terminal angles Arc
More informationVISUAL BASIC 6.0 OVERVIEW
VISUAL BASIC 6.0 OVERVIEW GENERAL CONCEPTS Visual Basic is a visual programming language. You create forms and controls by drawing on the screen rather than by coding as in traditional languages. Visual
More informationReview: Exam 1. Your First C++ Program. Declaration Statements. Tells the compiler. Examples of declaration statements
Review: Exam 1 9/20/06 CS150 Introduction to Computer Science 1 1 Your First C++ Program 1 //*********************************************************** 2 // File name: hello.cpp 3 // Author: Shereen Khoja
More informationS206E Lecture 13, 5/22/2016, Grasshopper Math and Logic Rules
S206E057 -- Lecture 13, 5/22/2016, Grasshopper Math and Logic Rules Copyright 2016, Chiu-Shui Chan. All Rights Reserved. Interface of Math and Logic Functions 1. Basic mathematic operations: For example,
More informationMATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras
MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras Module No. #01 Lecture No. #1.1 Introduction to MATLAB programming
More informationHigher Computing Science Software Design and Development - Programming Summary Notes
Higher Computing Science Software Design and Development - Programming Summary Notes Design notations A design notation is the method we use to write down our program design. Pseudocode is written using
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 informationNumber- Algebra. Problem solving Statistics Investigations
Place Value Addition, Subtraction, Multiplication and Division Fractions Position and Direction Decimals Percentages Algebra Converting units Perimeter, Area and Volume Ratio Properties of Shapes Problem
More informationVisual Basic distinguishes between a number of fundamental data types. Of these, the ones we will use most commonly are:
Chapter 3 4.2, Data Types, Arithmetic, Strings, Input Data Types Visual Basic distinguishes between a number of fundamental data types. Of these, the ones we will use most commonly are: Integer Long Double
More informationESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 1 IDL Operators
ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 1 IDL Operators ARITHMATIC OPERATORS The assignment operator in IDL is the equals sign, =. IDL uses all the familiar arithmetic operators
More informationAlgebra II. Slide 1 / 162. Slide 2 / 162. Slide 3 / 162. Trigonometric Functions. Trig Functions
Slide 1 / 162 Algebra II Slide 2 / 162 Trigonometric Functions 2015-12-17 www.njctl.org Trig Functions click on the topic to go to that section Slide 3 / 162 Radians & Degrees & Co-terminal angles Arc
More informationDATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) AGENDA 3. Executing VBA
More informationContent Map For Mathematics
Content Strand: Number Sense, Numeration, & Operations 6-MA-1 Recognize and make estimatesuse estimating strategies when appropriate. 6-MA-2 Use place value from thousandths to hundredmillions to millionths
More informationFunction Exit Function End Function bold End Function Exit Function
The UDF syntax: Function name [(arguments) [As type] ] [As type] [statements] [name = expression] [Exit Function] [statements] [name = expression] - name the name of the function - arguments a list of
More informationENGG1811 Computing for Engineers Week 1 Introduction to Programming and Python
ENGG1811 Computing for Engineers Week 1 Introduction to Programming and Python ENGG1811 UNSW, CRICOS Provider No: 00098G W4 Computers have changed engineering http://www.noendexport.com/en/contents/48/410.html
More informationStatements and Operators
Statements and Operators Old Content - visit altium.com/documentation Mod ifi ed by Rob Eva ns on Feb 15, 201 7 Parent page: EnableBasic Enable Basic Statements Do...Loop Conditional statement that repeats
More informationABE Math TABE Modules 1-10
MODULE COMPETENCIES CW/HW Competencies M1 1. TABE Score Copy DAY 2. Data Form ONE PRETEST 3. First Exam (Pretest E/M/D/A) 4. Orientation M2 5. The Number System Whole Reviewing Place Value Naming Large
More informationCISC 110 Day 1. Hardware, Algorithms, and Programming
CISC 110 Day 1 Hardware, Algorithms, and Programming Outline Structure of Digital Computers Programming Concepts Output Statements Variables and Assignment Statements Data Types String and Numeric Operations
More informationUnit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes
Unit 12 Electronic Spreadsheets - Microsoft Excel Desired Outcomes Student understands Excel workbooks and worksheets Student can navigate in an Excel workbook and worksheet Student can use toolbars and
More informationComputer Programming in MATLAB
Computer Programming in MATLAB Prof. Dr. İrfan KAYMAZ Atatürk University Engineering Faculty Department of Mechanical Engineering What is a computer??? Computer is a device that computes, especially a
More informationIndirect measure the measurement of an object through the known measure of another object.
Indirect measure the measurement of an object through the known measure of another object. M Inequality a sentence that states one expression is greater than, greater than or equal to, less than, less
More informationThe Juice Seller s Problem
The Juice Seller s Problem Hello and welcome, I'm Ghada Suleiman Abdullah Marmash, a teacher in the schools of King Abdullah II, His Excellence from Jordan. I hope that you can help me solve a problem;
More informationTopic A- F th Grade Math Unit 1 Dates: Aug 1st- Aug 25 th
5 th Grade Math Unit 1 Dates: Aug 1st- Aug 25 th Topic A- F 5.M.1 Convert among different-sized standard measurement units within a given measurement system, and use these conversions in solving multi-step
More informationBasic operators, Arithmetic, Relational, Bitwise, Logical, Assignment, Conditional operators. JAVA Standard Edition
Basic operators, Arithmetic, Relational, Bitwise, Logical, Assignment, Conditional operators JAVA Standard Edition Java - Basic Operators Java provides a rich set of operators to manipulate variables.
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 information11.4 CIRCUMFERENCE AND ARC LENGTH 11.5 AREA OF A CIRCLE & SECTORS
11.4 CIRCUMFERENCE AND ARC LENGTH 11.5 AREA OF A CIRCLE & SECTORS Section 4.1, Figure 4.2, Standard Position of an Angle, pg. 248 Measuring Angles The measure of an angle is determined by the amount of
More informationAmphitheater School District End Of Year Algebra II Performance Assessment Review
Amphitheater School District End Of Year Algebra II Performance Assessment Review This packet is intended to support student preparation and review for the Algebra II course concepts for the district common
More informationYear 6 Mathematics Overview
Year 6 Mathematics Overview Term Strand National Curriculum 2014 Objectives Focus Sequence Autumn 1 Number and Place Value read, write, order and compare numbers up to 10 000 000 and determine the value
More informationRespond to Data Entry Events
Respond to Data Entry Events Callahan Chapter 4 Understanding Form and Control Events Developer s Goal make data entry easy, fast, complete, accurate Many form- and control-level events occur as user works
More informationCIS 110: Introduction to Computer Programming
CIS 110: Introduction to Computer Programming Lecture 3 Express Yourself ( 2.1) 9/16/2011 CIS 110 (11fa) - University of Pennsylvania 1 Outline 1. Data representation and types 2. Expressions 9/16/2011
More informationSL1Trig.notebook April 06, 2013
Unit plan on website has HW assignments for these chapters. 1 Right Angle Trig - Review Geogebra Sketch to Explore 2 Lots of theories about where 360 degrees came from. The Babylonians has a base 60 number
More informationAlgorithms 4. Odd or even Algorithm 5. Greatest among three numbers Algorithm 6. Simple Calculator Algorithm
s 4. Odd or even Step 3 : If number divisible by 2 then Print "Number is Even" Step 3.1 : else Print "Number is Odd" Step 4 : Stop 5. Greatest among three numbers Step 2 : Read values of a, b and c Step
More information