Professional Documents
Culture Documents
عملي2
عملي2
(PYTHON)
1. Write a PYTHON module to compute the wind chill temperature (Twc). Enter
the air temperature (Ta) (in Fahrenheit) and the wind speed ( v ) (in mph).
9
Hint: Use the conversion formula: F C 32
5
3. If you know that the radius of the circle ( r ) inscribed in triangle with sides a, b, c
is:
( s a)(s b)(s c)
r
s
1
where s (a b c)
2
Write a PYTHON module to enter the triangle sides (a, b, c) then calculate r
4. The distance between two points ( a and b) (where a-coordinates is (ax , ay , az)
and b-coordinate is (bx , by , bz) ) can be calculated using the following equation: