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

Python Project (Namasivayen)

python calculator

Uploaded by

Mohamed Faaris
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Python Project (Namasivayen)

python calculator

Uploaded by

Mohamed Faaris
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

K.

RAMAKRISHNAN COLLEGE OF ENGINEERING


(AUTONOMOUS)

Project Presentation
Title: Scientific Calculator Operations

Presented by:

Name : NAMASIVAYEN N S
Register No : 8115U23CS070
Roll No : H2327
Year & Section : I /H

Date of Review: 17-04-2024


OBJECTIVE OF THE PROJECT

The objective of the above project is to create a versatile


command-line Scientific calculator program in Python. This
program provides functionalities for basic arithmetic
operations(+, -, *, /), matrix operations (specifically matrix
multiplication), base conversion (binary, hexadecimal, decimal),
and trigonometric calculations. The project aims to offer a user-
friendly interface where users can perform various
mathematical tasks conveniently and efficiently.
PRESENTATION OVERVIEW

 Objective

 System Architecture(Flow Diagram)

 Modules

 CodeTantra Implementation Screenshot

 Conclusion

 Reference
PROPOSED SYSTEM
ARCHITECTURE/FLOW DIAGRAM
MODULES
Matrix:
1. This module provides functionality for matrix operations, primarily focusing on
matrix multiplication.
2. It prompts the user to input the dimensions and elements of two matrices,
performs the multiplication operation, and displays the result.
3. Error handling is included to ensure compatibility between the dimensions of
the matrices for multiplication.
Basic Arithmetic:
1. This module handles basic arithmetic operations such as addition, subtraction,
multiplication, and division.
2. It prompts the user to input two numbers and an operator, performs the
operation, and displays the result.
3. Error handling is implemented to handle cases such as division by zero or
invalid input formats.
Base Conversion:
1. This module allows users to convert numbers between different number bases
such as binary, hexadecimal, and decimal.
2. It prompts the user to input a number and the desired base for conversion,
performs the conversion, and displays the result.
3. Error handling is incorporated to handle invalid number formats and base
MODULES

Trignometric Operations:
1. This module facilitates trigonometric calculations for angles provided
in degrees.
2. Users can input an angle in degrees and choose from trigonometric
functions like sine, cosine, and tangent.
3. The module computes the trigonometric function value for the given
angle and displays the result.
Main Loop:
1. This module orchestrates the flow of the program, displaying the
main menu of operations and directing user inputs to the corresponding
modules.
2. It includes a loop that continuously prompts the user for input until
they choose to exit the program.
3. Error handling is implemented to handle invalid operation selections
and ensure smooth program execution.
CODE TANTRA SCREENSHOTS
CODE TANTRA SCREENSHOTS
CODE TANTRA SCREENSHOTS
CODE TANTRA SCREENSHOTS
CODE TANTRA SCREENSHOTS
Basic Arithmetic
CODE TANTRA SCREENSHOTS
Matrix Multiplication
Future scopes

1. Implement a user-friendly GUI using libraries such as tkinter, PyQt, or Kivy.

2. Error Handling and Input Validation:Enhance error handling to provide more

informative messages for incorrect input.

3. Support for Complex Numbers: extend the calculator to handle complex

number arithmetic.

4. History Tracking:Allow users to scroll through, review, and reuse past

calculations.

5. Graph Plotting: Use libraries like matplotlib or plotly


CONCLUSION

The scientific calculator developed using Python


is capable of handling a wide range of
mathematical operations. This project
demonstrates the utility of Python's standard
libraries in creating useful tools
with minimal code
REFERENCES

● Python Documentation: https://docs.python.org/3/


● Math Module: https://docs.python.org/3/library/math.html
● Regular Expressions: https://docs.python.org/3/library/re.html
● Evaluation of Expressions: https://realpython.com/python-eval-function/

You might also like