example astable calculations