SlideShare une entreprise Scribd logo
1  sur  26
Problem Solving in mathematics and computer science 	Team 4 	Chapter 13  	Reading in Mathematics Team members: Lishu Liu Yun Zhang ProsunjitBiswas Tahmina Ahmed
How ideas and relationships are expressed in mathematics? Ideas and relationships are expressed through notations, symbols, numbers and formulas. Symbol: =,<,>,+,-,*,/ etc. Number: 1,2,3,0.1,1/2,logn etc. Formula: ex. y = x+2
Thought pattern in mathematics The three patterns are:  Process Problem solving Comparison and contrast
The kissing problem
Problem solving in mathematics- step1 Define the problem Everyone must kiss each other. We  define one kiss as occurring when two people kiss each other, any number of times. Q: How many kisses will occur if we have n people? 
Problem solving in mathematics- step2 Try to solvethe problem for simple cases
Problem solving in mathematics- step3 Look for a pattern or clue n=2:    1 kiss   n=1:    0 kiss  3 1 2 3 1 4 2 n=4:    3+2+1 kisses n=3:    2+1 kisses
Problem solving in mathematics- step3 (continuing…) n = 5, kisses = 4 + 3 + 2 + 1 n = 6, kisses = 5 + 4 + 3 + 2 +1 n= 7, kisses = 6 + 5 + 4 + 3 + 2 + 1 So, what can be the pattern for the kissing problem?
Problem solving in mathematics- step4 Guess and check What if we have n people? ?
Problem solving in mathematics- step5 Use knowledge to solve the problem and extend the solution  Kisses = (n-1) + (n-2) + …  +  1
Problem solving in mathematics- step6 Try to find a better solution  Kisses = (n-1) + (n-2) + …  +  1                          = (n + n + … + n) – (1 + 2 + … + (n-1))                = n(n-1) – n(n-1)/2                = n(n-1)/2 (n-(n-1)) (n-1) factors (n-1) factors (n-1) factors
Summarizing steps  in mathematics Flow chart
Problem solving in computer science - step1 Define the problem Everyone must kiss each other. We  define one kiss as occurring when two people kiss each other, any number of times. Q: For N number of People how many kisses there will be ?
Problem solving in computer science - step2 Get sample input and output for simple cases Define input    1, 2, 3, 4 … 	                           |  |  |   | Define output 0, 1, 3, 6 …
Problem solving in computer science - step3 Construct logic with the pattern For first two input So, We can assume that for n people n -1 kisses. n=1:    0 kiss                                                                  n=2 :    1 kiss
Problem solving in computer science - step3 We consider more input & output to justify our guess(kiss=n-1).      n=1:    0 kiss                                                              n=2:    1 kiss  n=3:    2 kisses                                                     n=4:    3 kisses But this time we are indeed wrong. So, need to improve our guess.
Problem solving in computer science - step4 We will improve our solution through trial & error. what will  happen if we cannot reach the exact solution ?
Problem solving in computer science – step4 So, we will construct & justify our logic using mathematical formula.  Kisses = n (n-1) / 2
Problem solving in computer science - step5 Now we have the solution Now its time to code ! FIND NO OF KISSES( N)           KISS=N(N-1)/2 RETURN KISS
Problem solving in computer science - step6 Problem solved! Why do we really need a computer to solve the problem?
Summarizing steps  in computer science Flow chart
Mathematics vs. Computer Science
Historical relation between mathematics & computer science Donald Knuth (Professor of Stanford) -- Father of Analysis of  Algorithm Graduated in Mathematics (Case Institute of Tech.) PhD in Mathematics (Caltech)
Acknowledgement
Questions?
Problem solving strategies in mathematics and computer science

Contenu connexe

Tendances

Math 107 final examination answers
Math 107 final examination answersMath 107 final examination answers
Math 107 final examination answersarnitaetsitty
 
Whole Numbers Addition & Subtraction
Whole Numbers Addition & SubtractionWhole Numbers Addition & Subtraction
Whole Numbers Addition & SubtractionJimmy Keng
 
Lesson plan in mathematics 9 (illustrations of quadratic equations)
Lesson plan in mathematics 9 (illustrations of quadratic equations)Lesson plan in mathematics 9 (illustrations of quadratic equations)
Lesson plan in mathematics 9 (illustrations of quadratic equations)Decena15
 
Detailed Lesson Plan in Mathematics
Detailed Lesson Plan in MathematicsDetailed Lesson Plan in Mathematics
Detailed Lesson Plan in MathematicsAbbygale Jade
 
