文章目录
from sympy
import *
import numpy
as np
L
, alpha_r
, f
, pixcelSize
, delta_y
, theta
= symbols
(
"L alpha_r f pixcelSize delta_y theta")
alpha_r
= 0
diff_y
= f
*((pixcelSize
*(delta_y
+L
*tan
(alpha_r
)) + f
* tan
(theta
)) /
(f
-pixcelSize
* tan
(theta
)*delta_y
+L
*tan
(alpha_r
))-tan
(alpha_r
+theta
))/pixcelSize
result
= simplify
(diff_y
)
pprint
(result
, use_unicode
=True)
转载请注明原文地址: https://yun.8miu.com/read-24134.html