2 Pages

hw2

Course: PHYS 305, Fall 2009
School: Drexel
Rating:
 
 
 
 
 

Word Count: 424

Document Preview

305 PHYS - Assignment #2 Due: Friday, January 23rd Make sure your name is listed as a comment at the beginning of all your work. Purpose: Illustrate fractals. Practice programming and plotting. Mandelbrot Set The best known fractal and one of the most complex mathematical structure was discovered by Benoit Mandelrot in 1980. It is known as the Mandelbrot Set. The set is produced by the simple map 2 zn+1 = zn + c...

Register Now

Unformatted Document Excerpt

Coursehero >> Pennsylvania >> Drexel >> PHYS 305

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
305 PHYS - Assignment #2 Due: Friday, January 23rd Make sure your name is listed as a comment at the beginning of all your work. Purpose: Illustrate fractals. Practice programming and plotting. Mandelbrot Set The best known fractal and one of the most complex mathematical structure was discovered by Benoit Mandelrot in 1980. It is known as the Mandelbrot Set. The set is produced by the simple map 2 zn+1 = zn + c where the variable z and parameter c are complex numbers and z0 = 0. This relation can be broken in a real and imaginary notation, z = Re(z) + iIm(z) and c = Re(c) + iIm(c), to yield Re(zn+1 ) = Re(zn )2 Im(zn )2 + Re(c) Im(zn+1 ) = 2 Re(zn ) Im(zn ) + Im(c) The Mandelbrot Set is the set of points in the complex parameter space c for which the iterated map variable z remains nite for an innite number of iterations. In practice, the maximum number of iterations is taken to be nite and the set is described on a 2D numerical lattice for C centered onto the origin. The beautiful images of the set that you might have already seen are produced based on the number of iteratons of the map that lead to an escape or that reach the maximum Google allowed. will give you thousands of hits on the Mandelbrot Set. Visit some. Part A Write a C (C++) code to generate the Mandelbrot Set Set a 2D grid in c. Default the range of c to be Re(c) = [-1. 0.8], Im(c) = [-1.0,1.0] and Nreal = 200, Nimg = 180. For each c values on the c grid iterate the map in z starting at z = (Re(z), Im(z)) = (0, 0) for a depth (maximum number) of iterations of 80 or until z escapes to innity The z escape criteria is based on the fact that z will necessarily escape if it reaches the region outside of a circle of radius 2 centered onto the origin z = 0 Output the number of iterations for each value of c in stdout 1 Part B Produce a graph o...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Drexel - PHYS - 114
PHYSICS 114 Contemporary Physics II Homework 2In all problems involving solutions to problems involving equations, leave your solution in equation form until the last step. 1. Suppose we have two blocks composed of 5 harmonic oscillators each and
Drexel - I - 515
Getting SPSS Part 1 Downloading the ProgramStudents sometimes find that downloading the SPSS program is difficult. Here is some advice to make it a bit easier. I recommend that you start on this page: http:/www.drexel.edu/IRT_new/support/sw_site/ O
Binghamton - CS - 428
Course GoalsCS428: Intro to Computer Networks Provide an understanding of the principles and tradeoffs involved in building a heterogeneous large scale network such as the Internet Provide an understanding of the important protocols and applicat
Binghamton - CS - 328
Java SecurityCS-328JDK 1.0 Security ModelLocal Code Java Virtual Machine Remote CodeSandboxLocal Host System Resources (File System, Sockets, Printers.)JDK 1.1 Security ModelLocal Code Java Virtual Machine Remote Trusted Code Remote Untrus
UAB - ENCP - 100
TopicsBasic I/O operations Escape sequences Assignment statements Arithmetic expressions Rules of PrecedenceReferenceC+ Programming From Problem Analysis to Program Design: Chapter 2 (except for `string Type) and Chapter 3 (except for `Input/Out
UAB - ENCP - 100
TopicsSome predefined functions Boolean expressions in C+ Selection structuresReferenceC+ Programming From Problem Analysis to Program Design: Chapter 6 (Predefined Functions, pgs 270-272) and Chapter 4 (except for Relational Operators and the s
Allan Hancock College - CHART - 6501
= DaCapo chart starting warmup =JNI ERROR: getJNIRef for illegal offset > TOP, 0x68f6346c(top is 12)- Stack - at Lorg/jikesrvm/jni/JNIFunctions; GetObjectField(Lorg/jikesrvm/jni/JNIEnvironment;II)I at line 2267 at Lgnu/java/awt/peer/gtk/Cair
George Mason - ECE - 535
What is digital signal processing? Basic DSP system:Analog Signal Sampling Digital Signal DSP Digital Signal Reconstruction Analog SignalAdvantages: DSP hardware is exible and programmable DSP chips are relatively cheap (easily mass-produced) D
George Mason - ECE - 754
George Mason University Electrical and Computer Engineering Department ECE 754 Optimum Array Processing IProblem Set 5Spring 2009 Issued: Friday, March 20, 2009 Assigned reading 3/18/09 3/25/09 Due: Wednesday, March 25, 2009Sections 6.2-6.5 i
Drexel - MATE - 315
Polymer RheologyAntonios ZavaliangosDepartment of Materials Engineering Drexel UniversityViscosity Characterizes resistance to flow Central property for polymers processing since most work is done in the melt. Polymers are COMPLEX FLUIDS! As a
Drexel - MATE - 315
MATE 315 POLYMERS PROCESSINGAntonios ZavaliangosDepartment of Materials Engineering Drexel UniversityNylonEverything came to an unfortunate halt with the outbreak of World War II, when nylon production was commandeered for the war effort. Women
Binghamton - CS - 428
1 Last time: started congestion control, which we will continue with todayProject 3 Bootstrap Project 2 Sample implementation by email if you need it Implement either Multicast (Core Based Trees) Send join messages periodically to your RP
Binghamton - CS - 528
Shannon's limit C = B log2 (1 + SNR) In 1946, Shannon derived an upper limit on the data rate that can be supported by a given link Signal power and "electrical bandwidth" are duals if you increase the transmit power, you can send at a higher d
Drexel - MEM - 800
Homework 3 - Lecture 3Issued Lecture 3 Due Lecture 4 1. Write a VB program with the following GUIThe first 5 menu items, when selected, pop up a message box. Clicking a button (e.g. OK) will pop up a message box saying which button was chosen. Th
LSU - M - 2030
MATH 2030-1Exam 2 InformationSpring 2009Exam 2 will take place on Friday, April 3. It will cover material from Chapters 811. Definitions. You should know, and be able to work with and illustrate, basic definitions, including those of terms such
Drexel - EAP - 362
TAKING ADVANTAGE OF OILElizabeth Pillsbury and Zachary MelamedIndustry Overview Oil and Gas Equipment Services Increasing demand for oil Increasing demand for equipment and servicing of equipment involved in the procurement of oil Market C
UCF - SSE - 6388
Mary Manassah SSE 6388 Artifact Bag October 16, 2008The HolocaustItems for Artifact BagDocuments identifying business owners as Jewish In 1938, Nazis began to identify Jewish business owners to discourage Germans from doing any kind of business
UCF - SSE - 6388
Hannah Dykes Markwardt Oct. 2008 Artifact Bag on the American Industrial Revolution Artifact 1: Embargo Act cartoon Passed by Congress under President Jefferson, the Embargo Act was one of the causes of the American Industrial Revolution. Through dis
UCF - SSE - 6388
The War on TerrorDenisse Arroyo Twin Towers The World Trade Center also known as the Twin Towers was located in lower Manhattan. The Towers were located in the heart of New York City's financial district. Each tower was 110 stories high and housed 5
UCF - SSE - 6388
The Renaissance1Running Head: THE RENAISSANCEThe RenaissanceKirk Robinson SSE 6388 Dr. Waring 10/16/2008 University of Central Florida Artifact BagThe Renaissance2Introduction The historical topic I selected for my artifact bag is the R
Drexel - ECEP - 501
Drexel - ECEP - 354
ECE-P 354 Energy Management Principles Glover & Sarma, 3rd Edition, 2002 1. 2. 3. 4. 5. Problem 3.18 Problem 3.27 Problem 3.29 Problem 3.36 Problem 5.1Homework 5Due: May 10, 2005
LSU - EE - 3755
NameSolutionComputer Organization EE 3755 Practice Final Examination9 December 2001Problem 1 Problem 2 Problem 3 Problem 4 Problem 5 Problem 6 Alias always @( posedge ) Good Luck!(15 pts) (20 pts) (20 pts) (15 pts) (15 pts) (15 pts) (100 pts
George Mason - M - 214
S06-F08g.htmPage 1 of 6Plot for Exercise 6.1(c)file:/H:\OnlineODE\Solutions\Lec06\S06-F08g.htm9/17/2008S06-F08g.htmPage 2 of 6Plot for Exercise 6.2(c)file:/H:\OnlineODE\Solutions\Lec06\S06-F08g.htm9/17/2008S06-F08g.htmPage 3 of
Kalamazoo - MATH - 113
Calculus II Exam Problems111.1Review for Test 2Applications of Definite IntegralsbThe average value of a function f (x) over the closed interval [a, b] is fave = 1 b-a f (x)dx.aGiven a function y = f (x), if we spin it about the x-axis
Drexel - PHYSICS - 101
Mastering Physics Online Homework System for PHYS101Homework problems for PHYS101 will be submitted weekly through the online homework system Mastering Physics. Homework problem becomes available every Monday night at midnight and are due next Tuesd
Drexel - PHYSICS - 501
PHYS 501: Mathematical Physics IFall 2008 Homework #6 (Due: December 3, 2008)1. (a) Find the Fourier series n=1bn sin(nx), for -1 < x < 1, for the sawtooth function -1 - x (-1 < x < 0) 1-x (0 < x < 1) .f (x) =(b) Plot the partial sums SN (
LSU - E - 003
East Los Angeles College - QFT - 200506
Quantum Field Theory I Winter Term 2005/06 HomeworkLectures: Martin Wolf Problem Sets: Hendrik Adorf www.itp.uni-hannover.de/adorf, /wolfProblem Sheet 4 (Due: 07.11.2005) [H12] Wicks Theorem [2 pts] In class, Wicks theorem was proven by induction
LSU - AE - 9348
Tune Up Your Produce MarketingGood marketing is the process of fulfilling the objectives of both the buyer and the seller. The factors you have some control over are the 4 Ps of product, price, placement and promotion. Here are some tips to help you
LSU - NR - 21474
Africanized HoneybeesAfricanized honeybees were brought to Brazil in 1956 to improve local strains. In 1957, several colonies escaped. Once established in Brazil, the Africanized honeybees (AHB) moved north up the east coast of South America and int
East Los Angeles College - QFT - 200506
Quantum Field Theory I Winter Term 2005/06 HomeworkLectures: Martin Wolf Problem Sets: Hendrik Adorf www.itp.uni-hannover.de/adorf, /wolfProblem Sheet 8 (Due: 05.12.2005) [H23] The Linear Sigma Model - Part I: Tree Level [2+9+1 pts] The Linear Si
Binghamton - CS - 460
Scan Conversion Algorithms CS 460 Computer GraphicsProfessor Richard Eckert February 16, 2004 Circles Ellipses and Other 2-D Curves TextScan Converting CirclesGiven:Center: (h,k) Radius: rEquation:(x-h)2 + (y-k) 2 = r2Circle has 8-fold s
UCF - PHZ - 3151
Fortran 77 declarations Complex variables!IMPLICIT NONE INTEGER j,nt,jmax,ntmax PARAMETER(jmax=1000,ntmax=1000) DOUBLE COMPLEX a(0:jmax-1),b(0:jmax-1),c(0:jmax-1) DOUBLE COMPLEX chi(0:jmax-1),psi(0:jmax-1) DOUBLE COMPLEX ar,ai DOUBLE PRECISION L,si
Allan Hancock College - SDB - 231
Psychopharmacology (2005) 179: 470478 DOI 10.1007/s00213-004-2042-0ORIGINA L IN VESTI GATIONR. Andrew Chambers . Rachel M. Jones . Scott Brown . Jane R. TaylorNatural reward-related learning in rats with neonatal ventral hippocampal lesions and
UCF - PHY - 4605
Quiz 8 PHY 4605 Friday, March 10 1. Problem 12.2 a), Libo 2. Problem 12.2 b), Libo1
UCF - PHY - 4605
Quiz 6 PHY 4605 Friday, February 24 Each problem is worth 10 points. Please make your answers as complete as possible to receive maximum credit. 1. An initially unpolarized beam of Ag atoms is passed through a Stern-Gerlach (SG) apparatus with its ma
UCF - PHY - 4605
Homework 3 PHY 4605 Due Wednesday, February 1 1. The classical Lagrangian for a charged particle of mass m and charge q moving in an electric and magnetic field is given in Cartesian coordinates by, q 1 L = m x2 + y 2 + z 2 - q + (xAx + yAy + z
UCF - PHY - 4605
Quiz 7 PHY 4605 Friday, March 3 Show as much work as possible. Each problem counts 10 points. In class we showed that spin angular momentum states in the coupled representation can be written as linear combinations of states in the uncoupled represen
UCF - PHY - 4605
Homework 5 PHY 4605 Due Wednesday, February 22 1. Consider the 2 2 Hamiltonian matrix below, H= -2 3 - 23 - 2 - a) Is the matrix above Hermitian? State why. b) Find the eigenvalues 1 and 2 that solve the eigenvalue equation, -2 3 - 23 - 2 -
UCF - PHY - 4605
Quiz 5 PHY 4605 Friday, February 17, 2006 1. Solve the eigenvalue equation, 3 2 2 2 a b = a bIn other words, determine the eigenvalues 1 and 2 and the associated eigenvectors. Normalize the eigenvectors so that |a|2 + |b|2 = 1. 2. From the result
UCF - PHY - 4605
Homework 1 PHY 4605 Due Wednesday, January 18 1. The angular momentum Ly of a system is exactly measured to be 3 . Determine from this information the minimum value of the uncertainty Lx Lz for subsequent measurements of Lx and Lz . ^ ^ ^ ^ ^ ^ 2. Co
Binghamton - CS - 240
CS 240: Data Structures in C+Spring 2003 - Section 91 - Lab Sections 54-55Quiz #5 - 2003/03/24 Name: _=1:Circle which of the following (it could be any number of them)is a valid number of nodes a complete binary tree of height 3can ha
Allan Hancock College - SDB - 231
Journal of Experimental Psychology: Learning, Memory, and Cognition 2005, Vol. 31, No. 4, 587599Copyright 2005 by the American Psychological Association 0278-7393/05/$12.00 DOI: 10.1037/0278-7393.31.4.587The Dynamics of Experimentally Induced Cri
UCF - PHY - 6624
University of Central Florida Department of Physics Spring 2008 PHY 6624 Problem Set # 1 Due: January 18, 20081. Besides the Coulomb interaction, the electron and the proton in the hydrogen feel the socalled hyperfine interaction. In general, the H
Binghamton - CS - 220
CS 220: Computer Systems II: Architecture and ProgrammingSpring 2007 - Section 90Quiz #6 - 2007/04/30 Name: _=1:Circle which one (1) of the following is what SIMD stands for:a) Small Instructions Massive Datab) Small Instructions
East Los Angeles College - TW - 333
ff f f f f f f f f f ff f f f f f f fSAT-based Finite Model Generation for Higher-Order LogicTjark WeberLehrstuhl fr Software & Systems Engineering u Institut fr Informatik u Technische Universitt Mnchen a uLehrstuhl fr Software & Systems
UCF - TAX - 5015
TAX 5015 (Spring 2009) Chapter review exercise #7 Topic review: Partnerships Due date: March 18/19, 2009 Name(s): SOLUTION Part 1: Partnership formation. In January of 2009, Jason and Jesse contribute the following assets to become equal partners in
LSU - APPL - 003
UAB - PEDS - 203
INDIVIDUAL DIFFERENCES AND MOTOR ABILITIESCHAPTER 2OBJECTIVES UNDERSTAND THE CONCEPT OF INDIVIDUAL DIFFERENCES DISCUSS THE FUNDAMENTAL NATURE OF MOTOR ABILITIES DISCUSS THE DIFFICULTIES INHERENT IN PREDICTING A PERSONS FUTURE PERFORMANCE SUCCES
East Los Angeles College - TW - 333
Formal Nova interface specicationFormal specication of the micro-hypervisor interface (Robin deliverable D.12)Hendrik Tews Tjark Weber Erik Poll Marko van Eekelen Peter van RossumRadboud Universiteit Nijmegen, The Netherlandshttp:/www.sos.cs.ru.
East Los Angeles College - TW - 333
Efficiently Checking Propositional Refutations in HOL Theorem ProversTjark WeberInstitut fr Informatik, Technische Universitt Mnchen, Boltzmannstr. 3, u a u D-85748 Garching b. Mnchen, Germany uHasan AmjadComputer Laboratory, University of Cambr
Binghamton - CS - 220
CS 220: Computer Systems II: Architecture and ProgrammingSpring 2009 - Section A0Quiz #2 - 2009/02/23 Name: _=1:Assuming ebx contains a 20, and edi contains 16, what actualmemory offset (the full address, not including the section) will
East Los Angeles College - TW - 333
Towards Mechanized Program Verification with Separation LogicTjark WeberInstitut fr Informatik, Technische Universitt Mnchen u a u Boltzmannstr. 3, D-85748 Garching b. Mnchen, Germany u webertj@in.tum.deAbstract. Using separation logic, this pape
Drexel - PHYS - 324
TOPICS in MATHEMATICAL PHYSICS PHYS 324 TAKE HOME FINAL EXAMDistributed March 10, 2009 Due March 19, 2009, at 17:00 (5:00 PM)Instructions: Print your name on each sheet, including computer graphs. You must write your own solutions, but you are allo
NMT - EE - 308
EE 308Spring 2009The HCS12 IIC Interface The IIC bus can control multiple devices using only two wires The two wires are Clock and Data The devices connect to the wires using a wired AND method The lines are normally high. Any device on the b
Drexel - MCS - 559
Fall 1999Formal Language TheoryDr. R. Boyer1.1 Alphabets, Words, and Languages A nite nonempty set of symbols is called an alphabet, typically denoted by : A nite sequence of symbols from the alphabet is called a word or string over the alphabe
NMT - EE - 308
EE 308Spring 2006Asynchronous Data Transfer In asynchronous data transfer, there is no clock line between the two devices Both devices use internal clocks with the same frequency Both devices agree on how many data bits are in one data transfe
UCF - LIT - 4433
Things to be thinking about as you read Robert Pirsigs Zen and the Art of Motorcycle Maintenance (ZAMM). How can you shape them into a thesis for your papers? 1- What does gumption mean? How can we use this in our own work as technical writers, creat
NMT - EE - 308
EE 308 Lab Spring 2009 _9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width ModulationIntroduc
Binghamton - CS - 428
IP bits and pieces Two approaches:Sleeping/Implementing timers How was midterm? First, Project 2 Bootstrap You will have to use threads to implement your programSUNY-B INGHAMTON CS428 FALL 04 L EC. #11 One thread for control (routing/