Assignment 2 Arrays and Functions

Size: px
Start display at page:

Download "Assignment 2 Arrays and Functions"

Transcription

1 Assignment 2 Arrays and Functions Assigned TA: Yohai Mandabi. Publication date: Introduction The geographic coordinate system is a grid allowing the specification of any location on Earth. The exact location of each place is represented by two angles, one for latitude and the other for longitude. The latitude represents the location on the north-south axis, where 0 is the Equator, 90 N is the North Pole and 90 S is the South Pole. The longitude represents the location on the west-east axis, and ranges between 180 W to 180 E, where 0 is the vertical line passing through the Royal Observatory, Greenwich, England. The angles are set in the center of the earth, and together represent a straight line, which represents a location on the surface of the earth (Figure 1). According to the geographic coordinate system, the exact location of Be'er Sheva is N E. The first part represents the Figure 1 - Latitude and Longitude angles. φ Latitude angle. λ Longitude angle. From wikipedia.org latitude and the latter the longitude. Note that the latitude is comprised as DD MM'SS"C while the longitude is comprised as DDD MM'SS"C where: D Degrees. M Minutes. S Seconds. C Cardinal Direction. Due to ASCII limitations, coordinates should be written in the following format DD*MM'SS"C DDD*MM'SS"C the * char should be used instead of the char.

2 Guidelines 1. Please read this document carefully, before starting to work on this assignment. 2. You are not allowed to use any material which was not covered in class so far. 3. You are allowed to use the libraries stdio.h, string.h and math.h. 4. It is not allowed to change function headers given to implement. 5. You can and encouraged to implement helper functions. Your code will be much shorter this way. 6. The output of your program should be exactly the same as the output of the example program published with this assignment. Before writing the code for each section, spend a few minutes to enter some input in the example program and get the idea of how the function should behave. 7. The maximum input length is 99; you should not check longer inputs. 8. Input errors should be dealt with only in the main menu (choosing 1-7). You can assume that the rest of the input is written in the right format. 9. You should define the following constants in your code: NUMBER_OF_FIELDS 2, MAX_NUMBER_OF_CITIES 20, MAX_SIZE 100, PI While DD MM'SS"C DDD MM'SS"C is the longest template for a set of coordinates, it is possible to have a shorter set of coordinates for single digit angle locations. For example the location of London is represented by the coordinates 51 30'26"N 0 7'39"W where the longitude angle is represented by the template D M'SS"C. Your program should be able to deal with this kind of input as well.

3 Functions int addcity(char table[][number_of_fields][max_size],int numberofcities,char cityname[],char coordinates[]); The function gets table, an array defined according to Figure 2. Figure 2 - Properties of the array 'table'. Each cell in the array holds an array sized NUMBER_OF_FIELDS (2), where the first index holds a string containing a city name, and the other the coordinates of that city. numberofcities, an integer containing the current amount of cities saved in the array table. cityname, a string containing a city name that should be saved in the array table. coordinate, a string containing the coordinates of the city that should be saved in the array table. The function saves the data in cityname and coordinate in the next available cell of the array table (e.g. if table contains data of 5 cities, the data for the 6 th city should be saved at cell no.5). The function returns 1 upon adding a city to the array successfully, otherwise the function returns 0. In order to add the city of Jerusalem to the database, you should complete the following steps: There are no input and output commands in this function, i\o is done from the main function. In case the function could not add the new location to the database, a message is printed "Could not add the city of <city name> to the database".

4 int removecity(char table[][number_of_fields][max_size],int numberofcities,char cityname[]); The function gets table, an array containing data for the location of numberofcities amount of cities. The function removes the city, with the same city name stored in cityname, from the array table. The function returns 1 upon successful removal of the city data from the array table, in case the city doesn't exist in the array, the function returns 0. You can assume there are no two cities with the same name in the array. For Example: In order to remove the city of Jerusalem from the database you should complete the following steps: There are no input and output commands in this function, i\o is done from the main function. In case the function could not remove a location from the database, a message is printed "Could not find <city name> in the database".

5 double distance(char coordinates1[], char coordinates2[]); The function gets two strings; coordinate1 and coordinate2, representing coordinates of two cities. The function returns the distance between those two cities using Equation 1. distance = arccos( sin(φ 1 ).sin(φ 2 ) + cos(φ 1 ).cos(φ 2 ).cos(δλ) ).R Equation 1 - Distance between two coordinates φ 1 latitude angle of coordinate 1. φ 2 latitude angle of coordinate 2. Δλ The delta between the two longitude angles. R The earth radius in km (6371). All of the trigonometric functions are part of the library math.h, the function for arccos appears under the name acos. The trigonometric library functions accept angles in radians. In order to get the right results, the angles representing South and West should be defined as negative angles. For example: In order to calculate the distance between Jerusalem and London. There are no input and output commands in this function, i\o is done from the main function. You can assume the two cities exist in the database.

