Wednesday, August 8, 2018

Formulas of trigonometry.


Some formulas of trigonometry you can see in below.


There are many formulas in trigonometry. You can see below some formulas of trigonometry.


  • sin (A+B) = sinA cosB + cosA sinB
  • sin (A-B)= sinA cosB – cosA sinB
  • cos (A+B)= cosA cosB + sinA sinB
  • cos (A-B)= cosA cosB + sinA sinB
  • sin C + sin D= 2sin (C+D)/2 * cos (C-D)/2 
                                                           (* is symbol of multiplication)
  • sin C – sin D= 2cos(C+D)/2 * sin(C-D)/2
                                                           (* is symbol of multiplication)
  • cos C + cos D= 2cos(C+D)/2 * cos(C-D)/2
                                                           (* is symbol of multiplication)

  • cos C – cos D= 2sin(C+D)/2 * sin(C-D)/2
                                                           (* is symbol of multiplication)
  • sin 2Ɵ= 2sinƟ cosƟ
  • cos 2Ɵ= cos2Ɵ-sin2Ɵ
  • cos 3Ɵ= 4cos3Ɵ-3cosƟ
  • sin 3Ɵ= 3sinƟ-4sin3Ɵ
  • Sin2Ɵ+cos2Ɵ= 1
  • Sec2Ɵ= 1+tan2Ɵ
  • Cosec2Ɵ= 1+cot2Ɵ


This was the formulas of trigonometry.I hope you learned.




"save trees & save environment"





Friday, August 3, 2018

Program to find simple interest.

You can see in this page is program to find simple interest in c language.

For C language you can use turbo C++ app. I used turbo C++ app. So you can use turbo C++ app.

Example :- Program to find simple interest.


#include<stdio.h>
#include<conio.h> 
void main()
{
          float p,r,n,i;
          printf("Enter principal amount:");
          scanf("%f",&p);
          printf("\nEnter rate of interest:");
          scanf("%f",&r);
          printf("\nEnter duration:");
          scanf("%f",&n);
          i=(p*r*n)/100.0;
          printf("\nsimple interest is:%f",i); 
          getch(); 
}

This is very easy. I hope you learned this.





"save trees & save environment"

Tuesday, July 31, 2018

Program for addition of two number in C language.


You can see in this blog about program for addition of two number in C language. 
This is very easy. first of all open the app. I used turbo C++ app for this.
  • Program for addition of two number is given below:-

#include<stdio.h>
#include<conio.h>
void main()
{
 int a,b,sum;
printf("\n Enter Two No.'s:");
scanf("%d %d",&a,&b);
sum=a+b;
printf("\n Sum of Two No.'s is =%d",sum);
getch();
}



  •  In output you can see:-
 Enter Two No.'s:  (choose numbers by user.)
 Sum of Two No.' is = (answer of choosen numbers.)

for example:- user choose first number is 10,and second number is 12.so answer is 22.
  Enter Two No.'s: 10   12
 Sum of Two No.' is = 22





"save trees & save environment"

 


Sunday, July 29, 2018

how to display welcome in C language?


you can see in this page is how to display welcome in C language.


For C language you can use turbo c++ app. this is a computer app.i used turbo C++ app. it is a good app.


Example:- Program to display welcome.
#include<stdio.h>
#include<conio.h>
void main()
{
printf("welcome");
getch();
}


This is very easy to display welcome. I hope you learned this.








"save trees & save environment"



 
 
 
 
 
 
 
 
 
 
 
 

Friday, July 27, 2018

Kirchhoff's current & voltage law



you can see kirchhoff's current and voltege laws in below.


KIRCHHOFF’S LAWS

 First Law (KCL: Kirchhoff’s Current Law):-
                “The sum of the currents entering a junction is equal to the sum of the currents leaving the junction.”
           
i.e.,                              sum of currents entering = sum of currents leaving
   

(Figure for KCL)


i1 -i2 +i3 -i4 -i5 =0

i1+i3 = i2+i4+i5





                             




                                          Second Law (KVL: Kirchhoff’s Voltage Law):-
“The sum of e.m.f. (rise of potential) around any closed loop of a circuit equals the sum of the potential drops in that loop”.
i.e.,                              sum of e.m.f – sum of IR drops =0
                                    sum of e.m.f. =sum of IR drops


"save trees & save environment"