Wolfram Computation Meets Knowledge

Announcements & Events

Enter the Mathematica Experts Live: One-Liner Competition 2012

At the last two annual Wolfram Technology Conferences, attendees have enjoyed amazing, and being amazed by, each other in the One-Liner Competition, which challenges participants to show us the most astounding things they can do with 140 characters or less of Mathematica code. And each time we have been surprised, inspired, and gratified by their creativity. Now we've opened up the competition to you, and Mathematica users from around the world are sending us their submissions. In a Mathematica Experts Live broadcast on August 21, we'll reveal the winner and runners-up of the competition, show you what they did, and explain how they did it. You'll see applications you probably never thought possible, learn new Mathematica tricks and techniques, and have your socks blown off by elegant programming wizardry.
Products

Battery Model and Analysis with Wolfram SystemModeler

Explore the contents of this article with a free Wolfram SystemModeler trial. How do different activities such as making phone calls, watching video, listening to music, or browsing the web affect cell phone battery life? What about the temperature—does it matter if the cell phone is in a warm pocket or out in the cold? In this blog post, we'll investigate how a model constructed with Wolfram SystemModeler can help in finding answers to such questions. An area where battery usage is taking off right now is cell phones. There are different kinds of battery types used in cell phones: nickel metal hydride, lithium-polymer, and Li-ion. The superior energy density, power density, low self-discharge, and long cycle life of the Li-ion batteries makes them interesting for cell phone applications. In this blog post, we'll look at Li-ion cells of the type LiFePO4, where lithium ions move from the negative electrode to the positive electrode during discharge and the other way around when charging. The are many types of battery models: analytical, electrical circuits, electrochemical, and combinations of these types. Our model of choice is the electrical circuit model, which provides sufficient accuracy for top-level performance analysis and is easy to connect to other systems. A typical schematic for an electrical circuit model of a battery cell might look something like this:
Announcements & Events

Winners of Wolfram’s First Demonstrations School Coding Competition Announced

Wolfram Research today announced the winner of its first Demonstrations competition as Michael Lawson from Ermysted's Grammar School, North Yorkshire, with runners-up Patrick Stevens, Woodbridge School, Suffolk and David Harris, St. Dunstan's College, London. Michael's Demonstration, "Recursive Dungeon Generator," was a particularly good showcase for applications of programming---in this instance, for game design. "I was working on creating my own Rogue-like game, and I was experimenting with different ways to generate rooms. This was one of my own algorithm ideas," said Michael, who, although he has been programming for four years, only started using Mathematica recently. "I actually only learned how to use Mathematica for the purpose of the competition. I started creating my demo after having only watched a few of the videos recommended for entrants, and then finished about four days later!" All three of the winning entries are published on the Wolfram Demonstrations Project site alongside 8,000 other user-created programs. "Recursive Dungeon Generation” "Semitones In Pythagorean Tuning and 12 Tone Equal Temperament” "Sorting Algorithms” The idea of the competition was to promote the application of programming in schools and support the UK government initiative to bring programming into schools.
Products

Building a Refrigerator Model in Wolfram SystemModeler

Explore the contents of this article with a free Wolfram SystemModeler trial. Refrigerators and freezers are common household appliances, present in almost every home. That means most people use one every day, but how do they actually work? And what happens to the temperature when you open the door? Or when the power goes out during a storm? Those are some of the questions this blog post seeks to answer by building a refrigerator model in Wolfram SystemModeler. A common way to construct a combined refrigerator and freezer is to keep the freezer compartment cool with a heat pump and to then transfer some of the air to the fridge compartment. That way only one heat pump is needed, and both compartments can be kept at different temperatures. The following diagram shows our goal: modeling a connected freezer and fridge complete with doors, casing, food contents, and a heat pump. At the top we see the freezer compartment together with the heat pump that cools the air, some frozen food in the freezer, and a door for the freezer. At the bottom we see a similar structure for the fridge. The two are connected with a component for air circulation at the middle right of the diagram, which will transfer cold air from the freezer to the fridge. Finally, to the left, we have components modeling the casing and insulation to the room temperature outside.
Computation & Analysis