6 void printcitiescoordinates(char table[][number_of_fields][max_size],int numberofcities); The function gets table, an array containing data of cities' coordinates and numberofcities the amount of cities in the array. The function prints the data stored in the array on screen. The cities appear in the table in the same order as they are stored in the array. Please note that each table printed is numbered (marked). For Example: void sortcitiesntos(char table[][number_of_fields][max_size],int numberofcities); The function gets table, an array containing data of cities' coordinates and numberofcities the amount of cities in the array. The function sorts the array according to the coordinates of the cities from North to South. The table is sorted as follows.

7 void citiesnearby(char table[][number_of_fields][max_size],int numberofcities, char coordinates[],double radius); The function gets table, an array containing data of each city's coordinates, numberofcities the amount of cities in the array, coordinate, a location on earth and radius, a number representing distance from the coordinate. The function prints on screen all of the cities stored in the array table in distance radius or less from the given coordinate, according to the distance from the coordinate (closest to farthest). For example: When searching for cities stored in the database, in distance 5000km from the coordinates of Athens.

Introduction to MATLAB

Introduction to MATLAB GLOBAL EDITION Introduction to MATLAB THIRD EDITION Delores M. Etter 3.3 Trigonometric Functions 77 tan(x) asin(x) sinh(x) Computes the tangent of x, where x is in radians. tan(pi) -1.2246e-16 Computes

More information

Youngstown State University Trigonometry Final Exam Review (Math 1511)

Youngstown State University Trigonometry Final Exam Review (Math 1511) Youngstown State University Trigonometry Final Exam Review (Math 1511) 1. Convert each angle measure to decimal degree form. (Round your answers to thousandths place). a) 75 54 30" b) 145 18". Convert

More information

Navigation coordinate systems

Navigation coordinate systems Lecture 3 Navigation coordinate systems Topic items: 1. Basic Coordinate Systems. 2. Plane Cartesian Coordinate Systems. 3. Polar Coordinate Systems. 4. Earth-Based Locational Reference Systems. 5. Reference

More information

February 13, notebook

February 13, notebook Module 12 Lesson 1: Graphing on the coordinate plane Lesson 2: Independent and dependent variables in tables and graphs Lesson 3: Writing equations from tables Lesson 4: Representing Algebraic relationships

More information

For storage efficiency, longitude and latitude values are often represented in DMS format. For McBryde Hall:

For storage efficiency, longitude and latitude values are often represented in DMS format. For McBryde Hall: Parsing Input and Formatted Output in C Dealing with Geographic Coordinates You will provide an implementation for a complete C program that reads geographic coordinates from an input file, does some simple

More information

Activity 1.1.1: Using Google Earth to View the World

Activity 1.1.1: Using Google Earth to View the World Learning Objectives Upon completion of this activity, you will be able to: Explain the purpose of Google Earth. Explain the different versions of Google Earth. Explain the hardware and software requirements

More information

Lecture 12: Grids Steven Skiena. skiena

Lecture 12: Grids Steven Skiena.   skiena Lecture 12: Grids Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Rectilinear Grids Rectilinear grids are typically

More information

Object Oriented Methods

Object Oriented Methods Chapter 5 Object Oriented Methods 5.1 Introduction In Section 1.7 we outlined procedures that should be considered while conducting the object-oriented analysis and object-oriented design phases that are

More information

New Versions of Adjacency The Traveling Salesman Problem Example V (5 Cities) Brute Force Algorithm & Permutations 48 State Capital Example Random

New Versions of Adjacency The Traveling Salesman Problem Example V (5 Cities) Brute Force Algorithm & Permutations 48 State Capital Example Random Intro Math Problem Solving December 7 New Versions of Adjacency The Traveling Salesman Problem Example V (5 Cities) Brute Force Algorithm & Permutations 48 State Capital Example Random Sampling Algorithm

More information

LOCAL GEODETIC HORIZON COORDINATES

LOCAL GEODETIC HORIZON COORDINATES LOCAL GEODETIC HOIZON COODINATES In many surveying applications it is necessary to convert geocentric Cartesian coordinates X,,Z to local geodetic horizon Cartesian coordinates E,N,U (East,North,Up). Figure

More information

HP-35s Calculator Program Closure 7A

HP-35s Calculator Program Closure 7A Traverse Program using Latitude and Longitude and the Gauss Mid-Latitude Formulae Programmer: Dr. Bill Hazelton Date: March, 2008. Version: 1.0 Line Instruction Display User Programming Instructions J001

More information

Fundamentals of Surveying MSS 220 Prof. Gamal El-Fiky

Fundamentals of Surveying MSS 220 Prof. Gamal El-Fiky Fundamentals of Surveying MSS 220 Prof. Gamal l-fiky Maritime Studies Department, Faculty of Marine Science King Abdulaziz University gamal_elfiky@yahoo.com Room 221 What is Surveying? Surveying is defined

More information

