diff --git a/HW2/README.md b/HW2/README.md index b182619..f74173b 100644 --- a/HW2/README.md +++ b/HW2/README.md @@ -13,7 +13,13 @@ script that will set default plotting parameters. In this file, add the followin Commit the changes to your repository. -2. Clone your 'homework_1' repository to your own computer. Create a function, + ![projectile(v_mag,theta) predicts the height of the projectile based upon initial +velocity and position, as see in the Figure](projectile.png) + +2. Clone your 'homework_1' repository to your own computer. Now, we want to create a +function that uses kinematic formulas to predict the path of a projectile. The dimensions +are taken from official dart board dimensions +[darts](http://dartbrokers.com/dartboard-height.html). Create a function, `projectile.m` that will calculate the location of an object with an initial velocity. The function inputs are v_mag (initial speed), theta (initial angle). The output is the height of the object 2.37 m from its starting position. Assume g=9.81 m/s^2 and its initial diff --git a/HW2/projectile.png b/HW2/projectile.png new file mode 100644 index 0000000..f544224 Binary files /dev/null and b/HW2/projectile.png differ diff --git a/HW2/projectile.svg b/HW2/projectile.svg new file mode 100644 index 0000000..bb33043 --- /dev/null +++ b/HW2/projectile.svg @@ -0,0 +1,331 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + 2.37 m + + + + v_mag + theta + + h + + 1.72 m + + diff --git a/README.md b/README.md index eebd665..8059993 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,20 @@ matlab/octave functions and programming best practices. ## Teaching Assistants: - Graduate: Peiyu Zhang -- Office hours: 2 hours / week +- Office hours: Friday 9:00-11:00am in Engineering II room 315 +## Course Information **Prerequisite:** CE 3110, MATH 2410Q **Textbook:** Chapra, Steven, *Applied Numerical Methods with MATLAB for Engineers and Scientists* 3rd edition. +**Tools used:** [Matlab](https://www.mathworks.com/products/matlab.html), +[Octave](https://www.gnu.org/software/octave/) , [Github](https://github.com). + +**Recommended tools:** Github Desktop, git, Atom (text editor), Vim (text editor), +Jupiter notebook (with matlab or octave kernel) + ## Grading | Item | Percent | Requirement |