Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  India NewsIndia News  
Keywords
graph 2010 SELECT RESULT UNION CASE 2009 papers paper YEAR question ICSE 2006 prelim 2004 CLASS computer 2007 science physics
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
Series... EmptyFri Jun 08, 2018 2:34 am by adianadiadi

» Diamagnetic - Paramagnetic - Ni(CO)4, [Ni(CN)4]2- and [NiCl4
Series... EmptyFri Apr 06, 2018 1:05 am by adianadiadi

» IIT JEE chemistry solved interactive question paper
Series... EmptySun Oct 29, 2017 12:11 pm by adianadiadi

» IIT JEE 2015 SOLVED QUESTION PAPER
Series... EmptyWed Oct 19, 2016 1:44 pm by adianadiadi

» IIT JEE chemistry solved questions
Series... EmptySat Jul 18, 2015 6:15 pm by adianadiadi

» General Description of Chinese Market for Foaming Agent ADC
Series... EmptyFri May 09, 2014 2:09 pm by happybaicaitou

» How to get Lowest Cost MBBS Admission?
Series... EmptyMon Feb 24, 2014 6:39 pm by MENTOR 2014

»  girl boy vashikaran specialist agori baba ji +91-9461165
Series... EmptyTue Jan 21, 2014 6:00 pm by krshastri

»  STRONG LOST LOVE SPELL +91-9461165176
Series... EmptyTue Jan 21, 2014 6:00 pm by krshastri

Top posters
abhas
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
Anu..i luv icse...:)
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
G-7
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
siya
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
Candy
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
jOhNy
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
Apurva
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
WinRrule
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
ambili
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 
saif
Series... Vote_lcapSeries... Voting_barSeries... Vote_rcap 



Search if you can't find it here

Series...

View previous topic View next topic Go down
AuthorMessage
Sazz




Series... Vide
PostSubject: Series... Series... EmptyTue Mar 25, 2008 1:16 pm

Hey guyz,
new to this place.. hoping ill find a solution from some1 here..


Write a program to find the sum of the given series.....

S=1 + 1/a² + 1/a³ ....................... 1/a(to the power of n)

Input values for : a and n



It wud be realli great if sum1 does it fast.
cos tomoro is the Computer exam Razz

THanks in advance
Back to top Go down
anjanavr47
Active member
Active member
anjanavr47


Series... Vide
PostSubject: heres the prg Series... EmptyMon Feb 22, 2010 12:05 am

float sum=1.0,x=0.0;
for(int i=2;i<=n;i++)
{
x=1/(Math.pow(a,i));
sum+=x;
}
System.out.println(sum);
Back to top Go down

Series...

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: Computer :: Computer help forum-