ERTH3021 Exploration and Mining Geophysics

ERTH3021 Exploration and Mining Geophysics ERTH3021 Exploration and Mining Geophysics Practical 1: Introduction to Scientific Programming using Python Purposes To introduce simple programming skills using the popular Python language. To provide

More information

Worksheet 3.5: Triple Integrals in Spherical Coordinates. Warm-Up: Spherical Coordinates (ρ, φ, θ)

Worksheet 3.5: Triple Integrals in Spherical Coordinates. Warm-Up: Spherical Coordinates (ρ, φ, θ) Boise State Math 275 (Ultman) Worksheet 3.5: Triple Integrals in Spherical Coordinates From the Toolbox (what you need from previous classes) Know what the volume element dv represents. Be able to find

More information

Section 1.2: Points and Lines

Section 1.2: Points and Lines Section 1.2: Points and Lines Objective: Graph points and lines using x and y coordinates. Often, to get an idea of the behavior of an equation we will make a picture that represents the solutions to the

More information

# Import constants pi2, pip2, pip4 (2*pi, pi/2, pi/4). use Math::Trig ':pi';

# Import constants pi2, pip2, pip4 (2*pi, pi/2, pi/4). use Math::Trig ':pi'; NAME Math::Trig - trigonometric functions SYNOPSIS use Math::Trig; $x = tan(0.9); $y = acos(3.7); $z = asin(2.4); $halfpi = pi/2; $rad = deg2rad(120); # Import constants pi2, pip2, pip4 (2*pi, pi/2, pi/4).

More information

Module 4. Stereographic projection: concept and application. Lecture 4. Stereographic projection: concept and application

Module 4. Stereographic projection: concept and application. Lecture 4. Stereographic projection: concept and application Module 4 Stereographic projection: concept and application Lecture 4 Stereographic projection: concept and application 1 NPTEL Phase II : IIT Kharagpur : Prof. R. N. Ghosh, Dept of Metallurgical and Materials

More information

Tangent Galvanometer

Tangent Galvanometer Tangent Galvanometer KET Virtual Physics Labs Worksheet Lab 13-1 As you work through the steps in the lab procedure, record your experimental values and the results on this worksheet. Use the exact values

More information

CS-201 Introduction to Programming with Java

CS-201 Introduction to Programming with Java CS-201 Introduction to Programming with Java California State University, Los Angeles Computer Science Department Lecture V: Mathematical Functions, Characters, and Strings Introduction How would you estimate

More information

6.7. POLAR COORDINATES

6.7. POLAR COORDINATES 6.7. POLAR COORDINATES What You Should Learn Plot points on the polar coordinate system. Convert points from rectangular to polar form and vice versa. Convert equations from rectangular to polar form and

More information

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. Review for Test 2 MATH 116 SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. Solve the right triangle. If two sides are given, give angles in degrees and

More information

Yandex.Maps API Background theory

Yandex.Maps API Background theory 8.02.2018 .. Version 1.0 Document build date: 8.02.2018. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2018 Yandex LLC. All rights reserved.

More information

PATTERNS AND ALGEBRA. He opened mathematics to many discoveries and exciting applications.

PATTERNS AND ALGEBRA. He opened mathematics to many discoveries and exciting applications. PATTERNS AND ALGEBRA The famous French philosopher and mathematician René Descartes (596 65) made a great contribution to mathematics in 67 when he published a book linking algebra and geometr for the

More information

Lab 21.1 The Tangent Galvanometer

Lab 21.1 The Tangent Galvanometer Name School Date Lab 21.1 The Tangent Galvanometer Purpose To investigate the magnetic field at the center of a current-carrying loop of wire. To verify the right-hand rule for the field inside a current

More information

Name: Block: What I can do for this unit:

Name: Block: What I can do for this unit: Unit 8: Trigonometry Student Tracking Sheet Math 10 Common Name: Block: What I can do for this unit: After Practice After Review How I Did 8-1 I can use and understand triangle similarity and the Pythagorean

More information

COORDINATE TRANSFORMATION. Lecture 6

COORDINATE TRANSFORMATION. Lecture 6 COORDINATE TRANSFORMATION Lecture 6 SGU 1053 SURVEY COMPUTATION 1 Introduction Geomatic professional are mostly confronted in their work with transformations from one two/three-dimensional coordinate system

More information

Algorithms to be implemented in the Antenna Control Unit. P. de Vicente Informe Técnico IT-OAN

Algorithms to be implemented in the Antenna Control Unit. P. de Vicente Informe Técnico IT-OAN Algorithms to be implemented in the Antenna Control Unit P. de Vicente Informe Técnico IT-OAN 2003-7 CONTENTS 1 Contents 1 Introduction 2 2 Time conversion 2 3 Apparent equatorial coordinates to horizontal

More information

10.1 Conversions. Grid to Geodetic

