SlideShare a Scribd company logo
Write the algorithm to program the Mechanical Man to carry out the following objectives: 1)
Begin sitting in a chair at an unknown integer number of steps from the wall with his arms
lowered. 2) He will stand up and walk forward until he touches the wall with his fingertips. 3)
After touching the wall, he will return to his chair. 4) Because the chair is too low for him to
sense, he can get to it only by going back exactly the number of steps as he came forward. The
Mechanical man possesses the following properties: * He is restricted to carrying out a limited
set of instructions. * He does nothing unless given a specific instruction. * He must carry out any
instructions he is given one at a time. * He understands only the following instructions:

More Related Content

More from Sebastian6SWSlaterb

Write out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docx
Write out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docxWrite out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docx
Write out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docx
Sebastian6SWSlaterb
 
Write the R programming code for computing the mean- median- mode- qua.docx
Write the R programming code for computing the mean- median- mode- qua.docxWrite the R programming code for computing the mean- median- mode- qua.docx
Write the R programming code for computing the mean- median- mode- qua.docx
Sebastian6SWSlaterb
 
{0i1ji-j and i-2j}.docx
{0i1ji-j and i-2j}.docx{0i1ji-j and i-2j}.docx
{0i1ji-j and i-2j}.docx
Sebastian6SWSlaterb
 
write short notes about flu (influenza)what us this illness - mechanis.docx
write short notes about flu (influenza)what us this illness - mechanis.docxwrite short notes about flu (influenza)what us this illness - mechanis.docx
write short notes about flu (influenza)what us this illness - mechanis.docx
Sebastian6SWSlaterb
 
Zorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docx
Zorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docxZorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docx
Zorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docx
Sebastian6SWSlaterb
 
Z Industries income statement for the year- Z Industries has on its ba.docx
Z Industries income statement for the year- Z Industries has on its ba.docxZ Industries income statement for the year- Z Industries has on its ba.docx
Z Industries income statement for the year- Z Industries has on its ba.docx
Sebastian6SWSlaterb
 
Z Industries has on its balance sheet $6 million in net operating work.docx
Z Industries has on its balance sheet $6 million in net operating work.docxZ Industries has on its balance sheet $6 million in net operating work.docx
Z Industries has on its balance sheet $6 million in net operating work.docx
Sebastian6SWSlaterb
 
Your patient had his 63rd birthday 5 months ago is visiting you in May.docx
Your patient had his 63rd birthday 5 months ago is visiting you in May.docxYour patient had his 63rd birthday 5 months ago is visiting you in May.docx
Your patient had his 63rd birthday 5 months ago is visiting you in May.docx
Sebastian6SWSlaterb
 
Your firm decides to convert $100-000 in USD to euros and deposit the (1).docx
Your firm decides to convert $100-000 in USD to euros and deposit the (1).docxYour firm decides to convert $100-000 in USD to euros and deposit the (1).docx
Your firm decides to convert $100-000 in USD to euros and deposit the (1).docx
Sebastian6SWSlaterb
 
You write put options on 1000 shares of Facebook with a strike of $101.docx
You write put options on 1000 shares of Facebook with a strike of $101.docxYou write put options on 1000 shares of Facebook with a strike of $101.docx
You write put options on 1000 shares of Facebook with a strike of $101.docx
Sebastian6SWSlaterb
 
You must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docxYou must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docx
Sebastian6SWSlaterb
 

More from Sebastian6SWSlaterb (11)

Write out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docx
Write out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docxWrite out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docx
Write out all functions f-{1-2}{a-b-c-d} (in two-line notation)- How m.docx
 
Write the R programming code for computing the mean- median- mode- qua.docx
Write the R programming code for computing the mean- median- mode- qua.docxWrite the R programming code for computing the mean- median- mode- qua.docx
Write the R programming code for computing the mean- median- mode- qua.docx
 
{0i1ji-j and i-2j}.docx
{0i1ji-j and i-2j}.docx{0i1ji-j and i-2j}.docx
{0i1ji-j and i-2j}.docx
 
write short notes about flu (influenza)what us this illness - mechanis.docx
write short notes about flu (influenza)what us this illness - mechanis.docxwrite short notes about flu (influenza)what us this illness - mechanis.docx
write short notes about flu (influenza)what us this illness - mechanis.docx
 
Zorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docx
Zorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docxZorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docx
Zorunlu karlk orannn -20 olduunu varsayalm- 40 milyon dolarlk bir naki.docx
 
Z Industries income statement for the year- Z Industries has on its ba.docx
Z Industries income statement for the year- Z Industries has on its ba.docxZ Industries income statement for the year- Z Industries has on its ba.docx
Z Industries income statement for the year- Z Industries has on its ba.docx
 
Z Industries has on its balance sheet $6 million in net operating work.docx
Z Industries has on its balance sheet $6 million in net operating work.docxZ Industries has on its balance sheet $6 million in net operating work.docx
Z Industries has on its balance sheet $6 million in net operating work.docx
 
Your patient had his 63rd birthday 5 months ago is visiting you in May.docx
Your patient had his 63rd birthday 5 months ago is visiting you in May.docxYour patient had his 63rd birthday 5 months ago is visiting you in May.docx
Your patient had his 63rd birthday 5 months ago is visiting you in May.docx
 
Your firm decides to convert $100-000 in USD to euros and deposit the (1).docx
Your firm decides to convert $100-000 in USD to euros and deposit the (1).docxYour firm decides to convert $100-000 in USD to euros and deposit the (1).docx
Your firm decides to convert $100-000 in USD to euros and deposit the (1).docx
 
You write put options on 1000 shares of Facebook with a strike of $101.docx
You write put options on 1000 shares of Facebook with a strike of $101.docxYou write put options on 1000 shares of Facebook with a strike of $101.docx
You write put options on 1000 shares of Facebook with a strike of $101.docx
 
You must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docxYou must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docx
 

Recently uploaded

A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
Celine George
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
Celine George
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
RandolphRadicy
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
sanamushtaq922
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
Kalna College
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
Nguyen Thanh Tu Collection
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
MJDuyan
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 

Recently uploaded (20)

A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology220711130097 Tulip Samanta Concept of Information and Communication Technology
220711130097 Tulip Samanta Concept of Information and Communication Technology
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 

Write the algorithm to program the Mechanical Man to carry out the fol.docx

  • 1. Write the algorithm to program the Mechanical Man to carry out the following objectives: 1) Begin sitting in a chair at an unknown integer number of steps from the wall with his arms lowered. 2) He will stand up and walk forward until he touches the wall with his fingertips. 3) After touching the wall, he will return to his chair. 4) Because the chair is too low for him to sense, he can get to it only by going back exactly the number of steps as he came forward. The Mechanical man possesses the following properties: * He is restricted to carrying out a limited set of instructions. * He does nothing unless given a specific instruction. * He must carry out any instructions he is given one at a time. * He understands only the following instructions: