Lab1: Communicating science

Size: px
Start display at page:

Download "Lab1: Communicating science"

Transcription

1 Lab1: Communicating science We would all like to be good citizens of the scientific community. An important part of being a good citizen is being able to communicate results, papers, and ideas. Since many of our colleagues live in different parts of the world and hence have different resources available to them we cannot always assume that they have the same commercial software package (including upgrades) for preparing manuscripts that we do. Moreover, how can equations be exchanged easily by ? A modern day solution is to make use of the open source computing network available on the Internet. In other words, we only require that our colleagues have access to the Internet. There are all sorts of computer software packages available on the Internet; many of them are exactly the same softwares that are presently used at the cutting edges of scientific research (for example, check out the SciPy website). A big advantage is that once we become familiar with these products we have access to them anywhere in the world. Study abroad students from The Claremont Colleges have already been able to use their experience with the open source computing network to help students, workers and scientists in the countries they have visited. Computer setup: This lab manual has been written with the assumption that your instructors have placed LaTeX, XPPAUT and Python onto a central Linux computer that can be accessed either using computer terminal in a computer laboratory or, perhaps, by logging into using your laptop. However, it is now relatively easy to install all of these packages onto your own laptop for free. This is the preferred way to do these labs because you retain the use of these tools for your own purposes after you complete the course 1. 1 Beginning fall, 2014 we require all students in this course to install these computer packages onto their personal laptops. We do this in three stages: Week 1 (LaTeX); Week 2 (XPPAUT) and Week 3 (Python). Our experience is that installing these packages is easier for students with PC s than those possessing Mac s. Nonetheless all students with perseverance and the help of IT can 1

2 LaTeX: See for example latex-project.org/ftp.html. Most students using PC s first installed MikTek (miktek.org) followed by Winshell (e.g. Latex if often provided on the disks that come with the purchase of a new Mac. XPP/XPPAUT: See bard/xpp.html. Python: We very strongly recommend that students install Enthought s Canopy Express ( A huge advantage is that packages required to work with images and animation can readily be installed and managed through Canopy Express. Today s lab: In this lab we address how to prepare manuscripts containing equations and figures. The software package we will use is called LaTeX. This is the same software package that is used by the publishers of most journals and books that you read which contain equations. LaTeX is a completely different concept than, for example, a word processor such as WORD. Packages such as WORD are actually programs that produce the document the way that the programmers who designed this package wanted it to be produced. In contrast, when we use LaTeX we write the program ourselves that will be used to generate the document. In fact, for many of you preparing a LaTeX document will be the first computer program that you have written! Since we are writing the program ourselves we can get an article that looks exactly like we want it to look. More importantly, the program is written using a text editor 2 and hence has the form of an ASCII file. This means that we can easily send it to our colleagues by and they can then run it locally on their own computer to generate the document. It is really not very hard to learn to use LaTeX. We focus on the skill set necessary to make the most basic LaTeX file (Appendix B). Of course there are many advanced features available in LaTeX that are available which you can learn about as you search the Internet and/or discuss LaTeX with your colleagues. However, our goal is to be able to collaborate with others. We cannot assume that our colleagues know these advanced features or are even interested in learning how to accomplish these tasks. 2 A text editor is an editor which does not add any hidden format commands to the document. In other words, what you see is what you get. In Microsoft environments, the text editors are Notepad and Wordpad; in LINUX two commonly used text editors are vi and emacs. 2

3 use them. Thus, in our experience, collaboration is most successful when lines of communication are kept as simple as possible. Most people learn LaTeX by doing it, i.e. their first experience is usually the result of having to prepare their own paper because the journal publisher has asked for it. This is in fact how you will learn to use LaTeX. Your first assignment will be to reproduce two pages from a bio-mathematics book (see section labeled deliverable at end of the laboratory description). Of course it is necessary to know the basic structure of the LaTeX file: the various commands that you need come from looking them up as you need them. This is why the Internet is so useful. Indeed we had to look up a number of commands that we had never used before in order to make up these notes! In this way we know them now! Background: The main components of a LaTeX file are: 1) Preamble (Top matter), 2) Main body, 3) Math modes, 4) Figures and Tables, and 5) Bibliography. An introduction to math modes is desribed in Appendix B which is available on the website. The use of the basic commands are illustrated in today s lab. We will discuss how figures are introduced into a document in Lab 3. We do not need to know how to construct Tables or a bibliography for our purposes; however, these issues are well documented on the Internet. Here we discuss the basic format of a LaTeX file. Preamble: The first line in the LaTeX program has the form \documentclass[12pt]{article} The term 12pt means twelve points and sets the size of the print (This document has been printed using 12pt.). Points are the units that type-setters use to define the size of characters on the printed page of, for example, a newspaper page. If you want smaller print you could use, for example, 10pt, or bigger, 14pt, and so on. The term article refers to the style that the paper will be prepared. Another style which is often used is book. Other styles are possible. The preamble, or top matter, is everything from this line to the line \begin{document} A typical preamble for passing in assignments to this course is \usepackage{graphicx,times} \title{bio-133: Assignment number xxx} \author{your Name\\ Your College} 3

