Saturday, October 22, 2011

c program for sine inverse

#include<stdio.h>
#include<conio.h>
#include<math.h>
#define LIMIT 55

main(){
       double i,up=1,down=2,nm,dm,x,sum,term;
       
      
      
       printf("Enter the value of x\t");
       scanf("%lf",&x);
      
       sum=x;
      
       for(i=3;i<=LIMIT;i=i+2){
                            nm=pow(x,i);
                            dm=i;
                           
                            term=(up*nm)/(down*dm);
                           
                            sum=sum+term;
                           
                            up=up+2;
                            down=down+2;
                            }
       sum=sum*180/3.1416;
      
       printf("sin inverse(%lf)=%f",x,sum);
      
                           
                               
                          
      
      
     
                                                
                                               
                                                
                  
      getch();
      }

3 comments:

  1. It is appropriate time to make some plans for the future and it's time to be happy. I have read this post and if I could I want to suggest you some interesting things or suggestions. Maybe you could write next articles referring to this article. I want to read even more things about it!

    my web blog; Home Page

    ReplyDelete
  2. I am really loving the theme/design of your weblog. Do you ever run into
    any browser compatibility issues? A handful of my blog readers have complained about my site
    not operating correctly in Explorer but looks
    great in Safari. Do you have any solutions to help fix this issue?


    My site; pilates exercise guide

    ReplyDelete
  3. I like the valuable information you supply for your articles.
    I will bookmark your weblog and take a look at once more
    right here frequently. I'm moderately sure I will be informed lots of new stuff proper right here! Best of luck for the following!

    Here is my webpage ... http://www.purevolume.com/lesterpark0/posts/3756222

    ReplyDelete