Computer Science, asked by KHUSHI12345678910, 10 months ago

CH-PYTHON >>>
Write the corresponding Python expression of the following mathematical expression.
(a.) √ a2 + b2+ c2
(b.) cos x +tan x / x

Answers

Answered by Anonymous
9

Answer:

your answer

Explanation:

a)((a*2)**0.5)+(b*2)+(c*2)

b)cos(x)+tan(x/x)

#hope it helps you

Answered by Oreki
15

\textsf{\large \textbf{Given Expression}}

    \textsf{\textbf{I.}} \:\: \sqrt{a^2 + b^2 + c^2}

    \textsf{\textbf{II.}} \:\: \dfrac{\cos x + \tan x}{x}

\textsf{\large \textbf{Python Expression}}

    \textsf{\textbf{I.}}\texttt{ from math import sqrt}\\\texttt{\:\:\: sqrt(a * a  + b * b + c * c)}

   \textsf{\textbf{II.}}\texttt{ from math import cos, tan}\\\texttt{\:\:\: (cos(x) + tan(x)) / x}

Similar questions