NewtonCalculateSpringDamperAcceleration

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NewtonCalculateSpringDamperAcceleration

dFloat NewtonCalculateSpringDamperAcceleration (dFloat dt, dFloat ks, dFloat x, dFloat kd, dFloat s)

Usage

Calculates the acceleration to satisfy the specified the spring damper system.

Parameters

  • dFloat dt
  • dFloat ks
  • dFloat x
  • dFloat kd
  • dFloat s

Return

  • dFloat

Description

  • return: the spring acceleration.
  • the acceleration calculated by this function represent the mass, spring system of the form
  • a = -ks * x - kd * v.

Remarks

partial description of NewtonCalculateSpringDamperAcceleration and dt parameter

See also