SlideShare una empresa de Scribd logo
1 de 1
Let G be the undirected graph given below.
(a) Find the number of paths from vertex a to vertex b.
(b) Find the number of trails from vertex a to vertex b.
(c) Find all cycles starting at vertex a.
Solution
A path is a walk that does not include any vertex twice, except that its first vertex might be the
same as its last.
A trail is a walk that does not pass over the same edge twice. A trail might visit the same vertex
twice, but only if it comes and goes from a different edge each time.
A cycle is a path that begins and ends on the same vertex.
(a) number of paths from a to b are 3 ( a-b , a-d-b , a-d-c-b)
(b) number of paths from a to b are 5( a-b , a-d-b , a-d-c-b , a-b-c-d-b , a-b-d-c-b)
(b) number of cycles from a to b are 4( a-b-d-a , a-d-b-a , a-d-c-b-a , a-b-c-d-a)

Más contenido relacionado

Más de sthomas232

Let F -- L be a finite extension of fields- and let L - F-a- for some.docx
Let F -- L be a finite extension of fields- and let L - F-a-  for some.docxLet F -- L be a finite extension of fields- and let L - F-a-  for some.docx
Let F -- L be a finite extension of fields- and let L - F-a- for some.docxsthomas232
 
Many intuitively plausible beliefs conflict with science- For example-.docx
Many intuitively plausible beliefs conflict with science- For example-.docxMany intuitively plausible beliefs conflict with science- For example-.docx
Many intuitively plausible beliefs conflict with science- For example-.docxsthomas232
 
maom an learning What is the concentration of an HBr solution if 28-5.docx
maom an learning What is the concentration of an HBr solution if 28-5.docxmaom an learning What is the concentration of an HBr solution if 28-5.docx
maom an learning What is the concentration of an HBr solution if 28-5.docxsthomas232
 
Let be unknown constants and consider the linear system- This syst.docx
Let be unknown constants and consider the linear system-     This syst.docxLet be unknown constants and consider the linear system-     This syst.docx
Let be unknown constants and consider the linear system- This syst.docxsthomas232
 
Many companies such as McDonalds have embraced supply chain management.docx
Many companies such as McDonalds have embraced supply chain management.docxMany companies such as McDonalds have embraced supply chain management.docx
Many companies such as McDonalds have embraced supply chain management.docxsthomas232
 
made a year end adjusting entry to accrue interest on a note payable t.docx
made a year end adjusting entry to accrue interest on a note payable t.docxmade a year end adjusting entry to accrue interest on a note payable t.docx
made a year end adjusting entry to accrue interest on a note payable t.docxsthomas232
 
List some advantages of having a well developed international code of.docx
List some advantages of having a well developed international code of.docxList some advantages of having a well developed international code of.docx
List some advantages of having a well developed international code of.docxsthomas232
 
List several of the major differences between manufacturing and servic.docx
List several of the major differences between manufacturing and servic.docxList several of the major differences between manufacturing and servic.docx
List several of the major differences between manufacturing and servic.docxsthomas232
 
Mack and Joan are married but Mack moved out of the family home in Oct.docx
Mack and Joan are married but Mack moved out of the family home in Oct.docxMack and Joan are married but Mack moved out of the family home in Oct.docx
Mack and Joan are married but Mack moved out of the family home in Oct.docxsthomas232
 
luonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docx
luonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docxluonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docx
luonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docxsthomas232
 
Luther recently received $30-000 of compensation for some consulting w.docx
Luther recently received $30-000 of compensation for some consulting w.docxLuther recently received $30-000 of compensation for some consulting w.docx
Luther recently received $30-000 of compensation for some consulting w.docxsthomas232
 
Let A be an invertible matrix such that - where L and L1 are unit low.docx
Let A be an invertible matrix such that  - where L and L1 are unit low.docxLet A be an invertible matrix such that  - where L and L1 are unit low.docx
Let A be an invertible matrix such that - where L and L1 are unit low.docxsthomas232
 
LS P Explain how one can be certain whether an unknown contains the I.docx
LS P Explain how one can be certain whether an unknown contains the I.docxLS P Explain how one can be certain whether an unknown contains the I.docx
LS P Explain how one can be certain whether an unknown contains the I.docxsthomas232
 
Let A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docx
Let A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docxLet A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docx
Let A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docxsthomas232
 
Lollipop Inc- completed transactions during 2013- journal transactions.docx
Lollipop Inc- completed transactions during 2013- journal transactions.docxLollipop Inc- completed transactions during 2013- journal transactions.docx
Lollipop Inc- completed transactions during 2013- journal transactions.docxsthomas232
 
List three qualities of software that make it vulnerableSolutionThe th.docx
List three qualities of software that make it vulnerableSolutionThe th.docxList three qualities of software that make it vulnerableSolutionThe th.docx
List three qualities of software that make it vulnerableSolutionThe th.docxsthomas232
 
List the main documents that are created during the architecture and u.docx
List the main documents that are created during the architecture and u.docxList the main documents that are created during the architecture and u.docx
List the main documents that are created during the architecture and u.docxsthomas232
 
List the circumstances under which land would be classified under the.docx
List the circumstances under which land would be classified under the.docxList the circumstances under which land would be classified under the.docx
List the circumstances under which land would be classified under the.docxsthomas232
 
List the matters an auditor should consider when developing an audit p.docx
List the matters an auditor should consider when developing an audit p.docxList the matters an auditor should consider when developing an audit p.docx
List the matters an auditor should consider when developing an audit p.docxsthomas232
 
List and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docxList and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docxsthomas232
 

Más de sthomas232 (20)

Let F -- L be a finite extension of fields- and let L - F-a- for some.docx
Let F -- L be a finite extension of fields- and let L - F-a-  for some.docxLet F -- L be a finite extension of fields- and let L - F-a-  for some.docx
Let F -- L be a finite extension of fields- and let L - F-a- for some.docx
 
Many intuitively plausible beliefs conflict with science- For example-.docx
Many intuitively plausible beliefs conflict with science- For example-.docxMany intuitively plausible beliefs conflict with science- For example-.docx
Many intuitively plausible beliefs conflict with science- For example-.docx
 
maom an learning What is the concentration of an HBr solution if 28-5.docx
maom an learning What is the concentration of an HBr solution if 28-5.docxmaom an learning What is the concentration of an HBr solution if 28-5.docx
maom an learning What is the concentration of an HBr solution if 28-5.docx
 
Let be unknown constants and consider the linear system- This syst.docx
Let be unknown constants and consider the linear system-     This syst.docxLet be unknown constants and consider the linear system-     This syst.docx
Let be unknown constants and consider the linear system- This syst.docx
 
Many companies such as McDonalds have embraced supply chain management.docx
Many companies such as McDonalds have embraced supply chain management.docxMany companies such as McDonalds have embraced supply chain management.docx
Many companies such as McDonalds have embraced supply chain management.docx
 
made a year end adjusting entry to accrue interest on a note payable t.docx
made a year end adjusting entry to accrue interest on a note payable t.docxmade a year end adjusting entry to accrue interest on a note payable t.docx
made a year end adjusting entry to accrue interest on a note payable t.docx
 
List some advantages of having a well developed international code of.docx
List some advantages of having a well developed international code of.docxList some advantages of having a well developed international code of.docx
List some advantages of having a well developed international code of.docx
 
List several of the major differences between manufacturing and servic.docx
List several of the major differences between manufacturing and servic.docxList several of the major differences between manufacturing and servic.docx
List several of the major differences between manufacturing and servic.docx
 
Mack and Joan are married but Mack moved out of the family home in Oct.docx
Mack and Joan are married but Mack moved out of the family home in Oct.docxMack and Joan are married but Mack moved out of the family home in Oct.docx
Mack and Joan are married but Mack moved out of the family home in Oct.docx
 
luonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docx
luonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docxluonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docx
luonbcator assignment-take uonor ior SPeCIes war acuAS OUTIOS ouy acce.docx
 
Luther recently received $30-000 of compensation for some consulting w.docx
Luther recently received $30-000 of compensation for some consulting w.docxLuther recently received $30-000 of compensation for some consulting w.docx
Luther recently received $30-000 of compensation for some consulting w.docx
 
Let A be an invertible matrix such that - where L and L1 are unit low.docx
Let A be an invertible matrix such that  - where L and L1 are unit low.docxLet A be an invertible matrix such that  - where L and L1 are unit low.docx
Let A be an invertible matrix such that - where L and L1 are unit low.docx
 
LS P Explain how one can be certain whether an unknown contains the I.docx
LS P Explain how one can be certain whether an unknown contains the I.docxLS P Explain how one can be certain whether an unknown contains the I.docx
LS P Explain how one can be certain whether an unknown contains the I.docx
 
Let A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docx
Let A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docxLet A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docx
Let A and B be rings- and f - A -- B a homomophism-Prove that f is inj.docx
 
Lollipop Inc- completed transactions during 2013- journal transactions.docx
Lollipop Inc- completed transactions during 2013- journal transactions.docxLollipop Inc- completed transactions during 2013- journal transactions.docx
Lollipop Inc- completed transactions during 2013- journal transactions.docx
 
List three qualities of software that make it vulnerableSolutionThe th.docx
List three qualities of software that make it vulnerableSolutionThe th.docxList three qualities of software that make it vulnerableSolutionThe th.docx
List three qualities of software that make it vulnerableSolutionThe th.docx
 
List the main documents that are created during the architecture and u.docx
List the main documents that are created during the architecture and u.docxList the main documents that are created during the architecture and u.docx
List the main documents that are created during the architecture and u.docx
 
List the circumstances under which land would be classified under the.docx
List the circumstances under which land would be classified under the.docxList the circumstances under which land would be classified under the.docx
List the circumstances under which land would be classified under the.docx
 
List the matters an auditor should consider when developing an audit p.docx
List the matters an auditor should consider when developing an audit p.docxList the matters an auditor should consider when developing an audit p.docx
List the matters an auditor should consider when developing an audit p.docx
 
List and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docxList and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docx
 

Último

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
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
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu 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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
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
 

Último (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
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...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
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...
 

Let G be the undirected graph given below- (a) Find the number of path.docx

  • 1. Let G be the undirected graph given below. (a) Find the number of paths from vertex a to vertex b. (b) Find the number of trails from vertex a to vertex b. (c) Find all cycles starting at vertex a. Solution A path is a walk that does not include any vertex twice, except that its first vertex might be the same as its last. A trail is a walk that does not pass over the same edge twice. A trail might visit the same vertex twice, but only if it comes and goes from a different edge each time. A cycle is a path that begins and ends on the same vertex. (a) number of paths from a to b are 3 ( a-b , a-d-b , a-d-c-b) (b) number of paths from a to b are 5( a-b , a-d-b , a-d-c-b , a-b-c-d-b , a-b-d-c-b) (b) number of cycles from a to b are 4( a-b-d-a , a-d-b-a , a-d-c-b-a , a-b-c-d-a)