Skip to content

update to newest Cooper fork #2

Merged
merged 32 commits into from
Feb 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
e5b6204
added lecture_05
rcc02007 Jan 26, 2017
e44a490
added lecture_05
rcc02007 Jan 26, 2017
af7ae19
added HW 2
rcc02007 Jan 27, 2017
7696985
format HW2
rcc02007 Jan 27, 2017
7f93380
fix typo in HW2
rcc02007 Jan 27, 2017
a498831
add HW2 figure
rcc02007 Jan 28, 2017
9cff604
Merge branch 'master' of https://github.uconn.edu/rcc02007/ME3255S2017
rcc02007 Jan 28, 2017
490943d
add HW2 figure png
rcc02007 Jan 28, 2017
0156322
add HW2 figure png
rcc02007 Jan 28, 2017
f8b20da
Update README.md
rcc02007 Jan 28, 2017
ae2b934
Update syllabus tools used
rcc02007 Jan 28, 2017
436a6ba
Update syllabus tools used and format
rcc02007 Jan 28, 2017
ab77768
Add matlab link
rcc02007 Jan 28, 2017
517b20c
Add links for octave and github
rcc02007 Jan 28, 2017
561666b
Peiyu's office hour is updated.
pez16103 Jan 30, 2017
67cefad
updated lecture 05
rcc02007 Jan 31, 2017
db85c52
Merge branch 'master' of https://github.uconn.edu/rcc02007/ME3255S2017
rcc02007 Jan 31, 2017
908bbf1
updated lecture 06
rcc02007 Feb 2, 2017
2ce5ca3
updated lecture 07
rcc02007 Feb 7, 2017
1282935
updated lecture 07 output
rcc02007 Feb 7, 2017
3bfd22a
updated lecture 07 pdf and markdown
rcc02007 Feb 7, 2017
3519f1b
added HW3
rcc02007 Feb 8, 2017
6e10962
added HW3
rcc02007 Feb 8, 2017
889acf4
update HW3
rcc02007 Feb 13, 2017
4b1d857
update HW3
rcc02007 Feb 13, 2017
593b1de
updated HW3 1d
rcc02007 Feb 13, 2017
59658f7
Delete �Y
rcc02007 Feb 13, 2017
e5f170b
Delete �40
rcc02007 Feb 13, 2017
5128cfd
update lecture 08
rcc02007 Feb 14, 2017
9e7d607
Merge branch 'master' of https://github.uconn.edu/rcc02007/ME3255S2017
rcc02007 Feb 14, 2017
c994d71
format lecture_08.pdf
rcc02007 Feb 14, 2017
4c0d2a9
update syllabus
rcc02007 Feb 14, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
36 changes: 36 additions & 0 deletions HW2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Homework #2
## due 2/3/17

1. Now that you have created your own repository, 'homework_1', that has a README.md file.
Create a new file in this repository called `setdefaults.m`. This file is a matlab/octave
script that will set default plotting parameters. In this file, add the following lines:

```matlab
set(0, 'defaultAxesFontSize', 16)
set(0,'defaultTextFontSize',14)
set(0,'defaultLineLineWidth',3)
```

Commit the changes to your repository.

![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
height is 1.72 m.

```matlab
>> h=projectile(v_mag,theta)

h= 1
```

In addition to the output of `h`-height at 2.37 m-plot the path of the object from its
initial position to its position at 2.37 m away from the start. *Note: use your
`setdefaults.m` to set the plot defaults before outputting the result.*
Binary file added HW2/projectile.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
334 changes: 334 additions & 0 deletions HW2/projectile.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.