Skip to main content

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.

Solving Nonlinear Engineering Equations with Excel Goal Seek

Problems in mechanical design often require the solution of nonlinear equations. A classic example is finding the roots of a polynomial stress function:

3x3 - 20x2 + 1000x + 12000 = 0

These are known as root solving problems: finding the value of x where f(x) = 0. While you could solve this by trial and error (guessing values until the result is zero), or use the mathematical Newton-Raphson method, there is a faster way for the practicing engineer.

Advertisement

In this post, I will share a simple technique to solve these problems instantly on your desktop using Microsoft Excel Goal Seek. No VBA programming or expensive MATLAB license is required.

Step-by-Step: Using Goal Seek for Engineering

1. Setup the Spreadsheet

Open Excel and set up two cells: one for your input variable (x) and one for your equation (f(x)). The formula cell must mathematically reference the input cell.

2. Locate the Tool

In modern Excel versions, navigate to: Data Tab > Forecast Group > What-If Analysis > Goal Seek...

3. Configure the Parameters

A dialog box will appear. To find the root of the equation, we want to force the result to be zero.

  • Set cell: The cell containing your equation (f(x)).
  • To value: Enter 0.
  • By changing cell: The cell containing your variable (x).

4. The Solution

Click OK. Excel iterates through values instantly. It will find the exact value of x that satisfies the equation. Note that due to computer floating-point precision, the result might appear as "0.0001", which is effectively zero for engineering tolerances.

Advertisement

Application: Shaft Design for Fatigue Loading

Real-world mechanical design is rarely linear. Consider designing a transmission shaft under fatigue loading. The relationship between diameter (d) and safety factor (n) often follows the rigorous ASME Elliptic or DE-Goodman criteria.

Solving for the diameter (d) algebraically is difficult because it appears inside cubic roots and squares. Here is the standard equation form:

1/n = (16 / Ï€d3) × [ (4(Kf Ma)2 + 3(Kfs Ta)2)1/2 / Se + (4(Kf Mm)2 + 3(Kfs Tm)2)1/2 / Sut ]

Instead of rearranging this massive equation to isolate d, you can simply:

  1. Set up cells for all inputs (Ma, Ta, Se, etc.).
  2. Create a cell for the Left-Hand Side (1/n).
  3. Create a cell for the Right-Hand Side (The stress terms).
  4. Create a "Check Cell": = LHS - RHS.
  5. Use Goal Seek to force the "Check Cell" to 0 by changing the Diameter cell.

This reverse-engineering approach gives you incredible flexibility. You can just as easily fix the diameter and solve for the maximum allowable Moment (Mm) without rewriting a single formula.

Comments

Unknown said…
Hi Dear,

I need to generalize this equation solver thing for some calculations, so that, i can get the solution every time on changing value of coefficient.

for example;

in a cubic equation, if i change coefficient a,b,c,d then also, i can get the solution.

Please help.

Thanks !!

Popular posts from this blog

Hoeken's Linkage: Kinematics and Walking Robot Design

Figure 1: Animated simulation of the Hoeken’s Linkage showing the characteristic "tear-drop" coupler curve. 🚀 New Design Guide Available Don't just read about it—build it. Check out our new tutorial: How to Design a Hoeken’s Linkage in Excel (with Free VBA Simulator) » Introduction to the Hoekens Linkage The Hoekens linkage is a specialized four-bar mechanism designed to convert rotational motion into an approximate straight-line motion. While it serves a similar purpose to other straight-line generators, its unique coupler curve—a "tear-drop" shape—makes it exceptionally useful for intermittent motion and walking machines. One of the most fascinating aspects of kinematic theory is the concept of "Cognates." The Hoekens linkage is actually a cognate linkage of the Chebyshev Straight-line Mechanism . This means that while the physical structure and link lengths differ, they can generate...

Dowel Pins & Locating Pins: The Basics of Fixture Design

Figure 1: A typical fixture setup. Notice how dowel pins (silver) provide precise location, while bolts (not shown here) provide the clamping force. In the world of Precision Engineering , the difference between a high-quality product and a scrap part often comes down to microns. While bolts hold parts together, they are terrible at positioning them. This is where Dowel Pins and Locating Pins become essential components in industrial tooling . Advertisement What is a Dowel Pin? Dowel pins are precision-ground fasteners used to secure the relative position of two parts. They are typically machined to extremely tight tolerances (often within 0.0001 inches) and are available in materials like: Hardened Steel: For high-wear applications in CNC fixtures . Stainless Steel: For corrosion resistance in medical or food processing machinery. Plastic (Thermoplastic): For lightweight, non-conductive, low-load alignment. The ...

Engineer's Guide to Ball Detent Torque Limiters

Figure 1: The ball detent mechanism provides precise overload protection by disengaging instantly when the torque limit is exceeded. The First Line of Defense: Overload Clutches In high-speed automation and heavy industrial machinery, a "jam" is not a matter of if , but when . Whether it is a cardboard box getting stuck in a packaging machine or a tool crashing in a CNC lathe, the resulting torque spike can destroy gearboxes, twist shafts, and burn out expensive servo motors in milliseconds. A torque limiter (or overload clutch) is the mechanical fuse of the drive system. While electronic monitoring (current limiting) is common, it is often too slow to prevent physical damage from the massive kinetic energy stored in the system inertia. A mechanical torque limiter provides a physical disconnect that operates in a fraction of a second. Search for Torque Limiters & Safety Couplings Advertisement Why Choose ...