U
    Ç-e&  ã                
   @   sr  d dl m  mZ d dlZd dlZd dlZ	e 
d¡Ze 
d¡Ze 
d¡Ze d¡\ZZZejdddZeej eej  eej  Zeej eej  eej  Zeej eej  eej  Zee e Ze d	¡Ze d
¡Ze d¡Ze d¡Ze d¡Z e !de d¡e "d¡¡Z#e !de d¡e "d¡¡Z$e !de d¡e "d¡¡Z%e !de d¡e "d¡¡Z&e d¡Z'e' (ed ¡ e 
d¡Z)e *de'e)e d¡e +e)je)j¡e'f¡Z,e d¡Z-e- (ed ¡ e 
d¡Z.e *de-e.e d¡e +e.je.j¡e-f¡Z/e d¡Z0e0 (ed ¡ e 
d¡Z1e *de0e1e d¡e +e1je1j¡e0f¡Z2ee)j ee)j  ee)j  Z3e' 4eeej ¡ dS )é    NÚaÚbÚnzx1 x2 x3ÚlT)ÚrealÚcÚdZpo1Zpo2Zpo3Zl_ptÚmÚp1Zp1_ptÚp2Zp2_ptZp3Zp3_ptZs_cmZs_fÚsZr1_cmZr1_fÚr1Zr2_cmZr2_fÚr2)5Zsympy.physics.mechanicsZphysicsZ	mechanicsZ_meZsympyZ_smÚmathr	   ÚnumpyZ_npZReferenceFrameZframe_aZframe_bZframe_nZdynamicsymbolsÚx1Zx2Zx3Úsymbolsr   ÚxÚyÚzZv1Zv2Zv3ÚvZPointZpoint_cZpoint_dZ	point_po1Z	point_po2Z	point_po3ZParticleÚSymbolZ
particle_lZparticle_p1Zparticle_p2Zparticle_p3Z	body_s_cmZset_velZbody_s_fZ	RigidBodyÚouterZbody_sZ
body_r1_cmZ	body_r1_fZbody_r1Z
body_r2_cmZ	body_r2_fZbody_r2Zv4Zset_pos© r   r   ún/var/www/html/Darija-Ai-Train/env/lib/python3.8/site-packages/sympy/parsing/autolev/test-examples/ruletest3.pyÚ<module>   sF   









(

(

(