4 The preamble tells the program what fonts and style to use, the title and author of the article, and whether additional packages of commands need to be accessed in order to produce the article. The preamble can be quite long since it is possible to define new latex commands and environments. Additional packages are entered by \usepackage. Here we added the package graphicx and times: graphicx is the package that allow you to incorporate either *.eps or *.png into your document (discussed in Lab 3) and times means that the font will be New York Times style. Often journals, such as Nature, have there own packages and require you to declare them in the usepackage statement. These *.sty files, and others, can readily be located and downloaded from the Internet. In fact you could make up your own *.sty file and include it here (minus the extension); however, most people don t do this. Main Body: The main body of LaTeX file is everything that lies between the command \begin{document} and the command \end{document} The basic structure of the main body is \begin{document} \maketitle \section{your section heading here} \subsection{your sub-section heading here} \section*{your section heading here} \subsection*{your section heading here} \end{document} The commands \begin{document} and \end{document} are mandatory. The line \maketitle is included only if you made use of the lines \title{} 4

5 and/or \author{} in the preamble (which you will need to do for your assignments). The lines \section{} and \subsection{} generate, respectively, the appropriate section and sub section numbers, whereas the lines \section*{} and \subsection*{} generate the same headings without the numbers. Browser use: Anything that you would ever want to know about LaTeX can readily be tracked down on the Internet. Thus you will find it useful to have a browser open in a second window of your computer as you prepare your first LaTeX document. Appendix B includes all of the math mode information that you will need for this course. Housekeeping: Perhaps the biggest issue when working with open source tools, such as LaTeX, is dealing with the directory system of the computer. Most present day computer users don t have to worry about directories and paths: just point, click, and drag! However, for computer programmers issues related to directories and paths are very important. We need to make directories to organize our work in a way that makes it easy for us to find things and we need paths so that a computer program can find items that it needs to complete its calculations such as figure files, data files, and where the outputs of the program should be written. Paths always start from the root directory. On a PC the root directory is, by default, the hard disk specified by C, D, E, and so on. When we are in root the prompt on the command window will look like, for example, C:\. If you are a user in a Linux environment, the root directory is your home directory (the system s administrator has access to the root directory). Referring to Figure 1, the root directory can be thought of as the root of a tree from which many branches arise which themselves have branches, and so on. Let us suppose that the root directory contains three sub directories named apple, orange and pear. If we are in root (i.e. on the screen we see C:\>), then we can type dir or ls to obtain <DIR> apple <DIR> orange <DIR> pear The <DIR> do not appear when using Linux. Within the directory apple we have two directories, Ant and Bee, in the directory Orange we have the directories Walk and Run, and so on. What is the path for the directory Ant? The answer is C:\Apple\Ant 5

6 Figure 1: Example of path structure on a root directory. See text for discussion. Useful commands: These commands assume that either you are using the Command Prompt window on a PC or are working on a Linux terminal (including Mac OSX). cd This means change directory. If we are in the root directory and want to be in the directory Orange we type cd Orange If we are in the directory C:\Pear\Grass and want to go to the directory C:\Apple\Ant we type cd C:\Apple\Ant If you want to move up one directory you can use the command cd... Finally if you want to move back to root you can use cd in Linux and cd C:\ on a PC (in the Command Prompt window). 6

