Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Assign value from WolframAlpha query.' topicStudent Support Forum > General > Archives > "Assign value from WolframAlpha query."

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
08/13/12 09:40am

This seems to work (with the comment symbols removed):

h2 =WolframAlpha["Hydrogen vapor \
viscosity",{{"UnitConversion",3},"NumberData"}]

I'm not sure what you're asking. Do you want to get the vapor viscosity of other gases? (Keep in mind that I don't know what that means....)

The following returns three numbers:

In[73]:= WolframAlpha[# <> " vapor viscosity", {{"UnitConversion", 3}, "NumberData"}] & /@ {"H2", "N2", "O2"}

Out[73]= {0.00891535, 0.0178047, 0.0205502}

Does it look right?

URL: ,

Subject (listing for 'Assign value from WolframAlpha query.')
Author Date Posted
Assign value from WolframAlpha query. Bebert 08/08/12 4:26pm
Re: Assign value from WolframAlpha query. Michael 08/13/12 09:40am
Re: Re: Assign value from WolframAlpha query. brian ebert 08/13/12 11:07am
Re: Re: Re: Assign value from WolframAlpha query. Michael 08/14/12 2:04pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic