SlideShare ist ein Scribd-Unternehmen logo
1 von 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)

Weitere ähnliche Inhalte

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
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
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Kürzlich hochgeladen (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
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 ...
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

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)