preTEST8A

3115 days ago by MATH4R2012

#1a) l1=line([(0,1),(2,1)]) l2=line([(2,1),(2,2)]) l3=line([(2,2),(0,1)]) show(l1+l2+l3,aspect_ratio=1) 
       
#1a) l1=line([(0,1),(2,1)]) l2=line([(2,1),(2,5)]) l3=line([(2,5),(0,1)]) show(l1+l2+l3,aspect_ratio=1) 
       
#1b) (arctan(1/2)*180/pi).n() 
       
#1c) h=sqrt(2000^2+1000^2);h.n() 
       
#1d) (arctan(2)*180/pi).n() 
       
#1e) h=sqrt(2000^2+4000^2);h.n() 
       
#2) var('h,x') solve([tan(3.5*pi/180)==h/(x+13),tan(9*pi/180)==h/x],(h,x)) 
       
show((-13*tan(.019444*pi)*tan(pi/20)/(tan(.019444*pi)-tan(pi/20))).n()) 
       
show((-13*tan(.019444*pi)/(tan(.019444*pi)-tan(pi/20))).n()) 
       
#3) var('A,B,C,c') A=120 C=30 c=10 solve(180==A+B+C,B) 
       
a=c*sin(A*pi/180)/sin(C*pi/180) show(a) show(a.n()) 
       

b=c*sin(A*pi/180)/sin(C*pi/180) show(b) show(b.n()) 
       

#4) A=120 c=5 b=10 a=sqrt(b^2+c^2-2*b*c*cos(A)) show(a) show(a.n()) 
       

solve(180==A+B+B,B) 
       
b=sqrt(a^2+c^2-2*a*c*cos(30*pi/180)) show(b) show(b.n())