Computer Science, asked by abhaym1584, 1 year ago

Explain exp(x) in python with example.

Answers

Answered by myrakincsem
1

Calculates exponent

Explanation:

Python is not so simple as we select a value in calculator and just press a button to get the value of exponent to whatever value we want.

In python, to perform every task, we need to type in a code

Similarly exp(), is a way of writing a code which is required to give a value of exponent

For example, following is the syntax to write exp()

import math

math.exp( x )

import math is used to import the module because exp() can not be run alone

Similar questions