Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Plot-region depending of the interacte value

How to have the plot dependent of the solved value a. The following code conducts to an error

def _(c=slider(0,1,step_size=0.2,default=1)):

a = solve(-c*x+6==x, x)

g = plot(x,(0,10),color="blue",ymin=0,ymax=10)

h = plot(-c*x+6,(a,6),color="yellow",ymin=0,ymax=10)

show(g+h)

Plot-region depending of the interacte value

How to have the plot dependent of the solved value a. The following code conducts to an error

def _(c=slider(0,1,step_size=0.2,default=1)):

a = solve(-c*x+6==x, x)

g = plot(x,(0,10),color="blue",ymin=0,ymax=10)

h = plot(-c*x+6,(a,6),color="yellow",ymin=0,ymax=10)

show(g+h)

Plot-region depending of the interacte interacted value

How to have the plot dependent of the solved value a. The following code conducts to an error

def _(c=slider(0,1,step_size=0.2,default=1)):

a = solve(-c*x+6==x, x)

g = plot(x,(0,10),color="blue",ymin=0,ymax=10)

h = plot(-c*x+6,(a,6),color="yellow",ymin=0,ymax=10)

show(g+h)