Computational methods and tools

ENG-270

Media

Media

This file is part of the content downloaded from Computational methods and tools.

Links

Assessment: 

  • 50% midterm. based on exercises and lectures. Exercises will not be submitted or graded, but solutions/corrections will be provided for them. You may bring two A4 sheets filled front and back with hand-written or printed content to the exam. No electronic devices.
  • 50% project (10% proposal, 55% code, 35% report). Individual or with one additional partner.

Proposed schedule:


Course language: English, except many course materials will be in French.

Lecture 

  • Wednesday 13h-14h: GCC330 - introduction, installation, tooling, REPL
  • Friday 10h-11h: GCA331 - using the REPL, terminal, working directory, file I/O

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)

Topic


Lecture 

  • Wednesday 13h-14h: GCC330 - introduction to NumPy arrays; projects
  • Friday 10h-11h: GCA331 - data models and programming paradigms

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)

Topic



Lecture 

  • Wednesday 13h-14h: GCC330 - introduction to MATLAB
  • Friday 10h-11h: GCA331 - introduction to MATLAB and vectorization (continued)

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)

Topic




Lecture 

  • Wednesday 13h-14h: GCC330. Review of vectorized solutions to exercises.
  • Friday 10h-11h: GCA331

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)

Topic

  • Continuation from last week - complete three exercises in lower left quadrant of island (https://sieprog.ch): "éolienne," "oiseaux," "suisse" in MATLAB using extensive vectorization.



Lecture 

  • Wednesday 13h-14h: GCC330. Review of vectorized solutions to exercises.
  • Friday 10h-11h: GCA331

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)
Topic

Complete exercises in lower right quadrant of island: "dés", "parité", "étoiles", "lac". 

Those of you working on Windows:
  • srand works but apparently the first dice roll is always the same. rand_s is not a drop-in replacement for srandom or srand and requires more work to integrate into code. Recommendation is to use srand but discard first roll and use the next two.

Additional sieprog.ch:

  • For compiler options, see compiler lesson.
  • For those unfamiliar with the terminal, see also terminal lesson.
  • For print statement debugging, see débogage.
  • For command line debugging, see gdb.
  • Course notes - C introduction
  • Effectiveness of AI for coding (26% increase in "productivity", larger benefits seen for junior developers) - manuscript
  • Correctness of AI generated code (35-70% of AI generated code contains bugs) - manuscript


Lecture 

  • Wednesday 13h-14h: GCC330. Review of vectorized solutions to exercises.
  • Friday 10h-11h: GCA331

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)

Topics

Complete exercises on island: "cryptographie", "seismes", "GPS". 


Fall break


Lecture Exercise 

  • Wednesday 13h-14h: GRB001 (independent study period with no assistants)
  • Friday 10h-11h: GRC002 (independent study period with no assistants)

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)

Topics

Complete exercises on island: "terrain", "pollution".


Lecture 

  • Wednesday 13h-14h: GCC330. Midterm review

Exercise

  • GRB001 and GRC002. (Wednesday 14h-15h is independent study period with no assistants.)

Topics

Complete exercises on island: "terrain", "pollution".


Midterm exam
Wednesday 13.11.2024 13h15-16h00 in GRB001 and GRC002. Room assignments for each student will be posted on Moodle at 12h00 (once you enter the room, have a seat anywhere there is an exam placed on the desk). 

Lecture

Friday 10h-12h: GCA331 - Go over midterm solutions and begin projects. 

Projects
GRB001 and GRC002.


Lecture
Wednesday 13h-14h: GCA330 - Automation
Friday 10h-11h: GCA331 - Numerical methods

Projects
GRB001 and GRC002.

https://epfl.zoom.us/j/62621787077?pwd=mTVYlGp6XoFlVo5MvTkCjM28WzpYzx.1


Lecture
Wednesday 13h-14h: GCA330 - Version control
Friday 10h-11h: GCA331 - Citation, documentation, and readable code

Projects
GRB001 and GRC002.

https://epfl.zoom.us/j/62621787077?pwd=mTVYlGp6XoFlVo5MvTkCjM28WzpYzx.1


Lecture
Wednesday 13h-14h: GCA330 - Citation, Visualization (last lecture)

Projects
GRB001 and GRC002


Projects
GRB001 and GRC002.


Projects
GRB001 and GRC002.

Send instructor (satoshi.takahama@epfl.ch or stakahama) invitation to code repository (e.g., GitHub or GitLab) by 17h Fri 20.12.2024.