Mean, median, mode and range power point
Mean, median, mode and range power pointMean, median, mode and range power point
Mean, median, mode and range power pointmanswag123
 
7.4 notes1[1]
7.4 notes1[1]7.4 notes1[1]
7.4 notes1[1]nglaze10
 
What is vedic maths
What is vedic mathsWhat is vedic maths
What is vedic mathsNeha Sinha
 
Pre Algebra_lessons
Pre Algebra_lessonsPre Algebra_lessons
Pre Algebra_lessonsRalph Weber
 
MCI-SIF PDA Thailand Project
MCI-SIF PDA Thailand ProjectMCI-SIF PDA Thailand Project
MCI-SIF PDA Thailand ProjectJimmy Keng
 
Mathematics 7_Selected Questions
Mathematics 7_Selected QuestionsMathematics 7_Selected Questions
Mathematics 7_Selected Questionsrey castro
 
Kungfu math p4 slide5 (multiples)
Kungfu math p4 slide5 (multiples)Kungfu math p4 slide5 (multiples)
Kungfu math p4 slide5 (multiples)kungfumath
 
Factoring by Gemma Maniago
Factoring by Gemma ManiagoFactoring by Gemma Maniago
Factoring by Gemma ManiagoNhatz Marticio
 

Tendances (18)

Math 107 final examination answers
Math 107 final examination answersMath 107 final examination answers
Math 107 final examination answers
 
Whole Numbers Addition & Subtraction
Whole Numbers Addition & SubtractionWhole Numbers Addition & Subtraction
Whole Numbers Addition & Subtraction
 
Lesson plan in mathematics 9 (illustrations of quadratic equations)
Lesson plan in mathematics 9 (illustrations of quadratic equations)Lesson plan in mathematics 9 (illustrations of quadratic equations)
Lesson plan in mathematics 9 (illustrations of quadratic equations)
 
Detailed Lesson Plan in Mathematics
Detailed Lesson Plan in MathematicsDetailed Lesson Plan in Mathematics
Detailed Lesson Plan in Mathematics
 
Mean, median, mode and range power point
Mean, median, mode and range power pointMean, median, mode and range power point
Mean, median, mode and range power point
 
Extended Essay 2013
Extended Essay 2013Extended Essay 2013
Extended Essay 2013
 
7.4 notes1[1]
7.4 notes1[1]7.4 notes1[1]
7.4 notes1[1]
 
Integer Lesson Plan
Integer Lesson Plan Integer Lesson Plan
Integer Lesson Plan
 
What is vedic maths
What is vedic mathsWhat is vedic maths
What is vedic maths
 
Pre Algebra_lessons
Pre Algebra_lessonsPre Algebra_lessons
Pre Algebra_lessons
 
MCI-SIF PDA Thailand Project
MCI-SIF PDA Thailand ProjectMCI-SIF PDA Thailand Project
MCI-SIF PDA Thailand Project
 
Mathematics 7_Selected Questions
Mathematics 7_Selected QuestionsMathematics 7_Selected Questions
Mathematics 7_Selected Questions
 
Kungfu math p4 slide5 (multiples)
Kungfu math p4 slide5 (multiples)Kungfu math p4 slide5 (multiples)
Kungfu math p4 slide5 (multiples)
 
AFS7 Math 3
AFS7 Math 3AFS7 Math 3
AFS7 Math 3
 
Fayez Shafeek
Fayez ShafeekFayez Shafeek
Fayez Shafeek
 
Factoring by Gemma Maniago
Factoring by Gemma ManiagoFactoring by Gemma Maniago
Factoring by Gemma Maniago
 
Mean, mode, median
Mean, mode, medianMean, mode, median
Mean, mode, median
 
30 Simple Algebra Tricks for Students
30 Simple Algebra Tricks for Students30 Simple Algebra Tricks for Students
30 Simple Algebra Tricks for Students
 

En vedette

1 introduction to problem solving and programming
1 introduction to problem solving and programming1 introduction to problem solving and programming
1 introduction to problem solving and programmingRheigh Henley Calderon
 
Computational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using AthenaComputational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using AthenaPedro Almir
 
Problem Solving in Mathematics Education
Problem Solving in Mathematics EducationProblem Solving in Mathematics Education
Problem Solving in Mathematics EducationJeff Suzuki
 
