C Practical and Assignment Programs-e^x series expansion

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

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

  • @human1143
    @human1143 11 месяцев назад +3

    I can't thank you enough my friend .... i'm studying in Russia and i hade this question in the class , the teacher tried to explain it to us but i did not understand the logic behind it nor the language (because i'm a forigner ) , but now it is clear .... thank you so much again and keep going ❤

  • @fannipatata2851
    @fannipatata2851 5 лет назад +3

    OMG, THANK YOU SO MUCH.
    MY PROGRAMMING TEACHER LET US THIS AS HOMEWORK, I SPENT LIKE A WEEK WITH PROBLEMS THANKS TO DON'T KNOW HOW TO SOLVE IT. BUT YOU HELPED ME SO MUCH.

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

      ruclips.net/video/G8h8XlRFJw8/видео.html

  • @dynamo-_-5962
    @dynamo-_-5962 2 года назад +2

    Just passed my lab test because of this! A hero 👑

  • @erwinrojasarabia
    @erwinrojasarabia 5 лет назад +4

    Hi guys, here is included the algorithm for the factorial
    #include
    using namespace std;
    float entrada,fact=1,x=1,div=1;
    float suma=1;
    int main(){
    cout

  • @GauravKumar-tb1cn
    @GauravKumar-tb1cn 8 месяцев назад

    but in divide there is factorial of 3 or 4 or 5 but you are only taking 3 4 or 5 in denominator and adding in ans . i have not understood this part for exmple i=3 , numerator will be x*x*x but in denominator i=3 so x^3/3 there is but actually it should be x^3/3! 3 and 3! both are diff thing

  • @arnabdutta4662
    @arnabdutta4662 3 года назад +4

    line no. 10 will be - for( i = 1 ; i < n ; i++ ) {
    because if we do

  • @kachifavour2653
    @kachifavour2653 6 лет назад +2

    Thanks sir for this explanation, I tried this in Fortran and it's perfect

  • @Pi-zx3xo
    @Pi-zx3xo 2 года назад +2

    But why did you write temp=(temp *power)/I ...like if I want to find e^2 ..in reality it is equal to 1+2/1+4/2+ 8/(3×2) +16/(4×3×2) and so on..but according to this code, it would be 1+2/1+4/2+ 8/3...I mean there's no factorial below..rather it would be temp= temp*(power/i).

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

    Why are we taking the power of x in float,why not in ok int?

  • @atulasyper8872
    @atulasyper8872 4 года назад +1

    Hey I have a problem where I have to estimate the sum of the series a(n) = (-1)^(n+1)/(2n-1) to show that the sum is approaching to pi/4. Can you help me out how to get started on this problem?

  • @al74783
    @al74783 5 лет назад +6

    from 2019 thanks aloooooooooooooooooooooot

  • @surajmishra7678
    @surajmishra7678 6 лет назад +1

    Can we write int ans=1.0 instead of writing float ans=1 and for the temp variable also.

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

    How to write a program for same problem but using function for factorial?

  • @ChaliyaGamer
    @ChaliyaGamer 5 лет назад +1

    Why did you make accuracy integer in this program. We could run for loop for (power+1) time instead of defining int acc. Can we?

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

      ruclips.net/video/G8h8XlRFJw8/видео.html

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

    Why you used “acc=4”
    Please tell me

  • @muhammadsheharyar4105
    @muhammadsheharyar4105 7 лет назад +3

    but fictorial of 5! is 5*4*3*2*1.
    but u just divided it by 2 and 3 and 4

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

      ruclips.net/video/G8h8XlRFJw8/видео.html

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

      @@kimutaifelix3984 I will report in your video. 😡😡😡🤬🤬🤬

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

    Thank you very much 👍👍🔝🔝

  • @jadhisham4277
    @jadhisham4277 9 лет назад +1

    you are amazing man thanks a lot for all the help

  • @arnabkoley9812
    @arnabkoley9812 5 лет назад

    Who are talking about factorial part plz hear the logic very carefully. He is doing like this 1,1*2,1*2*3, etc= 1!,1!*2,2!*3, etc.

  • @rinyuzury5381
    @rinyuzury5381 4 года назад +2

    Thank you
    Write a C++ program to solve the following series by using recursion
    x^1 + x^3 - x^5 + x^7-x^9 ………± x^n

  • @serjeelranjan8345
    @serjeelranjan8345 7 лет назад

    I just loved ur explaination 🤗

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

    You are the bestest! Seriously

  • @bytesandbitesvlogs
    @bytesandbitesvlogs 7 лет назад

    thank u sir really helpful at exam time😇

  • @ayishaafzal6538
    @ayishaafzal6538 5 лет назад

    Thank you very much.it is an clear explanation

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

    First comment of 2021

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

    Plz help to write this program in maple

  • @Shailendrakumar-ge5cf
    @Shailendrakumar-ge5cf 2 года назад

    can you use dark background pls

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

    اكو عربي متورط هنا بلبرمجه😹😹

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

    You are explained power series

  • @donyxcalliber9157
    @donyxcalliber9157 9 лет назад +18

    where is the factorial part

    • @mahsumkibaroglu6686
      @mahsumkibaroglu6686 5 лет назад +1

      In for loop temp=(temp*power)/i; provide factorial part.

  • @social.2184
    @social.2184 3 года назад

    Than u alot

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

    Thanks a lot bro!

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

    Thanks from future (2021)

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

    good keep it up man

  • @awayamgupta8557
    @awayamgupta8557 6 лет назад

    Very very very very good

  • @mdowaisakhtar6027
    @mdowaisakhtar6027 5 лет назад

    do the next one also

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

    thank you

  • @surajpathak6378
    @surajpathak6378 7 лет назад +5

    Power should be int rather than float .i think

  • @keshabdas3065
    @keshabdas3065 6 лет назад +1

    I tried this program alone but didn't find any solution..I think I am not for programming 😔

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

    thank u soooooo much

  • @carolinafortuna6811
    @carolinafortuna6811 5 лет назад +2

    3! is 6, not 3

  • @arpitbisen2620
    @arpitbisen2620 6 лет назад

    this program is not running in code block help bro

  • @yassmine3284
    @yassmine3284 7 лет назад

    thank you
    شكرا جزيلا

  • @HasanAli-fn2rf
    @HasanAli-fn2rf 5 лет назад

    where is factorial

  • @desicomedyking658
    @desicomedyking658 6 лет назад

    here you are cover fectorial part

  • @homero9438
    @homero9438 5 лет назад

    Thanks!

  • @haiderimam5613
    @haiderimam5613 5 лет назад

    Do in math lap

  • @sametkaya4653
    @sametkaya4653 8 лет назад +12

    what a fucking voice

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

    You are not explain anymore ...

  • @jksarkhel
    @jksarkhel 9 лет назад

    please help me to solve this serires
    1-2+3-4+5...

    • @gautamsah9465
      @gautamsah9465 5 лет назад

      Make one loop for odd integer and another for even integer
      And then subtract them

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

    bhai mic kharid leta acha sa

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

    Thank you