SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
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.
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
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
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)
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:
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:
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.
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
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
Page 20
Flow Chart:-
Page 21
Program: -
Page 22
Page 23
Page 24
Output: -
Page 25
Page 26
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.
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/

Weitere ähnliche Inhalte

Ähnlich wie My micro project C language .pdf

Lecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptxLecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptx
ravi2692kumar
 
Computer graphics 9068
Computer graphics  9068Computer graphics  9068
Computer graphics 9068
1061992
 
Overview of c++
Overview of c++Overview of c++
Overview of c++
geeeeeet
 
Computer programming all chapters
Computer programming all chaptersComputer programming all chapters
Computer programming all chapters
Ibrahim Elewah
 

Ähnlich wie My micro project C language .pdf (20)

Chapter 1.ppt
Chapter 1.pptChapter 1.ppt
Chapter 1.ppt
 
Algorithm pseudocode flowchart program notes
Algorithm pseudocode flowchart program notesAlgorithm pseudocode flowchart program notes
Algorithm pseudocode flowchart program notes
 
SOFTWARE BASED CALCULATION OF CAPACITY OUTAGE OF GENERATING UNITS
SOFTWARE BASED CALCULATION OF CAPACITY OUTAGE OF GENERATING UNITSSOFTWARE BASED CALCULATION OF CAPACITY OUTAGE OF GENERATING UNITS
SOFTWARE BASED CALCULATION OF CAPACITY OUTAGE OF GENERATING UNITS
 
Compiler gate question key
Compiler gate question keyCompiler gate question key
Compiler gate question key
 
Session1 c1
Session1 c1Session1 c1
Session1 c1
 
Mini Project- Dual Processor Computation
Mini Project- Dual Processor ComputationMini Project- Dual Processor Computation
Mini Project- Dual Processor Computation
 
3wis_2.pdf
3wis_2.pdf3wis_2.pdf
3wis_2.pdf
 
Lecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptxLecture 3.2.4 C pointer to Structure.pptx
Lecture 3.2.4 C pointer to Structure.pptx
 
Computer graphics 9068
Computer graphics  9068Computer graphics  9068
Computer graphics 9068
 
Presentation on C programming language
Presentation on C programming languagePresentation on C programming language
Presentation on C programming language
 
Overview of c++
Overview of c++Overview of c++
Overview of c++
 
10tait
10tait10tait
10tait
 
Chapter 10
Chapter 10 Chapter 10
Chapter 10
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
 
Computer programming all chapters
Computer programming all chaptersComputer programming all chapters
Computer programming all chapters
 
Module 1 2 just basic-
Module 1 2  just basic-Module 1 2  just basic-
Module 1 2 just basic-
 
Module 201 2 20 just 20 basic
Module 201   2  20  just 20 basic Module 201   2  20  just 20 basic
Module 201 2 20 just 20 basic
 
Fundamentals of programming with C++
Fundamentals of programming with C++Fundamentals of programming with C++
Fundamentals of programming with C++
 
Vedic Calculator
Vedic CalculatorVedic Calculator
Vedic Calculator
 
Basic Programming concepts - Programming with C++
Basic Programming concepts - Programming with C++Basic Programming concepts - Programming with C++
Basic Programming concepts - Programming with C++
 

Kürzlich hochgeladen

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 

Kürzlich hochgeladen (20)

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 

My micro project C language .pdf

  • 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/