diff --git a/README.md b/README.md index fb1c433..acb2b74 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ME3255 HW2 #Problem 2 -****Part A +Part A ```MatLab function [root,fx,ea,iter]=bisect(func,xl,xu,es,maxit,varargin) @@ -119,12 +119,11 @@ end root = xr; ``` -****Part B +Part B -****Part C +Part C ```MatLab - cat_cable = @(T) T/10.*cosh(10./T*30)+30-T/10-35; [root,fx,ea,iter] = falsepos(cat_cable,100,1000,0.00001,10000); [root1,fx1,ea1,iter1] = bisect(cat_cable,100,1000,0.00001,10000); @@ -142,5 +141,5 @@ title('Final Powerline Shape') xlabel('distance (m)') ylabel('height (m)') print('figure01','-dpng') - ``` +![Plot showing the final shape of the powerline](./figures/figure01.png) diff --git a/figures/figure01.png b/figures/figure01.png new file mode 100644 index 0000000..1491371 Binary files /dev/null and b/figures/figure01.png differ