sponsor

sponsor

Slider

Recent Tube

Business

Technology

Life & style

Games

Sports

Fashion

» » Mathematics

Python में numbers पर mathematical operations करने के लिए math functions का इस्तेमाल किया जाता है |
Python के program में अगर math functions का इस्तेमाल करना हो तो 'math' module का इस्तेमाल किया जाता है |

Math Constants in Python

Math ConstantDescription
eMath की 'E' Property Euler का number return करता है |
infinfinity को return करता है |
nannot a number(nan) का वर्णन करता है |
pipi की value को return करता है |
tautau(τ) की value को return करता है |

Math Functions in Python

Math FunctionDescription
acos()दिए हुए number का arc cosine; radians में return करता है |
acosh()दिए हुए number का inverse hyperbolic cosine; को return करता है |
asin()दिए हुए number का arc sine; radians में return करता है |
asinh()दिए हुए number का inverse hyperbolic sine; को return करता है |
atan()दिए हुए number का arc tangent; radians में return करता है |
atan2()atan(y/x) को radians में return करता है |
atanh()दिए हुए number का inverse hyperbolic tangent; को return करता है |
ceil()दिए हुए number की ceiling value को return करता है |
copysign()दिए हुए x की value पर y के sign को copy करके x को return करता है |
cos()दिए हुए number का cosine; radians में return करता है |
cosh()दिए हुए number का hyperbolic cosine; return करता है |
degrees()दिए हुए number के angle को radians से degrees में return करता है |
exp()दिए हुए number का exponential return करता है |
expm1दिए हुए number का exponential से '-1' करके return करता है |
fabs()दिए हुए number की absolute value को return करता है |
factorial()दिए हुए number का factorial को return करता है |
floor()दिए हुए number की floor value को return करता है |
fmod()दिए हुए x को y से divide करके उनका remainder return करता है |
frexp()दिए हुए number से manissa और exponent को (m, e) इस tuple के रूप में return करता है |
fsum()दिए हुए sequence या collection के items का sum return करता है |
gcd()दिए हुए x और y का gcd(Greatest Common Divisor) return करता है |
hypot()दिए हुए x side और y side की मदद से hypotenuse(कर्ण) floating-point number में return करता है |
isclose()दिए हुए x और y ये close है या नहीं ये boolean value में return करता है |
isfinite()दिए हुआ number मर्यादित है या नहीं ये Boolean value में return करता है |
isinf()दिए हुआ number अमर्यादित है या नहीं ये Boolean value में return करता है |
ldexp()x * (2**i) floating-point number में return करता है |
log()दिए हुए number का natural logarithm return करता है |
log10()दिए हुए Number का base-10 logarithm return करता है |
log1p()दिए हुए Number पर '+1' करके उसका natural logarithm return करता है |
log2()दिए हुए Number का base-2 logarithm return करता है |
modf()दिए हुए floating-point या integer number का fractional part और integer part को tuple में return करता है |
pow()x**y return करता है |
radians()दिए हुए number के angle को degrees से radians में return करता है |
sin()दिए हुए number का sine; radians में return करता है |
sinh()दिए हुए number का hyperbolic sine; return करता है |
sqrt()दिए हुए number का square root return किया जाता है |
tan()दिए हुए number का tangent; radians में return करता है |
tanh()दिए हुए number का hyperbolic tangent; return करता है |
trunc()दिए हुए number का अगर fraction part होता है तो उसे remove करके integer value को return किया जाता है |

«
Next
Newer Post
»
Previous
Older Post

No comments:

Leave a Reply