All courses › Machine Design

Machine Design: free practice, theory and problems

Real machine parts are rarely loaded by just one type of load at a time. A bolt may have both preload (tension) and bending from a slightly misaligned joint; a shaft may have both a bending moment from its own weight and torsion from the driving torque. Stress and sizing is about combining these contributions into one representative stress at the critical point, comparing it with the material's yield strength using a sensible safety factor, and accounting for the fact that sharp transitions and varying load can cause failure far below what a static tensile test would suggest.

4 parts74 problems14 concepts explainedPractice examFree
Start practising for free →

Contents

  1. Stress and sizing
  2. Tolerances and fits
  3. Machine elements
  4. Bolted and welded joints

1. Stress and sizing

What is it about?

Real machine parts are rarely loaded by just one type of load at a time. A bolt may have both preload (tension) and bending from a slightly misaligned joint; a shaft may have both a bending moment from its own weight and torsion from the driving torque. Stress and sizing is about combining these contributions into one representative stress at the critical point, comparing it with the material's yield strength using a sensible safety factor, and accounting for the fact that sharp transitions and varying load can cause failure far below what a static tensile test would suggest.

Concepts and formulas

How to solve the problems

  1. Identify every type of load acting at the critical section (axial, bending, torsion).
  2. Compute the stress contribution from each load separately, with the correct sign.
  3. Add contributions of the same type at the same point (for example axial and bending at the same fiber). At a notch: multiply the nominal stress by KtK_t.
  4. Compare the total stress with ReR_e and find n=Re/σn = R_e/\sigma, or check that nn is large enough.
  5. For variable load: consider whether fatigue may govern, not just static yielding.

Example

A short column with a rectangular cross-section of 40 × 30 mm carries an axial compressive force of 40 kN acting 15 mm outside the centroidal axis. W=bh2/6=40⋅302/6=6000W = bh^2/6 = 40\cdot 30^2/6 = 6000 mm³ and A=1200A = 1200 mm². Find the largest compressive stress.

  1. Axial stress: σax=F/A=40,000/1200≈33.3\sigma_{ax} = F/A = 40,000/1200 \approx 33.3 MPa.
  2. Bending moment from the eccentricity: M=Fe=40,000⋅15=600,000M = Fe = 40,000\cdot 15 = 600,000 Nmm =600= 600 Nm.
  3. Bending stress: σbend=M/W=600,000/6000=100\sigma_{bend} = M/W = 600,000/6000 = 100 MPa.
  4. On the side where both contributions are compressive, they add up: σmax=33.3+100=133.3\sigma_{max} = 33.3+100 = 133.3 MPa.

Answer: σmax≈133.3\sigma_{max} \approx 133.3 MPa.

Common mistakes

Combine all load contributions at the critical point BEFORE comparing with the yield strength – and remember that varying load may call for a separate fatigue check.

Concepts in this part

Practise stress and sizing in the app →

2. Tolerances and fits

What is it about?

No part can be made to an exact dimension – everything has a manufacturing tolerance. Tolerances and fits are about controlling this inexactness on purpose: how much deviation from the nominal size is acceptable, and how two parts (typically a shaft in a hole) should fit together – with clearance, with an interference (press) fit, or with a mix of the two. The right choice decides whether a shaft spins freely in a bearing, whether a hub stays fixed on a shaft without a key, or whether manufacturing costs become unnecessarily high.

Concepts and formulas

How to solve the problems

  1. Read off the upper and lower limit deviations for the hole and the shaft (in µm, relative to the same nominal size).
  2. Compute the smallest and largest allowable size for each part: nominal size ++ deviation.
  3. Smallest clearance == smallest hole size −- largest shaft size. Largest clearance == largest hole size −- smallest shaft size.
  4. If both are ≥0\ge 0: clearance fit. If both are ≤0\le 0: interference fit. If one is positive and the other negative: transition fit.
  5. The average clearance (useful as an expected value) is (smallest+largest clearance)/2(\text{smallest} + \text{largest clearance})/2.

Example

A hole is marked Ø30 H7 (upper deviation +21+21 µm, lower deviation 00), and the shaft is marked Ø30 js6 (deviation ±6.5\pm 6.5 µm). Classify the fit and find the average clearance.

  1. Hole: 30.00030.000–30.02130.021 mm. Shaft: 29.993529.9935–30.006530.0065 mm.
  2. Largest clearance: 21−(−6.5)=27.521-(-6.5) = 27.5 µm.
  3. Smallest clearance: 0−6.5=−6.50-6.5 = -6.5 µm (negative, i.e. a bit of interference).
  4. Since one extreme is clearance and the other is interference, this is a transition fit.
  5. Average clearance: (27.5+(−6.5))/2=10.5(27.5+(-6.5))/2 = 10.5 µm.

Answer: transition fit, with an average clearance of ≈10.5\approx 10.5 µm.

Common mistakes

Clearance == hole size −- shaft size. Positive throughout: clearance fit. Negative throughout: interference fit. Mixed sign: transition fit.

Concepts in this part

Practise tolerances and fits in the app →

3. Machine elements

What is it about?

Machine elements are the reusable building blocks a machine designer assembles: gears and belts that transmit and change speed and torque, bolts and keys that hold parts together and transmit force, bearings that let shafts rotate with low friction and a long life, and springs that store energy or absorb motion. This unit collects the formulas that tie them together, so you can work through an entire power-transmission chain from motor to output shaft.

Concepts and formulas

How to solve the problems

  1. Map out the power-transmission chain: which elements are in series, and what is the gear ratio at each stage?
  2. Compute speed stage by stage with i=nin/nouti = n_{in}/n_{out}, and subtract losses by multiplying the power by the efficiency of each stage.
  3. Find the torque from T=P/ωT = P/\omega wherever you actually need it – do not assume the torque is the same throughout the chain.
  4. For individual elements (bearing, spring, bolt): plug the numbers directly into that element's own formula.
  5. Check the order of magnitude: a low speed must always come with a high torque (and vice versa) for the same power.

Example

A gearbox has two stages with ratios i1=3i_1 = 3 and i2=2.5i_2 = 2.5, each with an efficiency of 0.970.97. The input rotates at 1450 rpm and receives 15 kW. Find the output torque.

  1. Output speed: nout=1450/(3⋅2.5)≈193.3n_{out} = 1450/(3\cdot 2.5) \approx 193.3 rpm, so ωout=2π⋅193.3/60≈20.2\omega_{out} = 2\pi\cdot 193.3/60 \approx 20.2 rad/s.
  2. Output power: Pout=15,000⋅0.97⋅0.97≈14,114P_{out} = 15,000\cdot 0.97\cdot 0.97 \approx 14,114 W.
  3. Output torque: Tout=Pout/ωout≈14,114/20.2≈697T_{out} = P_{out}/\omega_{out} \approx 14,114/20.2 \approx 697 Nm.

Answer: Tout≈697T_{out} \approx 697 Nm.

Common mistakes

Power is transmitted (minus losses), but speed and torque change with the gear ratio: a low speed gives a high torque for the same power.

Concepts in this part

Practise machine elements in the app →

4. Bolted and welded joints

What is it about?

Almost all machines and steel structures are joined with bolts or welds. You must be able to check that a bolt can take the tension, that the bolts in a joint can take the shear, and that a weld is thick and long enough. The calculations are simple: force divided by area, compared with what the material can take.

Concepts and formulas

σ=FAs\sigma = \frac{F}{A_s}
τ=Fn A\tau = \frac{F}{n\,A}
τw=Fa L\tau_w = \frac{F}{a\,L}

How to solve the problems

  1. Find the area: AsA_s from the table for tension, the shank area πd2/4\pi d^2/4 for shear, a⋅La\cdot L for a weld.
  2. Compute the stress: force in N divided by area in mm² gives MPa.
  3. Compare with the yield strength and compute the safety factor.

Example

An M12 bolt of class 8.8 is loaded with 20 kN of tension.

  1. σ=20 000/84.3≈237\sigma = 20\,000/84.3 \approx 237 MPa.
  2. The yield strength is 640 MPa.
  3. The safety factor is 640/237≈2.7640/237 \approx 2.7. That is comfortably enough.

Common mistakes

Stress = force/area (N/mm² = MPa). Safety factor = yield strength/stress.

Concepts in this part

Practise bolted and welded joints in the app →

Example problems with solutions

Here are some of the problems in machine Design. In the app, calculation problems get new numbers every time, so you can practise until it sticks – and take a graded practice exam before the real one.

Stress and sizing: A bar with cross-section 100 mm² carries 10 kN in tension. What is the normal stress?

Answer: 100 MPa

σ=F/A=10 000 N/100 mm2=100\sigma = F/A = 10\,000\text{ N}/100\text{ mm}^2 = 100 N/mm² = 100 MPa.

Tolerances and fits: What kind of fit is H7/g6?

Answer: Clearance fit

g shafts are slightly smaller than the nominal size, so there is always clearance with an H hole.

Machine elements: A driving gear with 20 teeth drives a gear with 60 teeth. What happens to the speed?

Answer: It is reduced to 1/3

The ratio is i=60/20=3i = 60/20 = 3. The speed goes down 3 times and the torque up roughly 3 times.

Bolted and welded joints: An M12 bolt (stress area 84.3 mm²) is loaded with 20 kN of tension. What is the tensile stress?

Answer: 237.248 MPa

σ=F/As=20 000/84.3≈237.2\sigma = F/A_s = 20\,000/84.3 \approx 237.2 MPa.

Practise all the problems →

Matches these university courses

The content covers the syllabus found in engineering degrees, for example: