<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1792083242660765247</id><updated>2011-07-28T07:55:54.345-07:00</updated><title type='text'>Learning Mathematica</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-6746316278344874150</id><published>2009-08-09T19:12:00.001-07:00</published><updated>2009-08-09T19:12:33.706-07:00</updated><title type='text'>video hosting business models</title><content type='html'>I used screencast.com to upload my latest video presentation. Mainly I used this because I did not have my access to Amazon S3 setup yet and it was hooked directly into my Camtasia V4 platform I used to record the video.&lt;br /&gt;&lt;br /&gt;Apparently the guy who I worked with on the video is fairly popular on the Mma newsgroup. So one night last week I announced it on a newsgroup he frequents with a URL to screencast.com.&lt;br /&gt;&lt;br /&gt;So early the next morning I get a notice from screencast saying that my free account is about to be shut off because I have used up 75% of my 2GB data transfer allowance on my free account. This did not make sense because I know the video compressed down to only about 50 MB.&lt;br /&gt;&lt;br /&gt;But maybe the people on that group wanted to see it. So I purchased the $9.95/month pro account from screen cast. This gives 25GB of storage and 200GB of data transfer each month.&lt;br /&gt;&lt;br /&gt;Then I downloaded and installed FireFox (no! :-) because it has a Amazon S3 plug-in. And I practiced uploading and downloading from there. My plan was to move all my stuff over to S3 (at the end of the month) because it is way cheaper, right? Uhhh?&lt;br /&gt;&lt;br /&gt;I tell lots of people to use Amazon's S3 service because it is only pennies per GB of storage and transfer rate. I looked out there this week and it was $0.17/GB to tranfer data from their server. That's way less than screencast, right?&lt;br /&gt;&lt;br /&gt;But if you figure it out, 200GB for $10/month is actually only $0.05 per GB!&lt;br /&gt;&lt;br /&gt;So if you look at the break even point, around 50GB tranfering out of Amazon is about the same as screencast charges. The next 150GB is cheaper on screencast!&lt;br /&gt;&lt;br /&gt;So even though many people with Macs have had trouble seeing the video, lots of people have downloaded it and I have transferred more more than 2.5GB (+1.5GB on the free account) out of screencast so far. At 50MB per viewing, that could be 75 viewings, probably isn't...just me testing 50+ times! :-)&lt;br /&gt;&lt;br /&gt;Finally, if I make a video (or a set) that will be viewed sufficiently many times to transfer more than 50GB of data, screencast.com would be the way to go.&lt;br /&gt;&lt;br /&gt;Regards..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-6746316278344874150?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/6746316278344874150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/08/video-hosting-business-models.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/6746316278344874150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/6746316278344874150'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/08/video-hosting-business-models.html' title='video hosting business models'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-8501699311190063034</id><published>2009-08-09T15:37:00.000-07:00</published><updated>2009-08-09T15:42:08.871-07:00</updated><title type='text'>video about publishing in Mathematica</title><content type='html'>I have posted 2 versions of this:&lt;br /&gt;&lt;br /&gt;the PC version is &lt;a href="http://www.screencast.com/users/Indivisible/folders/Default/media/f77644eb-4f44-449b-ace8-4907ac7480f0"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;the Mac version is &lt;a href="http://www.screencast.com/users/Indivisible/folders/Default/media/343a7474-0df6-48b4-86fb-54a6310d664e"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also this was originally announced &lt;a href="http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/15d688da8c6827a2/df581c13e158c1ea?hl=en#df581c13e158c1ea"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am interested in any and all comments.&lt;br /&gt;&lt;br /&gt;Regards..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-8501699311190063034?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/8501699311190063034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/08/video-about-publishing-in-mathematica.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/8501699311190063034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/8501699311190063034'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/08/video-about-publishing-in-mathematica.html' title='video about publishing in Mathematica'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-143757158818664778</id><published>2009-07-12T05:31:00.000-07:00</published><updated>2009-07-12T05:43:11.808-07:00</updated><title type='text'>the "rain Google Columbus" question</title><content type='html'>In David Huynh's &lt;a href="http://mqlx.com/~david/parallax/"&gt;Parallax faceted browser for Freebase&lt;/a&gt;, his video describes how to use the application to answer the following question: &lt;em&gt;give me a list of schools attended by the children of Republican presidents&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;This is another example of a query that you cannot answer using a search engine. In fact, it is a Semantic Web type query.&lt;br /&gt;&lt;br /&gt;I attended &lt;a href="http://blog.freebase.com/2009/06/26/two-weeks-til-freebase-hack-day-sign-up-now/"&gt;the Freebase hack-day&lt;/a&gt; and I spoke to David about Parallax. While describing W|A, I posited another query that Alpha may answer one day and that Mathematica (with a suitably written program) can answer today. This question is:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;How many days in 2009 did the Google stock price decline on the same day that is rained in Columbus Ohio?&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;It is interesting to note that (according to a Metaweb engineer), Freebase cannot answer the Google component of this question either! :-)&lt;br /&gt;&lt;br /&gt;This is a simple calculation using the Mathematica primitives and curated data. This is explained in detail in the short series &lt;em&gt;rain Google Columbus&lt;/em&gt; &lt;a href="http://files.meetup.com/1343579/rain%20Google%20Columbus%201.pdf"&gt;Part 1&lt;/a&gt;, &lt;a href="http://files.meetup.com/1343579/rain%20Google%20Columbus%202.pdf"&gt;Part 2&lt;/a&gt; and &lt;a href="http://files.meetup.com/1343579/rain%20Google%20Columbus%203.pdf"&gt;Part 3&lt;/a&gt;. There is also &lt;a href="http://www.google.com/search?hl=en&amp;q=rain+Google+Columbus&amp;aq=f&amp;oq=&amp;aqi="&gt;the Google query results&lt;/a&gt;. As stated earlier, it is not a fair question to ask Google.&lt;br /&gt;&lt;br /&gt;We wanted to answer the rain Google Columbus question. The answer is: there are 26 trading days in the first half of 2009 when the Google stock price declined (compared to the previous day) and it rained in Columbus Ohio more than 0.3 inches on the same day.&lt;br /&gt;&lt;br /&gt;Of course this could be done with some other stock (not GOOG), some other finance-related data (not amount closing price declined), some other city (not Columbus) and some other weather-related data (not rainfall).&lt;br /&gt;&lt;br /&gt;We derived this answer using Mathematica curated WeatherData[] and FinancialData[]. We made a routine to return the precipitation in Columbus on a particular day. Then we computed which days the stock price declined. Then we passed that list of dates to the precipitation computation and resticted the list to rainy days.&lt;br /&gt;&lt;br /&gt;In addition to the curated data functions, we also looked at some other Mathematica constructs such as:&lt;br /&gt;1) functional programming (i.e. no loops are used, only Map[], Apply[], etc.)&lt;br /&gt;2) pure and nested pure functions&lt;br /&gt;3) assorted list manipulation techniques (e.g. interleaving)&lt;br /&gt;&lt;br /&gt;Regards..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-143757158818664778?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/143757158818664778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/07/rain-google-columbus-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/143757158818664778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/143757158818664778'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/07/rain-google-columbus-question.html' title='the &quot;rain Google Columbus&quot; question'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-768440344929900710</id><published>2009-06-08T09:38:00.001-07:00</published><updated>2009-06-08T09:38:40.241-07:00</updated><title type='text'>Polyominoes and Graph Layouts</title><content type='html'>I have been doing some experiments with plotting graphs and their layouts. Apparently one method of layout of disconnected graphs is called "polyominoes". And this is a generalization of the word "dominoes". :-)&lt;br /&gt;&lt;br /&gt;A log of one of my experiments with annotation is stored &lt;a href="http://files.meetup.com/1343579/Disconnected%20Graph%20Layout%20with%20Polyomino%20packing.pdf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Regards..&lt;br /&gt;Ref: &lt;a href="http://www.ics.uci.edu/~eppstein/junkyard/polyomino.html"&gt;The Geometry Junkyard&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-768440344929900710?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/768440344929900710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/06/polyominoes-and-graph-layouts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/768440344929900710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/768440344929900710'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/06/polyominoes-and-graph-layouts.html' title='Polyominoes and Graph Layouts'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-3781575717877868623</id><published>2009-05-30T22:21:00.000-07:00</published><updated>2009-05-30T22:26:28.796-07:00</updated><title type='text'>what Alpha knows</title><content type='html'>Due to its large store of terms, W|A makes great attempts at &lt;a href="http://www.wolframalpha.com/input/?i=disambiguation"&gt;disambiguation&lt;/a&gt;. Because of this certain queries will display multiple possible references.&lt;br /&gt;&lt;br /&gt;One of the weaknesses of Alpha is opacity of the volume data behind it. Everyone (I guess) finds something they did not expect, then gets excited to look for something &lt;em&gt;near by&lt;/em&gt; in their own mind. They type in the near by term, to find Alpha has gone stupid saying repeatedly: "W|A does not know what to do with your input".&lt;br /&gt;&lt;br /&gt;There are 2 ways to find out more about "what Alpha knows"&lt;br /&gt;&lt;br /&gt;One is the More dropdown button. In &lt;a href="http://www.wolframalpha.com/screencast/introducingwolframalpha.html"&gt;Wolfram's Overview video&lt;/a&gt;, he shows what happens when &lt;a href="http://www.wolframalpha.com/input/?i=Springfield"&gt;"Springfield"&lt;/a&gt; is entered and how the more button shows other Springfields.&lt;br /&gt;&lt;br /&gt;Another example of the &lt;em&gt;information behind&lt;/em&gt; is the Assumptions and suggestions. For example, "Springfield" can be used &lt;a href="http://www.wolframalpha.com/input/?i=Springfield&amp;a=*C.Springfield-_*Miscellaneous-&amp;a=*DPClash.CityE.Springfield-_**Springfield.Oregon.UnitedStates-.dflt-"&gt;"as a phrase"&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The query that really showed this to me is &lt;a href="http://www.wolframalpha.com/input/?i=cookie"&gt;"cookie"&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are 5 separate other &lt;em&gt;assumptions&lt;/em&gt; as well as more than 20 other things in the &lt;em&gt;more&lt;/em&gt; boutton.&lt;br /&gt;&lt;br /&gt;Each of these are other valid queries that result in info about &lt;em&gt;what Alpha knows&lt;/em&gt;. Have at it!&lt;br /&gt;&lt;br /&gt;Regards..&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-3781575717877868623?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/3781575717877868623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/05/what-alpha-knows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/3781575717877868623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/3781575717877868623'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/05/what-alpha-knows.html' title='what Alpha knows'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-7001077940796864173</id><published>2009-05-25T19:21:00.000-07:00</published><updated>2009-05-25T19:33:22.901-07:00</updated><title type='text'>some example Alpha queries by SWolfram</title><content type='html'>The breadth of this list is amazing.&lt;br /&gt;&lt;br /&gt;First some "Higher Math", let's &lt;a href="http://www.wolframalpha.com/input/?i=integrate+x%5E4+sin%5E3+x+dx"&gt;integrate x^2 sin^3 x dx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now some civics, how about &lt;a href="http://www.wolframalpha.com/input/?i=gdp+france"&gt;gdp france&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "civics with arithmetic", &lt;a href="http://www.wolframalpha.com/input/?i=what+is+the+gdp+of+france+%2F+belgium"&gt;what is the gdp of france / italy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "internet statistics", &lt;a href="http://www.wolframalpha.com/input/?i=internet+users+in+europe%2C+china%2C+us"&gt;internet users in europe compared to china and the US&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "geography", &lt;a href="http://www.wolframalpha.com/input/?i=springfield"&gt;springfield&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "meterology", &lt;a href="http://www.wolframalpha.com/input/?i=weather+springfield"&gt;weather springfield, for the last 5 years&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "meterology on a date", &lt;a href="http://www.wolframalpha.com/input/?i=weather+springfield+11%2F6%2F89"&gt;weather springfield 11/6/89&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "meterology related to a particular day", &lt;a href="http://www.wolframalpha.com/input/?i=weather+in+chicago+when+barack+obama+was+born"&gt;weather in chicago when barack obama was born&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "a speed value", &lt;a href="http://www.wolframalpha.com/input/?i=5+miles%2Fsec"&gt;5 miles/sec&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "an earnings or charging rate", &lt;a href="http://www.wolframalpha.com/input/?i=%2417%2Fhour"&gt;$17/hour&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "a temperature", &lt;a href="http://www.wolframalpha.com/input/?i=6000C"&gt;6000C&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "a quantity of text", &lt;a href="http://www.wolframalpha.com/input/?i=6000+words"&gt;6000 words&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "info about a word", &lt;a href="http://www.wolframalpha.com/input/?i=accretion+word"&gt;accretion&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "an amount of a precious metal", &lt;a href="http://www.wolframalpha.com/input/?i=133+g+of+gold"&gt;133 g of gold&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "chemistry", &lt;a href="http://www.wolframalpha.com/input/?i=2.5+molar+H2SO4"&gt;2.5 molar H2SO4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "more chemistry", &lt;a href="http://www.wolframalpha.com/input/?i=water+2.5+atm+200C"&gt;water 2.5 atm 200C&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "medicine, a number from a test", &lt;a href="http://www.wolframalpha.com/input/?i=ldl+50"&gt;LDL 50&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And the "same test for a particular demographic", &lt;a href="http://www.wolframalpha.com/input/?i=LDL+50+smoker+male+age+40"&gt;LDL 50 smoker male age 40&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "comparing 2 tests for that demographic", &lt;a href="http://www.wolframalpha.com/input/?i=LDL+vs.+serum+potassium+male+age+40+smoker"&gt;LDL vs. serum potassium male age 40 smoker&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "another common medical test", &lt;a href="http://www.wolframalpha.com/input/?i=psa+0.04"&gt;psa 0.04&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "straight demographics", &lt;a href="http://www.wolframalpha.com/input/?i=life+expectancy+male+age+42+finland"&gt;life expectancy male age 40 finland&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "someone's stats", &lt;a href="http://www.wolframalpha.com/input/?i=5%278%22+160+lbs"&gt;5'8" 160 lbs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "calculations about someone with those stats", &lt;a href="http://www.wolframalpha.com/input/?i=running+4+mph+30+minutes+5%278%22+160+lbs+age+40+female"&gt;running 4 mph 30 minutes 5'8" 160 lbs age 40 female&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "bioinformatics, a DNA sequence", &lt;a href="http://www.wolframalpha.com/input/?i=ATAGTCCTAGTTAAA"&gt;ATAGTCCTAGTTAAA&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And let's "pick a gene from the sequence", &lt;a href="http://www.wolframalpha.com/input/?i=LRRIQ3"&gt;gene FASTKD2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And let's "computation near that gene", &lt;a href="http://www.wolframalpha.com/input/?i=500+bp+upstream+LRRIQ3"&gt;500 bp upstream gene FASTKD2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "a stock symbol", &lt;a href="http://www.wolframalpha.com/input/?i=msft"&gt;MSFT&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "comparing 2 companies stock", &lt;a href="http://www.wolframalpha.com/input/?i=MSFT+Apple"&gt;MSFT Apple&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "mortgage finance", &lt;a href="http://www.wolframalpha.com/input/?i=mortgage+5%25+30+years"&gt;mortgage 5% 30 years&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;now use 10000 euros&lt;br /&gt;&lt;br /&gt;And some "financial arithmetic", &lt;a href="http://www.wolframalpha.com/input/?i=bond+7%25+21+years"&gt;bond 7% 21 years&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;now change the yield&lt;br /&gt;&lt;br /&gt;And some "engineering, an airfoil computation", &lt;a href="http://www.wolframalpha.com/input/?i=NACA+4351+17+deg"&gt;NACA 4351 15 deg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "assorted colors", &lt;a href="http://www.wolframalpha.com/input/?i=red+%2B+green"&gt;red + yellow&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "a musical scale", &lt;a href="http://www.wolframalpha.com/input/?i=D%23+minor"&gt;D# minor&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;now play it&lt;br /&gt;&lt;br /&gt;And some "website info", &lt;a href="http://www.wolframalpha.com/input/?i=www.apple.com"&gt;www.apple.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;now show history&lt;br /&gt;&lt;br /&gt;And some "social sciences", &lt;a href="http://www.wolframalpha.com/input/?i=high+school+teacher+median+wages"&gt;high school teacher median wages&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "more social sciences", &lt;a href="http://www.wolframalpha.com/input/?i=france+fish+production"&gt;france fish production&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "comparative social science", &lt;a href="http://www.wolframalpha.com/input/?i=france+fish+production+vs.+poland"&gt;france fish production vs. poland&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "nutrition", &lt;a href="http://www.wolframalpha.com/input/?i=Vitamin+c+in+214g+orange+juice"&gt;Vitamin c in 214g orange juice&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "a dynamic calorie chart", &lt;a href="http://www.wolframalpha.com/input/?i=2+cups+OJ+%2B+1+slice+cheddar+cheese"&gt;2 cups OJ + 1 slice cheddar cheese&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "searching for a crossword entry", &lt;a href="http://www.wolframalpha.com/input/?i=a__t_r"&gt;a__t_r&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "back to geography", &lt;a href="http://www.wolframalpha.com/input/?i=mt+everest"&gt;mt everest&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "computations with that", &lt;a href="http://www.wolframalpha.com/input/?i=height+mt+everest+%2F+length+golden+gate+bridge"&gt;height mt everest / length golden gate bridge&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.wolframalpha.com/input/?i=length+brooklyn+bridge+%2F+length+golden+gate+bridge"&gt;more&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.wolframalpha.com/input/?i=length+brooklyn+bridge+%2F+depth+indian+ocean"&gt;more&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "computational geography", &lt;a href="http://www.wolframalpha.com/input/?i=3rd+largest+country+in+europe"&gt;3rd largest country in europe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "comparative geography", &lt;a href="http://www.wolframalpha.com/input/?i=gdp+vs.+railway+length+in+europe"&gt;gdp vs. railway length in europe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "civics", &lt;a href="http://www.wolframalpha.com/input/?i=president+of+brazil+in+1922"&gt;president of brazil in 1922&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "a name", &lt;a href="http://www.wolframalpha.com/input/?i=andrew"&gt;andrew&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And "two names", &lt;a href="http://www.wolframalpha.com/input/?i=andrew+sally"&gt;andrew paul&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "probabilities", &lt;a href="http://www.wolframalpha.com/input/?i=10+flips+2+heads"&gt;10 flips 2 heads&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And a "numerical sequence", &lt;a href="http://www.wolframalpha.com/input/?i=3%2C+7%2C+15%2C+31%2C+63%2C+..."&gt;3, 7, 15, 31, 63, ...&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And some "US aeronautics", &lt;a href="http://www.wolframalpha.com/input/?i=iss"&gt;ISS&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-7001077940796864173?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/7001077940796864173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/05/some-example-alpha-queries-by-swolfram.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/7001077940796864173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/7001077940796864173'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/05/some-example-alpha-queries-by-swolfram.html' title='some example Alpha queries by SWolfram'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-3908787815603099883</id><published>2009-05-23T20:43:00.000-07:00</published><updated>2009-05-23T21:09:45.808-07:00</updated><title type='text'>Wolfram|Alpha and non-searchable questions</title><content type='html'>WolframAlpha and non-searchable questions&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What it is not &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This product was widely panned in the blogosphere during its first week after release. But I want you to know...&lt;br /&gt;&lt;br /&gt;WolframAlpha is not a search engine. It says it is a computational knowledge engine.&lt;br /&gt;&lt;br /&gt;One obvious way to see this is to submit this string (&lt;em&gt;stopping power air, 0.731MeV electron&lt;/em&gt;) into both products, like this &lt;a href="http://www95.wolframalpha.com/input/?i=stopping+power+air%2C+0.731MeV+electron"&gt;WA Query&lt;/a&gt; and this &lt;a href="http://www.google.com/search?hl=en&amp;amp;q=stopping+power+air%2C+0.731MeV+electron&amp;amp;aq=f&amp;amp;oq=&amp;amp;aqi="&gt;Google Query&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The &lt;em&gt;answer&lt;/em&gt; if you could call it that is equal to computing the stopping power of a material.&lt;br /&gt;&lt;br /&gt;WolframAlpha gives a bunch of numbers and graphs. I am not sure if these are correct. I am not a student of nuclear physics.&lt;br /&gt;&lt;br /&gt;The Google result is significantly more disappointing. Specifically, no answer, not even a bunch of numbers for which I cannot validate their veracity.&lt;br /&gt;&lt;br /&gt;The reason is that WolframAlpha did not search the web for the answer to this question. Google did. Neither Google nor Wolfram can find it on the web, because it is not on the web!!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;It does it while you wait&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;The Alpha product computed the answer in real time. Now maybe this is a parlor trick.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;We could give the string from the Alpha examples page (&lt;em&gt;fuel cost 50 miles, 20 mpg, $2.09/gal&lt;/em&gt;). Now Google finds the question because it crawled Alpha's page. But, it still does not have the answer! Because the answer is not on the web! And if you make the miles in the question 507, it has to be recomputed. It cannot be looked up.&lt;br /&gt;&lt;br /&gt;So what I have been doing is giving Alpha questions that I know are not on the web. Maybe, &lt;em&gt;cube root of longitude of chicago&lt;/em&gt;. Does this make any sense?&lt;br /&gt;&lt;br /&gt;Well, it certainly makes numerical sense. What Alpha does in this case is to "parse" this phrase which is almost English into a few functions. I guess that this is where the NKS stuff came in. I certainly do not understand that!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Now the meat of it&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Anyway, Alpha has "curated data" containing lots of cities around the globe. In this data are properties of those cities. One property that has been curated is longitude. This is a number (a magnitude) with units degrees.&lt;br /&gt;&lt;br /&gt;Alpha has a version Mathematica running underneath it. Mathematica has a function to perform a cube root of a number. So Alpha asks Mathematica to compute the cube root of the magnitude and return it, which is very trivial for Mathematica.&lt;br /&gt;&lt;br /&gt;Then Alpha displays the result. Does this question make sense? Does the question: compute-me-the-cube-root-of-longitude-of-chicago make sense?&lt;br /&gt;&lt;br /&gt;I don't think so. I think that it is probably a non-sensical value.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The cost to become a champion&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;But when I first used Alpha and I saw it had some sports stuff, the first thing I wanted was "Tiger Woods: number of strokes career".&lt;br /&gt;&lt;br /&gt;Alas, I could not compute this with Alpha's help. This number might be out on the web. Or someone might be working to keep such a number and post it on the web in the future. When it is out there, Goggle will crawl it and find it.&lt;br /&gt;&lt;br /&gt;But it will be static. There probably will not be an application out there which will compute it for you whenever you want. Unil the Alpha curators put all of Tiger's matches in the DB. Then it will appear and you will be able to do other calculations with it.&lt;br /&gt;&lt;br /&gt;I used to ask avid golfers: "Can you average under 90 if you only play once a week?" Most said no. I don't think Alpha knows this one either.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Other non-searchable, questions which can be asked now to Alpha&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Some other queries which cannot be searched by anyone, they must be computed:&lt;br /&gt;&lt;br /&gt;- &lt;em&gt;square of molecular weight of iron&lt;br /&gt;&lt;/em&gt;- &lt;em&gt;eleventh largest US state&lt;/em&gt; (or thirteenth or 23rd)&lt;br /&gt;- &lt;em&gt;2nd highest elevation in Africa&lt;/em&gt;&lt;br /&gt;- &lt;em&gt;orbital position of the international space station&lt;/em&gt;; of course Alpha will give a different answer at different times&lt;br /&gt;- &lt;em&gt;square root of longitude of chicago&lt;/em&gt;&lt;br /&gt;- &lt;em&gt;father's mother's sister's son's aunt's brother's father&lt;/em&gt; (play with adding more relations to the end of the string "..sister's husband's mother's father"&lt;br /&gt;- &lt;em&gt;Vitamin c in 214g orange juice&lt;/em&gt; (try 271 grams)&lt;br /&gt;- &lt;em&gt;elevation des moines, minneapolis, phoenix&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Are these queries nonsense?&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Of course these can be seen as non-sensical. Their absurdity does again point to a parlor trick.&lt;br /&gt;&lt;br /&gt;Maybe it is just a savant who can detangle complicated English expressions easily. It is certainly possible.&lt;br /&gt;&lt;br /&gt;When curated-data was added to Mathematica V6 &amp;amp; V7, I assumed it was for social scientists who wanted to ask: "How does the rainfall in Iowa vary with the square root of the annual in-migration to the US between 1936 and 1947?" With Mathematica and the requisite curated data, you can answer this question.&lt;br /&gt;&lt;br /&gt;Further a great deal of the curated data is also based in the sciences. It has lots of stuff like nuclear physics and computational biology and chemical compound properties.&lt;br /&gt;&lt;br /&gt;So this meant (to me) that scientists could ask their own "nonsensical questions" as part of their research.&lt;br /&gt;&lt;br /&gt;And Alpha's plan is to broaden the scope of people who can ask these types of non-searchable questions and get an answer. And as more data becomes curated (as so much in our world is going that way), Alpha will be able to answer an infinitum of sense-less questions.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Syntax and adverbs&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Alpha has been billed as understanding English. We all know about Jeeves and even the mixed success of putting full sentences into Google. Sometimes a cryptic phrase works better.&lt;br /&gt;&lt;br /&gt;There is an interesting geneological example mentioned above. You can start by typing in "father's sister". Alpha will display a graph of a geneological tree. Then you can add an apparently infinite number of family relations onto this simple query and each time Alpha will display a gradually more complicated tree. This is great and a pefect example of a computed result from sociological data.&lt;br /&gt;&lt;br /&gt;The issue is that if you type this "father's mother's sister' son's aunt" rather than this "father's mother's sister's son's aunt", Alpha is utterly stupid to provide any assistance, either towards the answer or even what is wrong with your question. If you crawl through these 2 strings like programmers do all day, you will see that the possessive is missing from the 3rd relation.&lt;br /&gt;&lt;br /&gt;This is 2 distinct, but related problems. One is grammar. I called it an adverb, but it is really just a possessive noun. The other problem is just a simple syntax problem. Even the meaning is clear in the broken case, but the syntax issue "defies" Alpha. Problems like this are rampant in all current command-line software like Mathematica, Matlab and many others.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Drawbacks&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Many of these drawbacks are similar to those with Mathematica V7.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;how to know how much is there&lt;/em&gt;? - I have not found an easy way to dump all the enities for any given subject. Sometimes, Vitamin A works and Vitamin b does not?!? I want to tell what is the range of valid inputs for this.&lt;/p&gt;&lt;p&gt;&lt;em&gt;how to know what properties exists for which data&lt;/em&gt;? - Similarly there appears to be no way easily to find out the possible properties for an entity. In V7 Mathematica, this is simple. Also if there was a syntax to pickup the property, it would help the last drawback mentioned here.&lt;/p&gt;&lt;p&gt;&lt;em&gt;how to deal with syntax issues?&lt;/em&gt; - I guess this goes to the heart of the NKS piece. I am sure there are many issues like those described above which cannot be as easily solved (or understood).&lt;/p&gt;&lt;p&gt;&lt;em&gt;how to deal with semantics?&lt;/em&gt; (hurricane delores and hurricane sally) - I found the first query in the example text. Alpha thought the second query was comparing two movies. Of course, there is no "memory" across queries.&lt;/p&gt;&lt;p&gt;&lt;em&gt;how to "pipeline" results?&lt;/em&gt; - Of course the intent would be to take a property of an entity, modify it, then use it as input to another function, then compare it to another suitably modified proerty. I cannot see a syntax to do this in the current version.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Any meaningful use?&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;Methinks. In fact, there are many more non-sensically structured relevant questions that are not out on the web, that we need to figure out. This is in contrast to find something that someone else already wrote, putting your own branding at the top and selling it someone.&lt;/p&gt;&lt;p&gt;Alpha has many issues and significant drawbacks, but I believe that it is the closest so far to these hard-to-reach answers.&lt;br /&gt;&lt;br /&gt;Regards..&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-3908787815603099883?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/3908787815603099883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/05/wolframalpha-and-non-searchable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/3908787815603099883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/3908787815603099883'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/05/wolframalpha-and-non-searchable.html' title='Wolfram|Alpha and non-searchable questions'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-5767342602981661664</id><published>2009-01-04T18:55:00.000-08:00</published><updated>2009-01-04T18:58:39.258-08:00</updated><title type='text'>the 300,000th Fibonacci number</title><content type='html'>I am doing some studying of computational finanacial mathematics. Part of this involves numerical approximation and performance of algorithms.&lt;br /&gt;&lt;br /&gt;During this quest I have stumbled upon 2 ways to very rapidly compute the Subject: number.&lt;br /&gt;I guess I could not have imagined what this number might be.&lt;br /&gt;&lt;br /&gt;Now as a result of Mma, I can see this number. In scientific notation, it is:&lt;br /&gt;&lt;br /&gt;8.761732532916364 E 62695&lt;br /&gt;&lt;br /&gt;The first computation is the standard recursive definition. On my machine, this takes 1.422 seconds.&lt;br /&gt;&lt;br /&gt;The second computation involves nested powers of a simple 2x2 matrix with 2 column vectors equal to {0,1} and {1,1}. If this matrix is multipled by itself 300,000 times, the 2,2 element contains the number above. On my machine Mma takes 0. !?! seconds to perform this.&lt;br /&gt;&lt;br /&gt;Currently I do not know how to make Matlab compute this number. It just gives Inf (=Infinity?!).&lt;br /&gt;&lt;br /&gt;A transcipt log is stored &lt;a href="http://files.meetup.com/1343579/bigFib.pdf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Regards..&lt;br /&gt;----------------------------&lt;br /&gt;Originally posted  7/13/2007 at &lt;a href="http://www.congruentialuminaire.com/cLBlog"&gt;http://www.congruentialuminaire.com/cLBlog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-5767342602981661664?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/5767342602981661664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/01/300000th-fibonacci-number.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/5767342602981661664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/5767342602981661664'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/01/300000th-fibonacci-number.html' title='the 300,000th Fibonacci number'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-5994963270468494028</id><published>2009-01-02T10:08:00.000-08:00</published><updated>2009-01-02T10:13:41.384-08:00</updated><title type='text'>Idiom: obtaining property values from built-in lists</title><content type='html'>Example: &lt;em&gt;CountryData[#,"LifeExpectancy"]&amp;amp; /@ CountryData[]&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;This type of idiom appears frequently in the Mma What's New pages.&lt;br /&gt;&lt;br /&gt;An explanation of this appears &lt;a href="http://files.meetup.com/1343579/property%20value%20items.mht"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-5994963270468494028?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/5994963270468494028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/01/idiom-obtaining-property-values-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/5994963270468494028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/5994963270468494028'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/01/idiom-obtaining-property-values-from.html' title='Idiom: obtaining property values from built-in lists'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-4938687649110582104</id><published>2009-01-02T09:22:00.000-08:00</published><updated>2009-01-02T09:24:09.122-08:00</updated><title type='text'>Idioms: similar to "patterns of speech" for code</title><content type='html'>The main purpose of this category of posting is to learn often-used styles of Mma coding. I learned the majority of these by reading the code written by Maeder, Trott, Wolfram &amp;amp; Gray.&lt;br /&gt;&lt;br /&gt;Sometimes they are used for their economy. In other situations they can just be quickly recognized and even if they are not shorter, they are &lt;em&gt;shortcuts&lt;/em&gt; for the reader. They are often but not always in the functional propgramming style.&lt;br /&gt;&lt;br /&gt;Unfortunately they mainly server this function for the &lt;em&gt;initiated&lt;/em&gt;. This postings in this cateory attempt to broaden this audience.&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-4938687649110582104?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/4938687649110582104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2009/01/idioms-similar-to-patterns-of-speech.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/4938687649110582104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/4938687649110582104'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2009/01/idioms-similar-to-patterns-of-speech.html' title='Idioms: similar to &quot;patterns of speech&quot; for code'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-9063464950056465286</id><published>2008-12-28T00:06:00.000-08:00</published><updated>2008-12-28T00:09:50.517-08:00</updated><title type='text'>Comp: Factoring integers in Matlab and Mathematica</title><content type='html'>Problem: Obtain factors for a very large integer, such as (2^227-1)&lt;br /&gt;&lt;br /&gt;Answers (from Mma):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;26986333437777017&lt;/li&gt;&lt;li&gt;7992177738205979626491506950867720953545660121688631&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Mathematica V7 computes the exact factors in about 11 seconds (Mma V5 was 550 seconds) on my hardware. It has always amazed me that Mma can compute this at all.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;Matlab R2007A cannot perform this factorization at all. The Matlab help command explains that TMW has decided to disable [i.e. integer factorization] for numbers greater than 2^32! The Matlab doc entry does not list this restriction at all.&lt;br /&gt;&lt;br /&gt;Regards...&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory&lt;br /&gt;-----------------------------------------------------------&lt;br /&gt;This post was originally posted on 7/15/2007 at: &lt;a href="http://www.congruentialuminaire.com/CLBlog/default.aspx"&gt;http://www.congruentialuminaire.com/CLBlog/default.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-9063464950056465286?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/9063464950056465286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/comp-factoring-integers-in-matlab-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/9063464950056465286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/9063464950056465286'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/comp-factoring-integers-in-matlab-and.html' title='Comp: Factoring integers in Matlab and Mathematica'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-7317338394312726738</id><published>2008-12-27T23:46:00.000-08:00</published><updated>2008-12-27T23:47:48.389-08:00</updated><title type='text'>Tutorial: Automatic Annotation</title><content type='html'>&lt;a href="http://files.meetup.com/1343579/BesselSolveTest3.nb"&gt;This tutorial&lt;/a&gt; is about how to automate the annotation of a graphic created in Mma. This can be viewed with Mma Player.&lt;br /&gt;&lt;br /&gt;Regards...&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-7317338394312726738?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/7317338394312726738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/tutorial-automatic-annotation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/7317338394312726738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/7317338394312726738'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/tutorial-automatic-annotation.html' title='Tutorial: Automatic Annotation'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-7203630412191051966</id><published>2008-12-26T16:36:00.000-08:00</published><updated>2008-12-26T16:39:01.219-08:00</updated><title type='text'>Correction: NDSolve plotting page contains invalid source input</title><content type='html'>On &lt;a href="http://reference.wolfram.com/mathematica/howto/PlotTheResultsOfNDSolve.html"&gt;this Howto page&lt;/a&gt;, there is some clickable input listing a differential equation to be solved numerically and plotted.&lt;br /&gt;&lt;br /&gt;The input has been URL-encoded, so it looks like:&lt;br /&gt;&lt;br /&gt;ode1 = {y&amp;apos;&amp;apos;[x] + Sin[y[x]] == 0, y[0] == 2, y&amp;apos;[0] == 1};&lt;br /&gt;&lt;br /&gt;Where it should contain:&lt;br /&gt;&lt;br /&gt;ode1 = {y''[x] + Sin[y[x]] == 0, y[0] == 2, y''[0] == 1};&lt;br /&gt;&lt;br /&gt;The &lt;em&gt;NDSolve[]&lt;/em&gt; invocation which follows this erroneous input understandably complains. Of course it does this in an unintelligible way.&lt;br /&gt;&lt;br /&gt;There is more than one equation on this page with the same affliction.&lt;br /&gt;&lt;br /&gt;Regards..&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-7203630412191051966?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/7203630412191051966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/correction-ndsolve-plotting-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/7203630412191051966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/7203630412191051966'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/correction-ndsolve-plotting-page.html' title='Correction: NDSolve plotting page contains invalid source input'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-3208767741556802134</id><published>2008-12-26T16:35:00.000-08:00</published><updated>2008-12-26T16:36:40.775-08:00</updated><title type='text'>Correction: highlight issues where I find them</title><content type='html'>I use many Wolfram Research Inc (WRI) pages that contain Mathematica (Mma) input that you can click on, copy and paste/run in the product. On a very small number of these pages there are small errors that can frustrate users.&lt;br /&gt;&lt;br /&gt;If I figure out the correction, I will post it here. I do not know if anyone at WRI has time to worry about these crumbs.&lt;br /&gt;&lt;br /&gt;Regards..&lt;br /&gt;&lt;br /&gt;Roger Williams&lt;br /&gt;Franklin Laboratory&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-3208767741556802134?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/3208767741556802134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/correction-highlight-issues-where-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/3208767741556802134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/3208767741556802134'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/correction-highlight-issues-where-i.html' title='Correction: highlight issues where I find them'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1792083242660765247.post-1196948994545219713</id><published>2008-12-26T08:46:00.000-08:00</published><updated>2008-12-26T08:51:34.577-08:00</updated><title type='text'>the motivation</title><content type='html'>I have just started using Mma V7. My head is exploding since I never really got caught up to the V6 version.&lt;br /&gt;&lt;br /&gt;I am very excited to be using this new version and it served as the motivation for this blog to help more people use this amazing piece of software.&lt;br /&gt;&lt;br /&gt;So the main the word that will be the common thread to this [and any good software] is: &lt;strong&gt;&lt;em&gt;consistency of design&lt;/em&gt;&lt;/strong&gt;. In software engineering this is the highest compliment and the main attribute to help the mind combat the complexity of any powerful piece of software.&lt;br /&gt;&lt;br /&gt;Now to the journey....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1792083242660765247-1196948994545219713?l=learningmathematica.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://learningmathematica.blogspot.com/feeds/1196948994545219713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/motivation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/1196948994545219713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1792083242660765247/posts/default/1196948994545219713'/><link rel='alternate' type='text/html' href='http://learningmathematica.blogspot.com/2008/12/motivation.html' title='the motivation'/><author><name>Congruent Light</name><uri>http://www.blogger.com/profile/10982995395745927023</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://3.bp.blogspot.com/_bxpCnUIo4VE/SWGKQTu-n9I/AAAAAAAAAAM/qyZMu2dlZ5E/S220/juliaSet.jpg'/></author><thr:total>0</thr:total></entry></feed>
