## numbers-RoBa Has a Second 阿特 Gallery!

#### Gallery: SONY A350 A300 PMA | 19 Photos

gallery

gallery

19

• 15

The cost of having a camera installed is proportional to the angle spanned by the wedge the camera covers. RoBa wants to minimize the cost of his monitoring plan. Given the shape of the gallery, how should the camera be installed?

Input

To delete a Web Part Package, you would use the following syntax:

### Implementing a search function

3 Step to do:
(1) recognize when sb. is searching a word and figure out what is the word

(3) put the result in new array and display them

step (1) - Recognize
// `.keypress()` jQuery function .keypress() will recognize when sb. types and texts in the box
// `if(e.which==13){ ... }` the variable `e` is speicial, he passed into functions every time we call event. Here e tell us the key on the keypress-event.
every letter has a number, 13 here stands also a letter!
(You can check here for all KEYCODE, see the Dec and Description columns!)

step 1

step(2) Searching
// `images:` Creating a new array
// `data.images.filter(funtion(d))` The function .filter() from jQuery takes an array and looks through that array, finding only those elements that obey a certain property. -> it can be understood like this: it should be in this array only it is a element of data.images && it match to the anonymous `function(d)`

step 2

//

The input consists of a single test case. The first line contains an integer n (3 ≤ n ≤ 100), indicating that he polygon has n vertices. Each of the next n lines contains a pair of real numbers xi, yi, the coordinates of the i-th vertex. The vertices are listed in counterclockwise order. Any three of them are not collinear.

To add a new Web Part Package to your virtual server, you would use the following syntax:

### JavaScript arrays

We need a new data structure, to represent lots of data using one template -> Array, which can store lots of objects.
Create: `var images = ["a","b","c","d"];`
Find: `images[1];`
Add data: `images[1] = 3;`

1.5707963267949

addwppack — Adds a Web Part Package to the Web Part gallery for your server or server farm.
deletewppack — Removes a Web Part Package from the Web Part gallery for your server.
enumwppacks — Lists the Web Part Packages currently in the Web Part gallery for your server.
These operations take the optional -url, -filename, -name, -farm, and -force parameters. For example, to list the Web Part Packages that are currently available for your server, you would use the following syntax: