Ask Computer Engineering Expert

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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91844599

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As