Pre-Engineering 220 Introduction to MatLab ® & Scientific Programming j kiefer



Download 8.69 Mb.
Page20/128
Date02.05.2018
Size8.69 Mb.
#47255
1   ...   16   17   18   19   20   21   22   23   ...   128

iv) Is ? If so, quit and set .

v) If not, then repeat beginning with step (i).


It is well also to count the iterations and to place a limit on the number of iterations that will be performed. Otherwise, the program could be trapped in an infinite loop. Also, it is well to test for the cases and . It may be that the function does not cross the x-axis between fo and f1, or crosses more than once.



Download 8.69 Mb.

Share with your friends:
1   ...   16   17   18   19   20   21   22   23   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page