7 pwd This command means pathway to directory. Another way to think of this command is that it answers the question, Where am I? Thus when you are in any directory, you can obtain the path to that directory by typing pwd at the prompt. mkdir You can create a directory with the command mkdir name rmdir You can remove a directory with the command rmdir name cp (copy) or mv (move) It is possible to move or copy files using the commands mv and cp (on PCs, respectively, move and copy. The move commands can be used to rename a file, e.g. mv test.dat test_new.dat What is the command to move a file named test.dat located in the directory Grass to the directory Bee. The command depends on whether you are currently in Grass or somewhere else. If in Grass the command is mv test.dat C:\Apple\Bee\. or, in Linux, mv test.dat \Apple\Bee\. The. means that the moved file is to have the same name in the new directory. Of course you could move and changed the file name with one command, namely, mv test.dat \Apple\Bee\new_name.dat If we are not in the directory Grass we can still move the file by using the command mv \Grass\test.dat \Apple\Bee\. It is important to organize our computer directories carefully so that you can easily find things in the future. In your home directory make a directory called mtex which will contain your LaTeX documents (see below). It is useful to make sub directories, each of which corresponds to one of the labs. For example, the 7

8 document prepared for today s lab would be called Lab1 and so on. The path to this sub directory from the home directory is /mtex/lab1. Questions to answer: You will be provided with pages from a mathematical biology textbook to reproduce. The LaTeXed article must be more than 1 page long in order to complete the exercise described in Lab 3. So let us know if it isn t. Each of you will have a different 1-2 pages to use to prepare your document. Deliverable: Your LaTeX document must be completed before we do Lab 3. You will use your *.tex file to complete the exercise described in Lab 3 and then submit a *.pdf at that time. 8

Appendix B: Latex survival guide

Appendix B: Latex survival guide Appendix B: Latex survival guide The philosophy in this course is that we would like to be good citizens of the scientific community. An important part of being a good citizen is being able to communicate

More information

COMS 6100 Class note

COMS 6100 Class note COMS 6100 Class note Biala Toheeb A. 26 August, 2016 A short quiz was given to test if the students really studied the linux commands. The answers to the quiz are Q1. How do you create a directory named

More information

Lab 2: Introducing XPPAUT

Lab 2: Introducing XPPAUT Lab 2: Introducing XPPAUT In biological applications it is quite rare that the solutions of the appropriate differential equations can be obtained using paper and pencil. Thus we typically need to use

More information

CSC116: Introduction to Computing - Java

CSC116: Introduction to Computing - Java CSC116: Introduction to Computing - Java Course Information Introductions Website Syllabus Computers First Java Program Text Editor Helpful Commands Java Download Intro to CSC116 Instructors Course Instructor:

More information

ENCM 339 Fall 2017: Editing and Running Programs in the Lab

ENCM 339 Fall 2017: Editing and Running Programs in the Lab page 1 of 8 ENCM 339 Fall 2017: Editing and Running Programs in the Lab Steve Norman Department of Electrical & Computer Engineering University of Calgary September 2017 Introduction This document is a

More information

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass.

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass. TUTORIAL 3: MY FIRST L A TEX DOCUMENT CHRISTOPHER RARIDAN Abstract. Upon completion of this tutorial, the author should be able to produce a very basic L A TEX document. This tutorial will introduce the

More information

CSC116: Introduction to Computing - Java

CSC116: Introduction to Computing - Java CSC116: Introduction to Computing - Java Intro to CSC116 Course Information Introductions Website Syllabus Computers First Java Program Text Editor Helpful Commands Java Download Course Instructor: Instructors

More information

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

COMP496/901: Academic Presentation and Writing Skills Using LaTeX COMP496/901: Academic Presentation and Writing Skills Using LaTeX Robert Dale Robert.Dale@mq.edu.au 1 Acknowledgements These slides borrow heavily from similar material by: Jan-Philipp Söhn David Squire

More information

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C Welcome! Welcome to your CpSc 111 lab! For each lab this semester, you will be provided a document like this to guide you. This material, as

More information

GLY Geostatistics Fall Lecture 2 Introduction to the Basics of MATLAB. Command Window & Environment

GLY Geostatistics Fall Lecture 2 Introduction to the Basics of MATLAB. Command Window & Environment GLY 6932 - Geostatistics Fall 2011 Lecture 2 Introduction to the Basics of MATLAB MATLAB is a contraction of Matrix Laboratory, and as you'll soon see, matrices are fundamental to everything in the MATLAB

More information

Scripting Languages Course 1. Diana Trandabăț

Scripting Languages Course 1. Diana Trandabăț Scripting Languages Course 1 Diana Trandabăț Master in Computational Linguistics - 1 st year 2017-2018 Today s lecture Introduction to scripting languages What is a script? What is a scripting language

More information

NAVIGATING UNIX. Other useful commands, with more extensive documentation, are

NAVIGATING UNIX. Other useful commands, with more extensive documentation, are 1 NAVIGATING UNIX Most scientific computing is done on a Unix based system, whether a Linux distribution such as Ubuntu, or OSX on a Mac. The terminal is the application that you will use to talk to the

More information

Introduction to L A TEX for MCS-236

Introduction to L A TEX for MCS-236 Introduction to L A TEX for MCS-236 Max Hailperin, based on a version by Tom LoFaro September 14, 2011 1 Why L A TEX? L A TEX is a very strange document formatting system. Actually, it is a combination

More information

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.)

CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) 1 Introduction 1 CS 2400 Laboratory Assignment #1: Exercises in Compilation and the UNIX Programming Environment (100 pts.) This laboratory is intended to give you some brief experience using the editing/compiling/file

More information

Unix Tutorial Haverford Astronomy 2014/2015

Unix Tutorial Haverford Astronomy 2014/2015 Unix Tutorial Haverford Astronomy 2014/2015 Overview of Haverford astronomy computing resources This tutorial is intended for use on computers running the Linux operating system, including those in the

More information

CSC 112 Lab 1: Introduction to Unix and C++ Fall 2009

CSC 112 Lab 1: Introduction to Unix and C++ Fall 2009 CSC 112 Lab 1: Introduction to Unix and C++ Fall 2009 Due: Friday, September 4 th, 9:00am Introduction The operating system of a computer is the coordinator of all of the computer s activities, including

More information

Introduction to Unix - Lab Exercise 0

Introduction to Unix - Lab Exercise 0 Introduction to Unix - Lab Exercise 0 Along with this document you should also receive a printout entitled First Year Survival Guide which is a (very) basic introduction to Unix and your life in the CSE

More information

Absolute L A TEX Beginner

Absolute L A TEX Beginner Latest version of this document at http://liantze.googlepages.com/latextypesetting#beginner Absolute L A TEX Beginner Lim Lian Tze liantze@gmail.com Abstract Most people use the ubiquitous Word TM for

More information

Parallel Programming Pre-Assignment. Setting up the Software Environment

Parallel Programming Pre-Assignment. Setting up the Software Environment Parallel Programming Pre-Assignment Setting up the Software Environment Authors: B. Wilkinson and C. Ferner. Modification date: Aug 21, 2014 (Minor correction Aug 27, 2014.) Software The purpose of this

More information

CSC116: Introduction to Computing - Java

CSC116: Introduction to Computing - Java CSC116: Introduction to Computing - Java Course Information Introductions Website Syllabus Schedule Computing Environment AFS (Andrew File System) Linux/Unix Commands Helpful Tricks Computers First Java

More information

Tutorial 1: Unix Basics

Tutorial 1: Unix Basics Tutorial 1: Unix Basics To log in to your ece account, enter your ece username and password in the space provided in the login screen. Note that when you type your password, nothing will show up in the

More information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS Fundamentals of Programming II Fall Very Basic UNIX CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. The doc is

More information

Using the Zoo Workstations

Using the Zoo Workstations Using the Zoo Workstations Version 1.86: January 16, 2014 If you ve used Linux before, you can probably skip many of these instructions, but skim just in case. Please direct corrections and suggestions

More information

Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit

Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit Contents 1 An Introduction to C++, Unix, SSH and Komodo Edit 1.1 Introduction 1.2 The C++ Language 1.2.1 A Brief Introduction 1.2.1.1 Recommended

More information

Introduction to MCS 220 and L A TEX

Introduction to MCS 220 and L A TEX Introduction to MCS 220 and L A TEX Tom LoFaro August 28, 2009 1 Introduction to MCS 220 MCS 220, Introduction to Analysis, carries a WRITD (writing in the discipline) designation. What this means to you

More information

CSE115 Lab exercises for week 1 of recitations Spring 2011

CSE115 Lab exercises for week 1 of recitations Spring 2011 Introduction In this first lab you will be introduced to the computing environment in the Baldy 21 lab. If you are familiar with Unix or Linux you may know how to do some or all of the following tasks.

More information

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

Part I. Introduction to Linux

Part I. Introduction to Linux Part I Introduction to Linux 7 Chapter 1 Linux operating system Goal-of-the-Day Familiarisation with basic Linux commands and creation of data plots. 1.1 What is Linux? All astronomical data processing

More information

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12)

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Objective: Learn some basic aspects of the UNIX operating system and how to use it. What is UNIX? UNIX is the operating system used by most computers

More information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014 An Introduction to Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014 Today's Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling

More information

Getting started with Latex

Getting started with Latex Getting started with Latex Robert G. Niemeyer University of New Mexico, Albuquerque October 15, 2012 What is Latex? Latex is a mathematical typesetting language. Essentially, when you are using Latex to

More information

Computer Basics: Step-by-Step Guide (Session 2)

Computer Basics: Step-by-Step Guide (Session 2) Table of Contents Computer Basics: Step-by-Step Guide (Session 2) ABOUT PROGRAMS AND OPERATING SYSTEMS... 2 THE WINDOWS 7 DESKTOP... 3 TWO WAYS TO OPEN A PROGRAM... 4 DESKTOP ICON... 4 START MENU... 5

