If we input x = 0 we can get output as y = - 1.0
If we input x = 1 we can get output as y = 3.0
If we input x = -1 we can get output as y = - 9.0
Let’s consider about
another equation.
When we code the above program,
If we input x = 1 we can get output as y = 0.6000000000000001
If we input x = 10 we can get output as y = 0.09901951266867294
If we input x = 100 we can get output as y = 0.009999000199950014
If we input x = -5 we can get output as y = -0.19258202567760344
No comments:
Post a Comment