Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

https://simtk-confluence-homeworks.stanford.edu:8443/x/_orQ

Due: October 22, 2021

Note: If you see an "Unable to render" message, it's just because you don't have permission to view the solutions; the problem statements are complete.



Question 1

(a) 2 marks
(b) 4 marks
(c) 4 marks
(d) 1 mark
(e) 2 marks
(f) 1 mark
(g) 2 marks



Question 2

Problem 9.1
(a) 1 mark
(b) 4 marks
(c) 3 marks

 Problem 9.1

Donkey Kong wants to make a 250 mL fruit smoothie. Being an ape, naturally he would like a large proportion of the smoothie to be bananas—at least 100 mL but not more than 150 mL. There should be at least 10 mL each of apples, cherries, and dates. However, for proper taste, there should be twice the amount of apples as cherries. The prices at the local supermarket are as follows:

FruitPrice per mL (coins)
Apples10
Bananas2
Cherries5
Dates8

Donkey Kong wants to spend as few coins as possible on his smoothie.

(a) What are the design variables in this optimization problem?

(b) Translate the written description of the problem into a formal optimization problem statement (see Chapter 9 in the textbook). Label each expression as an objective function, inequality constraint, equality constraint, or bound on a design variable.

(c) Using any strategy you wish, find the values of the design variables that minimize the objective function while satisfying the constraints (i.e., solve the optimization problem). How many coins will the smoothie cost? (If you decide to use Matlab, see the linprog function; if you prefer Python, see scipy.optimize. Does the answer returned by the software make sense?)


 Solution (only visible by instructors; please contact us to request access)

Unable to render {include} The included page could not be found.



Question 3

Problem 9.2
(a) 4 marks
(b) 4 marks

 Problem 9.2

Bowser tripped over a Goomba while gardening and hurt his ankle. He has asked Dr. Mario to design a device that attaches to his leg, with a spring at the ankle to help him walk. Unfortunately, Dr. Mario is a general practitioner and has limited knowledge of orthoses, so he has decided to use an optimizer to help design the device.

(a) Describe a strategy to help Bowser walk, using language and referring to material that has been covered in the course. State which structures you are assuming Bowser has injured. You can assume Bowser's lower-limb anatomy is similar to that of a human.

(b) Propose (but do not solve) an optimization problem that Dr. Mario can use to design the device you described in part (a). Explain each expression in your optimization problem.


 Solution (only visible by instructors; please contact us to request access)

Unable to render {include} The included page could not be found.



Question 4

Problem x
5 marks

 Problem 9.2

Bowser tripped over a Goomba while gardening and hurt his ankle. He has asked Dr. Mario to design a device that attaches to his leg, with a spring at the ankle to help him walk. Unfortunately, Dr. Mario is a general practitioner and has limited knowledge of orthoses, so he has decided to use an optimizer to help design the device.

(a) Describe a strategy to help Bowser walk, using language and referring to material that has been covered in the course. State which structures you are assuming Bowser has injured. You can assume Bowser's lower-limb anatomy is similar to that of a human.

(b) Propose (but do not solve) an optimization problem that Dr. Mario can use to design the device you described in part (a). Explain each expression in your optimization problem.


 Solution (only visible by instructors; please contact us to request access)

Unable to render {include} The included page could not be found.

  • No labels