Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
43% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
1 Commented Post
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 50
Member Avatar for Akis2000

hi.. ok here is my problem i want to make a fuction that ask from the user which series he/she wants to use and the precision (number of digits, up to 10). If after 10000 iterations the series doesn't find the value of p, it should display an error message. …

Member Avatar for Akis2000
0
309
Member Avatar for Akis2000

hello, i have a double value=0; and i want before starting the calulation to round this value in the numbers that the user add, for example 2... any ideas??? I have despered...........

Member Avatar for Akis2000
0
139
Member Avatar for Akis2000

ok i need a quick help here...... here it's my problem It's approximate value of π is 3.141592653589793 Below are five di fferent series which can be used to approximate π: you can se the series here:: [URL="http://i44.tinypic.com/2ujtmxw.gif"]http://i44.tinypic.com/2ujtmxw.gif[/URL] ask which series he/she wants to use and the precision (number of …

Member Avatar for NathanOliver
0
120
Member Avatar for Akis2000

ok i have 2 series of p... the user give which one was want... and then give the iterations that he/she want this is the series 4. P= sqrt(8*(1+ (1/9)+(1/25)+(1/49)+... )) 5. P= sqrt(24*((1/4)+(1/16)+(1/36)+(1/64)+...)) code:: first for series 4..... [code] int i; double: serieValue=0,pi=0; cout<<"Iterations"; cin>>i; for (long int n …

Member Avatar for Akis2000
0
113
Member Avatar for Akis2000

Problem Description My pi is an irrational number, i.e. it cannot be written as a fraction. It's approximate value of p is 3:141592653589793. Below are 5 di erent series which can be used to approximate p: 1. P= 4(1-(1/3)+(1/5)-(1/7)+(1/9)-... 2. P= sqrt(12(1- (1/4)+(1/9)-(1/16)+(1/25)-...)) 3. P= sqrt(6 (1+ (1/4)+(1/9)+(1/16)+(1/25)+...)) 4. P= …

Member Avatar for Akis2000
0
177
Member Avatar for Akis2000

hi.....here is my code::: [CODE]int main() { srand((unsigned)time(0)); int random_integer,num,len; cout << "Random numbers: "; cin >> num; cout<<"Lenght of each numbers: "; cin>>len; for (int i=0; i<num; i++) { cout<<endl; for(int j=0; j<len; j++) { random_integer = rand() %10 ; cout << random_integer; } } [/CODE] my question is... …

Member Avatar for Akis2000
0
109
Member Avatar for Akis2000

ok iam working on a password protection for my program but i have a problem..... if the user set wrong password the program do this Wrong password!! The program will be terminated in 5 seconds but i want sec, (which is my seconds) at every second - 1 5-4-3-2-1 without …

Member Avatar for Akis2000
-1
787