For anyone working on volume of revolution, this may help you.
Go to: http://www.sagenb.org/ Log in using Username: Solid Password : revol Once logged in, click Solid
Thanks. I got in, couldn't find button solid, pressed published and got a page starting off with var('y, theta, x' and with an f(x) already in an entry box at the bottom. Couldn't get it to do anything though?
Ah, it says "untitled" on my page...
Click it
Wants me to name it, go ahead?
Or rename it, to be precise..
go ahead
Function in the first entry box?
Yes, it is bunch of code, go down from there
Yes I did already, I have put -x^2 +2 in the first entry box and clicked evaluate.. Next?.
evaluate? There is 'update' button, is that it
Oh I see, you have supplied another pic, let me look at that.
Mine doesn't look like that it has an entry box with evaluate under it.
Do you want a pic?
Yes, please
Okay, click in the textbox with code in it and press shift enter
loading an applet, some boxes.
OK, got it:-)
ok,Have fun
Salud! I have sagenb on my other machine...
I can download the worksheet..
I have it on my Ubuntu part of my machine but does not work anymore
I used to run it in a Linux emulation on XP but stopped working in WIn 7 (64 bit).
Andlinux (is Ubuntu).
I though it might help people visualize it, but I have to figure out a way for people to access it without logging in
So what happens if you share/publish? Still have to log in (using their server, I suppose u have to).
The 3D plot does not work in published document
Ah....
Traceback (click to the left of this block for traceback) ... NameError: name 'ring' is not defined
#auto @interact def _(func1=input_box('x^2',label='f(x)=',type=str), func2=input_box('x',label='g(x)=',type=str),a=0,b=1, axis=selector(['x','y'],label='Axis of rotation:',buttons=True),auto_update=False): f = lambda x: sage_eval(func1,{'x':x}) g = lambda x: sage_eval(func2,{'x':x}) if axis=='x': f1 = lambda t,x: x f2 = lambda t,x: f(x)*cos(t) f3 = lambda t,x: f(x)*sin(t) g1 = lambda t,x: x g2 = lambda t,x: g(x)*cos(t) g3 = lambda t,x: g(x)*sin(t) else: f1 = lambda t,x: x*cos(t) f2 = lambda t,x: x*sin(t) f3 = lambda t,x: f(x) g1 = lambda t,x: x*sin(t) g2 = lambda t,x: x*cos(t) g3 = lambda t,x: g(x) g3d = parametric_plot3d([f1,f2,f3],(0,2*pi),(a,b),color='orange',opacity=0.5) g3d += parametric_plot3d([g1,g2,g3],(0,2*pi),(a,b),color='green',opacity=0.5) show(g3d)
Yes, I get everything except the applet plus that error. The trouble is not with the Java, I just checked the console for that.
I took out the codes about ring, maybe try replacing the code with one above
That works...
Still shows the error, but works...
nice
So I guess maybe you repost this, I see a lot of solrev questions on here.
Yeah, but most student might not be patient enough to go through all of this
But you can publish now, with the amended code and it will work?
Like go http://www.sagenb.org/home/pub/2893 Enter function, enter...blah blah, pressupdate, done.
No, the graphics does not come up
It did for me....
might be a server prob, I will putting it on my University server,lol
That's interesting, after I pressed edit a copy, it came up...
Link's gone, I guess u are editing it...
it seems that we broke the server
Ooops....
Maybe it's a antihacking thing...
Join our real-time social learning platform and learn together with your friends!