Fall 2020 ESC 251

## Important Course Documents

• Course Syllabus: PDF
• Using Matlab from Home: TXT
• Using Python from Home: TXT
• Python Installation Guide from Hugh Lauer at WPI: PDF
• ## Course Notes

• Aug. 31 Introduction: PDF IEEE 754 Standard
• Sep. 02 Basic Linear Algebra: PDF
• Sep. 07 Matlab Linear Algebra: PDF
• Sep. 11 Array Indicies and Whole Array Operations PDF
• Sep. 14 2D Plotting: PDF script1.m script2.m
• Sep. 16 Variables: PDF
• Sep. 18 If-Then Statements: PDF ssn1.m ssn2.m if_ex1.m piecewise1.m piecewise2.m piecewise3.m
• Sep. 23 Loops: PDF testloop1.m
• Important Note on HW 10, Problem 1 Note
• Sep. 30 Other Functions: PDF
• Oct. 02 Writing MATLAB Functions: PDF
• Oct. 14 Cubic Splines: PDF testdata.dat
• Oct. 19 Errors and Equally Spaced Points: PDF
• Oct. 19 Integration: PDF
• Oct. 26 Integration 2: PDF integ1.m integ2.m integ3.dat driver_oct26.m trap_fun.m simp_fun.m
• Oct. 28 Linear Systems: PDF
• Oct. 30 Initial Value Problems: PDF ex1driver.m example1.m ex2driver.m example2.m
• Nov. 02 Python Basics: PDF blank.py
• Nov. 06 Python Logic/Loops: PDF exnov06.py
• Nov. 09 Python Lists: PDF exnov09.py
• Nov. 11 Python Functions: PDF testdrive.py myfun.py
• Nov. 13 Python Plotting: PDF
• Nov. 16 Python Files: PDF file1.txt
• Nov. 18 Python Formatting: PDF nov18_1.py nov18_2.py
• Nov. 20 Reading Columns: PDF data1.dat
• Nov. 30 Reading General Files: PDF headers.py star.py missing.py data_g1.dat data_g1a.dat data_g2.dat
• Dec. 7 Viewing General 2D Functions: PDF showmesh.m coarseT.dat coarseV.dat fineT.dat fineV.dat
• Dec. 9 Calculating the Cosine Function: TXT mycos.m k_cos.c
• ## Handouts

• Free online linear algebra text: Linear Algebra Text
• ## Sample Programs

• Area of Circle, Volume of Sphere areas.m
• Roots of a Quadratic qroots.m
• nth Term of Arithmetic Sequence arseq.m
• Modified testloop1 testloop_mod.m
• Sum Test sumtest.m
• Piecewise vector function piecewise.m
• Simple While example whiletest.m
• Sum positive numbers and average sumpos.m
• fun1 from Oct 02: fun1.m
• fun2 from Oct 02: fun2.m
• myabs from Oct 02: myabs.m
• solvetri from Oct. 5: solvetri.m
• insphere from Oct. 5: insphere.m
• tsphere from Oct. 5: tsphere.m
• nfact from Oct. 5: nfact.m
• p_12_1 from Oct. 5: p_12_1.m
• tp_12_1 from Oct. 5: tp_12_1.m
• line1 from Oct. 9: line1.m
• linterp.m from Oct. 12 linterp.m
• linterpvec.m from Oct. 12 linterpvec.m
• testinterp.m from Oct. 12 testinterp.m
• spline_not.m from Oct. 14 spline_not.m
• spline_clamp.m from Oct. 14 spline_clamp.m
• testcos.m fro Oct. 23 testcos.m cosexample.m
• ## Homework Assignments

• HW 1: PDF
• HW 2: PDF Solution PDF
• HW 3: PDF
• HW 4: PDF
• HW 5: PDF
• HW 6: TXT
• HW 7: PDF
• HW 8: PDF
• HW 9: PDF
• HW 10: PDF Solution
• HW 11: PDF Solution
• HW 12: PDF Solution
• HW 13: PDF Solution
• HW 14: PDF hw14_1.m hw14_2.m
• HW 15: PDF hw15.m hmean1.m countnp.m nck.m
• HW 16: PDF data.dat
• HW 17: PDF sp_deriv.m hw17_soln.m
• HW 18: PDF driver_trap.m trap_fun.m yofx.m
• HW 19: PDF hw19.dat hw19_soln.m case1.m case2.m case3.m
• HW 20: PDF hw20.dat hw20driver.m hw20_2.m
• HW 21: PDF
• HW 22: PDF
• HW 23: PDF hw23.py
• Midterm Assignment: PDF prob1.dat prob2.dat
• HW 24: PDF
• HW 25: PDF hw25drive.py hw25fun.py
• HW 26: PDF
• HW 27: PDF hw27_1.dat hw27_2.dat
• HW 28: PDF hw28_1.dat hw281_drive.py hw281_fun.py
• HW 29: PDF hwT.dat hwV.dat