Catalog/eng-incline-friction

Engineering

Block on inclined plane API

Resolves a block on an inclined plane: gravity components, normal force, max static friction, whether it slides, the angle of repose, and the net acceleration under kinetic friction. Answers 'Will a block slide down an incline?', 'What is the acceleration of a block on a ramp with friction?'.

Price$0.04per request
MethodPOST
Route/v1/engineering/incline-friction
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
engineeringmechanicsphysicsfrictioninclinerampnormal-forceangle-of-repose
API URLhttps://x402.hexl.dev/v1/engineering/incline-friction
Integration docs
Example request
{
  "massKg": 10,
  "angleDeg": 30,
  "staticFriction": 0.3,
  "kineticFriction": 0.25
}
Example response
{
  "massKg": 10,
  "angleDeg": 30,
  "gravityMs2": 9.80665,
  "weightN": 98.0665,
  "gravityParallelN": 49.03325,
  "normalForceN": 84.92808,
  "formula": "F∥ = m*g*sinθ, N = m*g*cosθ, F_friction = μ*N",
  "staticFriction": 0.3,
  "maxStaticFrictionN": 25.478424,
  "willSlide": true,
  "angleOfReposeDeg": 16.6992,
  "kineticFriction": 0.25,
  "kineticFrictionForceN": 21.23202,
  "netForceDownInclineN": 27.80123,
  "accelerationMs2": 2.780123
}
Input schema
{
  "type": "object",
  "required": [
    "massKg",
    "angleDeg"
  ],
  "properties": {
    "massKg": {
      "type": "number",
      "description": "block mass (kg)",
      "examples": [
        10
      ]
    },
    "angleDeg": {
      "type": "number",
      "description": "incline angle (deg), 0 to <90"
    },
    "staticFriction": {
      "type": "number",
      "description": "coefficient of static friction μs"
    },
    "kineticFriction": {
      "type": "number",
      "description": "coefficient of kinetic friction μk"
    },
    "gravity": {
      "type": "number",
      "description": "gravity (m/s^2), default 9.80665"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}