题目内容

13.执行如图的程序框图,则输出S的值为(  )
A.$\frac{tan2017°-tan1949°}{tan1°}$-67B.$\frac{tan2016°-tan1949°}{tan1°}$-67
C.$\frac{tan2017°-tan1949°}{tan1°}$-68D.$\frac{tan2016°-tan1949°}{tan1°}$-68

分析 执行程序框图,得出S的算式,再利用两角差的正切公式计算S的值即可.

解答 解:执行如图的程序框图,知程序运行后计算并输出
S=tan1949°tan1950°+tan1950°tan1951°+…+tan2016°tan2017°,
又S=(1+tan1949°tan1950°)+(1+tan1950°tan1951°)+…+(1+tan2016°tan2017°)-(2017-1950+1)
=$\frac{tan1950°-tan1949°}{tan(1950°-1949°)}$+$\frac{tan1951°-tan1950°}{tan(1951°-1950°)}$+…+$\frac{tan2017°-tan2016°}{tan(2017°-2016°)}$-68
=$\frac{tan2017°-tan1949°}{tan1°}$-68,
所以输出S=$\frac{tan2017°-tan1949°}{tan1°}$-68.
故选:C.

点评 本题主要考查了循环结构与三角函数求值的应用问题,根据流程图写出程序的运行结果,是算法重要的题型,属于综合性题目.

练习册系列答案
相关题目

违法和不良信息举报电话:027-86699610 举报邮箱:58377363@163.com

精英家教网