Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
StoneHaos
Apr 24th, 2021
993
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
double
Newton
(
cut c,
double
eps
)
{
double
x0, x1
=
(
c.
first
+
c.
second
)
/
2.0
;
do
{
x0
=
x1
;
x1
=
x0
-
f_
(
x0
)
/
f__
(
x0
)
;
}
while
(
abs
(
x1
-
x0
)
>
eps
)
;
return
x1
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
other setups
CSS | 36 min ago | 0.15 KB
Ziz Status Messages
3 hours ago | 1.03 KB
setups
10 hours ago | 0.16 KB
Untitled
10 hours ago | 0.36 KB
my-push Script
10 hours ago | 0.61 KB
cholibrium
1 day ago | 1.65 KB
SMB BIS - Dimble Woods - Virtual Piano
2 days ago | 3.15 KB
buscar-productos.blade.php
PHP | 2 days ago | 2.44 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!