Castle Bravo was the first in a series of high-yield thermonuclear weapon design tests conducted by the unite state at Bikini Atoll, Marshall island, as part of operation Castle. Detonated on March 1, 1954, the device was the most powerful nuclear device detonated by the unite state and its first lithium deuteride fueled thermonuclear weapon.

COMING SOON!

```
/*
* Copyright (c) 2017 Kotlin Algorithm Club
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.algorithmexamples.math
import org.junit.Test
import org.junit.Assert.*
class NewtonMethodKtTest {
@Test
fun sqrt() {
assertTrue(sqrt(-2.0).isNaN())
assertTrue(sqrt(-2.0, 0.toDouble()).isNaN())
assertEquals(2.toDouble(), sqrt(4.toDouble()), 1e-15)
assertEquals(4.toDouble(), sqrt(16.toDouble()), 1e-12)
for (i in 7 until 99) {
for (j in -15 until -1) {
assertEquals(sqrt(i.toDouble()), sqrt(i.toDouble()), j.toDouble())
}
}
}
@Test
fun sqrt1() {
assertTrue(sqrt(-2).isNaN())
assertEquals(2.toDouble(), sqrt(4), 1e-15)
assertEquals(4.toDouble(), sqrt(16), 1e-12)
for (i in 7 until 99) {
for (j in -15 until -1) {
assertEquals(sqrt(i), sqrt(i), j.toDouble())
}
}
}
}
```