[sage-edu] How do your students "Turn in" Sage assignments?

2011-11-03 Thread Brad Burkman
Dear Sage-edu Members,

I occasionally give my high-school students assignments in Sage, but
have not found an effective way to track whether they're doing the
work.  Please share your thoughts.

My assignments complement the work in their textbooks.  I publish a
worksheet that the students edit.  In the worksheet, I give an
example, both in LaTeX (human language) and in Sage (computer
language).  The student adapts the example to do exercises from the
text that the student also has to do by hand.  My hope is that the
complementary work will reinforce the concept.

To check whether the students are doing the work, I've considered two
ways that I know are possible but are not ideal.  One is to ask the
students on a quiz or test to write the Sage syntax for something in
the assignment.  A student who did the assignment should know the
syntax.  Another is to have each student "Share" with me his/her
modified copy of my published worksheet.  This solution would fill my
Notebook with fifty worksheets for each assignment, and the Notebook
doesn't have sophisticated sorting mechanisms.

What I would like to be able to do next semester is for each student
to have one worksheet, shared with me, in which he/she does all of the
work for the semester.  Whenever I wanted, I could check a student's
progress.

If I had all of the assignments prepared at the beginning of the
semester, and gave up the option of modifying them, I could publish
that one worksheet and would only have one fifty student worksheets in
my notebook.  That would be fine.

What I would really like is a way to merge worksheets.  Every few days
I would post a new worksheet, and each student would merge it into his/
her existing worksheet, to which I already had access.

I searched for "merged," and didn't find anything relevant, either in
this group's discussions or on the web in general.  Is there a way to
merge worksheets?

Other creative ideas for checking students' progress?

Question?  Comments?  Pearls of Wisdom?

Thanks,

Brad

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] How do your students "Turn in" Sage assignments?

2011-11-03 Thread Jason Grout

On 11/3/11 2:15 PM, Brad Burkman wrote:

Another is to have each student "Share" with me his/her
modified copy of my published worksheet.  This solution would fill my
Notebook with fifty worksheets for each assignment, and the Notebook
doesn't have sophisticated sorting mechanisms.


I do this, but I have the students share with a special class grading 
account, like 20113rdHour.  Then I just log into that account and there 
are all of their worksheets.  I can edit the worksheets (and easily 
highlight my comments in a different color), and they see the changes. 
I can download all of the worksheets to archive the work that they did.


Thanks,

Jason

--
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] How do your students "Turn in" Sage assignments?

2011-11-03 Thread michel paul
OK, perfect timing! Thanks for posting this. I've been wondering about
doing exactly the same sort of thing, but I keep running into a problem.

I've been experimenting with this on the Alpha server, and I can't get the
shared notebook file to appear in the class account. I pretended to be a
student and tried to share a file to the class account I created. My
assumption was that after sharing the file I'd be able to find it in the
home of that account? But it doesn't appear. I was wondering if the link
had to be emailed to the collaborator? I tried that, but my only option was
to open a copy in the other account.

- Michel

On Thu, Nov 3, 2011 at 12:23 PM, Jason Grout wrote:

> On 11/3/11 2:15 PM, Brad Burkman wrote:
>
>> Another is to have each student "Share" with me his/her
>> modified copy of my published worksheet.  This solution would fill my
>> Notebook with fifty worksheets for each assignment, and the Notebook
>> doesn't have sophisticated sorting mechanisms.
>>
>
> I do this, but I have the students share with a special class grading
> account, like 20113rdHour.  Then I just log into that account and there are
> all of their worksheets.  I can edit the worksheets (and easily highlight
> my comments in a different color), and they see the changes. I can download
> all of the worksheets to archive the work that they did.
>
> Thanks,
>
> Jason
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-edu" group.
> To post to this group, send email to sage-edu@googlegroups.com.
> To unsubscribe from this group, send email to sage-edu+unsubscribe@**
> googlegroups.com .
> For more options, visit this group at http://groups.google.com/**
> group/sage-edu?hl=en .
>
>


-- 
==
"What I cannot create, I do not understand."

- Richard Feynman
==
"Computer science is the new mathematics."

- Dr. Christos Papadimitriou
==

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] sequences

2011-11-03 Thread michel paul
You could use *n for your parameter. It allows you to enter an arbitrary
number of arguments:

