2020-12-21 22:48:43 +08:00
|
|
|
|
"""
|
|
|
|
|
writen by shenjackyuanjie
|
|
|
|
|
mail: 3695888@qq.com
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
import libs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A = [2.573, 3, ["m", "kg"], ["N", "s"]]
|
2020-12-23 23:10:17 +08:00
|
|
|
|
B = [2.45, -7, ["N", "kg"], ["m", "s"]]
|
2020-12-27 22:42:55 +08:00
|
|
|
|
C = [1.14, 5, ["m"], ["s"]]
|
|
|
|
|
D = [1.419, -4, ["kg"], ["m"]]
|
2020-12-21 22:48:43 +08:00
|
|
|
|
|
|
|
|
|
print("A = " , A)
|
|
|
|
|
print("B = " , B)
|
2020-12-27 22:42:55 +08:00
|
|
|
|
print("C = " , C)
|
|
|
|
|
print("D = " , D)
|
2020-12-21 22:48:43 +08:00
|
|
|
|
|
2020-12-27 22:42:55 +08:00
|
|
|
|
a = libs.P_C.S_N_M(A, B)
|
|
|
|
|
b = libs.P_C.S_N_D(A, B)
|
|
|
|
|
c = libs.P_C.S_N_M(b, B)
|
|
|
|
|
d = libs.P_C.S_N_D(a, B)
|
2020-12-22 06:36:02 +08:00
|
|
|
|
|
2020-12-27 22:42:55 +08:00
|
|
|
|
print("A × B = " , a)
|
|
|
|
|
print("A ÷ B = " , b)
|
|
|
|
|
print("A × B ÷ B = ", c)
|
|
|
|
|
print("A ÷ B × B = ", d)
|
|
|
|
|
|
|
|
|
|
e = libs.P_C.S_N_M(A, B, C, D)
|
|
|
|
|
f = libs.P_C.S_N_M(A,libs.P_C.S_N_M(B,libs.P_C.S_N_M(C, D)))
|
|
|
|
|
|
|
|
|
|
print("A * B * C * D = " , e)
|
2021-01-01 11:02:44 +08:00
|
|
|
|
print("A * B * C * D = " , f)
|
|
|
|
|
|
2021-01-11 21:58:51 +08:00
|
|
|
|
G = libs.render
|