Back Home Up

Subchapters:

Exercises programming

  1. Do a color plot of sin(x), cos(x), and tan(x)
  2. Do the same, but from a procedure with the xrange as parameter
  3. Do the same, but with xrange as a keyword and a default value
  4. Program a looping function for Factorielle(n)
  5. Program a recursive computation of Factorielle(n)
  6. Compare the times needed for the 2 previous computations
  7. Write a function that return the angular size in arcsec given a distance in kpc and a projected distance in cm.
 

 

IDL courses C. Morisset © 2004 IA/UNAM V 2.2

Back Home Up