More information

Linux File System and Basic Commands

Linux File System and Basic Commands Linux File System and Basic Commands 0.1 Files, directories, and pwd The GNU/Linux operating system is much different from your typical Microsoft Windows PC, and probably looks different from Apple OS

More information

L A TEX for psychological researchers

L A TEX for psychological researchers Kahoot! L A TEX for psychological researchers Lecture 1: Introducton Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 Contact Details Workshop website: http://sachaepskamp.com/latex-workshop

More information

Math 395 Homework #1 Due Wednesday, April 12

Math 395 Homework #1 Due Wednesday, April 12 Math 395 Homework #1 Due Wednesday, April 12 LaTex is a typesetting system that is widely used by mathematicians. It has the ability to typeset just about any mathematical notation, as well as complex

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Physics REU Unix Tutorial

Physics REU Unix Tutorial Physics REU Unix Tutorial What is unix? Unix is an operating system. In simple terms, its the set of programs that makes a computer work. It can be broken down into three parts. (1) kernel: The component

More information

THIS IS AN INTRODUCTION TO. LaTeX. Introduction to Latex. University of Minnesota, November 7, 2016

THIS IS AN INTRODUCTION TO. LaTeX. Introduction to Latex. University of Minnesota, November 7, 2016 THIS IS AN INTRODUCTION TO LaTeX Introduction to Latex Jimmy Broomfield University of Minnesota, November 7, 2016 1 / Jimmy Broomfield Introduction to LaTeX 1/22 22 Outline Introduction Installation Getting

More information

AMS 200: Working on Linux/Unix Machines

AMS 200: Working on Linux/Unix Machines AMS 200, Oct 20, 2014 AMS 200: Working on Linux/Unix Machines Profs. Nic Brummell (brummell@soe.ucsc.edu) & Dongwook Lee (dlee79@ucsc.edu) Department of Applied Mathematics and Statistics University of

More information

Laboratory 1: Eclipse and Karel the Robot

Laboratory 1: Eclipse and Karel the Robot Math 121: Introduction to Computing Handout #2 Laboratory 1: Eclipse and Karel the Robot Your first laboratory task is to use the Eclipse IDE framework ( integrated development environment, and the d also

More information

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory

Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory Tiny Instruction Manual for the Undergraduate Mathematics Unix Laboratory 1 Logging In When you sit down at a terminal and jiggle the mouse to turn off the screen saver, you will be confronted with a window

More information

CMSC 201 Spring 2017 Lab 01 Hello World

CMSC 201 Spring 2017 Lab 01 Hello World CMSC 201 Spring 2017 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 5th by 8:59:59 PM Value: 10 points At UMBC, our General Lab (GL) system is designed to grant students the

More information

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1 Contents of the teaching and assessment blocks MA2730: Analysis I Lecture slides for MA2730 Analysis I Simon people.brunel.ac.uk/~icsrsss simon.shaw@brunel.ac.uk College of Engineering, Design and Physical

More information

Getting Started With UNIX Lab Exercises

Getting Started With UNIX Lab Exercises Getting Started With UNIX Lab Exercises This is the lab exercise handout for the Getting Started with UNIX tutorial. The exercises provide hands-on experience with the topics discussed in the tutorial.

More information

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch Purpose: We will take a look at programming this week using a language called Scratch. Scratch is a programming language that was developed

More information

Guidelines for ETNA manuscripts 1

Guidelines for ETNA manuscripts 1 Guidelines for ETNA manuscripts 1 1 General formatting guidelines A manuscript for ETNA must be written in English. It may be in color provided it is equally readable when displayed in black and white.

More information

ECE112 - Lab 6. Purpose. Parts/tools needed: Make sure we have a properly working environment

ECE112 - Lab 6. Purpose. Parts/tools needed: Make sure we have a properly working environment ECE112 - Lab 6 Purpose Make sure everyone can access a Linux host Get further acquainted with Linux Create a spice netlist, run a simulation Create a lab report using Latex Parts/tools needed: Your laptop

More information

Lab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018

Lab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018 Lab 1: Silver Dollar Game 1 CSCI 2101B Fall 2018 Due: Tuesday, September 18, 11:59 pm Collaboration Policy: Level 1 (review full policy for details) Group Policy: Individual This lab will give you experience

More information

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011 Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Spring 2011 Outline Using Secure Shell Clients GCC Some Examples Intro to C * * Windows File transfer client:

More information

