Quyidagi masalaning dasturini tuzing: (Muntazam beshburchak). Foydalanuvchi tomonidan muntazam beshburchakka tashqi chizilgan aylana radiusi kiritilganda, beshburchakning yuzasini hisoblovchi dastur tuzing.
Beshburchak yuzasining formulasi quyidagicha:
Bu yerda S beshburchak tomoni uzunligi bo’lib, quyidagiga teng: