You are on page 1of 9

JYOTIRMOY PUBLIC

SCHOOL
Project Report on: Compute the value of
exponential(e) to up to n numbers

Submitted By: Saaraswata Roy

Class: XI Roll No: 29 Sec: B

Subject: Computer Science

Session: 2022-23
ACKNOWLEDGEMENT
I would like to express my special thanks of gratitude to
my teacher Arunava Sengupta as well as our principal
Sushant Das, who gave me the golden opportunity to do
this wonderful project on the topic:- Compute the value
of exponential(e) to up to n numbers , which also
helped me in doing a lot of research and I came to know
about so many new things and I am really thankful to
them.

I would also like to thank my parents and my friends


who helped me a lot in finalizing this project within the
limited time frame.
System requirements:
Processor: Intel(R) Core(TM) i3-9100F CPU @
3.60GHz 3.60 GHz
Installed RAM: 8.00 GB
System type: 64-bit operating system, x64-based
processor

Software requirements:
Operating System: Windows 11 Pro x64
Software: Python IDLE 3.10, Microsoft Office Word
Introduction:
Python is a widely used general-purpose, high level
programming language. It was created by Guido van
Rossum in 1991 and further developed by the Python
Software Foundation. It was designed with an emphasis
on code readability, and its syntax allows programmers
to express their concepts in fewer lines of code.

Python is a programming language that lets you work


quickly and integrate systems more efficiently.

There are two major Python versions: Python 2 and


Python 3. Both are quite different.

In this project we will be calculating the value of ‘e’


(Euler’s number) up to n terms. We will be using for
loop and math functions to complete this project
Flowchart:
Import math
i=int(input("Enter upto how many terms: "))
e=0

x in
range(i+1):
?

False
True

e+=(1/(math.factorial(x)))

print("The value of e upto ",i," terms is ", round(e,(i-1)))

END
Code:
import math
i=int(input("Enter upto how many terms: "))
e=0
for x in range(i+1):
e+=(1/(math.factorial(x)))
print("The value of e upto ",i," terms is ", round(e,(i-
1)))
Output:
1.

2.
Conclusion:
Importance of Python:

Python is commonly used for developing websites and


software, task automation, data analysis, and data
visualization. Since it’s relatively easy to learn, Python
has been adopted by many non-programmers such as
accountants and scientists, for a variety of everyday
tasks, like organizing finances.

“Writing programs is a very creative and rewarding


activity,” says University of Michigan and Coursera
instructor Charles R Severance in his book Python for
Everybody. “You can write programs for many reasons,
ranging from making your living to solving a difficult
data analysis problem to having fun to helping someone
else solve a problem.”

It has major importance in these fields:

 Data analysis and machine learning


 Web development
 Automation or scripting
 Software testing and prototyping
 Everyday tasks

You might also like