you will be asked to implement a Python program to solve the following puzzles described below: Introduction to Artificial Intelligence Assignment, APU, Malaysia
University | Asia Pacific University (APU) |
Subject | Introduction to Artificial Intelligence |
Description
In this assignment, you will be asked to implement a Python program to solve the following puzzles described below;
The main objective of this assignment is not to find a solution. Rather, it is for you to demonstrate an understanding in the process of obtaining a solution to such problems; and that you are capable of writing code to demonstrate that understanding.
Are You Searching Answer of this Question? Request Malaysian Writers to Write a plagiarism Free Copy for You.
Puzzles
You have three water bottles. Bottle #1 (b1) can be filled with 10 liters, bottle #2 (b2) with 6 liters, and bottle #3 (b3) with 5 liters of water respectively. There are no markings on the bottles so you cannot measure them if the bottles are filled less than their maximum capacity. Assuming that you have an unlimited supply of water, by filling or emptying these three bottles, how would you get from
the start state to the end state? What is the solution with the fewest steps?
The code should be able to solve this problem for the following parameters:
a) Start: b1 = 10, b2 = 0, b3 = 0
End: b1 = 5, b2 = 5, b3 = 0
b) Start: b1 = 2, b2 = 0, b3 = 0
End: b1 = 4, b2 = 0, b3 = 0
c) Start: b1 = 3, b2 = 0, b3 = 0
End: b1 = 0, b2 = 0, b3 = 1
b) Repeat (c) but now change the maximum of the bottles [(i) b1: 11, b2: 7 b3: 4].
Get Solution of this Assessment. Hire Experts to solve this assignment for you Before Deadline.
Get Help By Expert

Recent Solved Questions
- BBUN2103:Evaluate the circumstances that occur prior to the formation of a contract that may impair the validity of the contract: BUSINESS LAW Assignment, OUM, Malaysia
- pipe branch system that is used to deliver water. The cross-sectional areas for pipes A and B are 0.00785 m2 and 0.00283 m2 respectively: Fluid Mechanics Assignment, UM, Malaysia
- F79MA: You are a statistical trainee actuary working for an insurance comparison website and insurance broker: Statistical Model Course Work, HWU, Malaysia
- MBA6073: Bank Negara Malaysia said today household debt, as measured by the household debt-to-gross domestic product ratio: Managerial Economics Assignment, HU, Malaysia
- TEN21504: A transistor can be employed as an amplifying device where DC and AC analysis is used to obtain the amplifier parameter required: Electronic Circuit Analysis Assignment, MSU, Malaysia
- FTA541: Carefully organize their research process, from identifying a feasible topic, developing an argument, employing a research: Academic Exercise Research Paper, UiTM, Malaysia
- MOM705: Explain how Operations Management OM research can complement Entrepreneurship theory – 3 – 4 pages: Operations management Assignment, AEU, Malaysia
- As the medical community rushes to find a cure, or at least a containment, for the spreading coronavirus, financial markets: Investment Planning Assignment, UM, Malaysia
- HRM-OL-7113: Integrate social skills and responsibility considerations in HRM decision-making and practices in achieving business operational efficiency: Human Resource Management Assignment, MU, Malaysia
- HIA303: To perform preprocessing and data analysis (statistics) with Python on the given dataset and find the best-supervised: Health Data Analytics Assignment, UM, Malaysia