当用C ++给出替换段中的角度时,弦和切线之间的角度?
如果是给定的圆,则在特定点处会遇到和弦和切线。提供了备用段中的角度。这里的主要工作是找到弦和切线之间的角度。
例子
Input: z = 40 Output: 40 degrees Input: z = 60 Output: 60 degrees
方法
令角度QPR是交替段中的给定角度。
令,弦与圆之间的角度=角度RQY=a
因为从切线上的中心画的线是垂直的,
因此,角度CQR=90-a
As,CQ=CR=圆半径
因此,角度CRQ=90-a
现在,在三角形CQR中
角CQR+角CRQ+角QCR=180
角度QCR=180-(90-a)-(90-a)
角度QCR=2a
由于圆的圆周上的角度是由同一弧线对向的中心的角度的一半,所以角度QPR=a
因此,角度QPR=角度RQY
该方法以以下方式实现-
示例
// C++ program to find the angle
// between a chord and a tangent
// at the time when angle in the alternate segment is given
#include <bits/stdc++.h>
using namespace std;
void anglechordtang(int z1){
cout<< "The angle between tangent"
<<" and the chord is "
<< z1 <<" degrees" << endl;
}
// Driver code
int main(){
int z1 = 40;
anglechordtang(z1);
return 0;
}输出结果
The angle between tangent and the chord is 40 degrees
热门推荐
10 八一幼儿祝福语大全简短
11 公司乔迁食堂祝福语简短
12 婚礼结束聚餐祝福语简短
13 儿媳买车妈妈祝福语简短
14 毕业送礼老师祝福语简短
15 同事辞职正常祝福语简短
16 恭贺新婚文案祝福语简短
17 金店立秋祝福语简短英文
18 婆婆高寿祝福语大全简短