Write a program to determine the parity of arbitrary input integers

Write a program to determine the parity of arbitrary input integers

INPUT x
a=xMOD2
IF a=0 THEN
Print "x is even"
ELSE
Print "x is odd"
END IF
END

A={9,5,-4}; B={9,-2,-2}; A∩B=? A={9,5,-4}; B={9,-2,-7}; A∩B=? All nine?

It's all a ∩ B = {9}
There can't be two identical elements in the first B

It is known that the function y = f (x) is an odd function on R and an increasing function at (0, + ∞) (1)f(0)=0; (2) Y = f (x) is also an increasing function on (- ∞, 0)

It is proved that: (1) ∵ f (x) is an odd function on R,  f (- x) = - f (x), (f (- 0) = - f (0), (f (0) = 0; (2) if X1 < x2 < 0, then - x1 ﹥ x2 > 0, ∵ f (x) is an increasing function on (0, + ∞), ∵ f (- x1) > F (- x2), and f (x) is an odd function on R

If Tan (α + 8 π / 7) = m, then [sin (15 π / 7 + α) + 3cos (α - 13 π / 7)] / [sin (20 π / 7 - α) - cos (α + 22 π / 7)]=

∵ tan(a + 8 π / 7)= m∴ tan(a + π / 7)= m∴ 【sin(15 π / 7 + a)+ 3 cos(a - 13 π / 7)】 / 【sin(20π / 7 - a)- cos(a + 22π / 7)】= 【sin(π / 7 + a)+ 3 cos(π / 7 + a)】 /【sin(3...

0

From the induction formula
f(a)=(sinacosacota/-cosa
=-cosa
(1) F (a) = - cos (- 31 / 3 π) = - cos (- 10 π - π / 3) = - cos π / 3 = - 1 / 2
(2) That is - 2cos (π + a) = - cos (π / 2 + a)
2cosa=sina
So Tana = 2
Then Sina + cosa / cos2a = Sina + cosa / (COSA + Sina) (COSA Sina) = 1 / (COSA Sina) = 5, the root of plus or minus 5
(3) From the known cosa = - 3 / 5
Sina = 4 / 5 or - 4 / 5
Tana = 4 / 3 or - 4 / 3

It is known that f (α) = sin (π + α) cos (2 π - α) Tan (2 π - α) / Tan (- α - π) cos (- 3 π / 2 - α), please help me to find (1) if α = - 1860 °, find f (α) (2) if cos (α - 3 π / 2) = 3 / 5, find the value of F (α),

It is known that f (α) = sin (π + α) cos (2 π - α) Tan (2 π - α) / Tan (- α - π) cos (- 3 π / 2 - α)
=[-sinacosa(-tana)]/[-tana*sina]
=-cosa
(1) if α = - 1860 ° f (α)
f(-1860°)=cos1860°=cos(1800°+60°)=cos60°=1/2
(2) if cos (α - 3 π / 2) = 3 / 5, find the value of F (α)
cos(α-3π/2)=-sina=3/5
Sina = - 3 / 5 A is located in quadrant 3,4
(1) In the third quadrant, Sina = - 3 / 5, cosa = - 4 / 5
f(a)=-cosa=4/5
(2) In the fourth quadrant, Sina = - 3 / 5, cosa = 4 / 5
f(a)=-cosa=-4/5

Let f (a) = sin (π - a) cos (2 π - a) Tan (- A + 3 π / 2) / Tan (π / 2 + a) sin (- π - a) if a is the third quadrant angle and a = - 31 π / 3, calculate the value of F (a)

If (a) = sin (π - a) cos (2 π - a) cos (2 π - a) cos (2 π - a) Tan (- A + 3 π / 2 / 2) / Tan (π / 2 + 2 + a) sin (- π - a) = sinacosatan (π / 2-A) / [cot (- a) Sina = cosacota / (- COTA) = - cosa put a = - 31 π / 3 = - 5 × 2 π - π - π / 3 / 3 to get f (a) = - cos (- 5 × 2 π - π - 3) = - cos (- (- π / 3) = - cos (- cos π / 3) = - cos π / 3 = - cos π / 3 = - cos π / 3 = - cos π / 3 = - cos π- 1 / 2

Tan ∠ a = the fifth root 3. What degree is tan ∠ a equal to

35.5°

The degree of Tan is equal to (3-radical 3) / 2

According to the inverse function, the approximate solution is 32 degrees

Tan is equal to the root of two

Approximately 35.2644 ° is an irrational number