# How do i make robert penner equation work?

**URL:** https://forum.kirupa.com/t/how-do-i-make-robert-penner-equation-work/188660
**Category:** Uncategorized
**Created:** [May 9, 2006, 9:12pm UTC](https://forum.kirupa.com/t/how-do-i-make-robert-penner-equation-work/188660 "2006-05-09T21:12:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dtrace](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@dtrace](https://forum.kirupa.com/u/dtrace)
#### Post date: [May 9, 2006, 9:12pm UTC](https://forum.kirupa.com/t/how-do-i-make-robert-penner-equation-work/188660/1 "2006-05-09T21:12:27Z")

</div>

Do I put the code on the movie clip?  
How do I make it do what i want?

// bounce easing out  
Math.easeOutBounce = function (t, b, c, d) {  
if ((t/=d) \< (1/2.75)) {  
return c\*(7.5625_t_t) + b;  
} else if (t \< (2/2.75)) {  
return c\*(7.5625\*(t-=(1.5/2.75))_t + .75) + b;  
} else if (t \< (2.5/2.75)) {  
return c_(7.5625\*(t-=(2.25/2.75))_t + .9375) + b;  
} else {  
return c_(7.5625\*(t-=(2.625/2.75))\*t + .984375) + b;  
}  
};
