myfreemind 发表于 2004-3-28 13:26:00

casio-fx3600施工放样程序!

1。算坐标原程序


        1 2                       3               4<BR>(0,0)       D       @<BR>                       1       3                                               4 <BR>x=0+Dcos@<BR>                       2       3                                       4<BR>y=0+Dsin@


<BR>2。计算距离和方位原程序<BR>        1 2                                                                                                       3       4<BR>(1,1)                                                                                       (0,0)


(1-3)shift(2-4)=<BR>shift+RUN<BR>shift


3。通过半径R,I角计算切线长(T)和外矢距(E)


INPUT:R,I                       OUTPUT:T,E


1               2                                                                                                                                                                                                               假设R=1,I=90度<BR>R               I                       


                       1                                               2<BR>T=R*Tg(I/2)<BR>                       1                                                                       2<BR>E=R{SEC(I/2)-1}<BR>because               <A href="mailto:SEC@=1/COS" target="_blank" >SEC@=1/COS</A>@<BR>                                                                       1                                                                                                       2<BR>SO E=R*{1/COS(I/2)-1}


<BR>4。通过半径R和切线长T计算I角<BR>                                                                               1       2                                                                               <BR>INPUT:R,T                                                               OUTPUT:I


I=2arctg(T/R)

yfy2003 发表于 2004-3-28 13:35:00

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><B><FONT face="Times New Roman">我来添加Casio Fx-4800P的程序</FONT></B>

