You’ve probably used Wolfram Alpha and maybe even used the company’s desktop software for high-powered math such as Mathematica. One of the interesting things about all of Wolfram’s mathematics software is that it shares a common core engine — the Wolfram Engine. As of this month, the company is allowing free use of the engine in software projects. The catch? It is only for preproduction use. If you are going into production you need a license, although a free open source project can apply for a free license. Naturally, Wolfram gets to decide what is production, although the actual license is pretty clear that non-commercial projects for personal use and approved open source projects can continue to use the free license. In addition, work you do for a school or large company may already be covered by a site license.
Given how comprehensive the engine is, this is reasonably generous. The engine even has access to the Wolfram Knowledgebase (with a free Basic subscription). If you don’t want to be connected, though, you don’t have to be. You just won’t be able to get live data. If you want to play with the engine, you can use the Wolfram Cloud Sandbox in which you can try some samples.
Continue reading “Wolfram Engine Now Free… Sort Of”
If we are hiring someone such as a carpenter or an auto mechanic, we always look for two things: what kind of tools they have and what they do when things go wrong. For many types of embedded systems, one important tool that serious developers use is the Kalman filter. It is also something you use when things go “wrong.” [Carcano] recently posted a tutorial on Kalman filter equations that tries to demystify the topic. His example — a case of things going wrong — is when you have a robot that knows how far it is supposed to move and also has GPS coordinates of its positions. Since the positions probably don’t agree, you can consider that a problem with the system.
The obvious answer is to average the two positions. That’s fine if the error is small. But a Kalman filter is much more robust in more situations. [Carcano] does a good job of taking you through the math, but we will warn you it is plenty of math. If you don’t know what a Gaussian distribution is or the word covariance makes you think of sailboats, you are going to have to do some reading to get through the post.
Continue reading “The Kalman Filter Exposed”
There’s a line from the original Star Trek where Khan says, “Improve a mechanical device and you may double productivity, but improve man and you gain a thousandfold.” Joan Horvath and Rich Cameron have the same idea about improving education, particularly autodidacticism or self-learning. They share what they’ve learned about acquiring an intuitive understanding of difficult math at the Hackaday Superconference and you can watch the newly published video below.
The start of this was the pair’s collaboration on a book about 3D printing science projects. Joan has a traditional education from MIT and Rich is a self-taught guy. This gave them a unique perspective from both sides of the street. They started looking at calculus — a subject that scares a lot of people but is really integral (no pun intended) to a lot of serious science and engineering.
You probably know that Newton and Leibniz struck on the fundamentals of calculus about the same time. The original papers, however, were decidedly different. Newton’s approach was more physical and less mathematical. Leibniz used formal logic and algebra. Although both share credit, the Leibniz notation won out and is what we use today.
Continue reading “Understanding Math Rather Than Merely Learning It”
Hackaday likes clocks, a lot. Speaking personally, from my desk I can count at least eight clocks, of which seven are working. There’s normal quartz movement analog clocks, fun automatic wristwatches, run-of-the-mill digital clocks, a calculator watch, and a very special and very broken Darth Vader digital clock/radio combo that will get fixed one day — most likely. Every clock is great, and one of life’s great struggles is to see how many you can amass before you die. The more unique the clock is, the better, and nothing (so far) tops [Antonella Perucca]’s Chinese Remainder Clock.
Continue reading “An Abstract Kind of Clock: The Chinese Remainder Clock”
If you like to rely on the web to do your electronics and computer math, you’ll want to bookmark FxSolver. It has a wide collection of formulae from disciplines ranging from electronics, computer science, physics, chemistry, and mechanics. There are also the classic math formulations, too.
Continue reading “FxSolver is a Math Notebook for Engineers”
Electronics takes a lot of math. Once you’ve mastered all the algebra and calculus, though, it is sometimes a drag to go through the motions. It also can be error-prone. But these days, you have Wolfram Alpha which will do all the work for you and very easily. I use it all the time when I’m too lazy to solve an equation or do an integral by hand. But did you know it actually has some features specifically for electronics?
If you want to do a lot with electronics — or nearly any technical field — you are going to have to learn some math and you shouldn’t just rely on tools like Wolfram to skirt understanding the math. Unfortunately, schools often teach us that the point to math is to get a correct answer. For bookkeepers and at the very final stage of engineering, that may be true. But the real value to math for engineers and scientists is to develop intuition about things. If you increase a capacitor’s value does that make its reactance go up or down? Does a little change in load resistance make a corresponding small change in power consumption or is it a lot more? So you should understand why math works. But once you do, using a tool like Wolfram can free you to focus on the abstract questions instead of the detailed “grunt work.”
Tip #1: Split Personality
Wolfram can’t seem to decide if it is a symbolic math program or a search engine. Sometimes just putting a topic name in can lead to some interesting calculations. For example, look what happens when you enter the word opamp: Continue reading “Wolfram Alpha Electronic Tips”
Believe it or not, counting is not special. Quite a few animals have figured it out over the years. Tiny honeybees compare what is less and what is more, and their brains are smaller than a pinky nail. They even understand the concept of zero, which — as anyone who has had to teach a toddler knows — is rather difficult to grasp. No, counting is not special, but how we count is.
I don’t mean to toot our own horn, but humans are remarkable for having created numerous numeral systems, each specialized in their own ways. Ask almost anyone and they will at least have heard of binary. Hackaday readers are deeper into counting systems and most of us have used binary, octal, and hexadecimal, often in conjunction, but those are just the perfectly standard positional systems.
If you want to start getting weird, there’s balanced ternary and negabinary, and we still haven’t even left the positional systems. There’s a whole host of systems out there, each with their own strengths and weaknesses. I happen to think seximal is the best. To see why, we have to explore the different creations that arose throughout the ages. As long as we’ve had sheep, humans have been trying to count them, and the systems that resulted have been quite creative, if inefficient.
Continue reading “Learn to Count in Seximal, a Position Above the Rest”