from __future__ import division
r=125*10**-6## cladding radius in meter
R=8*10**-2## curve of radius in meter
s=((R+2*r)/(R+r))-1#
s_p=s*100## percentage of strain
print "The percentage of strain =%0.2f %%"%( s_p)#
print "\n If this condition is maintained the fiber will maintain without any break"
from math import asinh,sinh
from __future__ import division
w=40*10**-3## cable weighing in kg/m
R=20*10**-2## radius of curvature in meter
n=0.19## co-efficient of friction
x=(3.14/4)## angle in rad
si=42.36## pulling tension at the entrance in kg
X=(si/(w*R))##
Y=asinh(si/(w*R))#
Z=w*R*sinh(n*x+Y)##puttling tension at the exit of an optical cable
print "The puttling tension at the exit of an optical cable =%0.2f kg"%( Z)