10.1 Conversions. Grid to Geodetic 10.1 Conversions Geodetic conversions work with the current geodetic settings. Convert grid coordinates to geodetic (Latitude/Longitude) or vice versa with any of the available projections. All results

More information

MapInfo ProViewer 11.0 USER GUIDE

MapInfo ProViewer 11.0 USER GUIDE MapInfo ProViewer 11.0 USER GUIDE Information in this document is subject to change without notice and does not represent a commitment on the part of the vendor or its representatives. No part of this

More information

Fall 2016 Semester METR 3113 Atmospheric Dynamics I: Introduction to Atmospheric Kinematics and Dynamics

Fall 2016 Semester METR 3113 Atmospheric Dynamics I: Introduction to Atmospheric Kinematics and Dynamics Fall 2016 Semester METR 3113 Atmospheric Dynamics I: Introduction to Atmospheric Kinematics and Dynamics Lecture 5 August 31 2016 Topics: Polar coordinate system Conversion of polar coordinates to 2-D

More information

Create CSV for Asset Import

Create CSV for Asset Import Create CSV for Asset Import Assets are tangible items, equipment, or systems that have a physical presence, such as compressors, boilers, refrigeration units, transformers, trucks, cranes, etc. that are

More information

Where is the Space Station?

Where is the Space Station? Where is the Space Station? Introduction In this project you will use a web service to find out the current location of the International Space Station (ISS) and plot its location on a map. Step 1: Who

More information

Vectors and the Geometry of Space

Vectors and the Geometry of Space Vectors and the Geometry of Space In Figure 11.43, consider the line L through the point P(x 1, y 1, z 1 ) and parallel to the vector. The vector v is a direction vector for the line L, and a, b, and c

More information

GLN Bulk CSV Text Return File Layout (All Fields*, CSV Format)

GLN Bulk CSV Text Return File Layout (All Fields*, CSV Format) GLN Bulk CSV Text Return File Layout (All Fields*, CSV Format) Field Max Length Position Definition The following fields are the values of fields contained in the corresponding submission record and are

More information

Computer Program for the Inverse Transformation of the Winkel Projection

Computer Program for the Inverse Transformation of the Winkel Projection omputer Program for the Inverse Transformation of the Winkel Projection engizhan Ipbuker 1 and I. Oztug Bildirici Abstract: The map projection problem involves transforming the graticule of meridians and

More information

A Quick Review of Trigonometry