Strategies for solving math word problems
Strategies for solving math word problemsStrategies for solving math word problems
Strategies for solving math word problemsmwinfield1
 
Flow control in computer
Flow control in computerFlow control in computer
Flow control in computerrud_d_rcks
 
Problem solving in mathematics
Problem solving in mathematicsProblem solving in mathematics
Problem solving in mathematicsColleen Young
 
Introduction To Problem Analysis
Introduction To Problem AnalysisIntroduction To Problem Analysis
Introduction To Problem AnalysisElijah Ezendu
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Problem Solving and Decision Making
Problem Solving and Decision MakingProblem Solving and Decision Making
Problem Solving and Decision MakingIbrahim M. Morsy
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningLior Rokach
 
problem solving of mathematics
problem solving of mathematicsproblem solving of mathematics
problem solving of mathematicsguest74d3e9
 
Decision making & problem solving
Decision making & problem solvingDecision making & problem solving
Decision making & problem solvingashish1afmi
 
Introduction to Big Data/Machine Learning
Introduction to Big Data/Machine LearningIntroduction to Big Data/Machine Learning
Introduction to Big Data/Machine LearningLars Marius Garshol
 
PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT Andrew Schwartz
 

En vedette (15)

1 introduction to problem solving and programming
1 introduction to problem solving and programming1 introduction to problem solving and programming
1 introduction to problem solving and programming
 
Computational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using AthenaComputational Intelligence: concepts and applications using Athena
Computational Intelligence: concepts and applications using Athena
 
Problem Solving in Mathematics Education
Problem Solving in Mathematics EducationProblem Solving in Mathematics Education
Problem Solving in Mathematics Education
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Strategies for solving math word problems
Strategies for solving math word problemsStrategies for solving math word problems
Strategies for solving math word problems
 
Flow control in computer
Flow control in computerFlow control in computer
Flow control in computer
 
Problem solving in mathematics
Problem solving in mathematicsProblem solving in mathematics
Problem solving in mathematics
 
Introduction To Problem Analysis
Introduction To Problem AnalysisIntroduction To Problem Analysis
Introduction To Problem Analysis
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Problem Solving and Decision Making
Problem Solving and Decision MakingProblem Solving and Decision Making
Problem Solving and Decision Making
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
problem solving of mathematics
problem solving of mathematicsproblem solving of mathematics
problem solving of mathematics
 
Decision making & problem solving
Decision making & problem solvingDecision making & problem solving
Decision making & problem solving
 
Introduction to Big Data/Machine Learning
Introduction to Big Data/Machine LearningIntroduction to Big Data/Machine Learning
Introduction to Big Data/Machine Learning
 
PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT
 

Similaire à Problem solving strategies in mathematics and computer science

Similaire à Problem solving strategies in mathematics and computer science (20)

Proof Techniques
Proof TechniquesProof Techniques
Proof Techniques
 
Answering Techniques Ad Maths P1
Answering Techniques Ad Maths P1Answering Techniques Ad Maths P1
Answering Techniques Ad Maths P1
 
Pp smi add. maths paper 1
Pp smi add. maths paper 1Pp smi add. maths paper 1
Pp smi add. maths paper 1
 
tutorial5.ppt
tutorial5.ppttutorial5.ppt
tutorial5.ppt
 
Introduction
IntroductionIntroduction
Introduction
 
Alex Shen ...
Alex Shen                                                                    ...Alex Shen                                                                    ...
Alex Shen ...
 
ppt math6 qt3-wk3.pptx
ppt math6 qt3-wk3.pptxppt math6 qt3-wk3.pptx
ppt math6 qt3-wk3.pptx
 
Probability module 1
Probability module 1Probability module 1
Probability module 1
 
Generating Patterns and arithmetic sequence.pptx
Generating Patterns and arithmetic sequence.pptxGenerating Patterns and arithmetic sequence.pptx
Generating Patterns and arithmetic sequence.pptx
 
Arithmetic sequences
Arithmetic sequencesArithmetic sequences
Arithmetic sequences
 
Fungsi rekursiv
Fungsi rekursivFungsi rekursiv
Fungsi rekursiv
 
Crt
CrtCrt
Crt
 
series.pdf
series.pdfseries.pdf
series.pdf
 
Binomial
BinomialBinomial
Binomial
 
Limits at Infinity, Part 2
Limits at Infinity, Part 2Limits at Infinity, Part 2
Limits at Infinity, Part 2
 
Statistical Method In Economics
Statistical Method In EconomicsStatistical Method In Economics
Statistical Method In Economics
 
