Skip to content

Commit

Permalink
adding figures
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrell committed Oct 3, 2017
1 parent 9263ea5 commit 500a062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand All @@ -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)
Binary file added figures/figure01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 500a062

Please sign in to comment.