Cartesian vs. Polar in a Predator-Prey System

Slides:



Advertisements
Similar presentations
Graphics Shapes. Setup for using graphics You have to import the graphics library You can use either “import graphics” or “from graphics import *” or.
Advertisements

Introduction to shapes
Coordinate Systems Dr. Midori Kitagawa.
Polar Coordinate System 11.3 – Polar Coordinates Used to plot and analyze equations of conics (circles, parabolas, ellipses, and hyperbolas. Another method.
The Cartesian Coordinate System
Polar Coordinates. Butterflies are among the most celebrated of all insects. Their symmetry can be explored with trigonometric functions and a system.
Chapter 8 Coordinate Systems.
Lecture 15 Today Transformations between coordinate systems 1.Cartesian to cylindrical transformations 2.Cartesian to spherical transformations.
One way to give someone directions is to tell them to go three blocks East and five blocks South. Another way to give directions is to point and say “Go.
Chapter 3 Motion in Two Dimensions
Vectors and the Geometry of Space 9. 2 Announcement Wednesday September 24, Test Chapter 9 (mostly )
CS 450: Computer Graphics 2D TRANSFORMATIONS
9.3 Polar Coordinates 9.4 Areas and Lengths in Polar Coordinates.
Wednesday, Feb. 6, 2008 PHYS , Spring 2008 Dr. Jaehoon Yu 1 PHYS 1441 – Section 002 Lecture #7 Wednesday, Feb. 6, 2008 Dr. Jaehoon Yu Motion in.
Locating Points on a Circle Sine Cosine Tangent. Coordinates Systems Review There are 3 types of coordinate systems which we will use: Absolute Incremental.
Polar Coordinates MATH 1112 S. F. Ellermeyer. Rectangular vs. Polar Coordinates Rectangular coordinates are the usual (x,y) coordinates. Polar coordinates.
CIV 104 COMPUTER AIDED TECHNICAL DRAWING CHAPTER 2 Creating Basic Drawings 1.
11.7 Cylindrical and Spherical Coordinates. The Cylindrical Coordinate System In a cylindrical coordinate system, a point P in space is represented by.
CARTESIAN COORDINATE SYSTEMS
Vectors and Linear Motion. Vector Quantities: Have a magnitude And direction ex: meters, velocity, acceleration Scalar Quantities: Have only a magnitude.
Alfred Lotka (top) Vito Volterra Predator-Prey Systems.
Section 11.7 – Conics in Polar Coordinates If e 1, the conic is a hyperbola. The ratio of the distance from a fixed point (focus) to a point on the conic.
Vectors and the Geometry of Space 2015
Polar Coordinates Packet 1. Polar Coordinates  Recording the position of an object using the distance from a fixed point and an angle made from that.
© 2010 Pearson Education, Inc. Lecture Outline Chapter 3 College Physics, 7 th Edition Wilson / Buffa / Lou.
Aim: What is the exponential function?
Aim: What is the exponential function? Do Now: Given y = 2 x, fill in the table x /8 ¼ ½ y HW: Worksheet.
Section 1.1 Rectangular Coordinates; Graphing Utilities; Introduction to Graphing Equations.
Reviewing Investigation 4. Rectangular Coordinates (Cartesian Graphs) Say we have this position vector on a regular, rectangular coordinate paper (cartesian.
Notes 10.7 – Polar Coordinates Rectangular Grid (Cartesian Coordinates) Polar Grid (Polar Coordinates) Origin Pole Positive X-axis Polar axis There is.
Holt Geometry 11-Ext Polar Coordinates 11-Ext Polar Coordinates Holt Geometry Lesson Presentation Lesson Presentation.
Orthonormal Basis Cartesian Coordinate System – Unit vectors: i, j, k – Normalized to each other – Unique representation for each position!! – Convenient!
1 Vector Decomposition y x 0 y x 0 y x 0. 2 Unit vector in 3D Cartesian coordinates.
UNIT 5: AutoCAD Coordinate Systems
Polar Co-ordinates. A polar coordinate system, gives the co-ordinates of a point with reference to a point O and a half line or ray starting at the point.
Earth's magnetic field Measuring the Earth's magnetic field at a given location.
Parametric equations Parametric equation: x and y expressed in terms of a parameter t, for example, A curve can be described by parametric equations x=x(t),
Computational Models.
11 Vectors and the Geometry of Space
Computer Graphics CC416 Week 15 3D Graphics.
Coordinate Reference Frames
King Saud university Norah Ali Al-Moneef
Section 1.1 The Distance and Midpoint Formulas; Graphing Utilities; Introduction to Graphing Equations.
Aim: What is the exponential function?
Quiz : Part 3 - The coordinate system
Cylindrical – Polar Coordinates
Physics 201, Lect. 6 Feb.4, 2010 Chapter 3: Motion in two- and three-dimensions Examples and application.
NONLINEAR SYSTEMS IN THREE DIMENSIONS
Vectors and the Geometry of Space
Computer Animation and Visualisation Lecture 4. Skinning
ID1050– Quantitative & Qualitative Reasoning
distance out from center distance up/down from center
The force on a current-carrying wire

Cartesian vs. Polar in a Predator-Prey System
Artificial Intelligence in an Agent-Based Model
Random WALK, BROWNIAN MOTION and SDEs
Section 9.1 Polar Coordinates
11 Vectors and the Geometry of Space
Orthogonal Base Cartesian Coordinate System Works in general:
Definition A Polar Coordinate System is a method of locating a point (r, ) in a plane where r is a distance from a point called the pole directed at.
Image manipulation via matrices
distance out from center distance up/down from center
Coordinate Systems Dr. Midori Kitagawa.
Systems of Differential Equations Autonomous Examples
Cylindrical and Spherical Coordinates
Position vs Time Graphs
4-2 Parabolas.
Abstract: The purpose for this project is to use the agent-based system to find an equation to calculate the population of all the different species at.
15.7 Triple Integrals.
Presentation transcript:

Cartesian vs. Polar in a Predator-Prey System By Neelesh Shrivastava

Abstract This project aims to use an agent-based system to model two different predator-prey systems. The first is in Cartesian x,y, the second is in Polar r,θ. From there, any differences between the predictions of the models will be ascertained.

Background Understanding of different ways to model population and a cursory understanding of the Lotka-Volterra equations is essential to understand population modeling in general. The Lotka-Volterra equations are a set of differential equations governing how population behaves when the two interact with each other. It assumes simple exponential growth/decay for each group, the predator and the prey, and adds a factor to decrease, for the prey, or increase, for the predator, the populations based on interactions between the two populations. Polar and Cartesian are the two most common ways to express coordinates in two dimensions. Cartesian expresses coordinates in terms of x, horizontal distance traveled, and y, vertical distance traveled. Polar expresses coordinates in terms of r, distance from the origin, and θ, counterclockwise angle from the Polar axis, the x-axis in Cartesian.

Procedure Python was be used to implement the simulations and TKinter for a graphical model. Differences, if any, between the Cartesian and Polar models will be found. Because of the way computers handle coordinates, x increases as you move right, but y increases as you move down the screen. Similarly, r increases as you move away from the top left-corner, the origin in cartesian, and theta will increase in a clock-wise direction.

Cartesian Program Seems to be completely random Generally, populations get a stable proportion, but because there is no limit on the population of the prey, it just keeps growing

Polar Program Clear tendency towards the “center”; upper-left and away from the bottom right Still gets a stable proportion like the Cartesian program Lack of limit on the prey allows the populations to grow, but it grows at a slower rate than the Cartesian program, on average

Results Cartesian systems seem random (expected result) Polar systems result in banded regions that center mostly near the “origin” (in this case, the top-left corner) Cartesian and Polar systems still keep the same proportions for predators:prey However, Polar systems generally have lower numbers of total predators and prey.

Conclusion If the program does not need a graphical component/the positions of the predators and prey are unimportant, the Polar system works fine. In any case where the position does matter and the system needs to be random, the Cartesian program is needed. Did not test for directed movement, but based on the results here, Cartesian would work better.

Extensions Directed movement, other modifications to the 3D coordinate systems (Cartesian, Cylindrical, Spherical) Other applications which require the use of coordinate systems (anything that requires graphics, projectile motion)

Any questions?