Design a cam

Design a cam or mechanism to move the mass in vertical direction.

2 Answer

This looks like your homework. Please say where you want some help. Nobody is going to do your work here.

Here's a sketch.
Basicaly you need to use "Equation Driven Curve" in SolidWorks and some trigonometry.

https://help.solidworks.com/2021/english/SolidWorks/sldworks/t_creating_equation_driven_curve.htm