0% found this document useful (0 votes)
2 views

Python_microproject

The document outlines a micro-project proposal for creating a scientific calculator using Python, submitted by students Neha Ravaji Rane and Shruti Vilas Bedre under the guidance of Mr. S.S. Joshi. It details the project's aim, course outcomes, methodology, action plan, required resources, and includes a program code with functionalities for various mathematical operations. The project emphasizes enhancing Python programming skills while providing a practical tool for scientific calculations.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Python_microproject

The document outlines a micro-project proposal for creating a scientific calculator using Python, submitted by students Neha Ravaji Rane and Shruti Vilas Bedre under the guidance of Mr. S.S. Joshi. It details the project's aim, course outcomes, methodology, action plan, required resources, and includes a program code with functionalities for various mathematical operations. The project emphasizes enhancing Python programming skills while providing a practical tool for scientific calculations.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

GOVERNMENT POLYTECHNIC

MALVAN
ACADEMIC YEAR 2023-2024
DIPLOMA IN COMPUTER ENGINEERING (THIRD YEAR)

Scientific Calculator
[Subject code : 22616]

Submitted by (Team Members) :


ROLL NUMBER ENROLLMENT NAME
NUMBER
3242 2201170338 Neha Ravaji Rane

3243 2201170339 Shruti Vilas Bedre

Under the guidance of :


MR.S.S.JOSHI Sir
Maharashtra State Board of
Technical Education
Certificate
This is to certify that. with Roll

No. of Semester VI of Diploma in Computer Engineering of Institute


Government polytechnic Malvan (Code: 0117 ) has successfully completed the
Micro-Project in Programming with Python (22616) for the academic year
2023-2024as prescribed in the curriculum.

Place: Malvan Enrolment No:

Date: Exam Seat No:

Subject Teacher HOD Principal

Mr. S.SHaldankar Sir Mrs.Mitake Mam Dr.(Mr) Patil Sir


INDEX

Sr.no Contents Remark

Aim of micro-project
1

2 Course Outcome

Proposed
3 Methodology

4 Action Plan

5 Resources Required

6 Literature review

7 Rationale

8 Program Code and


Output

9 References
Annexure -I
Part A – Micro-Project Proposal
Scientific Calculator

1. Aim of the micro project


1.The aim of the micro project is to understand and implement fundamental
arithmetic operations such as addition, subtraction, multiplication, and
division.in python using different module
2.Include advanced mathematical functions like trigonometric, logarithmic, and
exponential functions.

2. Course Outcome
1. Enhanced understanding of Python programming concepts, including
functions, loops, and conditional statements.
2. Proficiency in implementing mathematical algorithms for arithmetic
operations, trigonometric functions, logarithms, and exponentiation.
3. Practical experience in testing and debugging code to ensure accurate
mathematical calculations and reliable performance.

3. Proposed Methodology
1) Firstly, we had gone through various list of topics for the micro project.
2) Further the topic of was finalized and various aspects regarding this project
were noted down.
3) Different concepts which were necessary to complete this project
successfully were studied and thus implemented precisely.
4) A softcopy of the project was prepared and presented.
4. Action Plan

Sr.no Name of Start date End date Activity


the Activity successfully
performed
by
Neha Ravaji
1 Searching Rane
and 01/03/2024 01/03/2024
selecting of Shruti Vilas
the relevant Bedre
topic for
the micro
project
Neha Ravaji
2 Searching Rane
the
information 02/03/2024 04/03/2024 Shruti Vilas
on the Bedre
topic

Neha Ravaji
3 Studying Rane
different 04/03/2024 07/03/2024
aspects and Shruti Vilas
concepts of Bedre
the topic

Neha Ravaji
4 Creating of 07/03/2024 09/03/2024 Rane
Softcopy of
the project Shruti Vilas
Bedre
Neha Ravaji
5 Rechecking Rane
and 09/03/2024 09/03/2024
correction Shruti Vilas
of errors Bedre

Shruti Vilas
6 Collection Bedre
of Softcopy 10/03/2024 11/03/2024
and filing
work

Neha Ravaji
7 Submission Rane
of micro
project Shruti Vilas
Bedre

5.Resouces Required

Computer Windows 11, HP RYZEN3, 8gb RAM,


System(used) 512 gb ssd 1

Software MS Word, Notepad, Google Chrome, 4


V S Code ,Python IDLE

Internet Resources www.wikipedia.com 2


www.academia.edu.com
Annexure -II
Part B – Micro-Project Proposal