Tracking the World Records

With the 2012 Olympics upon us, and records waiting to be broken, it might be a good time to consider some aspects of track and field. I need to write this now, because once the track part of the Games is underway, I fully intend to spend quality time with a television set. Why do I like track? Well, what school sport might one take up if one is (read: was) scrawny and not very (read: very not) coordinated? I will focus on men's track, but the gist of this almost certainly applies to women's as well. We'll look at speeds of world records and how they change as the distances get longer. I'll start with a Demonstration by my Wolfram Research colleague Sy Blinder, "How Fast Can You Run?" The Demonstration shows that speeds follow an interesting pattern, which is covered by me here. Along the way I will also inadvertently reveal that I know nothing whatever about data modeling. To underscore the comment about records being broken, I will point out that several of the record times listed in Blinder's Demonstration are already out of date. Below is a current list, of the form {distance, time} measured in {meters, seconds}. I omitted the less common distances because they might not be indicative of the best possible efforts, even among elite athletes.
Education & Academic

On the Importance of Being Edgy—Electrostatic and Magnetostatic Problems with Sharp Edges

(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. Wolfram|Alpha is heavily based on Mathematica, and many of the mathematical calculations that Wolfram|Alpha carries out rely on the mathematical power of Mathematica. And while Wolfram|Alpha can carry out a vast amount of calculations, it cannot carry out all possible calculations, either because it does not (yet) know how to do a calculation or because the (underlying Mathematica) calculation would take a longer time than available through Wolfram|Alpha. So for a detailed investigation of a more complicated engineering, physics, or chemistry problem, having a copy of Mathematica handy is mandatory. But there is also the reverse relation between Mathematica and Wolfram|Alpha: Wolfram|Alpha's knowledge, especially its data knowledge, allows it to carry out investigations and calculations that can substantially increase the power of pure Mathematica. And all of this is because Wolfram|Alpha's knowledge is accessible through the WolframAlpha[] function within Mathematica.
Announcements & Events

Mathematica Experts Live: Dynamic Interfaces Q&A 2012

It's back! The only event in which Mathematica experts are live on camera to answer your questions: Mathematica Experts Live. The first Mathematica Experts Live virtual event was such a popular success that we're doing it again. Thank you for your feedback and suggestions. Many of you asked for help with dynamic interfaces, so this time Mathematica experts will answer questions about interactivity. We'll be ready to answer questions similar to: How do you add a constraint to a Dynamic? My Dynamic is slow. How can I make it faster? What is the difference between Module and DynamicModule? How do you change the visual appearance of a button? How can I make custom controls? Although the format is the same as before, this event will be 30 minutes longer. Our host will accept questions in real time and pass them to three of our user interface experts. You can also submit your question when you register for the event.
Announcements & Events

Mathematica Summer Camp 2012 Was a Success!

Mathematica Summer Camp ran July 1–13 at Curry College. This year we had 22 high school students from all over the world who came together to learn Mathematica. By the end of camp, each student created his or her own Mathematica program, which they presented on Friday. They all worked hard to complete their projects in order to submit them to the Wolfram Demonstrations Project.
Announcements & Events

Digging into River-Aquifer Interactions with Mathematica

As a PhD candidate in civil engineering, Diego Oviedo-Salcedo needed a computational environment that he could use to not only explore the abstract concepts within his civil engineering research, but also to present and communicate his findings to his advisor, peers, and decision-makers. His solution: Mathematica. Mathematica's enhanced built-in statistical analysis capabilities allow Oviedo-Salcedo to instantly test different ideas and methods related to assessing the impact of uncertain physical and hydrological sources on river and aquifer interactions. In addition, Mathematica's easy-to-author interactivity helps him communicate his results with dynamic models—a feature that's proven to be eye-opening within his department.