variable as function created for circumference problem