Skip to main content

Posts

Showing posts from May, 2009

Featured Post

Ball Screw vs Lead Screw: Efficiency & Backlash

Every linear motion design starts with the same choice: How do you convert rotary motor motion into linear travel? The two most common answers are the Lead Screw (simple, cheap, friction-based) and the Ball Screw (complex, expensive, rolling-based). Making the wrong choice here is costly. Use a lead screw where you need precision, and you get backlash. Use a ball screw in a vertical lift without a brake, and your load crashes to the floor. In this guide, we compare them side-by-side. Table of Contents 1. The Physics: Sliding vs. Rolling 2. Efficiency & The "Back-Driving" Danger 3. Accuracy and Backlash 4. Selection Table Advertisement 1. The Physics: Sliding vs. Rolling The fundamental difference is friction. Lead Screws rely on Sliding Friction . The nut (often bronze or plastic) slides directly against the steel screw threads. This generates heat and wear. Ball Screws re...
Disclosure: As an Amazon Associate, I earn from qualifying purchases.

Engineering Calculations Online: Wolfram|Alpha vs. Generative AI

I first wrote about this topic back in 2009. At that time, finding a reliable "computational engine" online was a revelation. Today, while the tools have evolved significantly, the need for quick, accurate engineering calculations remains the same. Advertisement The Classic Powerhouse: Wolfram|Alpha Figure 1: Wolfram|Alpha parsing a natural language query for spring force. Wolfram|Alpha 's long-term goal is to make all systematic knowledge immediately computable and accessible to everyone. Unlike a standard search engine that gives you links, Wolfram|Alpha gives you answers based on structured data and physics formulas. For a mechanical engineer, this is incredibly useful. You can simply type a natural query like: "spring force k=500 N/m x=20mm" And it will instantly compute the result using Hooke's Law ( F = kx ), handling the unit conversions (mm to m) automatically. It serves as a d...

Numerical Methods - The Newton-Raphson Method (Part 2)

In the previous post , we talked about several root finding techniques. In this post, we're going to see how we can use Microsoft Excel VBA to find the roots using the Newton-Raphson Method. Advertisement Figure 1: The Newton-Raphson method rapidly converges on a solution using the function's derivative. The Logic As we know, the Newton-Raphson Method is the most widely used of all root-locating formulas. It uses the slope ( first derivative ) of the function to find the root. That means, in the VBA code, we have to calculate the first derivative of the function. We already discussed how to find the first derivative using numerical methods , and we will incorporate that logic here. Figure 2: Geometric interpretation: The tangent line points to the next approximate root. The Iterative Formula: The method uses the Taylor series to approximate the next position (x N ) based on the curre...

Calculate First Derivatives with Numerical Method Using Excel VBA

In the previous post, Numerical Methods - First derivative using Excel formula , we learned how to calculate the first derivative of functions using standard formulas in the spreadsheet grid. While effective, that method can be cumbersome to set up for repeated use. In this post, let's see how we can simplify the process by creating a reusable custom function using Excel VBA (Visual Basic for Applications) . Instead of downloading a pre-made file, follow the steps below to build this powerful tool yourself. Advertisement The VBA Code Solution The following code implements the Five-Point Stencil method for high precision. It defines the mathematical function f(x) and a derivative function fDeriv(x) . Step 1: Open Excel and press Alt+F11 to open the VBA Editor. Step 2: Go to Insert > Module . Step 3: Copy and paste the code below into the module window. ' ================================================ ' Created ...