A Quick Review of Trigonometry A Quick Review of Trigonometry As a starting point, we consider a ray with vertex located at the origin whose head is pointing in the direction of the positive real numbers. By rotating the given ray (initial

More information

# Import constants pi2, pip2, pip4 (2*pi, pi/2, pi/4). use Math::Trig ':pi';

# Import constants pi2, pip2, pip4 (2*pi, pi/2, pi/4). use Math::Trig ':pi'; NAME Math::Trig - trigonometric functions SYNOPSIS use Math::Trig; Perl version 5.26.1 documentation - Math::Trig $x = tan(0.9); $y = acos(3.7); $z = asin(2.4); $halfpi = pi/2; $rad = deg2rad(120); # Import

More information

WHERE THEORY MEETS PRACTICE

WHERE THEORY MEETS PRACTICE world from others, leica geosystems WHERE THEORY MEETS PRACTICE A NEW BULLETIN COLUMN BY CHARLES GHILANI ON PRACTICAL ASPECTS OF SURVEYING WITH A THEORETICAL SLANT february 2012 ² ACSM BULLETIN ² 27 USGS

More information

Rotated earth or when your fantasy world goes up side down

Rotated earth or when your fantasy world goes up side down Rotated earth or when your fantasy world goes up side down A couple of weeks ago there was a discussion started if Fractal Terrain 3 (FT3) can rotate our earth. http://forum.profantasy.com/comments.php?discussionid=4709&page=1

More information

Graphing Trigonometric Functions: Day 1

Graphing Trigonometric Functions: Day 1 Graphing Trigonometric Functions: Day 1 Pre-Calculus 1. Graph the six parent trigonometric functions.. Apply scale changes to the six parent trigonometric functions. Complete the worksheet Exploration:

More information

GLN Bulk Fixed Length Text Return File Layout (All Fields*, Fixed Length Text Format)

GLN Bulk Fixed Length Text Return File Layout (All Fields*, Fixed Length Text Format) The following fields are the values of fields contained in the corresponding submission record and are intended to allow the subscriber to easily match the return file record with the corresponding submission

More information

Precalculus 4.1 Notes Angle Measures, Arc Length, and Sector Area

Precalculus 4.1 Notes Angle Measures, Arc Length, and Sector Area Precalculus 4.1 Notes Angle Measures, Arc Length, and Sector Area An angle can be formed by rotating one ray away from a fixed ray indicated by an arrow. The fixed ray is the initial side and the rotated

More information

Computer Data Logging Formats

Computer Data Logging Formats Computer Data Logging Formats Recording Formats - General Information After many years the first SARA data recording format was agreed upon at the 1991 conference. This article is intended to record the

More information

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 6 Math Circles October 16 & 17 2018 Non-Euclidean Geometry and the Globe (Euclidean) Geometry Review:

More information

Project #2: A 3-Tiered Airport Lookup Service Using RPC

Project #2: A 3-Tiered Airport Lookup Service Using RPC Project #2: A 3-Tiered Airport Lookup Service Using RPC 1. Objective Your assignment is to write a 3-tiered client-server program. The program will consist of three components: a client, a places server,

More information

Joint Astronomy Centre James Clerk Maxwell Telescope

Joint Astronomy Centre James Clerk Maxwell Telescope Joint Astronomy Centre James Clerk Maxwell Telescope PTCS TCS/UN/004 Nick Rees, Russell Kackley 4 August 2003 Description of the JAC Telescope Control System serial line interface Contents 1 Introduction

More information

SES 123 Global and Regional Energy Lab Worksheet

SES 123 Global and Regional Energy Lab Worksheet SES 123 Global and Regional Energy Lab Worksheet Introduction An important aspect to understand about our planet is global temperatures, including spatial variations, such as between oceans and continents

More information

Visualisation Pipeline : The Virtual Camera

Visualisation Pipeline : The Virtual Camera Visualisation Pipeline : The Virtual Camera The Graphics Pipeline 3D Pipeline The Virtual Camera The Camera is defined by using a parallelepiped as a view volume with two of the walls used as the near

More information

Reduction of Field Observations

Reduction of Field Observations Reduction of Field Observations GNSS/GPS measurements or Latitudes, Longitudes, HAE: We re interested in projected coordinates, e.g., State Plane Survey measurements in a projected coordinate system, on

More information

CSCI 150: Exam 1 Practice

CSCI 150: Exam 1 Practice CSCI 150: Exam 1 Practice January 12, 2019 Read all questions carefully before beginning. You will have 50 minutes to complete this exam. You are not allowed to use your notes, textbook, phone, or computer.

More information

MATH 1112 Trigonometry Final Exam Review

MATH 1112 Trigonometry Final Exam Review MATH 1112 Trigonometry Final Exam Review 1. Convert 105 to exact radian measure. 2. Convert 2 to radian measure to the nearest hundredth of a radian. 3. Find the length of the arc that subtends an central

More information

MLEP Intermediate GPS Workshop Exercise Two Using Maps

MLEP Intermediate GPS Workshop Exercise Two Using Maps During this exercise, you will scale coordinates from a map and enter them into the GPS receiver. This requires a ruler (provided) and all calculations require a paper and pencil. During this exercise,

More information

Professor Terje Haukaas University of British Columbia, Vancouver C++ Programming

Professor Terje Haukaas University of British Columbia, Vancouver  C++ Programming C++ Programming C++ code is essentially a collection of statements terminated by a semicolon, such as (spaces not needed): a = b + c; Most C++ code is organized into header files and cpp files, i.e., C++

More information

mmm Internal Report #13 -^ /y ELAINE LITMAN

mmm Internal Report #13 -^ /y ELAINE LITMAN QUIET2QiE imwfmmge MiLXSIS mmm Internal Report #13 -^ /y ELAINE LITMAN QUIETZON is a program to compute the power density expected at Green Bank from any proposed transmitter site in the Radio Quiet Zone.

More information

( 83P UDP/IP Ethernet Datagram,.83P File Format )

( 83P UDP/IP Ethernet Datagram,.83P File Format ) IMAGENEX TECHNOLOGY CORP. DeltaT - 83P PROFILE POINT OUTPUT ( 83P UDP/IP Ethernet Datagram,.83P File Format ) For each ping, the following bytes are output during the 83P UDP datagram. If recording to

More information

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each.

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each. I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK 70. a) What is the difference between Hardware and Software? Give one example for each. b) Give two differences between primary and secondary memory.

More information

D. Correct! 2 does not belong to the domain of arcsin x.

D. Correct! 2 does not belong to the domain of arcsin x. CLEP Precalculus - Problem Drill 10: Inverse Trigonometry No. 1 of 10 Instructions: (1) Read the problem and answer choices carefully () Work the problems 1. Which of the following numbers is not in the

More information

LIFE N TOUCH KYLE DOBITZ JEREMY MUEHLBAUER. Team Winner 05/01/08

LIFE N TOUCH KYLE DOBITZ JEREMY MUEHLBAUER. Team Winner 05/01/08 LIFE N TOUCH KYLE DOBITZ JEREMY MUEHLBAUER Team Winner 05/01/08 Questions Problem: Information is readily available but requires a translation to reality Solution: To create a platform from which applications

More information

LECTURE TWO Representations, Projections and Coordinates

LECTURE TWO Representations, Projections and Coordinates LECTURE TWO Representations, Projections and Coordinates GEOGRAPHIC COORDINATE SYSTEMS Why project? What is the difference between a Geographic and Projected coordinate system? PROJECTED COORDINATE SYSTEMS

More information

SNAP Centre Workshop. Introduction to Trigonometry

SNAP Centre Workshop. Introduction to Trigonometry SNAP Centre Workshop Introduction to Trigonometry 62 Right Triangle Review A right triangle is any triangle that contains a 90 degree angle. There are six pieces of information we can know about a given

More information

[B] hours b, P.I. A2.N.9 When simplified,

[B] hours b, P.I. A2.N.9 When simplified, Math B Regents Exam 0804 Page 1 1. 080401b, P.I. G.G.8 Which condition does not prove that two triangles are congruent? [A] SAS SAS [B] SSA SSA [C] ASA ASA [D] SSS SSS. 08040b, P.I. A.A.5 The speed of

More information

VISUAL NAVIGATION SYSTEM ON WINDSHIELD HEAD-UP DISPLAY

VISUAL NAVIGATION SYSTEM ON WINDSHIELD HEAD-UP DISPLAY VISUAL NAVIGATION SYSTEM ON WINDSHIELD HEAD-UP DISPLAY Akihiko SATO *, Itaru KITAHARA, Yoshinari KAMEDA, Yuichi OHTA Department of Intelligent Interaction Technologies, Graduate School of Systems and Information

More information

Other conditional and loop constructs. Fundamentals of Computer Science Keith Vertanen

Other conditional and loop constructs. Fundamentals of Computer Science Keith Vertanen Other conditional and loop constructs Fundamentals of Computer Science Keith Vertanen Overview Current loop constructs: for, while, do-while New loop constructs Get out of loop early: break Skip rest of

More information

