?? #3.cpp
字號(hào):
#include <stdio.h>
#include<conio.h>
#include <math.h>
#include <string.h>
void main()
{
double x,S=0,eps=0.00001;
clrscr();
printf("Vvedite x (|x|>1)\n");
scanf("%lf",&x);
clrscr();
int i=1;
while (1/(i*pow(x,i))>eps)
{
S+=1/(i*pow(x,i));
i+=2;
}
printf("Summa=%7.5lf\n",S);
getch();
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -