package Ġfar aday . derived . kin ematic Ċ Ċ import Ġfar aday . Units Ċ import Ġfar aday . base . Mass Ċ import Ġfar aday . base . Time Ċ import Ġfar aday . derived . Force Ċ Ċ /** Ċ Ġ* ĠIn Ġmechan ics , Ġacceleration Ġis Ġthe Ġrate Ġof Ġchange Ġof Ġthe Ġvelocity Ġof Ġan Ġobject Ġwith Ġrespect Ġto Ċ Ġ* Ġtime . ĠAcc eler ations Ġare Ġvector Ġquant ities Ġ( in Ġthat Ġthey Ġhave Ġmagnitude Ġand Ġdirection ). ĠThe Ċ Ġ* Ġorientation Ġof Ġan Ġobject 's Ġacceleration Ġis Ġgiven Ġby Ġthe Ġorientation Ġof Ġthe Ġnet Ġforce Ġact ing Ġon Ċ Ġ* Ġthat Ġobject . ĠThe Ġmagnitude Ġof Ġan Ġobject 's Ġacceleration , Ġas Ġdescribed Ġby ĠNew ton 's ĠSecond ĠLaw , Ċ Ġ* Ġis Ġthe Ġcombined Ġeffect Ġof Ġtwo Ġcauses : Ċ Ġ* Ġ- Ġthe Ġnet Ġbalance Ġof Ġall Ġexternal Ġforces Ġact ing Ġonto Ġthat Ġobject ĠâĢĶ Ġmagnitude Ġis Ġdirectly Ċ Ġ* ĠĠ Ġpro portional Ġto Ġthis Ġnet Ġresulting Ġforce ; Ċ Ġ* Ġ- Ġthat Ġobject 's Ġmass , Ġdepending Ġon Ġthe Ġmaterials Ġout Ġof Ġwhich Ġit Ġis Ġmade ĠâĢĶ Ġmagnitude Ġis Ċ Ġ* ĠĠ Ġinverse ly Ġpro portional Ġto Ġthe Ġobject 's Ġmass . Ċ Ġ* Ċ Ġ* ĠThe ĠSI Ġunit Ġfor Ġacceleration Ġis Ġmet re Ġper Ġsecond Ġsquared , Ġm / s ^ 2 . Ċ Ġ* Ċ Ġ* Ġ@ see Ġhttps :// en . wikipedia . org / wiki / Acceleration Ċ Ġ* Ġ*/ Ċ inline Ġclass ĠAccel eration ( val Ġmeters PerSecond Squared : ĠDouble ) Ġ: ĠUnits < Acceleration > Ġ{ ĊĠĠĠ Ġval ĠG Ġget () Ġ= Ġmeters PerSecond Squared Ġ/ ĠE AR TH _ GR AV ITY ĊĊĠĠĠ Ġoverride Ġfun Ġplus ( other : ĠAccel eration ) Ġ= ĠAccel eration ( meters PerSecond Squared Ġ= Ġmeters PerSecond Squared Ġ+ Ġother . meters PerSecond Squared ) ĊĠĠĠ Ġoverride Ġfun Ġminus ( other : ĠAccel eration ) Ġ= ĠAccel eration ( meters PerSecond Squared Ġ= Ġmeters PerSecond Squared Ġ- Ġother . meters PerSecond Squared ) ĊĠĠĠ Ġoverride Ġfun Ġtimes ( factor : ĠNumber ) Ġ= ĠAccel eration ( meters PerSecond Squared Ġ= Ġmeters PerSecond Squared Ġ* Ġfactor . toDouble ()) ĊĠĠĠ Ġoverride Ġfun Ġdiv ( factor : ĠNumber ) Ġ= ĠAccel eration ( meters PerSecond Squared Ġ= Ġmeters PerSecond Squared Ġ/ Ġfactor . toDouble ()) ĊĠĠĠ Ġoverride Ġfun Ġcompare To ( other : ĠAccel eration ): ĠInt Ġ= Ġmeters PerSecond Squared . compareTo ( other . meters PerSecond Squared ) ĊĊĠĠĠ Ġoperator Ġfun Ġtimes ( mass : ĠMass ): ĠForce Ġ= Ġmass Ġ* Ġthis ĊĠĠĠ Ġoperator Ġfun Ġtimes ( time : ĠTime ) Ġ= ĠVe locity ( meters PerSecond Ġ= Ġmeters PerSecond Squared Ġ* Ġtime . seconds ) ĊĠĠĠ Ġoperator Ġfun Ġdiv ( force : ĠForce ): ĠMass Ġ= Ġforce Ġ/ Ġthis ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠE AR TH _ GR AV ITY Ġ= Ġ 9 . 8 0 7 ĊĠĠĠĠĠĠĠ Ġval Ġearth Gravity Ġ= ĠAccel eration ( EAR TH _ GR AV ITY ) ĊĠĠĠ Ġ} Ċ } Ċ