<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Math on traviscj/blog</title>
    <link>https://traviscj.com/blog/tags/math/</link>
    <description>Recent content in Math on traviscj/blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 27 Mar 2025 10:36:04 -0500</lastBuildDate>
    <atom:link href="https://traviscj.com/blog/tags/math/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>loan trickery</title>
      <link>https://traviscj.com/blog/post/2025-03-27-loan-trickery/</link>
      <pubDate>Thu, 27 Mar 2025 10:36:04 -0500</pubDate>
      <guid>https://traviscj.com/blog/post/2025-03-27-loan-trickery/</guid>
      <description>&lt;p&gt;I have this &amp;ldquo;American Express Blueprint Business Loan&amp;rdquo; product to have a line of credit for the rentals if I&amp;rsquo;m ever in a pinch.&lt;/p&gt;&#xA;&lt;p&gt;They allow up to $21,700 with this very easy application process, you basically just slide a slider to the amount needed &amp;amp; select between 6, 12, 18, 24 months:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://traviscj.com/blog/assets/amex-slider.png&#34; alt=&#34;amex-slider&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This shows a schedule like this:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://traviscj.com/blog/assets/amex-6mo-schedule.png&#34; alt=&#34;amex-6mo-schedule&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Looking at this, there&amp;rsquo;s a lot of temptation to think&lt;/p&gt;</description>
    </item>
    <item>
      <title>profitably wrong</title>
      <link>https://traviscj.com/blog/post/2018-01-09-profitably_wrong/</link>
      <pubDate>Tue, 09 Jan 2018 08:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2018-01-09-profitably_wrong/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve come to realize that my career so far has been built on being &amp;ldquo;profitably wrong.&amp;rdquo;&#xA;I think this is interesting because the usual approaches are being &amp;ldquo;profitably fast&amp;rdquo; (optimizing)&#xA;or &amp;ldquo;profitably better&amp;rdquo; (improving),&#xA;and most people think of any kind of wrongness as being a terrible thing.&#xA;But sometimes the best way to optimize or improve is &lt;em&gt;approximating&lt;/em&gt;!&lt;/p&gt;&#xA;&lt;p&gt;The definitions of &amp;ldquo;profitably&amp;rdquo; has changed as I&amp;rsquo;ve worked on different things, as has the specific type of &amp;ldquo;wrongness&amp;rdquo;.&#xA;A couple specific ways accepting &amp;ldquo;wrongness&amp;rdquo; have been profitable for me include:&lt;/p&gt;</description>
    </item>
    <item>
      <title>dancing bull pricing structure</title>
      <link>https://traviscj.com/blog/post/2018-01-04-dancing-bull-pricing-structure/</link>
      <pubDate>Thu, 04 Jan 2018 00:10:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2018-01-04-dancing-bull-pricing-structure/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.yelp.com/biz/dancing-bull-san-francisco&#34;&gt;Dancing Bull&lt;/a&gt; is a great Korean BBQ restaurant that opened nearby recently.&#xA;They have this pricing scheme:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;assets/bulgogi.jpg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Note that the &lt;em&gt;unlimited&lt;/em&gt; bulgogi is \$23/person, but the bulgogi &lt;em&gt;a la carte&lt;/em&gt; is \$25/grill (with each additional orders after that costing \$9).&#xA;This raises an obvious question: which is the better deal?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Spoiler&lt;/strong&gt;: it depends on both how many people you have &lt;em&gt;and&lt;/em&gt; how hungry they are.&lt;/p&gt;&#xA;&lt;p&gt;First, we had to clarify how it actually worked.&#xA;It&amp;rsquo;s not clear from the menu, but the &amp;ldquo;\$25/grill&amp;rdquo; includes the first order of bulgogi.&#xA;Introducing $P$ for the number of people, $G$ for the number of grills, and $O$ for the total number of orders, we would pay $$UL = 23\cdot P$$ for the unlimited price scheme vs $$ALC = 25\cdot G + 9\cdot ( O - G)$$ for the a la carte scheme.&lt;/p&gt;</description>
    </item>
    <item>
      <title>snack buying</title>
      <link>https://traviscj.com/blog/post/2017-11-13-snack-buying/</link>
      <pubDate>Mon, 13 Nov 2017 07:01:25 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2017-11-13-snack-buying/</guid>
      <description>&lt;p&gt;I got this text message from my father-in-law:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Ok. Soda 1.50&#xA;Chocolate bar 1.00&#xA;Gum 0.10&#xA;Jelly Bean .05&lt;/p&gt;&#xA;&lt;p&gt;Have to buy exactly 14 items and spend $10&lt;/p&gt;&#xA;&lt;p&gt;At least one of each.&lt;/p&gt;&#xA;&lt;p&gt;There are 4 diff combos. (Order: soda, chocolate, gum and jelly bean)&lt;/p&gt;&#xA;&lt;p&gt;Got 5-2-3-4&#xA;3-5-4-2&lt;/p&gt;&#xA;&lt;p&gt;Can’t get others. Any ideas?  :)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I whipped up this solution to check in python:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;#!/usr/bin/python3&#xA;# created_at: 2017-11-13 13:53:19 -0800&#xA;&#xA;def main():&#xA;    solutions = 0&#xA;    for si in range(1,7):&#xA;        for ci in range(1,11):&#xA;            for gi in range(1,101):&#xA;                for ji in range(1,201):&#xA;                    total = si*150 + ci*100 + gi*10 + ji*5&#xA;                    items = si + ci + gi + ji&#xA;                    if total == 1000 and items == 14:&#xA;                        print(si,ci,gi,ji, total, items)&#xA;                        solutions += 1&#xA;    print(solutions)&#xA;&#xA;if __name__ == &amp;quot;__main__&amp;quot;:&#xA;    main()&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;The core of this solution is the check&lt;/p&gt;</description>
    </item>
    <item>
      <title>slide rules</title>
      <link>https://traviscj.com/blog/post/2014-11-19-slide_rules/</link>
      <pubDate>Wed, 19 Nov 2014 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2014-11-19-slide_rules/</guid>
      <description>&lt;p&gt;Suppose you want to evaluate the multiplication problem $C = A\cdot B$.&#xA;But you forgot your times tables, so you are stuck using your &lt;a href=&#34;http://www.amazon.com/Timex-T49825DH-Expedition-Stainless-Steel/dp/B003Y3B1NA&#34;&gt;expedition watch&lt;/a&gt; or something.&#xA;In fact, you can even make your own out of a couple of slips of paper, if you really need to.&lt;/p&gt;&#xA;&lt;p&gt;First bit of background:&#xA;One of the rules you probably learned and I definitely forgot was the rule of logs:&#xA;$$ C = A\cdot B \equiv \log C = \log(A\cdot B) = \log A + \log B$$&#xA;This ends up being useful for slide rules, because you can easily add distances together&#xA;by putting two things next to eachother!&#xA;So that is exactly what we do.&#xA;We add the logarithms by putting things next to eachother.&lt;/p&gt;</description>
    </item>
    <item>
      <title>14 vs 1499 vs 15</title>
      <link>https://traviscj.com/blog/post/2014-08-22-14_vs_1499_vs_15/</link>
      <pubDate>Fri, 22 Aug 2014 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2014-08-22-14_vs_1499_vs_15/</guid>
      <description>&lt;p&gt;Sometimes, it is tempting to see 14.99 and say &amp;ldquo;about 14,&amp;rdquo; even though we all know better.&#xA;The problem with this is that by giving a 0.07% discount&#xA;(14.99 vs 15),&#xA;they have made you estimate a 7% discount (14 vs 15).&lt;/p&gt;&#xA;&lt;p&gt;Nice trick!&lt;/p&gt;</description>
    </item>
    <item>
      <title>overly-ambitious-isqo and the design of numerical codes</title>
      <link>https://traviscj.com/blog/post/2013-10-23-overly-ambitious-isqo_and_the_design_of_numerical_codes/</link>
      <pubDate>Wed, 23 Oct 2013 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2013-10-23-overly-ambitious-isqo_and_the_design_of_numerical_codes/</guid>
      <description>&lt;p&gt;I have finally released the &lt;a href=&#34;https://github.com/traviscj/overly-ambitious-isqo&#34;&gt;overly-ambitious-isqo&lt;/a&gt; project on github!&lt;/p&gt;&#xA;&lt;p&gt;I wanted to call out two particular design concerns I had.&lt;/p&gt;&#xA;&lt;h2 id=&#34;rich-language&#34;&gt;rich language&lt;/h2&gt;&#xA;&lt;p&gt;My first goal was to try very hard to build up the C language to very succinctly express the main algorithm in &lt;code&gt;src/isqo_functor.cpp&lt;/code&gt; in extremely rich language. It seems like numerical code is typically implemented with loops like &lt;code&gt;for (int i=0; i&amp;lt;N; i)&lt;/code&gt; and method calls like &lt;code&gt;deltal(xhat, mu)&lt;/code&gt;. I have found it much easier to reason and think deeply about codes like &lt;code&gt;for (int primal_index=0; primal_index &amp;lt; num_primal; primal_index)&lt;/code&gt; and method calls like &lt;code&gt;linear_model_reduction(penalty_iterate, penalty_parameter)&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>a really simple iterative refinement example</title>
      <link>https://traviscj.com/blog/post/2013-10-17-a_really_simple_iterative_refinement_example/</link>
      <pubDate>Thu, 17 Oct 2013 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2013-10-17-a_really_simple_iterative_refinement_example/</guid>
      <description>&lt;p&gt;I wanted to have a quick example of what iterative refinement is and looks like.&lt;/p&gt;&#xA;&lt;p&gt;Suppose you wanted to solve the (very simple!) problem of solving 5.1x=16, without dividing by decimal numbers. (Yes, this is a bit contrived–I&amp;rsquo;m not sure why you would be able to divide by an integer to get a decimal, but not divide by a decimal to get a decimal. Bear with me.)&lt;/p&gt;&#xA;&lt;p&gt;The standard way would be, of course, to simply evaluate x = (5.1)^{-1}16=3.137254. But this is not available–you can&amp;rsquo;t find an inverse of multiplying by 5.1!&lt;/p&gt;</description>
    </item>
    <item>
      <title>spring-mass visualization</title>
      <link>https://traviscj.com/blog/post/2013-07-31-spring-mass_visualization/</link>
      <pubDate>Wed, 31 Jul 2013 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2013-07-31-spring-mass_visualization/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m working on a paper about an algorithm for hotstarting nonlinear program solves; one application of this might be in the realm of nonlinear model predictive control.&#xA;In these types of models, we first define the physical equations for the system under consideration.&#xA;They are subject to some control parameters, which are just a mathematical representation of the input we could give the system.&#xA;We also define an objective&amp;ndash;something that we would like to minimize(usually something like time or energy).&lt;/p&gt;</description>
    </item>
    <item>
      <title>some tips for project euler problems</title>
      <link>https://traviscj.com/blog/post/2013-01-26-some_tips_for_project_euler_problems/</link>
      <pubDate>Sat, 26 Jan 2013 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2013-01-26-some_tips_for_project_euler_problems/</guid>
      <description>&lt;p&gt;I wanted to make a list of a few tips on solving &lt;a href=&#34;http://projecteuler.net&#34;&gt;Project Euler&lt;/a&gt; problems that have been helpful for me while I solve them.&#xA;These are general principles, even though I do most of my Project Euler coding in Python.&lt;/p&gt;&#xA;&lt;p&gt;Without further ado:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If the problem is asking for something concerning the number of digits, typically this indicates that the use of the $\log n$ function is warranted.&lt;/li&gt;&#xA;&lt;li&gt;If the problem is asking for the last few digits, modulo arithmetic might speed it up considerably.&lt;/li&gt;&#xA;&lt;li&gt;Some might consider this cheating, but looking up some small numbers in the &lt;a href=&#34;http://oeis.org/&#34;&gt;Online Encyclopedia of Integer Sequences&lt;/a&gt; is occasionally pretty helpful.&lt;/li&gt;&#xA;&lt;li&gt;Many problems boil down to: Find numbers with property $X$ and property $Y$. Two solutions are:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Brute force: Try all numbers with tests of property $X$ and $Y$.&lt;/li&gt;&#xA;&lt;li&gt;Find numbers with property $X$ and filter by a test of property $Y$.&lt;/li&gt;&#xA;&lt;li&gt;Find numbers with property $Y$ and filter by a test of property $X$.&lt;/li&gt;&#xA;&lt;li&gt;Find the set of numbers with property $X$ and the set of numbers with property $Y$. Compute their intersection.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve found that it&amp;rsquo;s sometimes hard to predict which one will end up being the fastest.&#xA;It depends on the relative speed of the tests and the generators, and the frequency of finding numbers which have that property.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Game of Life</title>
      <link>https://traviscj.com/blog/post/2012-11-20-game_of_life/</link>
      <pubDate>Tue, 20 Nov 2012 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2012-11-20-game_of_life/</guid>
      <description>&lt;p&gt;When I was a sophomore in high school, I was fascinated with&#xA;[ Conway&amp;rsquo;s Game of Life].&#xA;I still am. I did a pretty rudamentary study of the kinds of patterns that could&#xA;form from the simple rules of the game.&lt;/p&gt;&#xA;&lt;p&gt;One thing that wasn&amp;rsquo;t available when I was a sophomore was Youtube.&#xA;Two of my favorite Game of Life videos:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.youtube.com/watch?v=xP5-iIeKXE8&#34;&gt;lifeception&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.youtube.com/watch?v=C2vgICfQawE&#34;&gt;epic life&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Another direction that Game of Life has gone recently is something that I really should have thought of, honestly.&#xA;Many times I&amp;rsquo;ve thought that there&amp;rsquo;s at least some superficial relationship between Game of Life and diffusion equations.&#xA;Turns out that S. Rafler has extended Game of Life to continuous domains through what he calls &lt;a href=&#34;http://arxiv.org/abs/1111.1567&#34;&gt;SmoothLife&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Perturbation Theory Problems with bvp4c</title>
      <link>https://traviscj.com/blog/post/2012-10-22-perturbation_theory_problems_with_bvp4c/</link>
      <pubDate>Mon, 22 Oct 2012 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2012-10-22-perturbation_theory_problems_with_bvp4c/</guid>
      <description>&lt;p&gt;I have been watching Nathan Kutz&amp;rsquo; lectures on Coursera.&#xA;One change he made to the course since I took AMATH 581 at University of Washington was introducing the MATLAB function &lt;em&gt;bvp4c&lt;/em&gt;.&#xA;I immediately realized that this would be nice for solving boundary layer problems that arise in asymptotics.&lt;/p&gt;&#xA;&lt;p&gt;Following my life philosophy of doing the dumbest thing that could possibly work, I tried implementing Nathan&amp;rsquo;s code for a single-layer boundary layer problem from Holmes, Chapter 2:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Numerical Recipes &amp; Scientific Libraries</title>
      <link>https://traviscj.com/blog/post/2012-05-26-numerical_recipes_scientific_libraries/</link>
      <pubDate>Sat, 26 May 2012 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2012-05-26-numerical_recipes_scientific_libraries/</guid>
      <description>&lt;p&gt;I attended a talk on how to use &lt;a href=&#34;http://www.it.northwestern.edu/research/adv-research/hpc/quest/index.html&#34;&gt;Quest&lt;/a&gt;, Northwestern University&amp;rsquo;s TOP500 supercomputer(At least during June 2010). Most of it was a routine introduction to MPI, but one interesting question raised was what routines we should be using in our scientific computing codes. A lot of holdouts were still using [ Numerical Recipes] for their research-level codes, which strikes me as a backwards way about it. Numerical Recipes is a starting point, and probably &lt;a href=&#34;http://web.archive.org/web/20021015200910/http://math.jpl.nasa.gov/nr/nr-alt.html&#34;&gt;not the best&lt;/a&gt; thing to use: &lt;a href=&#34;http://mingus.as.arizona.edu/~bjw/software/boycottnr.html&#34;&gt;it has awful licensing&lt;/a&gt; and &lt;a href=&#34;http://www.uwyo.edu/buerkle/misc/wnotnr.html&#34;&gt;might not even be that reliable!&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>fibonacci miles and kilometers</title>
      <link>https://traviscj.com/blog/post/2012-03-29-fibonacci_miles_and_kilometers/</link>
      <pubDate>Thu, 29 Mar 2012 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2012-03-29-fibonacci_miles_and_kilometers/</guid>
      <description>&lt;p&gt;In my running, I have been trying to keep track in kilometers. This presents a couple problems: Somehow, my mind still thinks in miles, which is weird because I do not really have /that/ good of an idea exactly how far a mile is, either.&#xA;Or someone wants to know how far a 5k is. Or, when I was running the 2011 Chicago Marathon, there would be kilometer postings between the mile markers. Anyway, it is handy to convert between them, but a bit of a pain.&lt;/p&gt;</description>
    </item>
    <item>
      <title>a trig problem solved in MATLAB</title>
      <link>https://traviscj.com/blog/post/2012-02-01-a_trig_problem_solved_in_matlab/</link>
      <pubDate>Wed, 01 Feb 2012 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2012-02-01-a_trig_problem_solved_in_matlab/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;http://i.imgur.com/yOswe.jpg&#34; alt=&#34;diagram&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;I came across &lt;a href=&#34;http://www.reddit.com/r/matlab/comments/p4b4s/nothing_feels_as_good_as_getting_a_somewhat/&#34;&gt;this&lt;/a&gt; post. The basic idea is the guy wants to maximize $L_1+L_2$&#xA;constrained to this box, where $L_i$ is the length of beam $i$. It&amp;rsquo;s constrained&#xA;to be a 61 cmx61 cm box, but one beam must start from 10cm up from the bottom&#xA;right corner and the beams must meet at a point along the top of the box.&#xA;I added the further assumption that the other beam must end in the bottom left&#xA;corner.&lt;/p&gt;</description>
    </item>
    <item>
      <title>cplex matlab interface</title>
      <link>https://traviscj.com/blog/post/2012-02-01-cplex_matlab_interface/</link>
      <pubDate>Wed, 01 Feb 2012 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2012-02-01-cplex_matlab_interface/</guid>
      <description>&lt;p&gt;Just for my own reference, I&amp;rsquo;m documenting the interface to CPLEX.&lt;/p&gt;&#xA;&lt;p&gt;CPLEX expects a problem in the form&#xA;(&#xA;\begin{split}&#xA;\min \qquad &amp;amp; g^Td + \frac12 d^TWd\&#xA;\text{subject to} \qquad &amp;amp; c_L \leq Ad \leq c_U\&#xA;&amp;amp; d_L \leq d \leq d_U&#xA;\end{split}&#xA;)&#xA;and is called by&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cplex = Cplex(&amp;#39;test&amp;#39;);&#xA;cplex.Param.feasopt.tolerance.Cur = 1e-8;&#xA;if params.printLevel &amp;lt; 8&#xA;    cplex.DisplayFunc = [];&#xA;end&#xA;cplex.Model.sense = &amp;#39;minimize&amp;#39;;&#xA;cplex.Param.qpmethod.Cur = 1;&#xA;cplex.addCols(gk,[],bl-xk,bu-xk);&#xA;cplex.addRows(-ck, A0, -ck);&#xA;cplex.Model.Q = W;&#xA;cplex.Model.obj = g;&#xA;cplex.Model.lb = d_L;&#xA;cplex.Model.ub = d_U;&#xA;cplex.Model.lhs= c_L;&#xA;cplex.Model.rhs= c_U;&#xA;cplex.solve();&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>spamfunc for optimization in matlab</title>
      <link>https://traviscj.com/blog/post/2012-01-30-spamfunc_for_optimization_in_matlab/</link>
      <pubDate>Mon, 30 Jan 2012 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2012-01-30-spamfunc_for_optimization_in_matlab/</guid>
      <description>&lt;h1 id=&#34;what-spamfunc-is&#34;&gt;what spamfunc is&lt;/h1&gt;&#xA;&lt;p&gt;In developing optimization algorithms, one of the most tedious parts is trying different examples, each of which might have its own starting points or upper or lower bounds or other information.&#xA;The tedium really starts when your algorithm requires first or second order information, which might be tricky to calculate correctly.&#xA;These bugs can be pernicious, because it might be difficult to differentiate between a bug in your algorithm and a bug in your objective or constraint evaluation.&#xA;Handily, Northwestern Professor &lt;a href=&#34;http://users.iems.northwestern.edu/~4er/&#34;&gt;Robert Fourer&lt;/a&gt; wrote a language called &lt;a href=&#34;http://www.ampl.com/&#34;&gt;AMPL&lt;/a&gt;, which takes a programming-language specification of objective and constraints and calculates derivatives as needed.&#xA;The official amplfunc/spamfunc reference is contained in &lt;a href=&#34;http://ampl.com/REFS/HOOKING/#UsewithMATLAB&#34;&gt;Hooking Your Solver to AMPL&lt;/a&gt;, but I&amp;rsquo;m shooting for a more low-key introduction.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Five Critical Textbooks for (Applied!) Math &amp; Physics Students</title>
      <link>https://traviscj.com/blog/post/2011-09-04-five_critical_textbooks_for_applied_math_physics_students/</link>
      <pubDate>Sun, 04 Sep 2011 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2011-09-04-five_critical_textbooks_for_applied_math_physics_students/</guid>
      <description>&lt;p&gt;In the course of working through my first year at grad school, I&amp;rsquo;ve come up with five favorites for the basics of an undergrad understanding of the essential topics for applied math and physics. Without ado and in the order I&amp;rsquo;d take them off my shelf:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mathematical Methods in the Physical Sciences - ML Boas. This is my favorite, because it contains almost every technique you need, and it has a ton and a half of problems(over 3400). It contains a good review of complex analysis, linear algebra, differential equations, and calculus, but also chapters on special functions, partial differential equations, probability, tensors, and the calculus of variations.&#xA;&amp;ndash; Hidden Gem: Chapter 4, Section 12: Differentiation of Integrals, RP Feynman&amp;rsquo;s favorite trick.&lt;/li&gt;&#xA;&lt;li&gt;Calculus - Greenspan. A great reference on calculus.&lt;/li&gt;&#xA;&lt;li&gt;Complex Variables and Applications - Brown &amp;amp; Churchill: The most readable book on complex analysis I&amp;rsquo;ve read. Not so hidden gem: Most of the solutions are given right alongside the problem&amp;ndash;a great book for self-study. Also the material on conformal mapping and fluid flows.&lt;/li&gt;&#xA;&lt;li&gt;Linear Algebra And Its Applications - Strang. Nice book on linear algebra theory.&#xA;&amp;ndash; Hidden Gem: Chapter 7, Section 4: Iterative Methods for Ax=b and Gershgorin&amp;rsquo;s circle theorem.&lt;/li&gt;&#xA;&lt;li&gt;Elementary Differential Equations and Boundary Value Problems - Boyce &amp;amp; DiPrima. Powerhouse of differential equation knowledge. Strangely, it is the book ESAM recommended, but not the book they use for teaching their undergrads.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve spent probably the most time with Boas&amp;rsquo; Mathematical Methods in the Physical Sciences&amp;ndash;I&amp;rsquo;ve worked nearly 1000 problems out of the book to get ready for the preliminary exams my first year. It was completely worthwhile.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tunes U and Essential Mathematica</title>
      <link>https://traviscj.com/blog/post/2009-12-13-itunes_u_and_essential_mathematica/</link>
      <pubDate>Sun, 13 Dec 2009 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2009-12-13-itunes_u_and_essential_mathematica/</guid>
      <description>&lt;p&gt;In a similar vein to the TED talks in the previous post, I&amp;rsquo;ve also been watching a lot of lectures from iTunes U lately. Mostly to get ready for preliminary exams, but also for their sheer awesomeness of the teaching and material. I&amp;rsquo;ve been most surprised how many people haven&amp;rsquo;t heard of this yet: Nearly everyone seems surprised when they hear about it. Anyways, here&amp;rsquo;s my list of favorites so far:&lt;/p&gt;</description>
    </item>
    <item>
      <title>What could you possibly do with mathematics?</title>
      <link>https://traviscj.com/blog/post/2009-08-24-what_could_you_possibly_do_with_mathematics/</link>
      <pubDate>Mon, 24 Aug 2009 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2009-08-24-what_could_you_possibly_do_with_mathematics/</guid>
      <description>&lt;p&gt;Recently, at a family gathering, I was confronted by the question many a college graduate is faced after telling someone I had majored in mathematics for my now-finished college degree: &amp;ldquo;But how are you going to make any money at that?&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;Now, certainly it&amp;rsquo;s true: Graduate students don&amp;rsquo;t make that much. The average stipend for a grad student is roughly on par with (but still less than) unemployment checks. But that&amp;rsquo;s okay&amp;ndash;in general, mathematicians know that they could make money other places, but they chose it anyways because of their love for the subject. Not that mathematicians make &lt;!-- raw HTML omitted --&gt;too&lt;!-- raw HTML omitted --&gt; bad of money anyway: The average in the US is about 50K, with associate professors making more than that. The particularly salary-inclined could pick up other credentials to become actuaries or work in hedge funds.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Netlib</title>
      <link>https://traviscj.com/blog/post/2009-05-27-netlib/</link>
      <pubDate>Wed, 27 May 2009 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2009-05-27-netlib/</guid>
      <description>&lt;p&gt;Wow. &lt;a href=&#34;http://www.netlib.org/&#34;&gt;Just wow.&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Mission Graduate School -- Success</title>
      <link>https://traviscj.com/blog/post/2009-02-25-mission_graduate_school_success/</link>
      <pubDate>Wed, 25 Feb 2009 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2009-02-25-mission_graduate_school_success/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve officially been accepted to two PhD applied math programs: Northwestern and University of North Carolina. I&amp;rsquo;ve also been accepted to the Masters of Science program at the University of Washington. Both of the PhD offers came with full fellowship offers(at least for the first year), which basically means that I just need to go and give them the best bang for their buck with my brainpower for five years, and then I&amp;rsquo;ll have my PhD. Awesome. All three schools are outstanding and have amazing faculty, as best as I can tell.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why Do Math and Izhikevich</title>
      <link>https://traviscj.com/blog/post/2009-01-06-why_do_math_and_izhikevich/</link>
      <pubDate>Tue, 06 Jan 2009 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2009-01-06-why_do_math_and_izhikevich/</guid>
      <description>&lt;p&gt;Professor Eric Shea-Brown has written up a nice website explaining what we&amp;rsquo;re doing with the computational neuroscience modeling. It&amp;rsquo;s currently on the Why Do Math website at this link: &lt;a href=&#34;http://dev.whydomath.org/node/HHneuro/index.html&#34;&gt;Brain Dynamics: The Mathematics of the Spike&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;For my project, we&amp;rsquo;re starting with a simpler model that is similar in behavior but quicker computationally and (somewhat) easier to analyze mathematically, known as the Izhikevich model(after its creator, Eugene Izhikevich). His website has some amazingly cool videos and a lot of papers on what he&amp;rsquo;s been doing.&#xA;&lt;a href=&#34;http://vesicle.nsi.edu/users/izhikevich/&#34;&gt;His Website&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Getting an AMATH Minor at the University of Washington</title>
      <link>https://traviscj.com/blog/post/2008-10-26-getting_an_amath_minor_at_the_university_of_washington/</link>
      <pubDate>Sun, 26 Oct 2008 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2008-10-26-getting_an_amath_minor_at_the_university_of_washington/</guid>
      <description>&lt;p&gt;One of the secret gems at the University of Washington is the minor in applied math option. At least I think it&amp;rsquo;s somewhat secret. Most of the people I tell about it haven&amp;rsquo;t really heard of it. But yeah, here&amp;rsquo;s the deal: You only need to get through calculus and four more classes to get this minor! And a lot of programs require calculus anyways. I&amp;rsquo;ve taken most of the undergrad AMATH courses, so I figured I&amp;rsquo;d write something up about which ones I recommend the most.&lt;/p&gt;</description>
    </item>
    <item>
      <title>First Couple of Days in Rio</title>
      <link>https://traviscj.com/blog/post/2008-08-20-first_couple_of_days_in_rio/</link>
      <pubDate>Wed, 20 Aug 2008 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2008-08-20-first_couple_of_days_in_rio/</guid>
      <description>&lt;p&gt;So Monday morning was really lazy. Some people went to get a volleyball, a bunch went down to the beach again, and I let my sunburn cool off. It was also really warm and sunny, which is a nice change from Seattle! We left for IMPA around 2, got on taxis to get over there, and eventually made it. The taxi drivers are apparently pretty vicious. We took 5 cabs, 3 got charged around 15, one around 20, and one 25. So they try to rip you off.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Whack it with an X squared!</title>
      <link>https://traviscj.com/blog/post/2008-08-07-whack_it_with_an_x_squared/</link>
      <pubDate>Thu, 07 Aug 2008 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2008-08-07-whack_it_with_an_x_squared/</guid>
      <description>&lt;p&gt;David and I were working on our Math381 model, and I was getting frustrated because the data we collected and the results from the simulation were not lining up properly, which was quite frustrating. We were hoping to see something like this:&lt;/p&gt;&#xA;&lt;p&gt;Number of Logins from Data&lt;/p&gt;&#xA;&lt;p&gt;Instead, we were getting stuff distributed like this:&lt;/p&gt;&#xA;&lt;p&gt;Simulated Number of Logins&lt;/p&gt;&#xA;&lt;p&gt;I realized that we needed some function to force a bunch of this junk further left. Recalling an old adage from Mr. Cone’s AP Chemistry class, I decided it was the right time to whack it with an X squared. This is vaguely appropriate, because rand() has a range [0,1), so squaring it should put a whole bunch of stuff further right, but not everything(ie, the first half will end up in the first quarter, the first 3/4 will end up in the first 9/16, etc). Imagine my shock when I saw this:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Dijkstra&#39;s Algorithm Paper</title>
      <link>https://traviscj.com/blog/post/2008-07-30-dijkstras_algorithm_paper/</link>
      <pubDate>Wed, 30 Jul 2008 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2008-07-30-dijkstras_algorithm_paper/</guid>
      <description>&lt;p&gt;The week before my sister’s wedding, I was tasked with writing a paper on Dijkstra’s Algorithm for my Discrete Mathematical Modeling class. I think I might have missed the mark a little bit, but I had so much fun writing it that I’m posting it here.&lt;/p&gt;&#xA;&lt;p&gt;I’m almost considering writing some more stuff in this style… anything anyone would like to see written about?&lt;/p&gt;&#xA;&lt;p&gt;Here’s a link: Dijkstra’s Algorithm&lt;/p&gt;</description>
    </item>
    <item>
      <title>Differential Equations</title>
      <link>https://traviscj.com/blog/post/2008-05-12-differential_equations/</link>
      <pubDate>Mon, 12 May 2008 12:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2008-05-12-differential_equations/</guid>
      <description>&lt;p&gt;I’ve realized that a lot of people are nervous about differential equations. Which is understandable, but in general there’s some pretty straightforward ways to solve a fair number of the ones you come across. I’d really like to write some of it up.&lt;/p&gt;&#xA;&lt;p&gt;My basic idea is going to be, show a bit about integrating factors, a bit about separation of variables, the characteristic equation, and the method of undetermined coefficients. That covers a lot of physical territory. Then some about reducing order with transformations from n-th order equations to n 1-st order equations, and basic Laplace for a sortof general method. And finally, maybe a tiny bit about numeric methods.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cython</title>
      <link>https://traviscj.com/blog/post/2008-05-09-cython/</link>
      <pubDate>Fri, 09 May 2008 12:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2008-05-09-cython/</guid>
      <description>&lt;p&gt;After I had finally convinced myself to get out of bed this morning to go to my ACMS seminar, I quickly checked my email and my heart sank a little. Today’s talk was on SAGE. Don’t have anything against SAGE, but I thought it was just a big pile of open source packages in a big, heavy install. Sorta cool, but worthless, in other words.&lt;/p&gt;&#xA;&lt;p&gt;Turns out, I was pretty wrong about that. It is that, but it’s also  70k new lines of code that does a whole bunch of exciting stuff. Near the end of his talk, William Stein mentioned that they had created a new tool called Cython. (Well, extended Pyrex, but… whatever.)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Where I&#39;m At</title>
      <link>https://traviscj.com/blog/post/2007-03-03-where_im_at/</link>
      <pubDate>Sat, 03 Mar 2007 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2007-03-03-where_im_at/</guid>
      <description>&lt;p&gt;So it&amp;rsquo;s almost the end of Winter Quarter 07 at the University of Washington. It&amp;rsquo;s cold and rainy and lame. Last week I got turned down from the Computer Science program here, which meant I spent the weekend generally freaking out.&lt;/p&gt;&#xA;&lt;p&gt;In any case, I then remembered that I liked the idea of an ACMS degree. The base of the major consists of the physics series, a Numerical Methods course and a Continuous modeling course from the AMATH department, and discrete models and statistics from the math department.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