WHAT IS MATLAB?... 1 STARTING MATLAB & USING THE COMMAND LINE... 1 BASIC ARITHMETIC OPERATIONS... 5 ORDER OF OPERATIONS... 7

WHAT IS MATLAB?... 1 STARTING MATLAB & USING THE COMMAND LINE... 1 BASIC ARITHMETIC OPERATIONS... 5 ORDER OF OPERATIONS... 7 Contents WHAT IS MATLAB?... 1 STARTING MATLAB & USING THE COMMAND LINE... 1 BASIC ARITHMETIC OPERATIONS... 5 ORDER OF OPERATIONS... 7 WHAT IS MATLAB? MATLAB stands for MATrix LABoratory. It is designed

More information

Scientific Computing: Lecture 1

Scientific Computing: Lecture 1 Scientific Computing: Lecture 1 Introduction to course, syllabus, software Getting started Enthought Canopy, TextWrangler editor, python environment, ipython, unix shell Data structures in Python Integers,

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering ENG224 Information Technology Part I: Computers and the Internet Laboratory 2 Linux Shell Commands and vi Editor

More information

Unit 10. Linux Operating System

Unit 10. Linux Operating System 1 Unit 10 Linux Operating System 2 Linux Based on the Unix operating system Developed as an open-source ("free") alternative by Linux Torvalds and several others starting in 1991 Originally only for Intel

More information

Math 235: Introduction to LaTeX

Math 235: Introduction to LaTeX Math 235: Introduction to LaTeX The LaTeX word processing system was built to do mathematical typesetting. It is different than word processors; in LaTeX you type in text and typesetting commands, then

More information

Programming and Data Structure Laboratory (CS13002)

Programming and Data Structure Laboratory (CS13002) Programming and Data Structure Laboratory (CS13002) Dr. Sudeshna Sarkar Dr. Indranil Sengupta Dept. of Computer Science & Engg., IIT Kharagpur 1 Some Rules to be Followed Attendance is mandatory. Regular

More information

LAB #5 Intro to Linux and Python on ENGR

LAB #5 Intro to Linux and Python on ENGR LAB #5 Intro to Linux and Python on ENGR 1. Pre-Lab: In this lab, we are going to download some useful tools needed throughout your CS career. First, you need to download a secure shell (ssh) client for

More information

Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit

Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit A portion of this lab is to be done during the scheduled lab time. The take-home programming assignment is to be turned in before the next lab;

More information

Introduction to Linux Environment. Yun-Wen Chen

Introduction to Linux Environment. Yun-Wen Chen Introduction to Linux Environment Yun-Wen Chen 1 The Text (Command) Mode in Linux Environment 2 The Main Operating Systems We May Meet 1. Windows 2. Mac 3. Linux (Unix) 3 Windows Command Mode and DOS Type

More information

Biology 345: Biometry Fall 2005 SONOMA STATE UNIVERSITY Lab Exercise 2 Working with data in Excel and exporting to JMP Introduction

Biology 345: Biometry Fall 2005 SONOMA STATE UNIVERSITY Lab Exercise 2 Working with data in Excel and exporting to JMP Introduction Biology 345: Biometry Fall 2005 SONOMA STATE UNIVERSITY Lab Exercise 2 Working with data in Excel and exporting to JMP Introduction In this exercise, we will learn how to reorganize and reformat a data

More information

LaTeX. Information Literacy II EN(IL2) Course

LaTeX. Information Literacy II EN(IL2) Course LaTeX Information Literacy II EN(IL2) Course Previous Lecture Saving plots to file Customizing plots Bar and pie charts Today Introduction to Latex - Basic commands - Structure of the document - Mathematical

More information

1. Download and install the Firefox Web browser if needed. 2. Open Firefox, go to zotero.org and click the big red Download button.

1. Download and install the Firefox Web browser if needed. 2. Open Firefox, go to zotero.org and click the big red Download button. Get Started with Zotero A free, open-source alternative to products such as RefWorks and EndNote, Zotero captures reference data from many sources, and lets you organize your citations and export bibliographies

More information

Math 3820 Project. 1 Typeset or handwritten? Guidelines

Math 3820 Project. 1 Typeset or handwritten? Guidelines Math 3820 Project Guidelines Abstract These are some recommendations concerning the projects in Math 3820. 1 Typeset or handwritten? Although handwritten reports will be accepted, I strongly recommended

More information

Introduction to Linux. Fundamentals of Computer Science

Introduction to Linux. Fundamentals of Computer Science Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard

More information

Latex Tutorial. CIS400 Senior Design 9/5/2013

