Professional Documents
Culture Documents
Report Format (1) .Docx - 20240508 - 124537 - 0000
Report Format (1) .Docx - 20240508 - 124537 - 0000
Report Format (1) .Docx - 20240508 - 124537 - 0000
On
Calculator
By
VISHAL KUMAR
216040316101,216040316096
A Micro Project in Python (4311601)
Submitted to
May 2024
Table of Contents
1. Introduction
1.1 Calculator
1.2.2 ...additoon
1.3 ...multiplication
2.1 Anaconda
2.3 Python
2.4.1 Pandas
2.4.2 Matplotlib
..... ......
3. Flowchart, Algorithm & Pseudo Code
3.1 Flowchart
3.2 Algorithm
References
1. Introduction
1.1
```python
>>> 2 + 3
>>> 4 * 5
20
>>> 10 / 2
5.0
```
2. **Using Variables**: You can store values in variables and then perform calculations with those variables:
```python
>>> x = 5
>>> y = 3
>>> z = x + y
>>> z
```
3. **Importing the math Module**: Python also has a `math` module that provides more advanced
mathematical functions. You can use it like this:
```python
>>> import math
>>> math.sqrt(25)
5.0
>>> math.sin(math.pi / 2)
1.0
```
4. **Using External Libraries**: For even more advanced calculations, you might need external libraries like
NumPy or
1.2
>>> 2 + 3
>>> 4 * 5
20
>>> 10 / 2
5.0
1.2.1 abcd
>>> math.sqrt(25)
5.0
>>> math.sin(math.pi / 2)
1.0
1.2.2
1.3 XYZW
Font Size 12. Calibri or Times New Roman Justify the paragraph
Font Size 12. Calibri or Times New Roman Justify the paragraph
2.1 Anaconda
Anaconda is an open data science platform powered by Python. The open source version of Anaconda is
a high performance distribution of Python and R and includes over 100 of the most popular Python, R
and Scala packages for data science. There is also access to over 720 packages thet can easily be installed
with conda, the package dependency and environment manager, that is included in Anaconda. Includes
the most popular Python, R & Scala packages for stats, data mining, machine learning, deep learning,
simulation & optimization, geospatial, text & NLP, graph & network, image analysis.
The Jupyter Notebook is an open source web application that you can use to create and share documents
that contain live code, equations, visualizations, and text. Jupyter Notebook is maintained by the people at
Project Jupyter.
Jupyter Notebooks are a spin-off project from the IPython project, which used to have an IPython
Notebook project itself. The name, Jupyter, comes from the core supported programming languages that it
supports: Julia, Python, and R. Jupyter ships with the IPython kernel, which allows you to write your
programs in Python, but there are currently over 100 other kernels that you can also use.
2.3 Python
Python is a general-purpose high level programming language that's widely utilized in data science and for
producing deep learning algorithms.
Python is a simple to find out , powerful programming language. it's efficient high-level data structures and
an easy but effective approach to object-oriented programming. Python’s elegant syntax and dynamic
typing, alongside its interpreted nature, make it a perfect language for scripting and rapid application
development in many areas on most platforms.
The Python interpreter is definitely extended with new functions and data types implemented in C or C++
(or other languages callable from C). Python is additionally suitable as an extension language for
customizable applications.
A Python library is a reusable chunk of code that you may want to include in your programs/ projects.
Compared to languages like C++ or C, a Python libraries do not pertain to any specific context in Python.
2.4.1 Pandas
From importing data from spreadsheets to processing sets for time-series analysis, Pandas is used for
everything. Pandas pretty much convert one data form to another on your fingertips. Hence, Pandas
powerful data frames can perform both, basic cleanup and advance data manipulations.
Pandas is built on one of the earliest libraries is Numpy (Numerical Python). NumPy’s functions
exposure is used in Pandas for advanced analysis. For more specialization, one can use Scipy which is
scientifically equivalent to Numpy, offering tools and techniques for scientific data analysis.
2.4.2 Matplotlib
Python also provides powerful visualization libraries – Matplotlib. It can be used in all kinds of GUI
toolkits such as python scripts, web applications as well as shell, etc. With this, we can have the
opportunity to use different types of plots and work with multiple plots.
Scikit – Learn, one of the attractions of python where we can implement machine learning. With the
support of simple and efficient tools in this library which can be used for data analysis and data mining.
2.4.4 TensorFlow
TensorFlow is the most popular tool for Machine Learning in Python. It was developed specifically for
carrying out deep learning operations. The basic data structure of TensorFlow ecosystem are the tensors.
As a matter of fact, the name of TensorFlow is derived from these tensors. TensorFlow is continuously
evolving owing to an open-source community who have made it a pioneering toolkit for machine learning
operations. It provides support for CPUs, GPUs as well as TPUs. Due to this, it provides lightning speed
execution speed for various machine learning algorithms.
TensorFlow has numerous applications. This is mainly because of its high processing capability. It is used
for the development of speech recognition product, recommendation systems, Generative Adversarial
Networks, etc. TensorFlow is basically the standardized tool for performing Deep Learning operations.
2.4.5 Seaborn
For 2D visualization one can use matplotlib & seaborn. They have many high-level interfaces and styles in
default for drawing statistical graphics.
Source Code
def add(x, y):
return x + y
return x - y
return x * y
if y == 0:
else:
return x / y
print("Select operation:")
print("1. Add")
print("2. Subtract")
print("3. Multiply")
print("4. Divide")
while True:
if choice == '1':
break
else:
print("Invalid input")
References
[1]https:/Google .com
2 https:// jupyter library .com
3 mathplolib