Title "Type your title here";
//Variable ;
Constant theta1=41,theta2=40.9,A1=-11.35,A2=6.91,A3=22.57,A4=37.46,B1=42.20,B2=22.74,B3=7.14,B4=-7.13,D1=800.96,D2=800.96,D3=800.96,D4=800.96;
ConstStr Section11=x5-B1*cos(theta2)-A1*cos(theta1),
Section12=x5-B2*cos(theta2)-A2*cos(theta1),
Section13=x5-B3*cos(theta2)-A3*cos(theta1),
Section14=x5-B4*cos(theta2)-A4*cos(theta1),
Section21=x4-x2+B1*sin(theta2)-A1*sin(theta1),
Section22=x4-x2+B2*sin(theta2)-A2*sin(theta1),
Section23=x4-x2+B3*sin(theta2)-A3*sin(theta1),
Section24=x4-x2+B4*sin(theta2)-A4*sin(theta1),
Section31=x4+x2+B1*sin(theta2)+A1*sin(theta1),
Section32=x4+x2+B2*sin(theta2)+A2*sin(theta1),
Section33=x4+x2+B3*sin(theta2)+A3*sin(theta1),
Section34=x4+x2+B4*sin(theta2)+A4*sin(theta1),
Section41=x2+A1*sin(theta1),
Section42=x2+A2*sin(theta1),
Section43=x2+A3*sin(theta1),
Section44=x2+A4*sin(theta1);
Parameters x2[100,200],x4[100,200],x5[600,700];
Function (0.5*Section11+0.5*Section21*Section31/Section11-0.5*D1*Section21/Section11)^2+Section41^2-D1*Section41;
(0.5*Section12+0.5*Section22*Section32/Section12-0.5*D2*Section22/Section12)^2+Section42^2-D2*Section42;
(0.5*Section13+0.5*Section23*Section33/Section13-0.5*D3*Section23/Section13)^2+Section43^2-D3*Section43;
(0.5*Section14+0.5*Section24*Section34/Section14-0.5*D4*Section24/Section14)^2+Section44^2-D4*Section44; |