import math as m
#1, Result value: 1.0
print(m.sin(m.pi/2))
#2, result value -2.4492935982947064e-16
print(m.tan(m.pi*2))
If you do it like number 1, you will get the exact value of sin/2/2
.
But I wonder why the approximate value comes out when you do it like #2, not tan 0
.
Thank you for your reply. Have a great day!
python time
When we say y = sin(x), what we want to know is that the value of the function The error is 입니다y.
To express the relationship between yy and xx, the error value of x,
yy/xx is the slope, so yy/xx = (sin(x)) = cos(x)
To summarize the expression,
Δy = cos(x) Δx
592 GDB gets version error when attempting to debug with the Presense SDK (IDE)
573 PHP ssh2_scp_send fails to send files as intended
593 Uncaught (inpromise) Error on Electron: An object could not be cloned
565 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
870 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.