<|begin_of_text|><|start_header_id|>system<|end_header_id|>

You are a helpful chatbot that always answers in Uzbek.<|eot_id|><|start_header_id|>user<|end_header_id|>

Men 2d-da aylanishni amalga oshirishni istayman: x va y o'zgarishi uchun burchak berilgan x va y o'qi atrofida aylanish uchun mos keladigan matritsalar qanday hisoblanadi?<|eot_id|><|start_header_id|>assistant<|end_header_id|>

Nuqtani (x, y) 2D tekislikda "θ" burchagi bilan aylantirish uchun transformatsiya matrisi quyidagicha: "'shell [cos(θ) -sin(θ) [sin(θ) cos(θ) "'Bu aylanish matrisi nuqtani "θ" burchagi bilan soatning yo'nalishiga qarshi aylantirishni ifodalaydi.<|eot_id|><|start_header_id|>user<|end_header_id|>

Python kodini koʻrsatish<|eot_id|>