The Wolfram|Alpha Blog is now part of the Wolfram Blog. Join us there for the latest on Wolfram|Alpha and other Wolfram offerings »
AUTHOR PAGE
michael-trott
Michael Trott
Blog Posts from this author:
August 19, 2014– 5

In today’s blog post, we will use some of the new features of the Wolfram Language, such as language processing, geometric regions, map-making capabilities, and deploying forms to analyze and visualize the distribution of beer breweries and whiskey distilleries in the US. In particular, we want to answer the core question: for which fraction of the US is the nearest brewery further away than the nearest distillery?

Disclaimer: you may read, carry out, and modify inputs in this blog post independent of your age. Hands-on taste tests might require a certain minimal legal age (check your countries’ and states’ laws).

We start by importing two images from Wikipedia to set the theme; later we will use them on maps. More »

August 22, 2013– Comments Off on Musing about Rectangular Bar Magnets Comments Off on Musing about Rectangular Bar Magnets

(This is the third post in a three-part series about electrostatic and magnetostatic problems involving sharp edges.)

In the first blog post of this series, we looked at magnetic field configurations of piecewise straight wires. In the second post, we discussed charged cubes and orbits of test particles in their electric field. Today we will look at magnetic systems, concretely, mainly at a rectangular bar magnet with uniform magnetization. More »

July 18, 2013– 3

This blog post is the continuation of my last two posts (12) about formulas for curves. So far, we have discussed how to make plane curves that are sketches of animals, faces, fictional characters, and more. In this post, we will discuss the constructions of some filled curves (laminae). More »

June 10, 2013– 2

In my last blog post, I discussed how to construct closed-form trigonometric formulas for sketches of people’s faces. Using similar techniques, Wolfram|Alpha has recently added a collection of hundreds of such closed-form curves for faces, shapes, animals, logos, and signatures. More »

May 17, 2013– 5

Here at Wolfram Research and at Wolfram|Alpha we love mathematics and computations. Our favorite topics are algorithms, followed by formulas and equations. More »

September 27, 2012– 3

In my last blog post, we looked at various examples of electrostatic potentials and magnetostatic fields. We ended with a rectangular current loop. Electrostatic and magnetostatic potentials for squares, cubes, and cuboids typically contain only elementary functions, but the expressions themselves are often quite large compared with simple systems with radial symmetry. In the following, we will discuss some 3D charge configurations that have sharp edges. More »

July 20, 2012– 5

(This is the first post in a three-part series about electrostatic and magnetostatic problems involving sharp edges.)

Mathematica can do a lot of different computations. Easy and complicated ones, numeric and symbolic ones, applied and theoretical ones, small and large ones. All by carrying out a Mathematica program.

Wolfram|Alpha too carries out a lot of computations (actually, tens of millions every day), all specified through free-form inputs, not Mathematica programs. More »

June 15, 2010– 5

Wolfram|Alpha computes things. While the use of computations to predict the outcomes of scientific experiments, natural processes, and mathematical operations is by no means new (it has become a ubiquitous tool over the last few hundred years), the ease of use and accessibility of a large, powerful, and ever-expanding collection of such computations provided by Wolfram|Alpha is.

Virtually all known processes occur in such a way that certain functionals that describe them become extremal. Typically this happens with the action for time dependent processes and quantities such as the free energy for static configurations. The equations describing the extremality condition of a functional are frequently low-order ordinary and/or partial differential equations and their solutions. For example, for a pendulum: Frechet derivative of Integrate[x'[t]^2/2 – Cos[x[t]], {t, -inf, inf}] wrt x[tau]. Unfortunately, if one uses a sufficiently realistic physical model that incorporates all potentially relevant variables (including things like friction, temperature dependence, deformation, and so forth), the resulting equations typically become complicated—so much so that in most cases, no exact closed-form solution can be found, meaning the equations must be solved using numerical techniques. A simple example is provided by free fall from large heights:

Calculating free fall in Wolfram|Alpha

On the other hand, some systems, such as the force of a simple spring, can be described by formulas involving simple low-order polynomial or rational relations between the relevant problem variables (in this case, Hooke’s law, F = k x):

Hooke's law

Over the last 200+ years, mathematicians and physicists have found a large, fascinating, and insightful world of phenomena that can be described exactly using these so-called special functions (also commonly known as “the special functions of mathematical physics”), the class of functions that describe phenomena between being difficult and complicated. It includes a few hundred members, and can be viewed as an extension of the so-called elementary functions such as exp(z), log(z), the trigonometric functions, their inverses, and related functions.

Special functions turn up in diverse areas ranging from the spherical pendulum in mechanics to inequivalent representations in quantum field theory, and most of them are solutions of first- or second-order ordinary differential equations. Textbooks often contain simple formulas that correspond to a simplified version of a general physical system—sometimes even without explicitly stating the implicit simplifying assumptions! However, it is often possible to give a more precise and correct result in terms of special functions. For instance, many physics textbooks offer a simple formula for the inductance of a circular coil with a small radius:

Formula for inductance of a circular coil with a small radius

While Wolfram|Alpha knows (and allows you to compute with) this simple formula, it also knows the correct general result. In fact, if you just ask Wolfram|Alpha for inductance circular coil, you will be simultaneously presented with two calculators: the one you know from your electromagnetics textbook (small-radius approximation) and the fully correct one. And not only can you compute the results both ways (and see that the results do differ slightly for the chosen parameters, but that the difference can get arbitrarily large), you can also click on the second “Show formula” link (near the bottom of the page on the right side) to see the exact result—which, as can be seen, contains two sorts of special functions, denoted E(m) and K(m) and known as elliptic integrals: More »