Hey, I am the beginner of robot programming. I want to programe to let a robot arm with 2 joints to reach a target automatically. Some one told me I neend to know the inverse kinematics, but I just found it is too hard for me. Can anyone help me out to give me a equation? Or is there a equation to my problem?

Thanks!!!!