Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ej2_PYTHON_203700377.
n=int(input()) while(n<1 and n>50): n=int(input()) x=float(input()) while(x<-10.0 and x>10.0): x=float(input()) p=0 potencia = 0 opera_1 = 0 a=0 while(p<n): factorial=1 for i in range(2,a+1): factorial = factorial *i a=a + 3 if( p%2==0): opera_1=opera_1+((x**potencia)/factorial else: opera_1=opera_1-((x**potencia)/factorial) potencia=potencia + 3 p=p+1 print("omega(",x,")para",n,"termino(s)=",opera_1)
run
|
edit
|
history
|
help
0
StringManipulation
Python3: List Functions I
Sum of two numbers
abc
isipadu kuboid
abc
init constructor
snake water gun correct
My page
9th jan quiz2