JOIN us on
WhatsApp Group Join Now
Telegram Join Join Now

हिंदी माध्यम नोट्स

Categories: C Language in hindi

C 99 – Complex.h Header File ( Part 3) trigonometric और hyperbolic trigonometric function in c language in hindi

c99 हैडर फाइल Complex.h में त्रिकोणमितीय और अतिशयोक्तिपूर्ण त्रिकोणमितीय फ़ंक्शन , C 99 – Complex.h Header File ( Part 3) trigonometric और hyperbolic trigonometric function in c language in hindi :-
इससे पहले के दो articles मे , header file complex.h के char महत्वपूर्ण function category (complex , imaginary , power और exponential ) को पढ़ा |अब इस article मे , trigonometric और hyperbolic trigonometric function को पढ़गे |Trigonometric function :
इस category मे , Trigonometric function को use करता है |दी गयी complex number की sin,cos,tan आदि की value को calculate किया जाता है |इसमें निन्म function include होते  है :-
1.Calculating Sine value
इस macro ,complex number के Sine value को calculate करने के  किया जता  है |ये तीन प्रकार के होते है |इसके syntax होते है :-
1.csinf (float complex number );इस macro का use,float type complex number के लिए किया जाता है |
2.csin (double complex number ); इस macro का use , double type complex number के लिए किया जाता है |
3.csinl(long double complex number); इस macro का use , long double complex number के लिए किया जाता है |
इस macro statement मे , complex number को pass किया जाता है | और  complex number की sine value complex number मे ही return होती है |
अगर complex number c=x+y.i  है तब इसकी Sine value = (e^(i c) + e^(-i c)) / 2.iयहा पर (e^(i c) की value e ^ ( y ) (sin ( x) + i. cos(x ) ) है |

2.Calculating Cosine value

इस macro ,complex number के Cosine value को calculate करने के  किया जता  है |ये तीन प्रकार के होते है |इसके syntax होते है :-
1.ccosf (float complex number );इस macro का use,float type complex number के लिए किया जाता है |
2.ccos (double complex number ); इस macro का use , double type complex number के लिए किया जाता है |
3.ccosl(long double complex number); इस macro का use , long double complex number के लिए किया जाता है |
इस macro statement मे , complex number को pass किया जाता है | और  complex number की Cosine value, complex number मे ही return होती है |
अगर complex number c=x+y.i  है तब इसकी Sine value = (e^(i c) + e^(-i c)) / 2यहा पर (e^(i c) की value e ^ ( y ) (sin ( x) + i. cos(x ) ) है |

3.Calculating Tangent value

इस macro ,complex number के Tangent value को calculate करने के  किया जता  है |ये तीन प्रकार के होते है |इसके syntax होते है :-
1.ctanf (float complex number );इस macro का use,float type complex number के लिए किया जाता है |
2.ctan (double complex number ); इस macro का use , double type complex number के लिए किया जाता है |
3.ctanl(long double complex number); इस macro का use , long double complex number के लिए किया जाता है |
इस macro statement मे , complex number को pass किया जाता है | और  complex number की Tangent value , complex number मे ही return होती है |
अगर complex number c=x+y.i  है तब इसकी Sine value = (e^(i c) – e^(-i c)) / (e^(i c) + e^(-i c))यहा पर (e^(i c) की value e ^ ( y ) (sin ( x) + i. cos(x ) ) है |

उदाहरण के लिए

#include<stdio.h>
#include<conio.h>
#include<complex.h>
void main()
{
float real;
float imag;
float complex z ;
float complex h;
float complex g;
printf(“Enter real part of complex number “);
scanf(“%.1f”,&real);
printf(“Enter imaginary part of complex number “);
scanf(“%f”,&imag);
y=CMPLXF (real , imag);
z=csinf ( y  );
h=ccosf (y);
g=ctanf(y);
printf(“y= %f + %f . i”,creal(y),cimg(y));
printf(“Sine value of complex number \n “);
printf(” %f + %f . i”,creal(z),cimg(z));
printf(“Cosine value of complex number\n “);
printf(” %f + %f . i”,creal(h),cimg(h));
printf(“Tangent value of complex number\n “);
printf(” %f + %f . i”,creal(g),cimg(g));
getch();
}आउटपुट होगा :
Enter real part of complex number 5
Enter imaginary part of complex number 4
y= 5 + 4 . i
Sine value of complex number
-26.18 + 7.74. i
Cosine value of complex number
7.74 + 26.16 . i
Tangent value of complex number
-0.00 + 1.00 . i


Hyperbolic function :
इस category मे , Trigonometric function का hyperbolic value  को use करता है |दी गयी complex number की sinh,cosh,tanh आदि की value को calculate किया जाता है |इसमें निन्म function include होते  है :-
1.Calculating Sinh value
इस macro ,complex number के Sin की hyperbolic value को calculate करने के  किया जता  है |ये तीन प्रकार के होते है |इसके syntax होते है :-
1.csinhf (float complex number );इस macro का use,float type complex number के लिए किया जाता है |
2.csinh(double complex number ); इस macro का use , double type complex number के लिए किया जाता है |
3.csinhl(long double complex number); इस macro का use , long double complex number के लिए किया जाता है |
इस macro statement मे , complex number को pass किया जाता है | और  complex number की hyperbolic sine value , complex number मे ही return होती है |
अगर complex number c=x+y.i  है तब इसकी Sine value = (e^( c) – e^(- c)) / 2यहा पर (e^(i c) की value e ^ ( y ) (sin ( x) + i. cos(x ) ) है |

2.Calculating Cosine value

इस macro ,complex number के hyperbolic Cosine value को calculate करने के  किया जता  है |ये तीन प्रकार के होते है |इसके syntax होते है :-
1.ccoshf(float complex number );इस macro का use,float type complex number के लिए किया जाता है |
2.ccosh(double complex number ); इस macro का use , double type complex number के लिए किया जाता है |
3.ccoshl(long double complex number); इस macro का use , long double complex number के लिए किया जाता है |
इस macro statement मे , complex number को pass किया जाता है | और  complex number की hyperbolic Cosine value, complex number मे ही return होती है |
अगर complex number c=x+y.i  है तब इसकी hyperbolic cosine value = (e^(c) + e^(-c)) / 2यहा पर (e^(i c) की value e ^ ( y ) (sin ( x) + i. cos(x ) ) है |

3.Calculating Tangent value

इस macro ,complex number के Hyperbolic Tangent value को calculate करने के  किया जता  है |ये तीन प्रकार के होते है |इसके syntax होते है :-
1.ctanhf (float complex number );इस macro का use,float type complex number के लिए किया जाता है |
2.ctanh(double complex number ); इस macro का use , double type complex number के लिए किया जाता है |
3.ctanhl(long double complex number); इस macro का use , long double complex number के लिए किया जाता है |
इस macro statement मे , complex number को pass किया जाता है | और  complex number की Hyperbolic Tangent value , complex number मे ही return होती है |
अगर complex number c=x+y.i  है तब इसकी Sine value = (e^( c) – e^(-c)) / (e^(c) + e^(-c))यहा पर (e^(i c) की value e ^ ( y ) (sin ( x) + i. cos(x ) ) है |

उदाहरण के लिए

#include<stdio.h>
#include<conio.h>
#include<complex.h>
void main()
{
float real;
float imag;
float complex z ;
float complex h;
float complex g;
printf(“Enter real part of complex number “);
scanf(“%.1f”,&real);
printf(“Enter imaginary part of complex number “);
scanf(“%f”,&imag);
y=CMPLXF (real , imag);
z=csinhf ( y  );
h=ccoshf (y);
g=ctanhf(y);
printf(“y= %f + %f . i”,creal(y),cimg(y));
printf(“Hyperbolic Sine value of complex number \n “);
printf(” %f + %f . i”,creal(z),cimg(z));
printf(“Hyperbolic Cosine value of complex number\n “);
printf(” %f + %f . i”,creal(h),cimg(h));
printf(“Hyperbolic Tangent value of complex number\n “);
printf(” %f + %f . i”,creal(g),cimg(g));
getch();
}
Sbistudy

Recent Posts

सती रासो किसकी रचना है , sati raso ke rachnakar kaun hai in hindi , सती रासो के लेखक कौन है

सती रासो के लेखक कौन है सती रासो किसकी रचना है , sati raso ke…

21 hours ago

मारवाड़ रा परगना री विगत किसकी रचना है , marwar ra pargana ri vigat ke lekhak kaun the

marwar ra pargana ri vigat ke lekhak kaun the मारवाड़ रा परगना री विगत किसकी…

21 hours ago

राजस्थान के इतिहास के पुरातात्विक स्रोतों की विवेचना कीजिए sources of rajasthan history in hindi

sources of rajasthan history in hindi राजस्थान के इतिहास के पुरातात्विक स्रोतों की विवेचना कीजिए…

3 days ago

गुर्जरात्रा प्रदेश राजस्थान कौनसा है , किसे कहते है ? gurjaratra pradesh in rajasthan in hindi

gurjaratra pradesh in rajasthan in hindi गुर्जरात्रा प्रदेश राजस्थान कौनसा है , किसे कहते है…

3 days ago

Weston Standard Cell in hindi वेस्टन मानक सेल क्या है इससे सेल विभव (वि.वा.बल) का मापन

वेस्टन मानक सेल क्या है इससे सेल विभव (वि.वा.बल) का मापन Weston Standard Cell in…

3 months ago

polity notes pdf in hindi for upsc prelims and mains exam , SSC , RAS political science hindi medium handwritten

get all types and chapters polity notes pdf in hindi for upsc , SSC ,…

3 months ago
All Rights ReservedView Non-AMP Version
X

Headline

You can control the ways in which we improve and personalize your experience. Please choose whether you wish to allow the following:

Privacy Settings
JOIN us on
WhatsApp Group Join Now
Telegram Join Join Now