Write the corresponding Python expressions for the following mathematical expressions:
(Any two) (2)
i) (cosx/tanx)+x ii) 2-ye2y+4y |e2
-x|
Answers
Answered by
0
Answer:
Description
Python number method cos() returns the cosine of x radians.
Syntax
Following is the syntax for cos() method −
cos(x)
Note − This function is not accessible directly, so we need to import math module and then we need to call this function using math static object.
Parameters
x − This must be a numeric value.
Return Value
This method returns a numeric value between -1 and 1, which represents the cosine of the angle.
Similar questions