scalar R=1 [ m ]; scalar h0=0.9 [ m ]; scalar alpha0=45 [ deg ]; scalar m=1[ kg ]; scalar v0=0.5[ m/ s ]; scalar h=0.6[ m ]; solid solid1=sphere( point( 0 [ m ], 0 [ m ], 0 [ m ] ), R ); point M=pointCyl( alpha0, sqrt(R*R-h0*h0), h0 ); solid solid2=sphere( M, 0.05 [ m ], mass = m ); body body1=body( color = RGB( 229, 229, 229 ) ); set ground = body1; body body1 < ( solid1 ); body body2=body( color = RGB( 255, 153, 153 ) ); body body2 < ( M, solid2 ); joint joint1=contactPointSurface( M, solid1 ); gravity gravity1=parallel( reverse( projectZ ) ); condition condition1=transVelocity( body1, projectZ, body2, M, v0 ); vector vector1=rotate( rotate( rotate( vectorPP( point( 0 [ m ], 0 [ m ], 0 [ m ] ), M ), projectZ, -alpha0 ), projectY, 90[ deg ] ), projectZ, alpha0 ); /\/////////////////////////////////////////////////////////////////////////////////// /\ Единицы измерения; set units = SI;