Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adding 2c
2c
  • Loading branch information
tjc14008 committed Oct 6, 2017
1 parent bdaa13b commit 1820bcb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,9 +17,9 @@ cat_cable = @(T) -35+T/10.*cosh(10./T*30)+30-T/10;


```matlab
| solver | initial guess(es) | ea | number of iterations|
| solver | initial guess | ea | number of iterations|
| --- | --- | --- | --- |
|falsepos | 900, 910 | 0.00001| 4 |
|falsepos | 900, 910 | 0.00001| 4 |
|mod_secant | 900, 910 | 0.00001| 50 |
|bisect | 900, 910 | 0.00001| 17 |
```
5 changes: 5 additions & 0 deletions plot_cat.m
@@ -0,0 +1,5 @@
cat_cable = @(x) -35+908.2131/10.*cosh(10./908.2131*x)+30-908.2131/10;
x= -10:50;
plot(x,cat_cable(x))
f = figure(1);
saveas(f,'problem1c.png');
Binary file added problem1c.png
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 1820bcb

Please sign in to comment.