Problems 7
  1. Theory:

    1. How can you find out whether GSL is installed on your box? Hint: gsl-config.

    2. How can you find out which C-flags you need to use with your GSL installation?

    3. How can you find out which libraries you need to link with your GSL installation?

    4. Explain the syntax `command` in bash. Hint: Grave accent in programming → Unix shells; Bash command substitution.

    5. Explain the syntax $(command) in bash. Hint: POSIX shell command substitution; Bash command substitution.

    6. Why do you need double-dollar, $$(command), in the Makefile? Hint: GNU make: variables in recipes.

    7. What is "recipe echoing"?

    8. What will the following Makefile print?

      
      pwd = a string
      test:
      	@echo pwd
      	@echo `pwd`
      	@echo $(pwd)
      	@echo $$(pwd)
      
  2. Practice: Quantum particle in a box or Standing wave in a string.