<B><FONT face="Times New Roman"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore"><SPAN style="FONT: 7pt 'Times New Roman'">       </SPAN></SPAN>坐标反算:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">C”X1”:D”Y1”:E”X2”:F”Y2”:Fixm:Pol(E-C,F-D:I”S1-2=”◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">J≤O=&gt;J=J+360△J”A1-2=”


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">ZBFS→EXE→输入X1值→EXE→输入Y1值→EXE→输入X2值→EXE→Y2→EXE→EXE→EXE


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">S1-2:计算得出的距离;<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">A1-2:计算得出的角度。(按shift°′″ 转换为60进制的角度)<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center>注:此程序可循环计算


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman"><SPAN style="FONT: 7pt 'Times New Roman'">       </FONT></SPAN></SPAN>坐标正算:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">C”X1”:D”Y1”:S”S1-2”:R”A1-2”:Fixm:X”X2”=C+Rec(S,R</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Y” Y2”=D+J</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">ZBZS</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">X1</FONT>值→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">Y1</FONT>值→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">S1-2</FONT>距离→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">A1-2</FONT>角度(例<FONT face="Times New Roman">125</FONT>°<FONT face="Times New Roman">31</FONT>′<FONT face="Times New Roman">23.25</FONT>″)→<FONT face="Times New Roman">EXE</FONT>→<FONT face="Times New Roman">EXE</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">注:此程序可循环计算。<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center></SPAN></o:p></FONT></SPAN></B>

myfreemind 发表于 2004-3-28 13:40:00

Y兄,你的设备先进啊,呵呵


我的3600步数太少,很多好的程序都没法写,现在就期待单位更新换代啦~~

yfy2003 发表于 2004-3-28 13:42:00

<A name=8042><FONT color=#990000><B>myfreemind</B></FONT></A>:快换设备啊!


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman"><SPAN style="FONT: 7pt 'Times New Roman'">       </FONT></SPAN></SPAN>缓和曲线曲线要素:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">B=0</FONT>°<FONT face="Times New Roman">1718.87</FONT>′﹡<FONT face="Times New Roman">L/R</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">X=L-L</FONT>^<FONT face="Times New Roman">3/40/ R<SUP>2</SUP></FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Y=L<SUP>2</SUP>/6/ R</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">P=Y-R(1-cos B</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Q= X-Rsin B</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">T=(R+P)tan(A/2)+Q</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">E=(R+P)(cos(A/2))<SUP>-1</SUP>-R</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Z= R(A-2B)</FONT>л<FONT face="Times New Roman">/180+2L</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">J=2T-Z</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">D=X-Y/tan B</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">HQQXYS</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">L</FONT>值(即缓和曲线总长)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">R</FONT>值(即圆曲线半径)→<FONT face="Times New Roman">EXE</FONT>→得β角度→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">Xh</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">Yh</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">P</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">Q</FONT>值→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">A</FONT>角(例<FONT face="Times New Roman">125</FONT>°<FONT face="Times New Roman">31</FONT>′<FONT face="Times New Roman">23.25</FONT>″)→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">T</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">E</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">Z</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">J</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">D</FONT>值


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">注:此程序可循环计算。

yfy2003 发表于 2004-3-28 13:43:00

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">圆曲线加点坐标:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">A=(D-Z)*90/R/</FONT>л◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">C=2* R*sin A</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">I=B+ A</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">X=C*cos I+S</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Y=C*sin I+V</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">YQXJDZB</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">D</FONT>值(即圆曲线段内任一点桩号)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">Z</FONT>值(即<FONT face="Times New Roman">ZY</FONT>点桩号)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">R</FONT>值(即圆曲线半径)→<FONT face="Times New Roman">EXE</FONT>→得出<FONT face="Times New Roman">A</FONT>值(即圆曲线任一点桩号至<FONT face="Times New Roman">ZY</FONT>点的偏角值)→<FONT face="Times New Roman">EXE</FONT>→得出<FONT face="Times New Roman">C</FONT>值(即圆曲线任一点桩号至<FONT face="Times New Roman">ZY</FONT>点的弦长)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">B</FONT>值(即<FONT face="Times New Roman">ZY</FONT>到交点的方位角)→<FONT face="Times New Roman">EXE</FONT>→得出<FONT face="Times New Roman">I</FONT>值(即<FONT face="Times New Roman">B</FONT>值<FONT face="Times New Roman">+A</FONT>值的和)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">S</FONT>值(即圆曲线<FONT face="Times New Roman">ZY</FONT>点<FONT face="Times New Roman">X1</FONT>坐标)→<FONT face="Times New Roman">EXE</FONT>→得出<FONT face="Times New Roman">X</FONT>值(即圆曲线段任一点桩号的<FONT face="Times New Roman">X</FONT>坐标)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">V</FONT>值(即圆曲线<FONT face="Times New Roman">ZY</FONT>点<FONT face="Times New Roman">Y1</FONT>坐标)→<FONT face="Times New Roman">EXE</FONT>→得出<FONT face="Times New Roman">Y</FONT>值(即圆曲线段任一点桩号的<FONT face="Times New Roman">Y</FONT>坐标)

注:此程序可循环计算。

myfreemind 发表于 2004-3-28 13:45:00

Y兄,我主要是想单位以后外业都用PDA,装VB程序!:)

yfy2003 发表于 2004-3-28 13:54:00

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman"><SPAN style="FONT: 7pt 'Times New Roman'">        </FONT></SPAN></SPAN>缓和曲线支距法:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">X=L-L</FONT>^<FONT face="Times New Roman">5/40/R<SUP>2</SUP>/Z<SUP>2</SUP></FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">Y= L</FONT>^<FONT face="Times New Roman">3/6/R/Z</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">HQZJF</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">L</FONT>值(即缓和曲线段内任一点桩号到<FONT face="Times New Roman">ZH</FONT>点的距离)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">R</FONT>值(即圆曲线半径)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">Z</FONT>值(即缓和曲线总长)→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">Xh</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">Yh</FONT>值


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">       


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman"><SPAN style="FONT: 7pt 'Times New Roman'">       </FONT></SPAN></SPAN>缓和曲线偏角法:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">A=0</FONT>°<FONT face="Times New Roman">572.9578</FONT>′﹡<FONT face="Times New Roman">L<SUP>2</SUP>/R/Z</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">HQPJF</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">L</FONT>值(即缓和曲线段内任一点桩号到<FONT face="Times New Roman">ZH</FONT>点的距离)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">R</FONT>值(即圆曲线半径)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">Z</FONT>值(即缓和曲线总长)→<FONT face="Times New Roman">EXE</FONT>→求得<FONT face="Times New Roman">A</FONT>值(即是偏角值)按<FONT face="Times New Roman">shift</FONT>°′″转换为<SPAN lang=EN-US>60进制的数值。<o:p></o:p></SPAN>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"></SPAN>

yfy2003 发表于 2004-3-28 13:57:00

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman"><SPAN style="FONT: 7pt 'Times New Roman'">        </FONT></SPAN></SPAN>圆曲线曲线要素:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">L=R</FONT>﹡<FONT face="Times New Roman">A</FONT>﹡л<FONT face="Times New Roman">/180</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">T=R</FONT>﹡<FONT face="Times New Roman">tan(A/2</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">E=R((cos(A/2))<SUP>-1</SUP>-1</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">YQXQXYS</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">R</FONT>值(即圆曲线半径)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">A</FONT>值(即圆曲线<SPAN lang=EN-US>A角,</SPAN>例<FONT face="Times New Roman">125</FONT>°<FONT face="Times New Roman">31</FONT>′<FONT face="Times New Roman">23.25</FONT>″)→<FONT face="Times New Roman">EXE</FONT>→求得<FONT face="Times New Roman">L</FONT>值→<FONT face="Times New Roman">EXE</FONT>→求得<FONT face="Times New Roman">T</FONT>值→<FONT face="Times New Roman">EXE</FONT>→求得<FONT face="Times New Roman">E</FONT>值


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">       


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman"><SPAN style="FONT: 7pt 'Times New Roman'">       </FONT></SPAN></SPAN>圆曲线偏角法:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">A=(D-X)</FONT>﹡<FONT face="Times New Roman">90/R/</FONT>л


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">YQXPJF</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">D</FONT>值(即圆曲线段任一点桩号)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">X</FONT>值(即<FONT face="Times New Roman">ZY</FONT>点桩号)→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">R</FONT>值(即圆曲线半径)→<FONT face="Times New Roman">EXE</FONT>→求得<FONT face="Times New Roman">A</FONT>角(即圆曲线段任一点桩号的偏角,按<FONT face="Times New Roman">shift</FONT>°′″转换为<FONT face="Times New Roman">60</FONT>进制的角度。</SPAN>

yfy2003 发表于 2004-3-28 13:57:00

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt"><SPAN style="mso-list: Ignore"><FONT face="Times New Roman"><SPAN style="FONT: 7pt 'Times New Roman'">       </FONT></SPAN></SPAN>竖曲线主点要素:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">程序步骤:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">L=R*(A-B)</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">T=1</FONT>›<FONT face="Times New Roman">2*L</FONT>◢


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">E=L<SUP>2</SUP>/8R</FONT>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">操作过程:<o:p></o:p>


<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman">SQXZDYS</FONT>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">R</FONT>值(即竖曲线半径)→<FONT face="Times New Roman">EXE</FONT>→输入<SPAN lang=EN-US>A值</SPAN>→<FONT face="Times New Roman">EXE</FONT>→输入<FONT face="Times New Roman">B</FONT>值→<FONT face="Times New Roman">EXE</FONT>→得出<FONT face="Times New Roman">L</FONT>值(即弧度)→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">T</FONT>值(即切线长)→<FONT face="Times New Roman">EXE</FONT>→得<FONT face="Times New Roman">E</FONT>值(即外距)<o:p></o:p>

myfreemind 发表于 2004-3-28 14:52:00

好帖啊,顶!!
页: [1] 2
查看完整版本: casio-fx3600施工放样程序!