Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这道题不能用解一元二次方程的方法求,精度不够,要用三角函数的方法求,见内a*sin(theta)+b*cos(theta)==c ==> sqrt(a*a+b*b)*sin(theta+alpha)==c alpha==atan2(b,a)这样就可以解出 theta了 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator