Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

'unable to simplify to float approximation'

N=10000 y = [random() for i in range(N)] A = [] f = asin(x)+bcos(2*x) for i in y: f31 = f + normalvariate(0,1) A.append(f31) v1 = finance.TimeSeries(A) p = v1.plot_histogram(bins=100,color='black', normalize=True) p.set_aspect_ratio('automatic') p

What is wrong??

Thanks

'unable to simplify to float approximation'

N=10000 N=10000
y = [random() for i in range(N)] range(N)]
A = [] []
f = asin(x)+bcos(2*x) cos(2*x)
for i in y: y:
f31 = f + normalvariate(0,1) normalvariate(0,1)
A.append(f31) A.append(f31)
v1 = finance.TimeSeries(A) finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True) p.set_aspect_ratio('automatic') normalize=True)
p.set_aspect_ratio('automatic')
p

What is wrong??

Thanks

'unable to simplify to float approximation'

example a=0, b=10

N=10000
y = [random() for i in range(N)]
A = []
a=0
b=10
f = asin(x)+bcos(2*x)
for i in y:
f31 = f + normalvariate(0,1)
A.append(f31)
v1 = finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True)
p.set_aspect_ratio('automatic')
p

What is wrong??

Thanks

'unable to simplify to float approximation'

example a=0, b=10

N=10000
y = [random() for i in range(N)]
A = []
a=0
b=10 b=10
f = asin(x)+bcos(2*x)
for i in y:
f31 = f + normalvariate(0,1)
A.append(f31)
v1 = finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True)
p.set_aspect_ratio('automatic')
p

What is wrong??

Thanks

'unable to simplify to float approximation'

example a=0, b=10

N=10000
y = [random() for i in range(N)]
A = []
a=0
b=10
f = asin(x)+bcos(2*x)
for i in y:
f31 = f + normalvariate(0,1)
A.append(f31)
v1 = finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True)
p.set_aspect_ratio('automatic')
p

p and it should be a * b * sin and cos
not displayed

What is wrong??

Thanks

'unable to simplify to float approximation'

example a=0, b=10

N=10000
y = [random() for i in range(N)]
A = []
a=0
b=10
f = asin(x)+bcos(2*x)
for i in y:
f31 = f + normalvariate(0,1)
A.append(f31)
v1 = finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True)
p.set_aspect_ratio('automatic')
p p

and it should be a * b * sin and cos
not displayed

What is wrong??

Thanks

'unable to simplify to float approximation'

example a=0, b=10

N=10000
y = [random() for i in range(N)]
A = []
a=0
b=10
f = asin(x)+bcos(2*x)
for i in y:
f31 = f + normalvariate(0,1)
A.append(f31)
v1 = finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True)
p.set_aspect_ratio('automatic')
p

and it should be a * sin and b * sin and cos
not displayed

What is wrong??

Thanks

'unable to simplify to float approximation'

example a=0, b=10

N=10000
y = [random() for i in range(N)]
A = []
a=0
b=10
f = asin(x)+bcos(2*x)
for i in y:
f31 = f + normalvariate(0,1)
A.append(f31)
v1 = finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True)
p.set_aspect_ratio('automatic')
p

and a it should be a * sin and b * cos
not displayed

What is wrong??

Thanks

click to hide/show revision 9
No.9 Revision

'unable to simplify to float approximation'

example
#example a=0, b=10

b=10

N=10000
y = [random() for i in range(N)]
A = []
a=0
b=10
f = asin(x)+bcos(2*x)
a*sin(x)+b*cos(2*x) for i in y:
f31 = f + normalvariate(0,1)
A.append(f31)
v1 = finance.TimeSeries(A)
p = v1.plot_histogram(bins=100,color='black', normalize=True)
p.set_aspect_ratio('automatic')
p

p.set_aspect_ratio('automatic') p

a it should be a * sin and b * cos
not displayed

What is wrong??

Thanks

click to hide/show revision 10
retagged

'unable to simplify to float approximation'

#example a=0, b=10    
N=10000    
y = [random() for i in range(N)]    
A = []    
a=0    
b=10    
f = a*sin(x)+b*cos(2*x)    
for i in y:    
    f31 = f + normalvariate(0,1)    
    A.append(f31)    
v1 = finance.TimeSeries(A)    
p = v1.plot_histogram(bins=100,color='black', normalize=True)    
p.set_aspect_ratio('automatic')    
p

a it should be a * sin and b * cos
not displayed

What is wrong??

Thanks