Inverses of Trigonometric. Who uses this? Hikers can use inverse trigonometric functions to navigate in the wilderness. (See Example 3.

Inverses of Trigonometric. Who uses this? Hikers can use inverse trigonometric functions to navigate in the wilderness. (See Example 3. 1-4 Inverses of Trigonometric Functions Objectives Evaluate inverse trigonometric functions. Use trigonometric equations and inverse trigonometric functions to solve problems. Vocabulary inverse sine function

More information

A stratum is a pair of surfaces. When defining a stratum, you are prompted to select Surface1 and Surface2.

A stratum is a pair of surfaces. When defining a stratum, you are prompted to select Surface1 and Surface2. That CAD Girl J ennifer dib ona Website: www.thatcadgirl.com Email: thatcadgirl@aol.com Phone: (919) 417-8351 Fax: (919) 573-0351 Volume Calculations Initial Setup You must be attached to the correct Land

More information

Formulas and constants for the calculation of the Swiss conformal cylindrical projection and for the transformation between coordinate systems

Formulas and constants for the calculation of the Swiss conformal cylindrical projection and for the transformation between coordinate systems _ìåçéë~ãíñωêi~åçéëíçéçöê~ñáé lññáåéñ Ç ê~äçéíçéçöê~éüáé péñíáöéåëíê~ëëéosq `ejpmuqt~äéêå rññáåáçñéçéê~äéçáíçéçöê~ñá~ qéäéñçå HQNPNVSPONNN céçéê~älññáåéçñqçéçöê~éüó qéäéñ~ñ HQNPNVSPOQRV Formulas and constants

More information

Distributed rainfall runoff model: 1K DHM event. Demonstration and Project

Distributed rainfall runoff model: 1K DHM event. Demonstration and Project CE74.55 Modeling of Water Resources Systems February 26 th and 27 th, 2011 Distributed rainfall runoff model: 1K DHM event Demonstration and Project Yasuto TACHIKAWA Dept. of Civil and Earth Resources

More information

Inaccuracies When Mixing Coordinate Reference Frameworks in a System of Systems Simulation

Inaccuracies When Mixing Coordinate Reference Frameworks in a System of Systems Simulation 1 Inaccuracies When Mixing Coordinate Reference Frameworks in a System of Systems Simulation Bernardt Duvenhage and Jan Jacobus Nel Abstract The modelling of military systems of systems invariably involves

More information

Introduction P phase arrival times

Introduction P phase arrival times Introduction...1 P phase arrival times...1 Earthquake location...1 Summary of products for the write-up:...3 Diagrammatic summary of location procedure...4 Appendix 1. DISTAZ function...8 Appendix 2: Excel

More information

NATIONAL RADIO ASTRONOMY OBSERVATORY VLA ANTENNA MEMORANDUM NO. 1. April 3, 1968 THE RELATIONSHIP BETWEEN ANTENNA SITES ON THE ARMS OF THE WYE

NATIONAL RADIO ASTRONOMY OBSERVATORY VLA ANTENNA MEMORANDUM NO. 1. April 3, 1968 THE RELATIONSHIP BETWEEN ANTENNA SITES ON THE ARMS OF THE WYE NATIONAL RADIO ASTRONOMY OBSERVATORY VLA ANTENNA MEMORANDUM NO. 1 April 3, 1968 THE RELATIONSHIP BETWEEN ANTENNA SITES ON THE ARMS OF THE WYE A. J. Burford INTRODUCTION This memorandum discusses two methods

More information

MathsGeeks

MathsGeeks 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 information

EE 570: Location and Navigation: Theory & Practice

EE 570: Location and Navigation: Theory & Practice EE 570: Location and Navigation: Theory & Practice Navigation Mathematics Tuesday 15 Jan 2013 NMT EE 570: Location and Navigation: Theory & Practice Slide 1 of 14 Coordinate Frames - ECI The Earth-Centered

More information

Subset Extract File Layout (All Fields*, Fixed Length Text Format)

Subset Extract File Layout (All Fields*, Fixed Length Text Format) Subscriber Identifier Type Code 1 1 1 Subscriber Identifier Value 2 31 30 Subset Extract File Layout (All Fields*, Fixed Length Format) As supplied by the subscriber in the submission file, a code paired

More information

to and go find the only place where the tangent of that

to and go find the only place where the tangent of that Study Guide for PART II of the Spring 14 MAT187 Final Exam. NO CALCULATORS are permitted on this part of the Final Exam. This part of the Final exam will consist of 5 multiple choice questions. You will

More information

RECOMMENDATION ITU-R P DIGITAL TOPOGRAPHIC DATABASES FOR PROPAGATION STUDIES. (Question ITU-R 202/3)

RECOMMENDATION ITU-R P DIGITAL TOPOGRAPHIC DATABASES FOR PROPAGATION STUDIES. (Question ITU-R 202/3) Rec. ITU-R P.1058-1 1 RECOMMENDATION ITU-R P.1058-1 DIGITAL TOPOGRAPHIC DATABASES FOR PROPAGATION STUDIES (Question ITU-R 202/3) Rec. ITU-R P.1058-1 (1994-1997) The ITU Radiocommunication Assembly, considering

More information

Choose the correct answer below. 2. Convert the angle to a decimal in degrees.

Choose the correct answer below. 2. Convert the angle to a decimal in degrees. 1. Choose the figure that shows an angle of in standard position. Choose the correct answer below. 2. Convert the angle to a decimal in degrees. (Do not round until the final answer. Then round to two

More information

Creating Mercator s Map Projection

Creating Mercator s Map Projection Creating Mercator s Map Projection Andrew Geldean December 17, 2014 Abstract: This map developed by Gerardus Mercator in 1569 is created by producing a cylinder around the globe projecting the surface

More information

DTM Based on an Ellipsoidal Squares

DTM Based on an Ellipsoidal Squares DM Based on an Ellipsoidal Squares KRZYSZOF NAUS Institute of Navigation and Hydrography Polish Naval Academy Śmidoicza 69, 8-3 Gdynia POLAND k.naus@am.gdynia.pl Abstract: - he paper presents the description

More information

The Polar Coordinate System

The Polar Coordinate System University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln MAT Exam Expository Papers Math in the Middle Institute Partnership 7-008 The Polar Coordinate System Alisa Favinger University

More information

State Plane Coordinates and Computations using them GISC Spring 2013

State Plane Coordinates and Computations using them GISC Spring 2013 State Plane Coordinates and Computations using them GISC-3325 - Spring 2013 Map Projections From UNAVCO site hosting.soonet.ca/eliris/gpsgis/lec2geodesy.html Taken from Ghilani, SPC State Plane Coordinate

More information

Review Notes for the Calculus I/Precalculus Placement Test

Review Notes for the Calculus I/Precalculus Placement Test Review Notes for the Calculus I/Precalculus Placement Test Part 9 -. Degree and radian angle measures a. Relationship between degrees and radians degree 80 radian radian 80 degree Example Convert each

More information

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 6 Math Circles October 16 & 17 2018 Non-Euclidean Geometry and the Globe (Euclidean) Geometry Review:

More information

Package geoplot. February 15, 2013

Package geoplot. February 15, 2013 Type Package Package geoplot February 15, 2013 Title Geocodes street or ip addresses and plots them on a map. Version 2.1 Date 2012-12-16 Author Maintainer Depends R(>= 2.14.2), rjson, RgoogleMaps There

More information

(Type your answer in radians. Round to the nearest hundredth as needed.)

(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 information

CS 241 Data Organization using C Project 3: Tron Spring 2017

CS 241 Data Organization using C Project 3: Tron Spring 2017 CS 241 Data Organization using C Project 3: Tron Spring 2017 Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http://cs.unm.edu/~joel/ 4/29/2017 Tron Spring 2017: Project Outline (1 of 3) 1) The

More information

Fortran programming for beginner seismologists Lesson 6

Fortran programming for beginner seismologists Lesson 6 IISEE lecture for group training (Seismological course) Fortran programming for beginner seismologists Lesson 6 Lecturer Tatsuhiko Hara Subprogram modules It is convenient to make a subprogram module which

More information

WHAT IS THE STRUVE GEODETIC ARC?

WHAT IS THE STRUVE GEODETIC ARC? WHAT IS THE STRUVE GEODETIC ARC? It has been known since ancient times that one can determine the height of any oblique triangle by knowing the exact length of one of its sides(the baseline) and two angles

More information

VISUAL NAVIGATION SYSTEM ON WINDSHIELD HEAD-UP DISPLAY

VISUAL NAVIGATION SYSTEM ON WINDSHIELD HEAD-UP DISPLAY VISUAL NAVIGATION SYSTEM ON WINDSHIELD HEAD-UP DISPLAY Akihiko SATO *, Itaru KITAHARA, Yoshinari KAMEDA, Yuichi OHTA Department of Intelligent Interaction Technologies, Graduate School of Systems and Information

More information

Well Unknown ID AKA EPSG: 3857

Well Unknown ID AKA EPSG: 3857 Well Unknown ID AKA EPSG: 3857 Pamela Kanu November 2016 WGS 1984 WEB MERCATOR ALIASES: AUXILIARY SPHERE, WKID: 3857, WKID: 102100, WKID: 102113, SHERICAL MERCATOR, WGS 84/PSEUDO-MERCATOR, OPEN LAYERS:

More information

9.1 POLAR COORDINATES

9.1 POLAR COORDINATES 9. Polar Coordinates Contemporary Calculus 9. POLAR COORDINATES The rectangular coordinate system is immensely useful, but it is not the only way to assign an address to a point in the plane and sometimes

More information

Stanford Exploration Project, Report 100, April 20, 1999, pages

Stanford Exploration Project, Report 100, April 20, 1999, pages Stanford Exploration Project, Report 100, April 20, 1999, pages 251 256 250 Stanford Exploration Project, Report 100, April 20, 1999, pages 251 256 Helical meshes on spheres and cones Jon Claerbout 1 keywords:

More information

Mapping with Vectors

Mapping with Vectors GEOL 595 - Mathematical Tools in Geology Lab Assignment # 6 - Oct 2, 2008 (Due Oct 8) Name: Mapping with Vectors Paiute Monument in Inyo Mountains A. Where in Owen s Valley Are You? (Using Polar Coordinates)

More information

Trigonometry I. Exam 0

Trigonometry I. Exam 0 Trigonometry I Trigonometry Copyright I Standards 006, Test Barry Practice Mabillard. Exam 0 www.math0s.com 1. The minimum and the maximum of a trigonometric function are shown in the diagram. a) Write

More information

EE 352 Lab 3 The Search Is On

EE 352 Lab 3 The Search Is On EE 352 Lab 3 The Search Is On Introduction In this lab you will write a program to find a pathway through a maze using a simple (brute-force) recursive (depth-first) search algorithm. 2 What you will learn

More information

Activity The Coordinate System and Descriptive Geometry

Activity The Coordinate System and Descriptive Geometry Activity 1.5.1 The Coordinate System and Descriptive Geometry Introduction North, east, south, and west. Go down the street about six blocks, take a left, and then go north for about 2 miles; you will

More information

Exercise 2.2. Explore QGIS. GIS Techniques for Monitoring and Evaluation of HIV/AIDS and Related Programs

Exercise 2.2. Explore QGIS. GIS Techniques for Monitoring and Evaluation of HIV/AIDS and Related Programs GIS Techniques for Monitoring and Evaluation of HIV/AIDS and Related Programs Exercise 2.2 Explore QGIS *This training was developed as part of a joint effort between MEASURE Evaluation and MEASURE DHS,

More information

ECAS. Conversion Specification. Provided to ECAS. Issue 4.1. Document No.

ECAS. Conversion Specification. Provided to ECAS. Issue 4.1. Document No. ECAS Mobile Conversion Specification Location Provided to ECAS Issue 4.1 Document No. Document Information Document Title Mobile Location Conversion Specification Filename Mobile Location Conversion Specification

More information

Solutions for Exercise no. 6

Solutions for Exercise no. 6 Solutions for Exercise no. 6 5.04.017 1 Geodistance Function In this task the goal is to implement a user defined function (UDF) to compute the distance (in kilometers) between two GPS coordinates. In

More information

16.6. Parametric Surfaces. Parametric Surfaces. Parametric Surfaces. Vector Calculus. Parametric Surfaces and Their Areas

16.6. Parametric Surfaces. Parametric Surfaces. Parametric Surfaces. Vector Calculus. Parametric Surfaces and Their Areas 16 Vector Calculus 16.6 and Their Areas Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. and Their Areas Here we use vector functions to describe more general

More information

3.1 Units. Angle Unit. Direction Reference

3.1 Units. Angle Unit. Direction Reference Various settings allow the user to configure the software to function to his/her preference. It is important to review all the settings prior to using the software to ensure they are set to produce the

More information