Write down the objective function

Assignment Help Computer Engineering
Reference no: EM131097870

E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 8

1. Jacobian-based IK

2339_Figure.png

The end effector position of one of the legs of the LittleDog quadruped robot (diagrammed above) is determined by the forward kinematics (FK) equation

1354_Figure1.png

Given a desired position pd = (xd, yd, zd) of the end effector, we want to solve the inverse kinematics (IK) problem to determine the joint angles θ such that p(θ) = pd.

To answer the questions below, it will be useful to examine and modify the ld_leg.py code from the course website.

a. Why is IK generally more complicated than FK?

b. Although we can sometimes solve the IK problem analytically (for instance, for the LittleDog leg kinematics), state some reasons why we might prefer to implement it numerically.

c. A singular configuration of a robotic manipulator is one in which the rank of J drops below n. Show that the LittleDog leg is singular at θ = 0.

d. Explain why singular configurations must be avoided when using Gauss-Newton to solve the IK problem.

e. Extend ld_leg.py to use the Gauss-Newton algorithm to solve for the joint angles θ to achieve a desired position of pd = (1, 2.5, -6).

2. Lagrange Multipliers

You have been tasked with building an aluminum pressure vesel in the shape of a capped cylinder, as shown below:

1754_Figure2.png

The vessel consists of a cylindrical section of length l and radius r, capped by two hemispheres of radius r. The material costs for the hemispheres are $200 per square meter for the endcaps, and $100 per square meter for the cylinder. Use the Lagrange multiplier technique to minimize the cost of building the pressure vessel subject to the constraint that it encloses a volume of exactly 10π cubic meters.

a. Write down the objective function f(l, r) to be minimized, in terms of l and r. It should be equal to the surface area of each type of section, weighted by the appropriate cost.

b. Write down the constraint function h(l, r) to set equal to zero. It should be the total volume of all sections minus the desired volume.

c. Use the Lagrange multiplier method to compute the gradient of the function L(l, r, λ) = f(l, r) + λh(l, r) and solve for ∇L = 0.

You may find it useful to write a program to help you solve this problem, or at least compute gradients for part c above. The sympy package can be very helpful in computing derivatives, see ld_leg.py for examples. If you do write a program to help you, please turn it in online as well.

Attachment:- Assignment.rar

Reference no: EM131097870

Questions Cloud

Observation paper on raiders of the lost ark : Part 1: View a feature film made between 1970 - 2000 you have not seen before (or will see later in this class) by a great director or featuring a great actor or actress.
Which of characters this week did you feel most sympathy for : In "The Open Boat," lines of philosophy about man's fate and his reward for trying hard are repeated throughout. Quote a line of this story that stands out to you as expressing something philosophical about life. Do you agree with the statement? W..
Show activity on an fmri scan : First, what areas of the brain would you expect to show activity on an fMRI scan as participants complete this task? Second, can the researcher now safely conclude that those brain areas are required for humans to pronounce words?
Would you consider the problem to be tractable why : Would you consider the problem to be tractable? Why?
Write down the objective function : E19: Numerical Methods for Engineering Applications Spring 2016 - HOMEWORK 8. Write down the objective function f(l, r) to be minimized, in terms of l and r. It should be equal to the surface area of each type of section, weighted by the appropriat..
How you connect two lans using the internet with a router : Timothy, good job sharing how "you connect two LANs using the Internet with a router" and as Jezreel stated, "the shared router with IP addresses are not only used at home but also in offices," good insight.
What is the probability of getting 5 or 6 on a single throw : What is the probability of getting a number less than 5 on a single throw?
Select a psychotherapeutic approach for treating addiction : Select a psychotherapeutic approach for treating addiction - What are the underlying assumptions of this approach?
Believe spirituality to be of a religious foundation : When asked many believe spirituality to be of a religious foundation. According to the course text how could you explain your understanding of the term spirituality?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Developing uml one state diagram

How the system responds to the external and/or internal events by developing a UML ONE State Diagram.

  Why are the all ones and all zeroes subnets not used

Subnet the class C network addresses 198.67.25.0 into eight subnets. Why are the 'all ones' and 'all zeroes' subnets not used?

  Prepare a visual rendering depicting your design via the

as the lead software engineer for a medium-sized hospital you have been asked to spearhead an effort to improve the

  Solve the problem using python programming

Solve the problem using PYTHON Programming

  Build a word document listing the software

The scenario is that you do volunteer work for the small, self-funded community support group. With very little money available, the group has been unable to computerize its operations.

  Make a swing applet with a jbutton labeled

build a Swing applet with a JButton labeled "Who's number one?." When user clicks the button, display your favorite sport team in a large font (Use Houston Rockets for the sports team). Please save the file to JNumberOne.java

  Comapre the organizing function of management

Evaluate the organizing function of management as it relates to at least two of the following organizational resources.

  Determining the total price of an order by program

You have been asked to develop a program in order to determine the total price of an order from an Office Supply store. Program shall prompt user for name of the product, price of the product, and quantity of the order.

  How to create program that performs arithmetic function

How to create program that performs arithmetic function Prompt a user for values for the variables. Pass both variables to methods named sum() and difference().

  Consider a design tool used in the construction

How is web content developed? What are some of the popular design tools in use today? Can you identify a design tool used in the construction of the website MSN.com.

  What capability vp mode in windows 7 operating system

what are the pros and cons of upgrading an operating system versus installing a new image of OS? Describe some of your own experiences at work or at home.

  Implementing the soubly linked list adt

Develop, implement, and test the soubly linked list ADT, utilizing the DLLNode objects as the nodes. Additionally to our standard list operations, your class must offer for backward iteration through the list.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd