function b=betam(v)
%filename: betam.m
theta = (v+27)/5;
if (theta==0)    %check for case that gives 0/0
  b=1.4;   %in that case, use L'Hospital's rule
else
  b=1.4*theta/(exp(theta)-1);
end
