AS Maths Decision Paper January 2011 Model Answers.

Slides:



Advertisements
Similar presentations
Decision Maths Networks Kruskals Algorithm Wiltshire Networks A Network is a weighted graph, which just means there is a number associated with each.
Advertisements

Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
Minimum Spanning Tree Sarah Brubaker Tuesday 4/22/8.
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
What is the first line of the proof? a). Assume G has an Eulerian circuit. b). Assume every vertex has even degree. c). Let v be any vertex in G. d). Let.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
Discrete Math for CS Chapter 7: Graphs. Discrete Math for CS Map of Koenigsberg at the time of Euler.
Discrete Math for CS Chapter 8: Directed Graphs. Discrete Math for CS digraph: A digraph is a graph G = (V,E) where V is a finite set of vertices and.
Algorithms on graphs In Decision Mathematics, a graph consists of points (called vertices or nodes) which are connected by lines (edges or arcs). Eg in.
Chapter 9: Graphs Basic Concepts
The Travelling Salesman Algorithm A Salesman has to visit lots of different stores and return to the starting base On a graph this means visiting every.
C o n f i d e n t i a l HOME NEXT Subject Name: Data Structure Using C Unit Title: Graphs.
Programming for Geographical Information Analysis: Advanced Skills Online mini-lecture: Introduction to Networks Dr Andy Evans.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
University of Texas at Arlington Srikanth Vadada Kishan Kumar B P Fall CSE 5311 Solving Travelling Salesman Problem for Metric Graphs using MST.
Chapter 2 Graph Algorithms.
Graph Theory Topics to be covered:
Graph Theory Hamilton Paths and Hamilton Circuits.
Networks.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
TCP Traffic and Congestion Control in ATM Networks
Fundamental Data Structures and Algorithms (Spring ’05) Recitation Notes: Graphs Slides prepared by Uri Dekel, Based on recitation.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Graphs. Graphs Similar to the graphs you’ve known since the 5 th grade: line graphs, bar graphs, etc., but more general. Those mathematical graphs are.
By Meli & Amy & Meggie & Bex. What is route inspection hmmmm??? Objective: Is to go along every single edge and end up back to where you started from.
Prims Algorithm for finding a minimum spanning tree
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
1.Which of the following is NOT an algorithm? a.A set of instructions used to build a wardrobe b.A flow chart used to solve a quadratic equation c.A note.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
DECISION 1. How do you do a Bubble Sort? Bubble Sort:  You compare adjacent items in a list;  If they are in order, leave them.  If they are not in.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
Linear Programming Model Answers. Jan 2008 Type A 2x + 4y + 3z≤ 360 Type B 3x + 2y + 4z≤ 270 Type C x + 3y + 5z≤ 450 Altogether 6x + 9y + 12z≥ 720 (the.
AS Decision Maths Tips for each Topic. Kruskal and Prim What examiner’s are looking for A table of values in the order that they are added and the total.
Unit 3 Chinese Postman. Non - Eulerian Semi - Eulerian Eulerian.
EMIS 8373: Integer Programming Combinatorial Optimization Problems updated 27 January 2005.
The graph is neither Eulerian or Semi – Eulerian as it has 4 ODD vertices.
MAT 110 Workshop Created by Michael Brown, Haden McDonald & Myra Bentley for use by the Center for Academic Support.
Chinese Postman Problem
AS Maths Decision Paper June 2011 Model Answers.
CS1022 Computer Programming & Principles
Redraw these graphs so that none of the line intersect except at the vertices B C D E F G H.
AS Maths Decision Paper June 2011 Model Answers.
Section 2: Multiple choice
Minimum Spanning Trees and Shortest Paths
Chapter 2: Business Efficiency Lesson Plan
Jan 2007.
Planar Graphs & Euler’s Formula
Topological Sort (topological order)
Spanning Trees Discrete Mathematics.
Graph Algorithm.
Chapter 9: Graphs Basic Concepts
AS Maths Decision Paper January 2006 Model Answers.
Section 2: Multiple choice
AS Maths Decision Paper January 2012 Model Answers.
Decision Maths Graphs.
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
AS Maths Decision Paper January 2010 Model Answers.
Networks Kruskal’s Algorithm
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler circuit Theorem 1 If a graph G has an Eulerian path, then it must have exactly two odd vertices. Theorem 2 If a graph G has an Eulerian circuit,
Graphs CS 2606.
Kruskal’s Algorithm AQR.
AS Maths Decision Paper June 2013 Model Answers.
Chapter 9: Graphs Basic Concepts
Jan 2009.
Presentation transcript:

AS Maths Decision Paper January 2011 Model Answers

It is important students have a copy of the questions as you go through the model answers.

GradeABCDE Marks Grade Boundaries

1a) A B C D E F This is an adjacency matrix

