Acceleration of a block up and down an incline with friction. Physics

Just Enough Physics Chapter 5: Constraint Forces In this video: A block is moving up and then down an incline WITH friction. What is the acceleration? Here is the code. https://trinket.io/glowscript/d3a9fda40b If you want to support this project, check out my Patreon page:   / justphysics   If you want to donate: https://www.paypal.me/rhettallain