Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 19th, 2019
76
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
while (high - low) >= epsilon:
for month in range(1,13):
balance2 = (balance2 - ans)*(1.0 + monthlyinterestrate)
if balance2 <= epsilon:
low = ans
else:
high = ans
ans = (high + low)/2.0
Add Comment
Please,
Sign In
to add comment
Public Pastes
ДЗ: Работа с конкретными строками/столбцами
C# | 2 min ago | 1.60 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 13 min ago | 0.39 KB
Untitled
Python | 26 min ago | 0.82 KB
windows11-ryzen5800x-libvirt-xml-13
XML | 29 min ago | 10.25 KB
magic_square_generator
Python | 30 min ago | 6.43 KB
Example 3
JavaScript | 30 min ago | 3.35 KB
Example 2
JavaScript | 31 min ago | 2.06 KB
Example 1
JavaScript | 34 min ago | 2.31 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!