Scientific Calculator
1. Aim of the micro project
1. Develop a versatile tool capable of performing complex mathematical
calculations.
2. Implement fundamental arithmetic operations such as addition, subtraction,
multiplication, and division.
3. Include advanced mathematical functions like trigonometric, logarithmic,
and exponential functions.
4. Create a user-friendly interface allowing users to input mathematical
expressions and obtain accurate results.
5. Provide a valuable tool for students, professionals, and enthusiasts in
scientific and engineering disciplines..
2. Course Outcome
1. Enhanced understanding of Python programming concepts, including
functions, loops, and conditional statements.
2. Proficiency in implementing mathematical algorithms for arithmetic
operations, trigonometric functions, logarithms, and exponentiation.
3. Practical experience in testing and debugging code to ensure accurate
mathematical calculations and reliable performance.
4. Development of a valuable tool that can be used for personal, educational,
or professional purposes, showcasing practical application of Python
programming skills
3.Literature Review

1. **Existing Python Libraries**: Investigate existing Python libraries like SymPy


and SciPy, which offer extensive functionality for scientific computing, including
advanced mathematical operations and symbolic mathematics.
2. **User Interface Design**: Explore literature on user interface design principles
to ensure the scientific calculator is intuitive, user-friendly, and accessible across
different platforms.

3. **Algorithm Implementation**: Review literature on algorithms for arithmetic


operations, trigonometric functions, logarithms, and exponentiation to implement
efficient and accurate calculation methods.

4. **Error Handling and Validation**: Study techniques for error handling and
input validation to ensure robustness and reliability of the calculator, preventing
calculation errors and unexpected behaviors.

5. **Educational Resources**: Identify educational resources such as textbooks,


online courses, and tutorials covering mathematical concepts and their
implementation in Python, providing valuable insights for developing the scientific
calculator.

4.Rationale
1. *Educational Utility*: A scientific calculator microproject provides a
hands-on learning experience for students to reinforce their understanding of
Python programming concepts while simultaneously exploring mathematical
operations commonly used in scientific disciplines.

2. *Practical Application*: Developing a scientific calculator enhances


practical problem-solving skills by implementing algorithms for arithmetic,
trigonometric, and logarithmic functions, enabling learners to apply theoretical
knowledge to real-world scenarios.

3. *Versatility and Accessibility*: A Python-based scientific calculator


offers versatility and accessibility across various platforms, making it an ideal
tool for students, professionals, and enthusiasts in scientific and engineering
fields, regardless of their operating system.

4. *Interdisciplinary Learning*: Through the integration of mathematical


concepts and programming principles, the microproject fosters interdisciplinary
learning, encouraging collaboration between computer science and
mathematics disciplines, and promoting a holistic understanding of both
subjects.

5. *Customization and Extension*: Students can extend the functionality


of the calculator beyond basic operations, exploring additional features such as
statistical functions, matrix calculations, or graphical representations, thereby
fostering creativity and innovation in problem-solving..

5.Program/Code and Output

import math

def add(x, y):


return x + y

def subtract(x, y):


return x - y

def multiply(x, y):


return x * y

def divide(x, y):


if y != 0:
return x / y
else:
return "Error: Cannot divide by zero"

def square_root(x):
return math.sqrt(x)
def power(x, y):
return x ** y

def sin(x):
return math.sin(math.radians(x))

def cos(x):
return math.cos(math.radians(x))

def tan(x):
return math.tan(math.radians(x))

def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)

# Example usage:
num1 = float(input("Enter first number: "))
num2 = float(input("Enter second number: "))

print("1. Add")
print("2. Subtract")
print("3. Multiply")
print("4. Divide")
print("5. Square Root")
print("6. Power")
print("7. Sine")
print("8. Cosine")
print("9. Tangent")
print("10. Factorial")

choice = input("Enter operation (1-10): ")

if choice in ['1', '2', '3', '4', '6']:


operand = float(input("Enter the second operand: "))

if choice == '1':
result = add(num1, operand)
elif choice == '2':
result = subtract(num1, operand)
elif choice == '3':
result = multiply(num1, operand)
elif choice == '4':
result = divide(num1, operand)
elif choice == '5':
result = square_root(num1)
elif choice == '6':
result = power(num1, operand)
elif choice == '7':
result = sin(num1)
elif choice == '8':
result = cos(num1)
elif choice == '9':
result = tan(num1)
elif choice == '10':
result = factorial(int(num1))
else:
result = "Invalid input"

print("Result:", result)

Output
6.References
www.wikipedia.com
https://practice.geeksforgeeks.org

You might also like