subject
Engineering, 16.10.2020 07:01 christylivingsowzxa2

Card Flipper: You walk into a room, and see a row of n cards. Each one has a number xi written on it, where i ranges from 1 to n. However, initially all the cards are face down. Your goal is to find a local minimum: that is, a card i whose number is less than or equal to those of its neighbors, xi-1 >= xi <= xi+1. The first and last cards can also be local minima, and they only have one neighbor to compare to. There can be many local minima, but you are only responsible for finding one of them. Obviously you can solve this problem by turning over all n cards, and scanning through them. However, show that you can find such a minimum by turning over only O(log n) cards.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Ahot wire operates at a temperature of 200°c while the air temperature is 20°c. the hot wire element is a tungsten wire of 5 um diameter and 2 mm in length. plot using excel current, heat transfer and heat generated by the wire for air velocity varying from 1-10 m/s in steps of lm/s? matlab the sensor voltage output, resistance, or assume nu 0.989 re033pr13 take air properties at tr (200°c20°c)/2 = 110°c properties of tungsten: c 0.13 kj/kg.k 3 p 19250 kg/m k (thermal conductivity) = 174 w/m.k
Answers: 2
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
question
Engineering, 04.07.2019 19:10
The proportional limit is always greater than the yield strength for a material. a)-trune b)- false
Answers: 3
question
Engineering, 06.07.2019 04:20
Two microscope slides are placed horizontally, one on top of the other, with a drop of a dishwashing liquid between them. the gap between the slides is 1 mm. a machine pulls the top slide to the right with a velocity of 0.15 millimeters per second while the bottom slide is held stationary. a stress gage indicates that a shearing stress of 0.5 pa is required to pull the top slide with this velocity. if the dishwashing liquid adheres to both slides during this process, what is the viscosity of the liquid? specify whether your answer is dynamic or kinematic viscosity, and use appropriate units.
Answers: 1
You know the right answer?
Card Flipper: You walk into a room, and see a row of n cards. Each one has a number xi written on it...
Questions
question
Mathematics, 01.03.2021 21:10
question
Spanish, 01.03.2021 21:10
question
Mathematics, 01.03.2021 21:10
Questions on the website: 13722361