当用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 复工老公送花祝福语简短