1.

Write the corresponding Python expressions for the following mathematical expressions: (Any two) (2) i) (cosx/tanx)+x ii) 2-ye2y+4y |e2-x|​

Answer»

DescriptionPython number method cos() returns the cosine of x radians.SyntaxFollowing 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.Parametersx − This must be a numeric VALUE.Return ValueThis method returns a numeric value between -1 and 1, which represents the cosine of the angle.



Discussion

No Comment Found