Introduction to Sequences and Series.pptx
Introduction to Sequences and Series.pptxIntroduction to Sequences and Series.pptx
Introduction to Sequences and Series.pptx
 
November 3, 2014
November 3, 2014November 3, 2014
November 3, 2014
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
HW1 MIT Fall 2005
HW1 MIT Fall 2005HW1 MIT Fall 2005
HW1 MIT Fall 2005
 

Plus de UT, San Antonio

digital certificate - types and formats
digital certificate - types and formatsdigital certificate - types and formats
digital certificate - types and formatsUT, San Antonio
 
Static Analysis with Sonarlint
Static Analysis with SonarlintStatic Analysis with Sonarlint
Static Analysis with SonarlintUT, San Antonio
 
Shellshock- from bug towards vulnerability
Shellshock- from bug towards vulnerabilityShellshock- from bug towards vulnerability
Shellshock- from bug towards vulnerabilityUT, San Antonio
 
Big Data Processing: Performance Gain Through In-Memory Computation
Big Data Processing: Performance Gain Through In-Memory ComputationBig Data Processing: Performance Gain Through In-Memory Computation
Big Data Processing: Performance Gain Through In-Memory ComputationUT, San Antonio
 
Enumerated authorization policy ABAC (EP-ABAC) model
Enumerated authorization policy ABAC (EP-ABAC) modelEnumerated authorization policy ABAC (EP-ABAC) model
Enumerated authorization policy ABAC (EP-ABAC) modelUT, San Antonio
 
Where is my Privacy presentation slideshow (one page only)
Where is my Privacy presentation slideshow (one page only)Where is my Privacy presentation slideshow (one page only)
Where is my Privacy presentation slideshow (one page only)UT, San Antonio
 
Security_of_openstack_keystone
Security_of_openstack_keystoneSecurity_of_openstack_keystone
Security_of_openstack_keystoneUT, San Antonio
 
Research seminar group_1_prosunjit
Research seminar group_1_prosunjitResearch seminar group_1_prosunjit
Research seminar group_1_prosunjitUT, San Antonio
 
Attribute Based Encryption
Attribute Based EncryptionAttribute Based Encryption
Attribute Based EncryptionUT, San Antonio
 
Final Project Transciption Factor DNA binding Prediction
Final Project Transciption Factor DNA binding Prediction Final Project Transciption Factor DNA binding Prediction
Final Project Transciption Factor DNA binding Prediction UT, San Antonio
 

Plus de UT, San Antonio (20)

digital certificate - types and formats
digital certificate - types and formatsdigital certificate - types and formats
digital certificate - types and formats
 
Saml metadata
Saml metadataSaml metadata
Saml metadata
 
Static Analysis with Sonarlint
Static Analysis with SonarlintStatic Analysis with Sonarlint
Static Analysis with Sonarlint
 
Shellshock- from bug towards vulnerability
Shellshock- from bug towards vulnerabilityShellshock- from bug towards vulnerability
Shellshock- from bug towards vulnerability
 
Abac17 prosun-slides
Abac17 prosun-slidesAbac17 prosun-slides
Abac17 prosun-slides
 
Abac17 prosun-slides
Abac17 prosun-slidesAbac17 prosun-slides
Abac17 prosun-slides
 
Recitation
RecitationRecitation
Recitation
 
Recitation
RecitationRecitation
Recitation
 
Big Data Processing: Performance Gain Through In-Memory Computation
Big Data Processing: Performance Gain Through In-Memory ComputationBig Data Processing: Performance Gain Through In-Memory Computation
Big Data Processing: Performance Gain Through In-Memory Computation
 
Enumerated authorization policy ABAC (EP-ABAC) model
Enumerated authorization policy ABAC (EP-ABAC) modelEnumerated authorization policy ABAC (EP-ABAC) model
Enumerated authorization policy ABAC (EP-ABAC) model
 
Where is my Privacy presentation slideshow (one page only)
Where is my Privacy presentation slideshow (one page only)Where is my Privacy presentation slideshow (one page only)
Where is my Privacy presentation slideshow (one page only)
 
Three month course
Three month courseThree month course
Three month course
 
One month-syllabus
One month-syllabusOne month-syllabus
One month-syllabus
 
Zerovm backgroud
Zerovm backgroudZerovm backgroud
Zerovm backgroud
 
Security_of_openstack_keystone
Security_of_openstack_keystoneSecurity_of_openstack_keystone
Security_of_openstack_keystone
 
