It is necessary to write a program that would clearly show the variance. Help me please!

    2 answers 2

    1st option. Take a picture that shows the dispersion of light, for example:

    prism

    and add to your program.

    2nd option. Using the laws of dispersion to calculate the path of the rays of the spectrum with any step and display them in the picture. Draw standard on canvas (TImage, etc.).

    • Insert a picture that does not pull. The program should show the course of the beam and its decomposition into a spectrum. - nick

    Here is a program in the rar archive . I used the material http://shpargalka.kz/fizika/dispersiya-sveta and wiki. Thanks also to the programmers on this site.