Solve It
题意翻译
解下面所示方程:
$p\times e^{-x}+q\times\sin(x)+r\times\cos(x)+s\times\tan(x)+t\times x^2+u=0$
其中$p,q,r,s,t,u$ 为参数,$0\le x\le 1$ 。
输入格式:输入$p,q,r,s,t,u$
输出:方程的解,如果无解则输出`No solution`
数据范围:$0\le p,r\le20$ 和$-20\le q,s,t\le0$
感谢@Douglas 提供的翻译
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1282
[PDF](https://uva.onlinejudge.org/external/103/p10341.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10341/6ce3f511be56a2b99ae09f953b597720180b7959.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10341/b116b259f0be305fa8096a925617c5c7fb1c0285.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10341/3db89be898084953dca565782e2aa076d17b427e.png)
输入输出样例
输入样例 #1
0 0 0 0 -2 1
1 0 0 0 -1 2
1 -1 1 -1 -1 1
输出样例 #1
0.7071
No solution
0.7554