new_graphic_window()- Checks other existing graphic windows. If so it creates a new graphic window without erasing previous ones.fact(k)- Takes an integer as argument. Returnsk!.sumfunction(StartIndex, EndIndex, Fct)-StartIndexandEndIndexare signed integers andFctis a function (defined withdeff()for instance). Letkbe an integer then the functionsumfunctionreturns the sum ofFct(k)fork = StartIndex, ..., EndIndex.
- Download the
useful-functions.scifile and move it into your project's directory. - Copy and paste the line
exec useful-functions.sciat the beginning of your file (afterclear;if you use it). - Call any function you need.