This paper deals with the kinematic and dynamic analysis of a two-element robot model. We have solved the problem using inverse kinematics. The result is the plotted trajectory of the robot's end point along defined points of the robot's workspace. The angular quantities computed are the rotation angle, angular velocity and angular acceleration in each kinematic pair. Furthermore, an inverse dynamics problem is solved. The moments in the kinematic pairs are computed. Subsequently, using the direct dynamics problem, the correctness of the obtained solution is confirmed. The programs designed for the simulation of dynamical systems - Matlab/Simulink and SimMechanics - were used in the solution. The results are presented in the form of graphs and tables.