Latex Tutorial. CIS400 Senior Design 9/5/2013 1 Latex Tutorial CIS400 Senior Design 9/5/2013 2 Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling PDF documents from LaTeX Basic document

More information

Getting Started in L A TEX

Getting Started in L A TEX Getting Started in L A TEX Roy Martinez Tuesday May 7th, 2008 1 Welcome to L A TEX Welcome to L A TEX, this guide is designed to give you a quick crash course introduction to this great formating tool.

More information

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010 L A TEX Tutorial J. E. Rice May 2010 Abstract The purpose of this document is to provide a simple example of how to use L A TEX. Examples of tables, figures, citations, references and math are shown, and

More information

Matlab = Matrix Laboratory. It is designed to be great at handling matrices.

Matlab = Matrix Laboratory. It is designed to be great at handling matrices. INTRODUCTION: Matlab = Matrix Laboratory. It is designed to be great at handling matrices. Matlab is a high-level language and interactive environment. You write simple ASCII text that is translated into

More information

The AES Convention Paper LATEX class Adam H. Lewenberg (October 18, 2008) 1

The AES Convention Paper LATEX class Adam H. Lewenberg (October 18, 2008) 1 1 Introduction The AES Convention Paper LATEX class Adam H. Lewenberg (October 18, 2008) 1 IMPORTANT CHANGE: Due to problems interacting with certain other L A TEXpackages, as of version 0.60 the AES Convention

More information

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2 Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working

More information

Preparing and Running C Programs for CS 136 (W08)

Preparing and Running C Programs for CS 136 (W08) Preparing and Running C Programs for CS 136 (W08) There are a number of options available to you for developing C code. The choice is up to you. The main thing to keep in mind is that, as in CS 135, the

More information

Introduction to Algorithms and Programming I Lab. Exercises #1 Solution

Introduction to Algorithms and Programming I Lab. Exercises #1 Solution 60-140 Introduction to Algorithms and Programming I Lab. Exercises #1 Solution Objectives are to: 1. Learn basic Unix commands for preparing a source C program file, compiling a C program and executing

More information

Programming for Kids

Programming for Kids Programming for Kids Peter Armstrong This book is for sale at http://leanpub.com/programmingforkids This version was published on 2016-05-08 This is a Leanpub book. Leanpub empowers authors and publishers

More information

Get Your Browser into Use Quickly!

Get Your Browser into Use Quickly! by Norma Sollers Using Mozilla Firefox Preface The Internet is a worldwide network of computers linked together. This physically based structure provides different kinds of services which can be used if

More information

Become a L A TEX Guru

Become a L A TEX Guru Become a L A TEX Guru 1 Many thanks to Michele, who was my coteacher for this class for Splash 2009 1. Log in using the username sipb2 and the password hsspmonster 2. Once you are logged on, type sudo

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text

More information

Python for Astronomers. Week 1- Basic Python

Python for Astronomers. Week 1- Basic Python Python for Astronomers Week 1- Basic Python UNIX UNIX is the operating system of Linux (and in fact Mac). It comprises primarily of a certain type of file-system which you can interact with via the terminal

More information

CMSC 201 Spring 2018 Lab 01 Hello World

CMSC 201 Spring 2018 Lab 01 Hello World CMSC 201 Spring 2018 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 4th by 8:59:59 PM Value: 10 points At UMBC, the GL system is designed to grant students the privileges

More information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot

More information

Unix basics exercise MBV-INFX410

Unix basics exercise MBV-INFX410 Unix basics exercise MBV-INFX410 In order to start this exercise, you need to be logged in on a UNIX computer with a terminal window open on your computer. It is best if you are logged in on freebee.abel.uio.no.

More information

CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG

CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG 1 Notice Class Website http://www.cs.umb.edu/~jane/cs114/ Reading Assignment Chapter 1: Introduction to Java Programming

More information

Session 1: Accessing MUGrid and Command Line Basics

Session 1: Accessing MUGrid and Command Line Basics Session 1: Accessing MUGrid and Command Line Basics Craig A. Struble, Ph.D. July 14, 2010 1 Introduction The Marquette University Grid (MUGrid) is a collection of dedicated and opportunistic resources

More information

Get JAVA. I will just tell you what I did (on January 10, 2017). I went to:

Get JAVA. I will just tell you what I did (on January 10, 2017). I went to: Get JAVA To compile programs you need the JDK (Java Development Kit). To RUN programs you need the JRE (Java Runtime Environment). This download will get BOTH of them, so that you will be able to both

More information

Unit 13. Linux Operating System Debugging Programs

