My micro project C language .pdf
Title.
Simple scientific calculator using C language.
Join my telegram channel.
https://t.me/beardoxbhavesh_yt
You tube channel.
https://youtube.com/channel/UCIJ-jaSTte348MpWfeuxuAw
My twitter channel.
https://twitter.com/nehare_bhavesh?t=8AjjMbwbYfIYrDGtEVTZ6w&s=09
My Instragram channel.
https://instagram.com/beardoxbhavesh_status?igshid=YmMyMTA2M2Y=
My facebook page.
https://www.facebook.com/bhavesh.nehare.7
1. PART A – Micro-Project Proposal
Simple Scientific Calculator using C Language
BRIEF INTRODUCTION: -
A sample C programming code for a simple calculator program is given below. This
program will perform the following calculator operations like Addition, Subtraction,
Multiplication, Division, Modulus, Exponential, Logarithm, Trigonometric Functions.
In below c programming code example, the user is prompted to choose the operations
(i.e. addition, subtraction etc) to be performed and then prompted to key in the values
which are used to perform the operations. Then, the result will be shown as output to
the user.
AIM OF THE MICRO-PROJECT: -
Simple Scientific Calculator using C Language
INTENDED COURSE OUTCOMES: -
CO a. Develop flowchart and algorithm to solve problems logically.
CO b. Write simple ‘C’ programs using arithmetic expressions.
LITERATURE REVIEW: -
The C Programming Language, effectively setting the standard for C. This standard
became ANSI C after some modifications. C itself has spawned other languages -
Concurrent C, Objective C, and in 1986, C++. All of these languages accept most
elements of ANSI C, but provide extra facilities. Motivated by some further examples
of the use of Feynman integrals which arise in perturbation calculations of the
equilibrium properties of a magnetic model of phase transitions, a generalization of the
familiar H function. A brief discussion of contour selection and convergence
conditions of the integrals involved is presented. It is also shown how some recent
work can be applied to derive various recurrence relations for the general H function.
2. PROPOSED METHODOLOGY: -
• Understand the topic given to us.
• Discuss about the topic with group members.
• Divide the topic throughout each members of the group.
• Collected the information from member and verify from our lecturer.
• Prepared the main report of our micro project.
RESOURCES REQUIRED: -
Sr.
No
Name of
Resources
Specification Quantity Remarks
1. Computer
System
Computer (Intel
Pentium
processor), RAM
2GB
1
2. Operating
system
Windows 10 1
3. Turbo c For compiling C
program
1
GROUP MEMBERS: -
Sr. No. Student Name Signature
1 Harshal D. Makode
2 Bhavesh Nehare
3 Prachi Kalpande
4 Nikitesh Mehare
3. Action Plan :-
SR.No Details of Activity Planned start date Planned finish date Team Member
1 To discuss and get the topic of Micro
project.
03-03-2022 07-03-2022 All
2 Start planning on topic of micro
project.
14-03-2022 17-03-2022 All
3 Collect information about out topic . 17-03-2022 28-03-2022 All
4 Distribute works within group
member.
28-03-2022 04-04-2022 All
5 To start with creating with main copy
of micro project.
04-04-2022 08-04-2022 All
6 Collect different information about
micro project.
08-04-2022 18-04-2022 All
7 Initiate different views about micro
project.
18-04-2022 25-04-2022 All
8 Editing process must done before hard
Copy .
25-04-2022 02-05-2022 All
9 Check soft copy properly before
preparing of hardcopy.
04-05-2022 08-05-2022 All
10 To start creating copy properly . 09-05-2022 12-05-2022 All
11 checking the information - on from
monitor.
12-05-2022 14-05-2022 All
12 Check the soft copy. 14-05-2022 16-05-2022 All
13 To present soft copy via G – mail. 16-05-2022 18-05-2022 All
14 Represent of the hard copy of main
micro project.
20-05-2022 Al
4. Page 9
MICRO-PROJECT REPORT ON
“Simple Scientific Calculator using C Language”
IN PARTIAL FULFILMENT OF DIPLOMA IN COMPUTER ENGINEERING
(Second Semester)
In the Subject of
PROGRAMMING IN “C”
Submitted By
1. Harshal D. Makode
2. Bhavesh Nehare
3. Prachi Kalpande
4. Nikitesh Mehare
Submitted To
Maharashtra State Board of Technical Education, Mumbai (M.S)
Under the Guidance of
Ms.S.D Jumade
Lecturer In
Department of Computer Engineering
Government Polytechnic, Arvi
Dist.-Wardha (2021-2022)
5. Page 11
Government Polytechnic, Arvi.
Department of Computer Engineering
Certificate
This is to certify, that students whose name mention below of Second Semester
of Diploma in Computer Engineering has satisfactorily completed the Micro
project entitled “Simple Scientific Calculator using C Language” in Programming
in ‘C’ or the academic year 2021-22 as Prescribed in MSBTE curriculum.
Name Enrollment No
Harshal D. Makode 2101320071
Bhavesh Nehare 2101320073
Prachi Kalpande 2101320074
Nikitesh Mehare 2101320075
Subject Teacher Head of the Department Principal
Place: Arvi
Date:
6. Page 14
Declaration
I under signed hereby declare that the micro project report entitled “Simple
Scientific Calculator using C Language”. I further declare that contents of this
report are properly citied and well acknowledge. This present report is not
submitted to any other examination of this or any other institute for the award of
any diploma.
(Signature)
Place: Arvi Date:
7. Page 16
PART B – Micro-Project Proposal
Simple Scientific Calculator using C Language
RATIONALE: -
C is a procedural programming language. It was initially developed by Dennis Ritchie
in the year 1972. It was mainly developed as a system programming language to write
an operating system. The main features of the C language include low-level memory
access, a simple set of keywords, and a clean style, these features make C language
suitable for system programming’s like an operating system or compiler development.
Many later languages have borrowed syntax/features directly or indirectly from the C
language. Like syntax of Java, PHP, JavaScript, and many other languages are mainly
based on the C language. C++ is nearly a superset of C language (Few programs may
compile in C, but not in C++).
INTENDED COURSE OUTCOMES: -
CO a. Develop flowchart and algorithm to solve problems logically.
CO b. Write simple ‘C’ programs using arithmetic expressions.
LITERATURE REVIEW:-
The C Programming Language, effectively setting the standard for C. This standard
became ANSI C after some modifications. C itself has spawned other languages -
Concurrent C, Objective C, and in 1986, C++. All of these languages accept most
elements of ANSI C, but provide extra facilities. Motivated by some further examples
of the use of Feynman integrals which arise in perturbation calculations of the
equilibrium properties of a magnetic model of phase transitions, a generalization of the
familiar H function. A brief discussion of contour selection and convergence
conditions of the integrals involved is presented. It is also shown how some recent
work can be applied to derive various recurrence relations for the general H function.
8. Page 18
ACTUAL METHODOLOGY FOLLOWED: -
These Micro project based on C language has been completed and performed by the
involvement of all the group members. All the group members had performed and
done their work correctly.
Works performed by group members individually are:
1. Harshal Makode has worked on editing process and creating the softcopy
including flowchart, Algorithm and program of the micro project.
2. Bhavesh Nehare provided information for the micro project and worked on
introduction, literature review and Rationale.
3. Prachi Kalpande provided information for the micro project and has worked on
action plan and application of these micro project.
4. Nikitesh Mehare provided information for the micro project and provided
information about the skills developed.
ACTUAL RESOURCES REQUIRED: -
Sr.
No
Name of
Resources
Specification Quantity Remarks
1. Computer
System
Computer (i3-i5
preferable), RAM
minimum 2GB
1
2. Operating
system
Windows 10 1
3. Turbo C For compiling C
program
1
9. Page 19
Outputs of the Micro-Project
Algorithm: -
Algorithm: Algorithm to create scientific calculator.
Input: One number or Two numbers.
Output: Addition, Subtraction, Multiplication, Division, Modulus, Exponential,
Logarithm, Trigonometry Functions.
Step 1: Start.
Step 2: Declare variable choice, i, a, b, x ,y ,result.
Step 3: Read the value for variable choice, a, b, x ,y ,result.
Step 4: Swich(choice)
Step 5:
Case 1: Addition: result= x + y;
Case 2: Subtraction: result= x -y;
Case 3: Multiplication: result = x * y;
Case 4: Division: result = x / y;
Case 5: Modulus: result = a % b;
Case 6: Exponential: result = pow(x, y);
Case 12: Logarithm: result = log10(x);
Case 13 to 18: Trigonometry Functions: result = sin(x * 3.14159 / 180);
result = cos(x * 3.14159 / 180);
result = tan(x * 3.14159 / 180);
result = 1 / (sin(x * 3.14159 / 180));
result = 1 / cos(x * 3.14159 / 180);
result = 1 / tan(x * 3.14159 / 180);
Step 6: Default: Invalid Choice!!!
Step 7: Display output Addition, Subtraction, Multiplication, Division, Modulus,
Exponential, Logarithm, Trigonometry Functions.
Step 8: Stop
17. Page 28
SKILL DEVELOPED/LEARNING OUT OF THE MICRO-
PROJECT: -
By doing the implementation of this micro-project we get to know
many functions and many headers file. We also have used math.h
header file which defines various mathematical functions. math.h is a
header file in the standard library of the C programming language
designed for basic mathematical operations. Most of the functions
involve the use of floating point numbers.
log10 base-10 logarithm
sin sine
sqrt square root
tan tangent
APPLICATION OF THE MICRO-PROJECT: -
The C <math.h> header file declares a set of functions to perform mathematical
operations such as:
1. sqrt() to calculate the square root.
2. log() to find natural logarithm of a number.
3. pow(x, y) The C library function double pow(x, y) returns x raised to the power
of y i.e. xy.
4. Exp(x): The C library function double exp(x) returns the value of e raised to the
xth power.
5. Cos(x) : The C library function double cos(x) returns the cosine of a radian
angle x.
18. Page 30
AREA OF FUTURE IMPROVEMENT: -
Programmers who understand sophisticated problem-solving techniques and can write
efficient and secure code continue to be in high demand.”
The C programming language, first released almost 50 years ago, remains extremely
popular today, ranking second in 2019 (again) and even gaining traction last year, due
to its speed, low-level capabilities, and platform-independent characteristics.
“In my own career, I’ve depended on C to do a lot of different types of projects, such
as industry-related research projects creating simulation models,” says Radhika
Grover, founder of SPEL Technologies, an educational product startup, and author of
Programming with Java: A Multimedia Approach. Grover is teaching a self-paced,
online, advanced C Programming course at UCSC Silicon Valley Extension.
References
➢ https://www.codesdope.com/discussion/how-to-make-a-calculator-using-cprogramming/
➢ https://stackoverflow.com/questions/15230880/a-scientific-calculator-in-c-using-
functions
➢ https://fresh2refresh.com/c-programming/c-programs/c-code-for-calculatorapplication/