Research seminar group_1_prosunjit
Research seminar group_1_prosunjitResearch seminar group_1_prosunjit
Research seminar group_1_prosunjit
 
Ksi
KsiKsi
Ksi
 
Attribute Based Encryption
Attribute Based EncryptionAttribute Based Encryption
Attribute Based Encryption
 
Final Project Transciption Factor DNA binding Prediction
Final Project Transciption Factor DNA binding Prediction Final Project Transciption Factor DNA binding Prediction
Final Project Transciption Factor DNA binding Prediction
 
Cyber Security Exam 2
Cyber Security Exam 2Cyber Security Exam 2
Cyber Security Exam 2
 

Dernier

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Dernier (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

Problem solving strategies in mathematics and computer science

  • 1. Problem Solving in mathematics and computer science Team 4 Chapter 13 Reading in Mathematics Team members: Lishu Liu Yun Zhang ProsunjitBiswas Tahmina Ahmed
  • 2. How ideas and relationships are expressed in mathematics? Ideas and relationships are expressed through notations, symbols, numbers and formulas. Symbol: =,<,>,+,-,*,/ etc. Number: 1,2,3,0.1,1/2,logn etc. Formula: ex. y = x+2
  • 3. Thought pattern in mathematics The three patterns are: Process Problem solving Comparison and contrast
  • 5. Problem solving in mathematics- step1 Define the problem Everyone must kiss each other. We define one kiss as occurring when two people kiss each other, any number of times. Q: How many kisses will occur if we have n people? 
  • 6. Problem solving in mathematics- step2 Try to solvethe problem for simple cases
  • 7. Problem solving in mathematics- step3 Look for a pattern or clue n=2: 1 kiss n=1: 0 kiss 3 1 2 3 1 4 2 n=4: 3+2+1 kisses n=3: 2+1 kisses
  • 8. Problem solving in mathematics- step3 (continuing…) n = 5, kisses = 4 + 3 + 2 + 1 n = 6, kisses = 5 + 4 + 3 + 2 +1 n= 7, kisses = 6 + 5 + 4 + 3 + 2 + 1 So, what can be the pattern for the kissing problem?
  • 9. Problem solving in mathematics- step4 Guess and check What if we have n people? ?
  • 10. Problem solving in mathematics- step5 Use knowledge to solve the problem and extend the solution Kisses = (n-1) + (n-2) + … + 1
  • 11. Problem solving in mathematics- step6 Try to find a better solution Kisses = (n-1) + (n-2) + … + 1 = (n + n + … + n) – (1 + 2 + … + (n-1)) = n(n-1) – n(n-1)/2 = n(n-1)/2 (n-(n-1)) (n-1) factors (n-1) factors (n-1) factors
  • 12. Summarizing steps in mathematics Flow chart
  • 13. Problem solving in computer science - step1 Define the problem Everyone must kiss each other. We define one kiss as occurring when two people kiss each other, any number of times. Q: For N number of People how many kisses there will be ?
  • 14. Problem solving in computer science - step2 Get sample input and output for simple cases Define input 1, 2, 3, 4 … | | | | Define output 0, 1, 3, 6 …
  • 15. Problem solving in computer science - step3 Construct logic with the pattern For first two input So, We can assume that for n people n -1 kisses. n=1: 0 kiss n=2 : 1 kiss
  • 16. Problem solving in computer science - step3 We consider more input & output to justify our guess(kiss=n-1). n=1: 0 kiss n=2: 1 kiss n=3: 2 kisses n=4: 3 kisses But this time we are indeed wrong. So, need to improve our guess.
  • 17. Problem solving in computer science - step4 We will improve our solution through trial & error. what will happen if we cannot reach the exact solution ?
  • 18. Problem solving in computer science – step4 So, we will construct & justify our logic using mathematical formula. Kisses = n (n-1) / 2
  • 19. Problem solving in computer science - step5 Now we have the solution Now its time to code ! FIND NO OF KISSES( N) KISS=N(N-1)/2 RETURN KISS
  • 20. Problem solving in computer science - step6 Problem solved! Why do we really need a computer to solve the problem?
  • 21. Summarizing steps in computer science Flow chart
  • 23. Historical relation between mathematics & computer science Donald Knuth (Professor of Stanford) -- Father of Analysis of Algorithm Graduated in Mathematics (Case Institute of Tech.) PhD in Mathematics (Caltech)