Unit 13. Linux Operating System Debugging Programs 1 Unit 13 Linux Operating System Debugging Programs COMPILATION 2 3 Editors "Real" developers use editors designed for writing code No word processors!! You need a text editor to write your code Eclipse,

More information

Welcome to Bootcamp2015 s documentation!

Welcome to Bootcamp2015 s documentation! Welcome to Bootcamp2015 s documentation! This website (or pdf) will be home to some resources that will be useful for boot campers and instructors. Lecture notes and assignments for the econ course associated

More information

CPSC 150 Laboratory Manual. Lab 1 Introduction to Program Creation

CPSC 150 Laboratory Manual. Lab 1 Introduction to Program Creation CPSC 150 Laboratory Manual A Practical Approach to Java, jedit & WebCAT Department of Physics, Computer Science & Engineering Christopher Newport University Lab 1 Introduction to Program Creation Welcome

More information

1 Installation (briefly)

1 Installation (briefly) Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB

More information

What is T E X? T E X and L A T E X Document preparation tools. Setting and casting type. What Knuth was setting. Setting and casting type

What is T E X? T E X and L A T E X Document preparation tools. Setting and casting type. What Knuth was setting. Setting and casting type T E X and L A T E X Document preparation tools This lecture will introduce software necessary to produce documents using L A T E X in the School of Computer Science. It will also show the basics of producing

More information

Introduction to MATLAB Programming

Introduction to MATLAB Programming July 23, 2017 Appendix D Introduction to MATLAB Programming Contents D.1 Getting Started............................. 2 D.2 Basic m-file................................ 3 D.2.1 Printing..................................

More information

Basic L A TEX. what is LaTeX?

Basic L A TEX. what is LaTeX? Basic L A TEX Erik Brunvand what is LaTeX? it s a typesetting markup language it s a set of macros that use TeX to format documents it s a powerful set of formatting commands that includes support for

More information

Linux at the Command Line Don Johnson of BU IS&T

Linux at the Command Line Don Johnson of BU IS&T Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you

More information

UNIX Tutorial One

UNIX Tutorial One 1.1 Listing files and directories ls (list) When you first login, your current working directory is your home directory. Your home directory has the same name as your user-name, for example, ee91ab, and

More information

Guide to using L A TEX

Guide to using L A TEX Guide to using L A TEX Andrew Stevens, UC Berkeley 1 What is L A TEX, and why use it? L A TEX (pronounced LAH-tekh or LAY-tekh) is a language and document preparation system for typesetting. L A TEX is

More information

Formatting with LaTeX

Formatting with LaTeX Formatting with LaTeX Zuyuan Wang School of Mechanical Engineering Purdue University wang1707@purdue.edu June 23, 2016 Seminar @ SURF 2016 About the SURF GAs Formatting with LaTeX (02/35) 06/23/2016 Purdue

More information

Workshop on LATEX 2ε. Asst. Prof. Dr. Kemal Bagzibagli Department of Economics. 20 May 2015

Workshop on LATEX 2ε. Asst. Prof. Dr. Kemal Bagzibagli Department of Economics. 20 May 2015 Workshop on LATEX 2ε Asst. Prof. Dr. Kemal Bagzibagli Department of Economics 20 May 2015 1 Outline 1 Introduction 2 Some L A TEX Features 3 Input File Structure 4 The Layout of the Document 5 Special

More information

Lecture 5 of AMS 200 LaTeX Typesetting, Writing and

Lecture 5 of AMS 200 LaTeX Typesetting, Writing and Lecture 5 of AMS 200 LaTeX Typesetting, Writing and Hongyun Wang hongwang@soe.ucsc.edu November 3, 2014 1 LaTeX Typesetting LaTeX is a computer program for typesetting journals, manuscripts, reports It

More information

Introduction to Linux for BlueBEAR. January

Introduction to Linux for BlueBEAR. January Introduction to Linux for BlueBEAR January 2019 http://intranet.birmingham.ac.uk/bear Overview Understanding of the BlueBEAR workflow Logging in to BlueBEAR Introduction to basic Linux commands Basic file

More information

Practical Unix exercise MBV INFX410

Practical Unix exercise MBV INFX410 Practical Unix exercise MBV INFX410 We will in this exercise work with a practical task that, it turns out, can easily be solved by using basic Unix. Let us pretend that an engineer in your group has spent

More information

STAT 625: Statistical Case Studies

STAT 625: Statistical Case Studies John W. Emerson, Department of Statistics, Yale University 2013 1 STAT 625: Statistical Case Studies John W. Emerson Yale University Abstract This term, I ll generally present brief class notes and scripts,

More information