Try to say that 5 times really fast. Go ahead, try it. Well, at least it is not as difficult as Fox in Socks - man that book is a killer.
This WAW is basically a means to embed Wolfram Alpha queries into a webpage. Pretty cool idea, but I am not sure how well it does the job. In fact, I have tried to embed calculations in my posts before. So, how about I just give a quick review of some different ways to do this. For all these methods, I will put in a calculator to determine the density of something given its mass and volume.
What is good about this? First, it is all contained in this page. There are no popups or anything like that. It doesn't depend on the user having to log into anything else. It is fully customizable by me - if I wanted, I could even add pull down menus for different units and stuff.
I have used this one before. The basic idea is to put the calculation into either a google doc or in a Zoho spreadsheet. I will use both below.
I really thought one could embed an editable google docs spreadsheet. Why can't you? WHY? Oh well, here is the webpage version that you can edit - but that kind of ruins the whole point.
I wish the zoho doc could be set to edit on load instead of having to click that edit button. Also, my brother claims that this doesn't work in Safari if you have cookies disabled or something like that. Other than that, the embeddable spreadsheet thing seems like a good idea. Too bad it doesn't work just the way I like it.
Wolfram Alpha Widget
Here is the applet I made from Wolfram Alpha.
Yes, this is pretty simple - but it returns lots of cool info. I am not sure if this form is still the best. However, maybe this is better than the other two. I haven't made up my mind yet. What about a more difficult test? Here is a calculation from my flying R2-D2 post. I found an expression for the mass of R2 as:
Can I use Wolfram Alpha to make a widget for this?
That seems to work. Also, in this version I included the units in the input box. Why not - right? Wolfram Alpha interprets that stuff anyway. No need for me to go through the trouble of making in a pop-up menu.
But, what do you think? Are there any other good alternatives for embedding calculations?
- Log in to post comments
I did that on purpose just to see if anyone was paying attention - obviously you are.
Just kidding - thanks for pointing that out (I fixed it).
The WA widget is not using the correct units for me. I put in 10 kg and 1 m^3 and got (hand translated to ASCII):
1 cm^3 (centimeter cubed)
10 g/cm^3 (grams per cubic centimeter)
[third in the list] 10 000 kg/m^3 (kilograms per cubic
Changing the units to kg and mL and trying different numbers (0.002 kg and 3 mL) yields:
0.00200 g (grams)
3 L (liters
6.67 x 10^-4 g/L (grams per liter)
[kg/mL not given]
Ok - I think I fixed it - but you were right. I don't know why wolfram alpha was doing that. You can see my simple fix was to switch from putting the units in a pull down menu to just putting them in the entry box. That is easier and more sensible anyway.
Thanks for pointing out the error.