Home
News
Plan
Links
Groups

Hands on Mathematics for CS - Exercises

5. Session: November 24th

Presentations:

Inductive proof in Omdoc:

  • Michael Dietrich, Dominik Jednoralski (postponed)
Applet on text exercises: Bounded sets:

Exercises:

Erroneous examples: Read the following proofs and build in some errors. Make up questions, in which the user might be asked, whether a step is correct or not. In the letter case the user has to express where the error is. Use multiple choice questions for providing several (made up) reasons. (*)

Calculation of roots: Find the roots (Nullstellen) of the following functions. Record your approach in detail as usual. (*)
  • f(x)=(x-1)(x-2)-2)/x
  • f(x)=1/2 cos(13*Pi*x)
  • f(x)=1/2 cos(13*Pi*x)+1/4 cos(13^2*Pi*x)

  • Compare your solution approach with computer-based techniques (nested intarvals, Newton, fix point etc.) (**)

  • Write an applet which parses and plots functions, where functions are conveyed as parameter. For this you might use the Mathematical Visualization Toolkit . Feel free to choose any other java library if you consider it superior. But it should be freeware.

    Then after plotting, the user should be able to mark specific points and assign them a meaning. In this case the user should be able to mark roots. (Later, we will also want to mark extrema, stationary points or saddle points.) After marking roots, the applet should verify user's input. Employ any of the mentioned techniques.

    Generally speaking, this applet should form a base for more applet exercises in the near future, where we will get in touch with discussion of functions in more detail. (***)


Webmaster,