Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
replaced blank graph 06_roots-1
  • Loading branch information
rcc02007 committed Sep 21, 2017
1 parent 162abcd commit 0f7b5b6
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 33 deletions.
40 changes: 11 additions & 29 deletions 06_roots-1/.ipynb_checkpoints/06_roots-1-checkpoint.ipynb
Expand Up @@ -349,7 +349,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 3,
"metadata": {
"collapsed": false,
"slideshow": {
Expand All @@ -361,39 +361,21 @@
"name": "stdout",
"output_type": "stream",
"text": [
"'incsearch' is a function from the file /home/ryan/Documents/UConn/ME3255/course_git_F2017/06_roots and optimization/incsearch.m\n",
"\n",
" incsearch: incremental search root locator\n",
" xb = incsearch(func,xmin,xmax,ns):\n",
" finds brackets of x that contain sign changes\n",
" of a function on an interval\n",
" input:\n",
" func = name of function\n",
" xmin, xmax = endpoints of interval\n",
" ns = number of subintervals (default = 50)\n",
" output:\n",
" xb(k,1) is the lower bound of the kth sign change\n",
" xb(k,2) is the upper bound of the kth sign change\n",
" If no brackets found, xb = [].\n",
"\n",
"\n",
"Additional help for built-in functions and operators is\n",
"available in the online version of the manual. Use the command\n",
"'doc <topic>' to search the manual index.\n",
"number of brackets: 1\n",
"ans =\n",
"\n",
"Help and information about Octave is also available on the WWW\n",
"at http://www.octave.org and via the help@octave.org\n",
"mailing list.\n"
" 141.84 144.90\n",
"\n"
]
}
],
"source": [
"help incsearch"
"incsearch(f_m,50,200)"
]
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 4,
"metadata": {
"collapsed": false,
"scrolled": true,
Expand Down Expand Up @@ -627,7 +609,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 9,
"metadata": {
"collapsed": false,
"scrolled": true,
Expand Down Expand Up @@ -764,13 +746,13 @@
"\t<g id=\"gnuplot_plot_3a\"><title>gnuplot_plot_3a</title>\n",
"<g color=\"black\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-width=\"3.00\">\n",
"\t<g onmousemove=\"gnuplot_svg.showHypertext(evt,'')\" onmouseout=\"gnuplot_svg.hideHypertext()\"><title> </title>\n",
"\t<use color=\"rgb(255, 0, 0)\" transform=\"translate(402.3,73.1) scale(12.00)\" xlink:href=\"#gpPt3\"/></g>\n",
"\t<use color=\"rgb(255, 0, 0)\" transform=\"translate(409.3,69.8) scale(12.00)\" xlink:href=\"#gpPt3\"/></g>\n",
"</g>\n",
"\t</g>\n",
"\t<g id=\"gnuplot_plot_4a\"><title>gnuplot_plot_4a</title>\n",
"<g color=\"black\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-width=\"3.00\">\n",
"\t<path d=\"M398.3,77.9 \" stroke=\"rgb( 0, 191, 191)\"/>\t<g onmousemove=\"gnuplot_svg.showHypertext(evt,'')\" onmouseout=\"gnuplot_svg.hideHypertext()\"><title> </title>\n",
"\t<use color=\"rgb( 0, 191, 191)\" transform=\"translate(398.3,77.9) scale(4.00)\" xlink:href=\"#gpPt6\"/></g>\n",
"\t<path d=\"M402.3,77.9 \" stroke=\"rgb( 0, 191, 191)\"/>\t<g onmousemove=\"gnuplot_svg.showHypertext(evt,'')\" onmouseout=\"gnuplot_svg.hideHypertext()\"><title> </title>\n",
"\t<use color=\"rgb( 0, 191, 191)\" transform=\"translate(402.3,77.9) scale(4.00)\" xlink:href=\"#gpPt6\"/></g>\n",
"</g>\n",
"\t</g>\n",
"<g color=\"white\" fill=\"none\" stroke=\"rgb( 0, 191, 191)\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-width=\"2.00\">\n",
Expand Down

0 comments on commit 0f7b5b6

Please sign in to comment.