tag:blogger.com,1999:blog-8612108870928357610.post6738036229759604176..comments2024-03-29T12:43:46.573+05:30Comments on Learn C Programming from Scratch: Easy-to-Follow Tutorial for Beginners: Program to Calculate the Sine Series in C | C ProgramUnknownnoreply@blogger.comBlogger15125tag:blogger.com,1999:blog-8612108870928357610.post-32658025577492787432019-08-04T20:37:55.142+05:302019-08-04T20:37:55.142+05:30Pow means 'power' of xPow means 'power' of xAnonymoushttps://www.blogger.com/profile/07355019828424020389noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-36722413224689224412018-05-10T11:26:22.941+05:302018-05-10T11:26:22.941+05:30Hi There,
I’ve often thought about this Program t...Hi There,<br /><br />I’ve often thought about this Program to Calculate the Sine Series in C | C Program. Nice to have it laid out so clearly. Great eye opener.<br /><br />How can milli second / micro second / nano second be used in gcc platform? What is the process, syntax?<br /><br />It was cool to see your article pop up in my <a href="https://asha24.com/blog/c-interview-questions-and-answers/" rel="nofollow"> google search </a> for the process yesterday. Great Guide.<br />Keep up the good work!<br /><br />Ciao,<br />Preethi<br />Anonymoushttps://www.blogger.com/profile/04321217709942391508noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-63423286143518648242017-10-01T21:07:59.141+05:302017-10-01T21:07:59.141+05:30What is the use of nWhat is the use of nAnonymoushttps://www.blogger.com/profile/03699855251059537753noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-21053674011114723062017-03-04T19:53:13.943+05:302017-03-04T19:53:13.943+05:30We can use (-1) instead of pow((double)(-1),(doubl...We can use (-1) instead of pow((double)(-1),(double)(2*i-1)). I have tired it and it works. You can checkout the program in the link below: http://www.codingconnect.net/c-program-for-sine-series/Anonymoushttps://www.blogger.com/profile/13266026339410838242noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-7994470848561428932017-03-04T19:51:48.879+05:302017-03-04T19:51:48.879+05:30This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/13266026339410838242noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-84458323541826892352017-01-06T20:21:26.294+05:302017-01-06T20:21:26.294+05:30Plz give algorithm for this program
Plz give algorithm for this program<br />Anshidm.p.blogspot.comhttps://www.blogger.com/profile/07724807764820455862noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-32121647101640529732016-09-29T20:12:21.255+05:302016-09-29T20:12:21.255+05:30THANKS MAN YOU WERE SO HELPFUL!!!THANKS MAN YOU WERE SO HELPFUL!!!mascabrehttps://www.blogger.com/profile/14056276712473845669noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-25564981737292816272016-06-05T23:35:13.323+05:302016-06-05T23:35:13.323+05:30why cant we use -1.0 instead of pow((double) (-1),...why cant we use -1.0 instead of pow((double) (-1), (double) (2 * i - 1))Anonymoushttps://www.blogger.com/profile/11612684433657840913noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-28828931003596990082015-11-19T21:28:30.583+05:302015-11-19T21:28:30.583+05:30can we write t=(pow(-1,i)*pow(x,2i-1))/2 * i * (2 ...can we write t=(pow(-1,i)*pow(x,2i-1))/2 * i * (2 * i + 1)) ; insted of t = (t * pow((double) (-1), (double) (2 * i - 1)) * <br /> x * x) / (2 * i * (2 * i + 1)) ; with out initializing t=xAnonymoushttps://www.blogger.com/profile/11725855770035832343noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-74998381904068423882013-11-23T23:00:12.469+05:302013-11-23T23:00:12.469+05:30@Teja: Explanation has been added in the post.@Teja: Explanation has been added in the post.Tanmay Jhawarhttps://www.blogger.com/profile/16070311658147185012noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-79383267794072515982013-11-22T23:26:34.852+05:302013-11-22T23:26:34.852+05:30explain briefly.... cnt understad.. process of it....explain briefly.... cnt understad.. process of it.Teja Macharlahttps://www.blogger.com/profile/00802931014013750209noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-42451131485960821682013-02-21T21:52:30.170+05:302013-02-21T21:52:30.170+05:30To avoid precision loss. Since pow((-1), (2 * i - ...To avoid precision loss. Since pow((-1), (2 * i - 1)) i.e. without casting to double will result in an integer value. But in the above program, you are multiplying this value to a floating point value i.e. variable "t" and when float/double is multiplied by int type, precision loss occurs.<br /><br />That is why pow((double) (-1), (double) (2 * i - 1)) equation is used which will result output in double. Double in brackets means that you are casting the value to double.Mark Painehttps://www.blogger.com/profile/07485615204389814441noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-23051966854375725622013-02-21T18:12:44.441+05:302013-02-21T18:12:44.441+05:30Why use double
in the brackets?Why use double <br />in the brackets?Niranjhan_Shttps://www.blogger.com/profile/17493995502499991865noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-24458397438531326532012-12-12T23:06:58.384+05:302012-12-12T23:06:58.384+05:30@Chaitanya Reddy: pow is power function in C. For ...@Chaitanya Reddy: pow is power function in C. For more information please refer this post - http://cprogramming.language-tutorial.com/2012/01/c-program-to-find-power-of-number-using.htmlTanmay Jhawarhttps://www.blogger.com/profile/16070311658147185012noreply@blogger.comtag:blogger.com,1999:blog-8612108870928357610.post-26149523507139764282012-12-12T20:29:19.543+05:302012-12-12T20:29:19.543+05:30what is powwhat is powAnonymoushttps://www.blogger.com/profile/16970900647628515785noreply@blogger.com