Lesson 5 of 15

Friction

Friction

Friction is the contact force that opposes relative motion between surfaces. It is modelled as proportional to the normal force:

f=μNf = \mu N

  • μ\mu (mu) — coefficient of friction (dimensionless, depends on surface pair)
  • NN — normal force in Newtons (perpendicular to surface)
  • ff — friction force in Newtons

Static vs Kinetic

TypeConditionTypical μ\mu
Static (μs\mu_s)Object at restHigher
Kinetic (μk\mu_k)Object slidingLower

For a block on a horizontal surface: N=mgN = mg, so f=μmgf = \mu mg.

Typical Coefficients

Surface pairμk\mu_k
Rubber on dry concrete0.8
Steel on steel0.57
Ice on ice0.03
Teflon on steel0.04

Your Task

Implement frictionForce(mu, N) returning the friction force magnitude in Newtons.

TCC compiler loading...
Loading...
Click "Run" to execute your code.