{
  "name": "Projectile equations of motion for three air-resistance models in MATLAB ode45 state form",
  "description": "Compares the derivative terms for the state vector [x; y; vx; vy] under no drag, drag proportional to velocity and drag proportional to the square of speed, compiled from the MathWorks projectile air-resistance example.",
  "page": "https://casrai.org/guides/projectile-motion-matlab",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-13T01:21:04Z",
  "temporalCoverage": "2026",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Drag model",
      "unit": "",
      "description": ""
    },
    {
      "name": "Drag law",
      "unit": "",
      "description": ""
    },
    {
      "name": "dvx/dt (MATLAB)",
      "unit": "",
      "description": ""
    },
    {
      "name": "dvy/dt (MATLAB)",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Drag model": "No air resistance",
      "Drag law": "none",
      "dvx/dt (MATLAB)": "0",
      "dvy/dt (MATLAB)": "-g"
    },
    {
      "Drag model": "Linear (Stokes-type)",
      "Drag law": "proportional to velocity",
      "dvx/dt (MATLAB)": "-mu*y(3)",
      "dvy/dt (MATLAB)": "-g-mu*y(4)"
    },
    {
      "Drag model": "Quadratic (Newton-type)",
      "Drag law": "proportional to speed squared",
      "dvx/dt (MATLAB)": "-mu*y(3)*sqrt(y(3)^2+y(4)^2)",
      "dvy/dt (MATLAB)": "-g-mu*y(4)*sqrt(y(3)^2+y(4)^2)"
    }
  ],
  "sources": [
    {
      "title": "MathWorks: Compare Air Resistance Models for Projectile Motion",
      "url": "https://www.mathworks.com/help/matlab/data_analysis/compare-air-resistance-models-for-projectile-motion.html",
      "accessed": "2026-11-12"
    }
  ]
}