plot summary:
[Machine Xiao Wei] in [engineer Ah Wei] accompanied by the [nine turn elixir] of the six-turn of the cultivation.
The name of this turn is called [the ancient romantic wave scouring sand], belongs to the stream word gate, the characteristic is hundred schools,
Lively and extraordinary, if on the true line, the waves in Amoy sand. This time we are going to look at [geometry on the sphere].
Drama Start:
Star Calendar April 27, 2016 16:54:19, the Milky Way Galaxy Earles the Chinese Empire Jiangnan Line province.
[Engineer Ah Wei] is working with [machine Xiao Wei] to study [geometry on the sphere].
<span style= "FONT-SIZE:18PX;" > #圆的切线的长度 def tmp (): x_p, Y_p, x_o, y_o = -5, 0, 0, 0; #过P点 P = [X_p, y_p]; #圆心O O = [X_o, y_o]; #半径R R = 1; #切点S, tangent long PS PS = (distance2d (P, O) **2-r**2) **0.5; return PS; #两点距离def distance2d (A, B): return ((A[0]-b[0]) **2+ (a[1]-b[1]) **2) **0.5; if __name__ = = ' __main__ ': a = tmp (); Print (a);</span>
<span style= "FONT-SIZE:18PX;" >>>> 4468.0428851054845585.053606381854514521.139376592822# Spherical Distance def tmp2 (): #球面角 spereangle = ; R = 6400; #目标角 angle = [0, -90]; For I in range (len (angle)): print (Math.pi*r*abs (spereangle-angle[i))/180);</span>
<span style= "FONT-SIZE:18PX;" >>>> three corners are (radians): 1.5768176634063322 1.574631971632919 1.6132289095085366 three corners are (angle): 90.34499717486287 90.21976626092983 92.43120790333136# known triangular def Tmp3 (): #a, B, c for the spherical triangle three side a = 0.2; b = 0.133; c = 0.3; Cosa = Math.Cos (a); Sina = Math.sin (a); COSB = Math.Cos (b); SINB = Math.sin (b); Cosc = Math.Cos (c); Sinc = Math.sin (c); A = Math.acos (cosa-cosb*cosc-sinb*sinc); B = Math.acos (Cosb-cosc*cosa-sinc*sina); C = Math.acos (COSC-COSA*COSB-SINA*SINB); Print (' Three corners are (radians): ', A, B, C); Print (' Three corners are (angles): ', A*180/math.pi, B*180/math.pi, C*180/math.pi);</span>
The end of this section, to know how to funeral, please see tell.
[Mathematics from the beginning] the geometry of the 199th section of the Sphere