Ask Your Question

matxzero's profile - activity

2018-05-04 14:39:40 +0100 received badge  Editor (source)
2018-05-04 14:33:27 +0100 asked a question Embedding into a webpage Error

image description

I included sage on the website by referring to "http://sagecell.sagemath.org/static/about.html?v=98b56535a5f3e54e272938b62c79287c". However, there is an error like the picture. "Request header field X-XSRFToken is not allowed by Access-Control-Allow-Headers in preflight response." Error messages such as. If you have a solution, I would appreciate your help.

2017-10-15 09:17:36 +0100 received badge  Student (source)
2017-10-15 03:38:33 +0100 asked a question plot command error

def myfn2(x): if x<0: return 1 else: return -1 plot(myfn2(x),x,-3,3,figsize=3,color="red")

The graph is only displayed as -1. Why?

2017-10-15 03:38:33 +0100 asked a question plot operation error

I'm trying to plot the following.

def myfn2(x): if x<0: return 1 else: return -1 plot(myfn2(x),x,-3,3,figsize=3,color="red")

The graph is only displayed as -1. Why?