From c658d93d0bca47ee0cfdf1890eae4cac41550c35 Mon Sep 17 00:00:00 2001 From: Braisted Date: Thu, 14 Sep 2017 11:34:23 -0400 Subject: [PATCH] figure freefall --- Problem 3/figure01.png | Bin 113376 -> 113376 bytes README.md | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Problem 3/figure01.png b/Problem 3/figure01.png index 9849545ee2788e9c316e462093f80017ecf58fdd..0746488bc74b4fb720ed214dbd19602b6e328c2d 100644 GIT binary patch delta 35 rcmaFxmF>Y-wh7K`3c}A)Lt7?#hH@GkSs7aNyM%3TT)uTVqvb9D4zLb? delta 35 rcmaFxmF>Y-wh7K`ver8-wjP-18Omv7X=Q3z=EpmwarxHejF!6q6Lb!C diff --git a/README.md b/README.md index 192077e..6443746 100644 --- a/README.md +++ b/README.md @@ -54,4 +54,28 @@ saveas(h,'figure_02.png') ``` ![Cumulative US Energy Use per Year from 1949-2016](./Problem 4/figure_02.png) +#Problem freefall + +```MATLAB +g=figure(); +hold on +timespan=30; + +for h=[.1,1,5] + freefall(h,timespan) +end +set(0, 'defaultAxesFontSize', 16) +set(0,'defaultTextFontSize',14) +set(0,'defaultLineLineWidth',3) +set(gcf, 'Position', [200, 200, 1000, 800]) +xlabel('Time (seconds)') +ylabel('Velocity (meters/second)') +legend('v analytical(0.1)','v numerical(0.1)','v analytical(1)','v numerical(1)','v analytical(5)','v numerical(5)','Location','southeast') +title('Velocity Comparison by Varying Time Steps') + +saveas(g,'figure01.png') +``` + +![Velocity Comparison by Varying Time Steps](./Problem 3/figure01.png) + #Problem 5 (Velocity and Acceleration)