Initial Matchings A1B2C3D4E5F6A1B2C3D4E5F6 A - 5/ B - 6 then C - 4/ E - 2 / D - 6 / B - 3/ F - 1 You must show your Final Matchings Match A5, B3, C4, D6, E2, F1 There are alternate ways to find the final matchings One potential matching is

a) The pivots used after the first pass and therefore for the second pass are 7 and 22 b) First Pass 7 Second Pass 5 Third Pass 3 c) No, because 16 and 19 have not been compared

EB = 5 EH = 7 AB = 8 HI = 9 AD = 10 DG = 4 EF = 12 FC = 6 Length of spanning tree = =61

A H F B E C I D G A H F B E C I D G Original Spanning tree = 61 AB and BE dropped = -13 GE added= 11 New Spanning tree = (61 – ) = 59 aiii) b)

A – D – F – I – J

The minimum time from A to G is 12 minutes If you use the subway (CG) this time is reduced. You must use AC = the subway Therefore the subway (CG) must be < 4.5 (12 – 7.5) The minimum time from A to J is not reduced. The time taken from A to J is 18 minutes (last question) If you use the subway, then to get to J you must use AC and GJ = 16.5 minutes ( ) As the minimum time is not reduced then CG ≥ 1.5 The time taken for CG must be 1.5 ≤ x < 4.5

The graph is neither Eulerian or semi Eulerian as it has 4 odd vertices

These are the ODD vertices AB + GH AG + BH AH + BG AB (180) +GH (165) = 345 AG (90) +BH (210) =300 AH (150) +BG (210) = 360 Repeat AG + BH = 300 Length of route = = 1515 metres

Add the repeated edges on to your graph AG (90) + BH (210) = 300 Repeated edges F now has 6 edges so will be visited 6 ÷ 2 times = 3 H now has 4 edges so will be visited 4 ÷ 2 times = 2

A D C B E A complete graph for k is shown 5 Starting at A there are 4 unused edges From B there are 3 unused edges From C there are 2 unused edges From D there is 1 unused edge From E there are 0 unused edges Total number of edges is = 10 Edges

A D C B E aii) The number of edges in a minimum spanning tree for graph k is n – 1 vertices = 5 5 – 1 = 4 aiii) As a HAMILTONIAN cycle visits each vertex once, returning to the start vertex, then 5 Edges (An example is shown)

b) A simple graph has six vertices. It also has 9 edges an is Eulerian which means every vertex will have an even number of edges leaving them A B C D E F A has 4 edges, B has 2 edges, C has 4 edges, D has 2 edges, E has 4 edges and F has 2 edges

BACDEBBACDEB = 33 BAEDCBBAEDCB = 41

You are left with A, B, D, E the nearest neighbour produces a spanning tree like this A B 3 E 4 D 10 = 17 Now add the two shortest neighbours to C which are CD = 5 andCA = 11 C 11 D 5 A Total is = 33

A B 3 E 4 D 10 C 11 5 It is an optimal journey

KEY INFORMATION

X Line 10 0 Line 20 A B 20 8 Line 6010 Line Line 60 5 Line Line Line 60 Print 160 Line 602 Line Line Line Line 90 Ques 8

The algorithm defines the MULTIPLICATION of A and B If Line 50 read If A = 1, then go to Line 80 it would create A CONTINUOUS LOOP as it will never reach LINE 90

Tins 6x + 9y + 9z ≤ 600Simplified 2x + 3y + 3z ≤ 200 Packets 9x + 6y + 9z ≤ 600 Simplified 3x + 2y + 3z ≤ 200 Bottles 6x + 12y + 18z ≥ 480Simplified x + 2y + 3z ≥ 80

So z = y 2x + 3y + 3z ≤ 200 → 3x + 2y + 3z ≤ 200 → x + 2y + 3z ≥ 80 → As z = y, then put the z and y values together as y’s 2x + 6y ≤ 200 → 3x + 5y ≤ 200 x + 3y ≤ 100 x + 5y ≤ 80

Write each inequality as an equation 3x + 5y ≤ 200 becomes x + 3y ≤ 100 becomes x + 5y ≤ 80 becomes x + 3y = 100 3x + 5y = 200 x + 5y = 80 Also remember that x, y and z are also ≥ 0 Now plot the graph See next slide

x + 5y = 80 x + 3y = 100 3x + 5y = 200 x ≤ 0 y ≤ 0 Feasible Region iii) Maximum is when x = 25 and y = 25 Remember x + 2y as there are 3 variables, x, y and z and z = y So x + 2y = = 75 iv) 25 basic 25 standard 25 luxury ii)