def a(*n): return [1/k^2 for k in n]

a(2,4,6) ---> [1/4,1/16,1/36]

a(5) ---> [1/25]


Not exactly what you were wanting, but pretty close.

But - why *not* just go ahead and define a(n) for the nth term and then use
map or list comprehension to expand the sequence? It seems to me that's a
lot clearer.


On Wed, Nov 2, 2011 at 12:04 PM, A. Jorge Garcia  wrote:

>
> Sorry, what I meant to say was: what if I define a function such as
> def a(n):
> return 1/n**2
> so running
> a([2,4,6])
> yields
> [1/4,1/16,1/36]
> Thanx,
> A. Jorge Garcia
> Applied Math and CompSci
>

-- 
==
"What I cannot create, I do not understand."

- Richard Feynman
==
"Computer science is the new mathematics."

- Dr. Christos Papadimitriou
==

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] sequences

2011-11-03 Thread A. Jorge Garcia
michel paul  wrote:

You could use *n for your parameter. It allows you to enter an arbitrary number 
of arguments:

def a(*n): return [1/k^2 for k in n]


a(2,4,6) ---> [1/4,1/16,1/36]


a(5) ---> [1/25]


Not exactly what you were wanting, but pretty close.

But - why not just go ahead and define a(n) for the nth term and then use map 
or list comprehension to expand the sequence? It seems to me that's a lot 
clearer.



On Wed, Nov 2, 2011 at 12:04 PM, A. Jorge Garcia  wrote:


Sorry, what I meant to say was: what if I define a function such as
def a(n):
return 1/n**2
so running
a([2,4,6])
yields
[1/4,1/16,1/36]
Thanx,
A. Jorge Garcia
Applied Math and CompSci


-- 

==
"What I cannot create, I do not understand."


- Richard Feynman

==
"Computer science is the new mathematics."


- Dr. Christos Papadimitriou
==


-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.


Well!, I guess I'm still used to MATLAB or Octave where a function can process 
an entire matrix whether it be 1x1, 1xn, nx1, nxn or nxm.

How about this, whether you use map() or a list comprehension, can I use 
@cython or @parallel or both to improve runtime when processing a huge list?
Thanx,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009
Sent via DROID on Verizon Wireless

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] How do your students "Turn in" Sage assignments?

2011-11-03 Thread Jason Grout

On 11/3/11 6:13 PM, michel paul wrote:

OK, perfect timing! Thanks for posting this. I've been wondering about
doing exactly the same sort of thing, but I keep running into a problem.

I've been experimenting with this on the Alpha server, and I can't get
the shared notebook file to appear in the class account. I pretended to
be a student and tried to share a file to the class account I created.
My assumption was that after sharing the file I'd be able to find it in
the home of that account? But it doesn't appear. I was wondering if the
link had to be emailed to the collaborator? I tried that, but my only
option was to open a copy in the other account.



That is currently broken on any *.sagenb.org server except for 
test.sagenb.org.  It works in the sage server distributed with the 
official Sage sources, though.


With luck, we will soon have sharing working on the *.sagenb.org 
servers.  We actually had it working for a few days, but other problems 
with the upgrade to sagenb.org forced us to revert sagenb.org to an 
older version of the new notebook.


Thanks,

Jason

--
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



[sage-edu] Re: How do your students "Turn in" Sage assignments?

2011-11-03 Thread kcrisman


On Nov 3, 7:13 pm, michel paul  wrote:
> OK, perfect timing! Thanks for posting this. I've been wondering about
> doing exactly the same sort of thing, but I keep running into a problem.
>
> I've been experimenting with this on the Alpha server, and I can't get the
> shared notebook file to appear in the class account. I pretended to be a
> student and tried to share a file to the class account I created. My
> assumption was that after sharing the file I'd be able to find it in the
> home of that account? But it doesn't appear. I was wondering if the link
> had to be emailed to the collaborator? I tried that, but my only option was
> to open a copy in the other account.
>

You should be able to actually send the URL of the worksheet as you
mention.  Unfortunately, seeing shared worksheets is not currently
working on the sagenb.orb farm, because they have the (otherwise
vastly improved!) new notebook software.

Hopefully this will be fixed soon.  Jason had a good fix, but it
seemed to have some side effects so it was rescinded.

- kcrisman

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.