problem2homework1 (1) - Calculating and graphing for...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Calculating and graphing for Problem 2, Homework #1: My approach for part (b) was one of trial and errror. I calculated the downstream drift distance x for angles between 0 and pi/2 radians (0 and 90 degrees), sifting through in increments of pi/100. I then printed out a list of x vs theta to a data file. Here is the program I wrote that calculates the values of X vs theta: Below I have pasted the data file. As you can see, at 0 degrees, x=30 (yards). Notice that it decreases to a minimum of 28.28 yards at an angle of 0.3455 (radians), which is (0.3455/3.14159)*180 = 19.8 degrees. (This is an angle of 160.2 degrees from North) (When I want to do a calculation like this, I write a small program using the Fortran programming language. I find that doing this routinely helps to keep my programming abilities from slipping away. You are welcome to use any programming language that you like to do the same you are not obligated to use Fortran. If you don’t know any programming language at all (yet), then you could simply study my 9- line example above; this is all the Fortran you will need for this class! You can always download the free “FORCE Fortran” compiler.)
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
The left hand column is the angle, in radians. The right hand column is the downstream drift distance, in
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern