उदाहरण साइन और कोसाइन

साइन और कोसाइन

यह उदाहरण दर्शाता है sine and cosine गणितीय कार्य.

एनीमेशन यूनिट सर्कल के चारों ओर एक समान गोलाकार गति दिखाता है (त्रिज्या 1 वाला वृत्त)। x-अक्ष से मापा गया कोई भी कोण वृत्त पर एक बिंदु निर्धारित करता है। कोण की कोज्या और ज्या को क्रमशः x और y निर्देशांक के रूप में परिभाषित किया गया है बिंदु।

Creative Commons BY-NC-SA license badge

साइन और कोसाइन: Revised by Darren Kessner, Malay Vasa. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.

You can find the code history of these examples here: pre-2023 example, 2023 code. You can suggest improvements by contributing to the current website!