hw04-nlp - Homework 4 NLP - 1. (from Winston, pg 628) The...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 4 NLP ---------------------------------------------------------------- 1. (from Winston, pg 628) The energy used in compressing a gas in 3 stages from an initial pressure "I" to a final pressure "F" is given by the formula K*(sqrt(p1/I) + sqrt(p2/p1) + sqrt(F/p2) - 3) where K is some arbitrary positive constant. Formulate an NLP whose solution describes how to minimze the energy used in compressing the gas. a) Using the values I=1 (atmosphere) and F=10, solve the NLP numerically. b) Based on the optimal p1 and p2 values you got, write down a formula for the optimal p1 and p2 as a function of I and F. c) Prove that your conjecture is indeed optimal (take the gradient, etc.) ---------------------------------------------------------------- 2. The Shotspotter problem: Shotspotter has set up open-air microphones around a city like Oakland, CA. Each microphone records the time that a gunshot sound arrived at the microphone and reports it to a central computer, which then figures out where the gunshot must have been. Suppose you get data from sensors as follows: the (x,y) for each sensor
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

hw04-nlp - Homework 4 NLP - 1. (from Winston, pg 628) The...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online