C Program to calculate value of series: sin x= x − x^3/3! +x^5/5!−x^7/7!+ . . . . . . . x^n/n!

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 56

  • @AbdulAziz-px5pm
    @AbdulAziz-px5pm 4 месяца назад +1

    Nice and easy explanation

  • @rajanbudhathoki-rw3wl
    @rajanbudhathoki-rw3wl Год назад

    we want the sum of n terms in sine series when we input n=5 only two terms are considered in sum of sin series but as per question there should be the sum of five terms. Although there is not any difference in the answer due to very small value is added as series goes on increasing
    we can correct code by correcting for loop as for(i=3;i

  • @satyamraj2039
    @satyamraj2039 3 года назад +1

    I have done few code now.but I understand allott . great explanation

  • @dhanashreekangane5661
    @dhanashreekangane5661  4 года назад +5

    No. I am not using Recursion here.
    Recursion means calling same function from function itself.

    • @typing6568
      @typing6568 3 года назад

      Pleass teach recursion

  • @inshort2812
    @inshort2812 3 года назад +2

    nice concept to explain the question in this way
    -love from Bihar

    • @moisesedwin6715
      @moisesedwin6715 3 года назад

      you all probably dont give a damn but does anyone know a tool to get back into an instagram account?
      I somehow forgot my account password. I would appreciate any assistance you can give me.

    • @nasirwillie2136
      @nasirwillie2136 3 года назад

      @Moises Edwin Instablaster :)

    • @moisesedwin6715
      @moisesedwin6715 3 года назад

      @Nasir Willie i really appreciate your reply. I got to the site on google and Im in the hacking process atm.
      Takes a while so I will reply here later with my results.

    • @moisesedwin6715
      @moisesedwin6715 3 года назад

      @Nasir Willie it worked and I now got access to my account again. I am so happy!
      Thanks so much you really help me out!

    • @nasirwillie2136
      @nasirwillie2136 3 года назад

      @Moises Edwin Happy to help :D

  • @gopisatya5990
    @gopisatya5990 3 года назад +2

    Nice explanation mam

  • @vanshsharma1815
    @vanshsharma1815 2 года назад

    Excellent work mam

  • @torus151
    @torus151 3 года назад +2

    mam u r really amazing...thanks for this lecture

  • @poojabhosale2010
    @poojabhosale2010 2 года назад

    very nice explanation mam. thank you.

  • @sandeepchauhan6836
    @sandeepchauhan6836 3 года назад +3

    Great legendary explanation

  • @abhishekchakrabarty2930
    @abhishekchakrabarty2930 3 года назад +1

    I did with a bit different approach...still your one is the efficient one with less time complexity than mine.....one question mam..the cmath library consists of sine ,hyperbolic functions itself... So the answer of these expansions can come in a single step...

  • @vakhariyajay2224
    @vakhariyajay2224 3 года назад +1

    Thank you very much. You are a genius. 👍👍🔝🔝

  • @albythekkedan
    @albythekkedan 3 года назад

    Good For KTU Students .Thanks

  • @pranayankam4409
    @pranayankam4409 3 года назад +2

    beautifully explained

  • @aryangurjar562
    @aryangurjar562 3 года назад

    Great explaination...

  • @spookydevil1570
    @spookydevil1570 11 месяцев назад

    Im getting a minute error at the four decimal digit as 2 instead of 4 in my result . The expected answer is 0.4794 but im getting 0.4792

  • @benjaminchirwa5445
    @benjaminchirwa5445 3 года назад

    Very well explained!.
    Was just wondering is this Mclaurin series?
    If you can make a video of how to calculate sin, cos and tan altogether. And this is within Maclaurin series. Where n is a Bernoulli number .
    Will appreciate your video on this

  • @sushantgupta4757
    @sushantgupta4757 3 года назад +2

    Thanku so much ma'am

  • @trendingstatusx549
    @trendingstatusx549 3 года назад

    Love from bihar ❤️

  • @bradleyassassin5772
    @bradleyassassin5772 Год назад

    Could u please make a video on
    Write a c program to separate even and odd integer in a given range.write the output in file?
    ..

  • @jeyasheelarakkinimj6534
    @jeyasheelarakkinimj6534 3 года назад +1

    good explanation

  • @tejeshalanka1103
    @tejeshalanka1103 3 года назад

    It's a great explanation. if I am not asking for more could you please explain it for the tan series ma'am

  • @skygazer2678
    @skygazer2678 3 года назад +1

    but what about no. of terms? the user enters 5 as no. of terms. if you increment i by 2 than I think there will be only 1 term calculated.

  • @mariana_queen
    @mariana_queen Год назад

    What is the way for make the development limit of cos

    • @dhanashreekangane5661
      @dhanashreekangane5661  Год назад +1

      Expansion of cos x is given as: cos x = 1-x^2/2!+x^4/4!............. So for loop will start from 2 instead of 3 and initial value of x is equal to x instead of (x*3.14/180). I hope this rely will be helpful. If you want further explanation let me know.

  • @mariana_queen
    @mariana_queen Год назад

    What about cos

  • @dinatjahanmilitasnim4614
    @dinatjahanmilitasnim4614 3 года назад

    Thank you
    Take love💙

  • @seh2oo
    @seh2oo 3 года назад +1

    Mam mujhe c++ nhi aati kaise karu me aap bta sakti h kya..? 😓

  • @adadasaivenkat
    @adadasaivenkat Год назад

    Mam if we keep n=4 it is not showing the same value for both library function and Taylor value...

  • @kishanthakur3186
    @kishanthakur3186 3 года назад

    doubt:- when the loop will false (line no 21) as u said it will repeated until it’s false.
    What value we have to give for false .

  • @rushikeshpawar7428
    @rushikeshpawar7428 3 года назад

    Mam aap puri c language sikhnae wali ho kya??

  • @skmdraihan5699
    @skmdraihan5699 Год назад

    int n; float x,sum = 0;
    printf("Enter value to X in Degrees : ");
    scanf("%f",&x);
    x = x * 3.14 / 180;
    printf("Enter a value to N as a power : ");
    scanf("%d",&n);
    for (int i = 1, d = 1, p = 1; i

  • @typing6568
    @typing6568 3 года назад

    Tq

  • @samanthakaur9217
    @samanthakaur9217 3 года назад

    Thankuuuuu

  • @faqiihakra9082
    @faqiihakra9082 3 года назад

    thank you

  • @alihassan-jg8tk
    @alihassan-jg8tk 2 года назад

    can anybody plz send source code in this video?

  • @sohammondal9373
    @sohammondal9373 3 года назад

    What is value of n?

  • @shanusharmamalipur9295
    @shanusharmamalipur9295 4 года назад

    Plz ek saaf saaf vodeo bnaye plZ

  • @shanusharmamalipur9295
    @shanusharmamalipur9295 4 года назад

    Clear kuch b nhi dekh rha

  • @thetravellingengineer3735
    @thetravellingengineer3735 3 года назад

    Not at all working

    • @dhanashreekangane5661
      @dhanashreekangane5661  3 года назад

      May I know the error?

    • @thetravellingengineer3735
      @thetravellingengineer3735 3 года назад

      @@dhanashreekangane5661 On entering any value its showing the output as zero. Previously I did the same program but in a different way, by taking the general term of the series and it was working fine. But my teacher asked me to show the series along with it also, so I did some modification and moreover my previous code was too long as well.So I erased the calculation part and incorporated yours.
      On compilation Errors =0; Warnings = 0.🤷🏻‍♂️

    • @dhanashreekangane5661
      @dhanashreekangane5661  3 года назад

      @@thetravellingengineer3735 i hope you are not starting for loop from 0