Links to HEAD: | (view) (download) (as text) (annotate) |

Sticky Revision: |

Revision

Modified

File length: 36270 byte(s)

Diff to previous 1896

Fixed conceptual error in compare_vec_solution. This should fix bug #670. In my opinion the entire concept of vec_solution_cmp should be reconsidered. In solving an underdetermined linear equation of the form Ax-b=0 it seems to me that the solutions answer in the form: x= a +bt+cu+ds where a,b,c,d are vectors should simply be evaluated to see if it satisfies Ax-b=0 for 5 or six values of a,b,c,d -- checking the solution should use a vector valued version of fun_cmp. As it is, the student's coefficients for a,b,c,d are compared with the instructors to see if they span the same space. This is quite a bit more complicated -- and indeed the method came up with the wrong answer. I believe I have the method corrected, but I would suggest that this answer evaluator be replaced with one which operates more directly and is therefore easier to maintain. Am I missing something in this analysis? Has someone else created answer evaluators for this type of problem? -- Mike

Revision

Modified

File length: 28971 byte(s)

Diff to previous 1534

Changed the naming of arrays from ArRaY[0,0,0] to ArRaY__0:0:0:__ This involved changes in PG.pl and PGmorematrixmacros (ans_array_filter) Made other cosmetic fixes to code. Added names to many filters to help with debugging. It seems to work for now.

Revision

Modified

File length: 28082 byte(s)

Diff to previous 1528

removed unneeded #! line

Revision

Modified

File length: 28112 byte(s)

Diff to previous 1331

fixed #! line

Revision

Modified

File length: 28112 byte(s)

Diff to previous 1327

Removed the last change, it's now handled in display_matrix.

Revision

Modified

File length: 28602 byte(s)

Diff to previous 1294

Added a pretty_matrix sub routine to fix some rounding problems.

Revision

Modified

File length: 25648 byte(s)

Diff to previous 1278

Added a vec_solution_cmp. Used for problems where the answer needs to be v1_s*v2+t*v3 where v1,v2,and v3 are vectors. v1 has to be a linear combination of the professors answer where the first one has a nonzero coefficient. The others are a basis, and are compared with compare_basis.

Revision

Modified

File length: 20366 byte(s)

Diff to previous 1276

Matrices now displayed in previewer.

Revision

Modified

File length: 21041 byte(s)

Diff to previous 1274

committed the wrong thing

Revision

Modified

File length: 21033 byte(s)

Diff to previous 1265

fixed a bug

Revision

Modified

File length: 20528 byte(s)

Diff to previous 1238

Made the code more object-oriented

Revision

Modified

File length: 20050 byte(s)

Diff to previous 1237

Matrices now take math constants.

Revision

Modified

File length: 20018 byte(s)

Diff to previous 1161

Student answer now displayed in a html table given by jones's display matrix method in PGmatrixmacros. The braces were giving me headaches so I set the option to none, at least for now.

Revision

Modified

File length: 19601 byte(s)

Diff to previous 1123

Was not accepting negative answers, the sign problem is fixed now.

Revision

Modified

File length: 19644 byte(s)

Diff to previous 1080

Ok, there is the ans_array_filter added which allows for the answer to be coming from the ans_array.

Revision

Modified

File length: 15993 byte(s)

Diff to previous 1071

remove unneccsary shebang lines Arnie

Revision

Modified

File length: 16022 byte(s)

Diff to previous 1064

Bringing these files in sync with the latest versions in the courseScripts CVS --Mike

Revision

Added

File length: 2228 byte(s)

Adding recent macro files to the pg collection --Mike

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

aubreyja at gmail dot com | ViewVC Help |

Powered by ViewVC 1.0.9 |