ECS Baruch Lab 5 Spring 2019 Name NetID (login, like , not your SUID)
|
|
- Colleen Dana Spencer
- 5 years ago
- Views:
Transcription
1 ECS Baruch Lab 5 Spring 2019 Name NetID (login, like , not your SUID) Today you will be doing some more experiments in the shell. Create a file Lab5.txt. In this file you will be asked to save parts of the shell (just copy and paste). Don't copy all your experiments, just the final good ones. I. Exploring built in Functions. You may use IDLE or Thonny today. Write your name and "Part I" in the file Lab5.txt There are some functions built into Python itself. Try these: A. >>> x=4.7 >>>y=2 >>>print(type(x)) >>>print(type(y)) B. >>>a = int(x) >>>print("a=",a,"\tx=",x) The \t represents a tab character. >>>b = float(y) >>>print("b=",b,"\ny=",y) The \n represents a new line character. Were the values stored in x and y changed? (You don't need to debug, you can look at the output.) C. >>>r=8.9 >>>round(r) >>>s=6.5 >>>round(s) 1
2 >>>t= >>>round(t) >>> print("r=",r,"\ts=",s, "\tt=",t) Were the values stored in r, s, and t changed? Copy the shell for part I to Lab5.txt. (Save!) II. Using math functions. Restart the shell. Write "Part II" in the file Lab5.txt In the class notes for today is a list of built in math functions. You will need to import math to use them. >>> import math A. Try >>> sin(90) What happens? The problem is that to use the math functions, we need to put math. in front of them. Try >>> math.sin(90) >>> math.cos(90) Does it look like Python is using degrees for sin and cos? Try >>>math.pi Result to 5 decimal places: >>>math.sin(math.pi/2) >>>math.cos(math.pi/2) Does it look like Python is using radians for sin and cos? 2
3 B. Write a few lines of code that will print a table of sines and cosines, from 0 degrees to 180 degrees (inclusive) in steps of 10 degrees. You will need to use the formula onedegreeinradians= math.pi/180, so to compute sin(10 degrees) you will need to compute sin(10*onedegreeinradians). Make sure your table has the right number of rows. Don't worry if the columns don't line up nicely. Just make sure there are three columns, for degrees, sin, and cos. Looking at the output. Does the table give exactly 1 for cos(0)? exactly 0 for sin(0)? Does the table give exactly 0 for cos(90 degrees)? exactly 1 for sin(90 degree)? Does the table give exactly -1 for cos(180 degrees)? exactly 0 for sin(180 degrees)? Make a guess about why you got some "no"s for you answers above and write it here. Copy the shell for your good solution of II B with the output table, to part II of Lab5.txt. (Save!) Print Lab5.txt III. More loops, accumulating a product. A. In addition to accumulating a sum as we did in Lab 4, sometimes we want to accumulate a product. For example 7! = 1 * 2 * 3 * 4 * 5 * 6 * 7. We can compute this in a loop, by each time multiplying the product by one more number. To start out our process, the product has to be initialized to 1, not zero. Why? Write a program, in a module file Lab5PartIII.py, with a main() and a call to main(), to compute 10! Save the program. Run the program. What does it get for 10!?: B. ints and floats Modify the program to compute 10! and 10.0! using ints (1*2*3...) and floats(1.0*2.0*3.0...) Print both results. Are the int and float results the same? Save your program. 3
4 C. 100! Modify your program to ask the user for an int value k. It should then compute k!, both the int and the float versions. (Use float for each term in the computation, not just for the final result.) Run the program, entering the value 10, and check that you get the same results as for part B. Now run the program and enter 100, for 100!. Are the int and float results exactly the same as each other? Are they close? Save your program. Save a copy as Lab5partIII.txt and copy your good output (that is, the computed values of 10! and 100!) to the same textfile, at the bottom, labeled "output". Make sure your name is at the top of the file. Print the text file, and close Lab5partIII.py. IV. Introduction to graphics. A. To do graphics you will need to download the graphics.py file and put it in your Python Programs folder. (This is where you should be saving all you programs.) This is the link, but it is also on the lecture page. B. While you are at that site you should download the Graphics Resource pdf file, too. Put it in a good place on your H: drive - you will want to refer to it often. C. From our course lecture webpage, download the file FourCorners.py. From the shell open that file. Put your name and section at the top, where indicated in the comment. Save the file. We will be adding to this during lab. D. Run the program. You should see a window with a circle, like this here: Click the mouse in the window to close the window. i) Look at the code creating the window. How many pixels wide is the window? How many pixels tall is the window? 4
5 ii) On this picture, write coordinates for the four corners of the windows. For example, label the upper left corner (0,0). (Make use of your answer to part i) iii) Give the coordinates for the center of the green circle. (Look at the code for the circle.) Write the coordinates on the picture above, on the green circle. iv) I want to draw 3 more circles, in the other 4 corners, a bit in from the corners just as the green circle is. On the paper picture, label where the centers should be, by writing the coordinates at those points. v) Create and draw the other 3 circles. vi) Color the upper left circle yellow, the lower right circle red, and the lower left circle blue. Run the program and make sure the window with the picture stays open till you click the mouse in the window. Print FourCorners.py by making a.txt file and printing that. Take a screen shot of your graphics window, Four Corners, with all 4 circles. V. Submitting your work. Make sure your name is on this lab packet. Staple Lab5.txt Lab5partIII.txt and Four Corners.txt to the Lab 5 packet. Turn the lab in at the file cabinet. Upload the screenshot of the graphics window Four Corners using the link on today's lecture page. 5
ECS Baruch Lab 9 Spring 2019 Name
ECS 102 - Baruch Lab 9 Spring 2019 Name I. Reading input files A. infile.read() Copy the file exploreinputfiles.txt from the webpage, change to.py. Run it. I hope you got an error FileNotFoundError: [Errno
More informationECS Baruch Lab 3 Spring 2019 Name
ECS 102 - Baruch Lab 3 Spring 2019 Name I. You can't ask a computer to do something you can't do. Now it is your turn to step through a program, without a computer. DO NOT ENTER THIS PROGRAM ON THE COMPUTER.
More informationCSC 120 Computer Science for the Sciences. Week 1 Lecture 2. UofT St. George January 11, 2016
CSC 120 Computer Science for the Sciences Week 1 Lecture 2 UofT St. George January 11, 2016 Introduction to Python & Foundations of computer Programming Variables, DataTypes, Arithmetic Expressions Functions
More informationCS 1110, LAB 2: FUNCTIONS AND ASSIGNMENTS
CS 1110, LAB 2: FUNCTIONS AND ASSIGNMENTS http://www.cs.cornell.edu/courses/cs1110/2017fa/labs/lab2/ First Name: Last Name: NetID: The purpose of this lab is to get you comfortable with using assignment
More information(Type your answer in radians. Round to the nearest hundredth as needed.)
1. Find the exact value of the following expression within the interval (Simplify your answer. Type an exact answer, using as needed. Use integers or fractions for any numbers in the expression. Type N
More informationCom S 127 Lab 2. For the first two parts of the lab, start up Wing 101 and use the Python shell window to try everything out.
Com S 127 Lab 2 Checkpoint 0 Please open the CS 127 Blackboard page and click on Groups in the menu at left. Sign up for the group corresponding to the lab section you are attending. Also, if you haven't
More informationECS Baruch Lab 2 Fall 2019 Name
ECS 102 - Baruch Lab 2 Fall 2019 Name I. Review Recall that in lab 1, you created a folder on your H: drive, Document/Apps-SU/Python Programs The reason you need to save programs here on the lab computers
More informationLecture 3. Functions & Modules
Lecture 3 Functions & Modules Labs this Week Lab 1 is due at the beginning of your lab If it is not yet by then, you cannot get credit Only exception is for students who added late (Those students should
More informationCS 102 Lab 3 Fall 2012
Name: The symbol marks programming exercises. Upon completion, always capture a screenshot and include it in your lab report. Email lab report to instructor at the end of the lab. Review of built-in functions
More informationWeek 3: Objects, Input and Processing
CS 170 Java Programming 1 Week 3: Objects, Input and Processing Learning to Create Objects Learning to Accept Input Learning to Process Data What s the Plan? Topic I: Working with Java Objects Learning
More informationLecture 7. Memory in Python
Lecture 7 Memory in Python Announcements For This Lecture Readings Reread Chapter 3 No reading for Thursday Lab Work on Assignment Credit when submit A Nothing else to do Assignment Moved to Fri, Sep.
More informationLecture 3. Functions & Modules
Lecture 3 Functions & Modules Labs this Week Lab 1 is due at the beginning of your lab If it is not yet by then, you cannot get credit Only exception is for students who added late (Those students should
More informationDownloaded from Chapter 2. Functions
Chapter 2 Functions After studying this lesson, students will be able to: Understand and apply the concept of module programming Write functions Identify and invoke appropriate predefined functions Create
More informationCS 1110, LAB 2: ASSIGNMENTS AND STRINGS
CS 1110, LAB 2: ASSIGNMENTS AND STRINGS http://www.cs.cornell.edu/courses/cs1110/2014fa/labs/lab02.pdf First Name: Last Name: NetID: The purpose of this lab is to get you comfortable with using assignment
More informationCustomer details are included on a separate worksheet (Customer Look Up) Item details are included on a separate worksheet (Item Look Up)
Creating an Invoice System using Excel Purpose To create a basic invoicing system which can be used to create invoices which can then be printed to pdf to provide a permanent copy and to print out and
More informationElementary Statistics. Organizing Raw Data
Organizing Raw Data What is a Raw Data? Raw Data (sometimes called source data) is data that has not been processed for meaningful use. What is a Frequency Distribution Table? A Frequency Distribution
More informationAn Introduction to Python for KS4!
An Introduction to Python for KS4 Python is a modern, typed language - quick to create programs and easily scalable from small, simple programs to those as complex as GoogleApps. IDLE is the editor that
More informationCS110: PROGRAMMING LANGUAGE I
CS110: PROGRAMMING LANGUAGE I Computer Science Department Lecture 8: Methods Lecture Contents: 2 Introduction Program modules in java Defining Methods Calling Methods Scope of local variables Passing Parameters
More informationcs1114 REVIEW of details test closed laptop period
python details DOES NOT COVER FUNCTIONS!!! This is a sample of some of the things that you are responsible for do not believe that if you know only the things on this test that they will get an A on any
More informationTrigonometric Functions of Any Angle
Trigonometric Functions of Any Angle MATH 160, Precalculus J. Robert Buchanan Department of Mathematics Fall 2011 Objectives In this lesson we will learn to: evaluate trigonometric functions of any angle,
More informationMath 26: Fall (part 1) The Unit Circle: Cosine and Sine (Evaluating Cosine and Sine, and The Pythagorean Identity)
Math : Fall 0 0. (part ) The Unit Circle: Cosine and Sine (Evaluating Cosine and Sine, and The Pthagorean Identit) Cosine and Sine Angle θ standard position, P denotes point where the terminal side of
More informationstatic int min(int a, int b) Returns the smaller of two int values. static double pow(double a,
The (Outsource: Supplement) The includes a number of constants and methods you can use to perform common mathematical functions. A commonly used constant found in the Math class is Math.PI which is defined
More informationCSC 101: Lab Manual#11 Programming Turtle Graphics in Python Lab due date: 5:00pm, day after lab session
CSC 101: Lab Manual#11 Programming Turtle Graphics in Python Lab due date: 5:00pm, day after lab session Purpose: The purpose of this lab is to get a little introduction to the process of computer programming
More informationThe Math Class (Outsource: Math Class Supplement) Random Numbers. Lab 06 Math Class
The (Outsource: Supplement) The includes a number of constants and methods you can use to perform common mathematical functions. A commonly used constant found in the Math class is Math.PI which is defined
More informationCSE 115. Introduction to Computer Science I
CSE 115 Introduction to Computer Science I Announcements Graded TopHat questions starts Fri. Sign up soon (& talk to us for help) Calling Function & Defining Function May need both lectures for UBInfinite
More informationSAMS Programming A/B. Lecture #1 Introductions July 3, Mark Stehlik
SAMS Programming A/B Lecture #1 Introductions July 3, 2017 Mark Stehlik Outline for Today Overview of Course A Python intro to be continued in lab on Wednesday (group A) and Thursday (group B) 7/3/2017
More informationENCM 339 Fall 2017 Lecture Section 01 Lab 9 for the Week of November 20
page 1 of 9 ENCM 339 Fall 2017 Lecture Section 01 Lab 9 for the Week of November 20 Steve Norman Department of Electrical & Computer Engineering University of Calgary November 2017 Lab instructions and
More informationResize and Watermark Images Using Ribbet.com
Resize and Watermark Images Using Ribbet.com Ribbet.com provides an easy, free service for simple image editing. Ribbet.com is capable of making many different changes to your image, but we focus on re-sizing
More informationHands-on Session. Styles Tool. Bullets & Numbering
Styles Tool 1. The Styles tool gives the ability to define a pre-set collection of font styles that make it easy and automatic to use branding throughout a document. 2. The Styles tool is located on the
More informationECS Baruch Lab 12 Spring 2019 Name
ECS 102 - Baruch Lab 12 Spring 2019 Name I. More input files. Download the file cookiesales.txt and the code file processcookies.py. cookiesales has information about some scouts and how many cookie orders
More informationLecture 3: Functions & Modules
http://www.cs.cornell.edu/courses/cs1110/2018sp Lecture 3: Functions & Modules (Sections 3.1-3.3) CS 1110 Introduction to Computing Using Python [E. Andersen, A. Bracy, D. Gries, L. Lee, S. Marschner,
More informationMath 144 Activity #3 Coterminal Angles and Reference Angles
144 p 1 Math 144 Activity #3 Coterminal Angles and Reference Angles For this activity we will be referring to the unit circle. Using the unit circle below, explain how you can find the sine of any given
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 informationUSER MANUAL. Contents. Analytic Reporting Tool Basic for SUITECRM
USER MANUAL Analytic Reporting Tool Basic for SUITECRM Contents ANALYTIC REPORTING TOOL FEATURE OVERVIEW... 2 PRE-DEFINED REPORT LIST AND FOLDERS... 3 REPORT AND CHART SETTING OVERVIEW... 5 Print Report,
More informationLecture 1. Course Overview Types & Expressions
Lecture 1 Course Overview Types & Expressions CS 1110 Spring 2012: Walker White Outcomes: Basics of (Java) procedural programming Usage of assignments, conditionals, and loops. Ability to write recursive
More informationMath 144 Activity #4 Connecting the unit circle to the graphs of the trig functions
144 p 1 Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions Graphing the sine function We are going to begin this activity with graphing the sine function ( y = sin x).
More informationLab 1 RVIZ and PYTHON with Simple Robot Manipulator Model
Lab 1 RVIZ and PYTHON with Simple Robot Manipulator Model In this Lab we will learn how to use the RVIZ Robot Simulator and convert Quaternions to/from axis angle representation. We will use the Python
More informationInteractive Tourist Map
Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 1 Set up your project This lesson aims to teach you how to: Import images Set up the stage Place and size images Draw shapes Make
More informationCS-184: Computer Graphics. Today. 2D Scan Conversion. Tuesday, October 7, Drawing Lines Drawing Curves Filled Polygons Filling Algorithms
CS-184: Computer Graphics Lecture #9: Scan Conversion Prof. James O Brien University of California, Berkeley V2008-F-09-1.0 1 Today 2D Scan Conversion Drawing Lines Drawing Curves Filled Polygons Filling
More informationUnit R Student Success Sheet (SSS) Trigonometric Identities Part 2 (section 5.4)
Unit R Student Success Sheet (SSS) Trigonometric Identities Part 2 (section 5.4) Segerstrom High School Standards: Trig 10.0 Math Analysis Honors Name: Period: Mrs. Kirch: All Mornings 7-8am + after school
More informationECE 3793 Matlab Project 1
ECE 3793 Matlab Project 1 Spring 2017 Dr. Havlicek DUE: 02/04/2017, 11:59 PM Introduction: You will need to use Matlab to complete this assignment. So the first thing you need to do is figure out how you
More informationCS-184: Computer Graphics
CS-184: Computer Graphics Lecture #9: Scan Conversion Prof. James O Brien University of California, Berkeley V2009-F-09-1.0 Today 2D Scan Conversion Drawing Lines Drawing Curves Filled Polygons Filling
More informationCS 150 Lab 3 Arithmetic and the Debugger. Lab 3.0 We are going to begin using the Visual Studio 2017 debugger to aid with debugging programs.
CS 150 Lab 3 Arithmetic and the Debugger The main objective of today s lab is to use some basic mathematics to solve a few real world problems. In doing so, you are to begin getting accustomed to using
More informationCS 1110 Prelim 1 October 17th, 2013
CS 1110 Prelim 1 October 17th, 2013 This 90-minute exam has 6 questions worth a total of 100 points. Scan the whole test before starting. Budget your time wisely. Use the back of the pages if you need
More informationCandy is Dandy Project (Project #12)
Candy is Dandy Project (Project #12) You have been hired to conduct some market research about M&M's. First, you had your team purchase 4 large bags and the results are given for the contents of those
More informationAdding an Open HMIS Release of Information (ROI) (updated 4/26/18)
1 Adding an Open HMIS Release of Information (ROI) (updated 4/26/18) IF A CLIENT HAS REQUESTED RESTRICTIONS ON THE SHARING OF HIS/HER DATA (SEE ROI, PAGE FIVE) STOP. DO NOT ENTER ANY CLIENT DATA INTO HMIS.
More information2.) Open you re my documents folder, and then open you re my pictures folder. Now create a new folder called mask advert.
PhotoShop Help File Sleeping mask advert lesson 1.) Open adobe Photoshop. 2.) Open you re my documents folder, and then open you re my pictures folder. Now create a new folder called mask advert. 3.) From
More informationExcel Spreadsheets and Graphs
Excel Spreadsheets and Graphs Spreadsheets are useful for making tables and graphs and for doing repeated calculations on a set of data. A blank spreadsheet consists of a number of cells (just blank spaces
More informationCMPSCI 119 Spring 2015 Final Exam Friday, May 1, 2015 Solution Key
CMPSCI 119 Spring 2015 Final Exam Friday, May 1, 2015 Solution Key 25 Points Answer any 25 questions. Answer more for extra credit. Be careful about which variables and constants are integers, which
More informationFunctions with Parameters and Return Values
CS101, Spring 2015 Functions with Parameters and Return Values Lecture #4 Last week we covered Objects and Types Variables Methods Tuples Roadmap Last week we covered Objects and Types Variables Methods
More informationLesson 4 Customize the ToolBox
Lesson 4 Customize the ToolBox In this lesson you will learn how to: Change the toolbox to be a Floating toolbox or a toolbox anchored on the Sidebar. Change the combo ToolBox size and highlighting. Change
More informationSIIT ITS 323. Due Friday 21 August 2007, 5pm 10% of the final course mark
ITS 323 ASSIGNMENT 2 Due Friday 21 August 2007, 5pm 10% of the final course mark Name: ID: Mark (max: 62): Instructions 1. This is an individual assignment. You must complete the assignment on your own.
More informationCS-184: Computer Graphics. Today
CS-184: Computer Graphics Lecture #2: Scan Conversion Prof. James O Brien University of California, Berkeley V2005-02-1.3 Today 2D Scan Conversion Drawing Lines Drawing Curves Filling Algorithms 2 Basically,
More informationGetting Started. Chapter 1. How to Get Matlab. 1.1 Before We Begin Matlab to Accompany Lay s Linear Algebra Text
Chapter 1 Getting Started How to Get Matlab Matlab physically resides on each of the computers in the Olin Hall labs. See your instructor if you need an account on these machines. If you are going to go
More informationProblem 1: Binary, Decimal, and Hex Number Representations [6 marks]
Problem 1: Binary, Decimal, and Hex Number Representations [6 marks] A conversion table is provided at the end of this exam, you can pull it off and use it for this question. 1. [1 mark] Convert the following
More informationName: Partners: Math Academy I. Review 5 Version A
Name: Partners: Math Academy I Date: Review 5 Version A [A] Circle whether each statement is true or false. 1. Arccos is the inverse of cosine. 2. Cosecant is the inverse of sine. 3. A triangle s orthocenter
More informationTerminalFOUR Version 8 Change Guide
TerminalFOUR Version 8 Change Guide The new version of SiteManager looks quite different at first glance but you ll find that the majority of what you do on the CMS can be done in almost the same way as
More informationCSCI 136 Programming Exam #2 Fundamentals of Computer Science II Spring 2012
CSCI 136 Programming Exam #2 Fundamentals of Computer Science II Spring 2012 This part of the exam is like a mini- programming assignment. You will create a program, compile it, and debug it as necessary.
More informationLecture 3. Strings, Functions, & Modules
Lecture 3 Strings, Functions, & Modules Labs this Week Lab 1 is due at the beginning of your lab If it is not yet by then, you cannot get credit Only exception is for students who added late (Those students
More informationExcel Basics Fall 2016
If you have never worked with Excel, it can be a little confusing at first. When you open Excel, you are faced with various toolbars and menus and a big, empty grid. So what do you do with it? The great
More informationProgramming. We will be introducing various new elements of Python and using them to solve increasingly interesting and complex problems.
Plan for the rest of the semester: Programming We will be introducing various new elements of Python and using them to solve increasingly interesting and complex problems. We saw earlier that computers
More informationMET 107 Drawing Tool (Shapes) Notes Day 3
MET 107 Drawing Tool (Shapes) Notes Day 3 Shapes: (Insert Tab Shapes) Example: Select on the rounded rectangle Then use the mouse to position the upper left corner and produce the size by dragging out
More informationPre-Lab Excel Problem
Pre-Lab Excel Problem Read and follow the instructions carefully! Below you are given a problem which you are to solve using Excel. If you have not used the Excel spreadsheet a limited tutorial is given
More informationMath Lab 6: Powerful Fun with Power Series Representations of Functions Due noon Thu. Jan. 11 in class *note new due time, location for winter quarter
Matter & Motion Winter 2017 18 Name: Math Lab 6: Powerful Fun with Power Series Representations of Functions Due noon Thu. Jan. 11 in class *note new due time, location for winter quarter Goals: 1. Practice
More informationHow To Think Like A Computer Scientist, chapter 3; chapter 6, sections
6.189 Day 3 Today there are no written exercises. Turn in your code tomorrow, stapled together, with your name and the file name in comments at the top as detailed in the Day 1 exercises. Readings How
More informationECE 463 Lab 1: Introduction to LabVIEW
ECE 463 Lab 1: Introduction to LabVIEW 1. Introduction The purpose of the lab session of ECE463 is to apply/practice the digital communication theory on software-defined radios (USRPs). USRP is coupled
More informationCopied from: https://www.cs.hmc.edu/twiki/bin/view/cs5/lab1b on 3/20/2017
Hw 1, Part 2 (Lab): Functioning smoothly! Using built-in functions Copied from: https://www.cs.hmc.edu/twiki/bin/view/cs5/lab1b on 3/20/2017 First, try out some of Python's many built-in functions. These
More information1. Make a bar graph in Excel. (1.5 points) Copy the following table into two columns under a blank worksheet in Excel.
STAT 243 Lab 3 Rachel Webb 25 points This lab should be done using Microsoft Excel available in all PSU computer labs. A hard copy of your output is to be handed in to during lecture on the due date posted
More informationYou ll use the six trigonometric functions of an angle to do this. In some cases, you will be able to use properties of the = 46
Math 1330 Section 6.2 Section 7.1: Right-Triangle Applications In this section, we ll solve right triangles. In some problems you will be asked to find one or two specific pieces of information, but often
More informationAssignment 3: Due Thursday Feb 26 at 11pm
CS1110 Spring 2015 Assignment 3: Due Thursday Feb 26 at 11pm You must work either on your own or with one partner. If you work with a partner, you and your partner must first register as a group in CMS
More informationMy Reviewers User Manual Series
My Reviewers User Manual Series Version 4.1 Student Guide Table of Contents Getting Started... 2 Logging in to the My Reviewers tool... 2 Navigating the site... 2 Uploading a Document... 3 Viewing Teacher
More informationExam 1 Format, Concepts, What you should be able to do, and Sample Problems
CSSE 120 Introduction to Software Development Exam 1 Format, Concepts, What you should be able to do, and Sample Problems Page 1 of 6 Format: The exam will have two sections: Part 1: Paper-and-Pencil o
More informationCMPSCI 119 LAB #2 Greebles / Anime Eyes Professor William T. Verts
CMPSCI 119 LAB #2 Greebles / Anime Eyes Professor William T. Verts The goal of this Python programming assignment is to write your own code inside a provided program framework, with some new graphical
More informationMATH EXAM 1 - SPRING 2018 SOLUTION
MATH 140 - EXAM 1 - SPRING 018 SOLUTION 8 February 018 Instructor: Tom Cuchta Instructions: Show all work, clearly and in order, if you want to get full credit. If you claim something is true you must
More informationUser Guide for Applicants PROJECT. DATE & VERSION 11 th Oct 2016, Version: 2.0. Scholarships Management System Applicant Portal
TITLE PROJECT User Guide for Applicants Scholarships Management System Applicant Portal DATE & VERSION 11 th Oct 2016, Version: 2.0 User Guide for Applicants Page 1 of 15 TABLE OF CONTENTS 1 Launch the
More informationProficiency Testing Program Data Reporting Website Instruction Manual
Proficiency Testing Program Data Reporting Website Instruction Manual 2017 Association of American Feed Control Officials (AAFCO) 1800 S. Oak Street, Suite 100, Champaign, IL 61820-6974 http://www.aafco.org/
More informationMy Assignments. Quick Start Guide
My Assignments Quick Start Guide My Assignments page for Users Quick Start Guide The My Assigments page is a one-stop page where you ll probably be spending most of your time logged into Easy Projects.
More informationLAB 2: DATA FILTERING AND NOISE REDUCTION
NAME: LAB TIME: LAB 2: DATA FILTERING AND NOISE REDUCTION In this exercise, you will use Microsoft Excel to generate several synthetic data sets based on a simplified model of daily high temperatures in
More informationPart 1 Your First Function
California State University, Sacramento College of Engineering and Computer Science and Snarky Professors Computer Science 10517: Super Mega Crazy Accelerated Intro to Programming Logic Spring 2016 Activity
More informationMicrosoft Excel Microsoft Excel
Excel 101 Microsoft Excel is a spreadsheet program that can be used to organize data, perform calculations, and create charts and graphs. Spreadsheets or graphs created with Microsoft Excel can be imported
More informationCMPSCI 119 LAB #2 Anime Eyes Professor William T. Verts
CMPSCI 119 LAB #2 Anime Eyes Professor William T. Verts The goal of this Python programming assignment is to write your own code inside a provided program framework, with some new graphical and mathematical
More informationFinding Pi: Applications of Loops, Random Numbers, Booleans CS 8: Introduction to Computer Science, Winter 2018 Lecture #6
Finding Pi: Applications of Loops, Random Numbers, Booleans CS 8: Introduction to Computer Science, Winter 2018 Lecture #6 Ziad Matni Dept. of Computer Science, UCSB Administrative New Homework (#3) is
More informationTrigonometry Review Version 0.1 (September 6, 2004)
Trigonometry Review Version 0. (September, 00 Martin Jackson, University of Puget Sound The purpose of these notes is to provide a brief review of trigonometry for students who are taking calculus. The
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 informationAP Calculus Summer Review Packet
AP Calculus Summer Review Packet Name: Date began: Completed: **A Formula Sheet has been stapled to the back for your convenience!** Email anytime with questions: danna.seigle@henry.k1.ga.us Complex Fractions
More informationUnit 7: Algorithms and Python CS 101, Fall 2018
Unit 7: Algorithms and Python CS 101, Fall 2018 Learning Objectives After completing this unit, you should be able to: Identify whether a sequence of steps is an algorithm in the strict sense. Explain
More informationMULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
Precalculus CP Final Exam Review - 01 Name Date: / / MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Convert the angle in degrees to radians. Express
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 informationUniversity of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView
University of Pennsylvania Department of Electrical and Systems Engineering ESE Undergraduate Laboratory Introduction to LabView PURPOSE The purpose of this lab is to get you familiarized with LabView.
More informationCS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) First Name: Last Name: NetID:
CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) http://www.cs.cornell.edu/courses/cs1110/2016sp/labs/lab01/lab01.pdf First Name: Last Name: NetID: Goals. Learning a computer language is a lot like learning
More informationIntroduction to Programming
Introduction to Programming Python Lab 3: Arithmetic PythonLab3 lecture slides.ppt 16 October 2018 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder in your disk space with the name
More informationChapter 8G - Law of Sines and Law of Cosines
Fry Texas A&M University Math 150 Chapter 8G Fall 2015! 246 Chapter 8G - Law of Sines and Law of Cosines Given a general triangle, labeled as below Two interesting truths exist: A. The Law of Sines!!!
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 informationMINT Interactive User s Guide
MINT Interactive User s Guide MINT Interactive is very powerful board software including rich functions and gallery software, which are very useful for lecture environment. It will be continuously upgraded
More informationIntroduction to Python. Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas
Introduction to Python Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas If you have your own PC, download and install a syntax-highlighting text editor and Python
More informationIntroduction to Programming
Introduction to Programming Python Lab 3: Arithmetic PythonLab3 lecture slides.ppt 26 January 2018 Ping Brennan (p.brennan@bbk.ac.uk) 1 Getting Started Create a new folder in your disk space with the name
More informationTo create a notebook on desktop version 1. Open One Note 2. File > New. o FILE. Options
OneNote Training When you open OneNote for the first time there will be notebooks already started and you can see them on the left hand side. There is an introduction section that you can go through, if
More informationPREPARING FOR PRELIM 1
PREPARING FOR PRELIM 1 CS 1110: FALL 2012 This handout explains what you have to know for the first prelim. There will be a review session with detailed examples to help you study. To prepare for the prelim,
More informationSUM AND DIFFERENCES. Section 5.3 Precalculus PreAP/Dual, Revised 2017
SUM AND DIFFERENCES Section 5. Precalculus PreAP/Dual, Revised 2017 Viet.dang@humbleisd.net 8/1/2018 12:41 AM 5.4: Sum and Differences of Trig Functions 1 IDENTITY Question 1: What is Cosine 45? Question
More informationThe float type and more on variables FEB 6 TH 2012
The float type and more on variables FEB 6 TH 2012 The float type Numbers with decimal points are easily represented in binary: 0.56 (in decimal) = 5/10 + 6/100 0.1011 (in binary) = ½+0/4 + 1/8 +1/16 The
More information