The Oracle of Wolfram. Wolframalpha.

Posted in Mathematica with tags , , on May 17, 2009 by isallaboutmath

It could be said this is the comming of age of search engine. We have seen yahoo first then google and many other minor stars. Get ready now we have

http://www.wolframalpha.com/ 

What is so different or new about this search engine?

Well to start it uses Mathematica to produce the result of the queries! Mathematica is a wonderful software that allows one to do very sofisticated mathematical computation and that have a lot of information embeded in the system.

Wolframalpha allows one to not just search for information but to find new information from existing information in other words to mined information to ask questions to correlated information.

 I found some cute things from Wolframalpha already.

At one point I guess their servers were overwhelm and I got this answer!

I’m sorry Dave, I’m afraid I can’t do that. (Famous line from Arthur C Clarke 2001 Space Odyssey.

WolframAlpha2

On the other hand I try something simple like getting Pi to 100,000 digits and after paging a few times got this errors that shows part of the inner workings of the system is Mathematica Code !!!

 

wolfram1

To learn more about wolfram alphahttp://www.wolfram.com/products/mathematica/madepossible/wolframalpha.html

Tania Brugera Performance. With Spanish Subtitles.

Posted in math with tags on March 31, 2009 by isallaboutmath

 

Tania Brugera is a Cuban performance artist

See this video where she explain some of her work in English

 

Fab Labs. The future coming…

Posted in math with tags , , on March 31, 2009 by isallaboutmath

This is a wonderful TED talk about the fabrication labs from MIT

http://www.ted.com/index.php/talks/neil_gershenfeld_on_fab_labs.html

the MIT site

http://fab.cba.mit.edu/content/tools/

The magic of life. Cell animation.

Posted in math with tags , , on March 31, 2009 by isallaboutmath

See what is inside of each of us

http://multimedia.mcb.harvard.edu/anim_innerlife_lo.html

 

see also this TED talk

 

http://www.ted.com/index.php/talks/david_bolinsky_animates_a_cell.html

 

to think that from all this a consciousness arises that is able to learn about itself!

Freedom beautiful freedom!

Posted in blog, censorship, cuba, democracy, internet with tags , , , on March 30, 2009 by isallaboutmath

Here is a performance in Cuba. Yoani Sanchez and many others use a minute to express freely

 

 

http://www.youtube.com/watch?v=XVV1Q6qT8Kk

What follows is a translation of what Yoani Sanchez said.

Cuba is an island surrounded by sea and is also an island surrounded by censorship. Some of the information control and especially the Internet have opened up some cracks with blogs. In the wake of alternative blogosphere and is known to a good part of the Cuban population. We are a … accentuate the awakening of public opinion.

The authorities consider the technology as a wild horse to be tame. The independent bloggers want to run freely. Difficulties in disseminating our sites are many. Passed from hand to hand and thanks to flash memory, CDs, the obsolete diskettes the content of the blogs  goes through the island.

Internet is becoming a public forum of discussion where the Cubans are writing opinions. The real island is starting to be a virtual island that is more democratic and more pluralistic. Unfortunately these winds of free expression in the Internet have only just started to show up in our watchful reality.
Let us not wait for the authorization to enter the internet. To have a blog or to write an opinion.

It is time to jump the wall of control.

See this blog post by Yoani

http://desdecuba.com/generationy/?p=472

and this other blog post by Claudia

http://octavocercoen.blogspot.com/2009/03/one-minute-of-freedom-per-person.html

Some Physics TED Talks

Posted in math with tags , , , on March 29, 2009 by isallaboutmath

Bottom of the Barrel.

Posted in cuba with tags , on March 24, 2009 by isallaboutmath

I wrote two prior posts with statistical information about Cuba

In one I computed the average salary to be equal to 233.00 dollars approximately and in the other I show a map of  with all the countries who’s GDP per capita are less than Cuba’s GDP per capita.

Since the actual average pay for Cubans is 233.00 dollars and since that should equate to the GDP per capita I wanted to know what countries have a GDP per capita of less than 233.00 dollars.

Here is the answer I get from Mathematica

 Select[CountryData[], CountryData[#, "GDPPerCapita"] < 233 &]

{”Afghanistan”, “Burundi”, “DemocraticRepublicCongo”, “Ethiopia”,

“GuineaBissau”, “Liberia”, “Malawi”, “Myanmar”, “Niger”, 

“SierraLeone”, “Zimbabwe”}

 

and here is a map showing in color the countries whos GDP per capita is less than Cuba’s average salary!

 

worldcubagdppercapita2

TED Talks.

Posted in math with tags , , , on March 22, 2009 by isallaboutmath

Countries in the World with GDP per capita less than Cuba.

Posted in cuba on March 21, 2009 by isallaboutmath

As they said a picture is worth a thousand words.

The following map was produce unsing mathematica and the statistical information within mathematica.

The question I asked mathematica is

Color all the countries with GDP per capita smaller than Cuba’s GDP percapita.

We can then see large parts of the world like in Africa and Asia these are the poorest countries is interesting to notice that India and China are included but the reason for that is because these countries are very heavily populated so that will bring down the GDP per capita.

worldcubagdppercapita

The Mathematica code I use to produce the map above is

 

Graphics[

 {{EdgeForm[Black], White,

   CountryData[#, "FullPolygon"] & /@ CountryData[]},

  Tooltip[{EdgeForm[Black], Hue[CountryData[#, "GDPPerCapita"]],

      CountryData[#, "FullPolygon"]}, #] & /@

   Select[CountryData[], 

    CountryData[#, "GDPPerCapita"] < 

      CountryData["Cuba", "GDPPerCapita"] &]}]

Comparing Apples to Apples. Cuba versus Chile and Portugal.

Posted in Mathematica, cuba with tags , , , on March 21, 2009 by isallaboutmath

 

I am fortunate to have a copy of Mathematica a wonderful software that allows one to make sophisticated computations and that of late contain a wealth of statistical information.

I was very interested to know for example how Cuba compare economically with other countries with similar population.

 If one runs the following mathematica command

 

Reverse[Sort[{CountryData[#, "Population"], CountryData[#]} & /@ 

   CountryData[]]]

We get a list of pairs containing the country population and the Country Name sorted in descending order something like

 

 

{{1.29801*10^9, “China”}, {1.15175*10^9, “India”}, {3.02841*10^8, 

  ”UnitedStates”}, {2.28864*10^8, “Indonesia”}, {1.89323*10^8, 

  ”Brazil”}, {1.60943*10^8, “Pakistan”},..

 

 

When we look in that statistical table in the Cuban vecinity the list of countries that have similar population are

 

 

{1.64654*10^7, “Chile”}, {1.6379*10^7, “Netherlands”}, {1.53143*10^7, \

“Kazakhstan”}, {1.43585*10^7, “BurkinaFaso”}, {1.41966*10^7, \

“Cambodia”}, {1.37367*10^7, “Niger”}, {1.35707*10^7, “Malawi”}, \

{1.32282*10^7, “Zimbabwe”}, {1.3202*10^7, “Ecuador”}, {1.30286*10^7, \

“Guatemala”}, {1.20725*10^7, “Senegal”}, {1.19684*10^7, “Mali”}, \

{1.16962*10^7, “Zambia”}, {1.12667*10^7, “Cuba”}, {1.11225*10^7, \

“Greece”}, {1.05787*10^7, “Portugal”}

 

 

For comparison then we could use countries like Greece, Portugal and even Chile.

In the following diagrams the red dot is Cuba the diagrams are logarithmic plots of the statistical information using the data contained in mathematica. The source of the data for mathematica seems to be the CIA World Fact Book.

 
cubachilepopulation

The above diagram red dot shows Cuban population and the green diagram Chile’s population the rest of the blue dots are all the population of other countries in the world sorted in decreasing order.

 

 

GDP per Capita comparison between Cuba and Chile

GDP per Capita comparison between Cuba and Chile

Again in the above diagram the red dot is for Cuba’s GDP percapita (about 4500) and the green dot is the GDP per capita for Chile (about 6832.67) . 

As can be seen two Latin American countries very close on the number of inhabitants the GDP per capita for Chile is much bigger than Cuba’s GDP that is not even counting that the actual mean salary paid by the Cuban government is about 200 dollars a year. If we put that value as the GDP per capita then Cuba would go to the bottom of the list.

Here is a similar comparison between Cuba and Portugal (The poorest country in Europe)

 

Cuba and Portugal population

Cuba and Portugal population

and below the same diagram comparing the GDP per capita of Cuba to the GDP per capita of Portugal.

 

Cuba GDP per capita versus Portugal GDP per capita

Cuba GDP per capita versus Portugal GDP per capita

 

 

 

 The lesson we can draw from this is that economically the capitalist countries are better than a communist country.

 

Below I include the mathematica code I have use to produce the graphs 

value := “Population”

countries := Reverse[Sort[CountryData[#, value] & /@ CountryData[]]]

cuba := If[# == CountryData["Cuba", value], #, 0] & /@ 

  Reverse[Sort[CountryData[#, value] & /@ CountryData[]]]

other := If[# == CountryData["Chile", value], #, 0] & /@ 

  Reverse[Sort[CountryData[#, value] & /@ CountryData[]]]

ListLogPlot[{countries, cuba, other},

 Background -> Black, AxesStyle -> Directive[Thick, Orange],

 PlotStyle -> {Directive[Blue, PointSize[Small]], 

   Directive[Red, PointSize[Large]], 

   Directive[Green, PointSize[Large]]}

 ]

 

And this is the code for GDP per Capita

 

value := “GDPPerCapita”

countries := Reverse[Sort[CountryData[#, value] & /@ CountryData[]]]

cuba := If[# == CountryData["Cuba", value], #, 0] & /@ 

  Reverse[Sort[CountryData[#, value] & /@ CountryData[]]]

other := If[# == CountryData["Chile", value], #, 0] & /@ 

  Reverse[Sort[CountryData[#, value] & /@ CountryData[]]]

ListLogPlot[{countries, cuba, other},

 

 Background -> Black, AxesStyle -> Directive[Thick, Orange], 

 PlotStyle -> {Directive[Blue, PointSize[Small]], 

   Directive[Red, PointSize[Large]], 

   Directive[Green, PointSize[Large]]}

 ]