Another car simulation run from Prof. Futrelle 2/4/2001 -- 9:40pm

In this run with various parameters changed for car reactions and plotting, some nice patterns emerge. Note how A slams on its brakes about a dozen lines down and E does the same, a little earlier. C is in a hurry and barely avoids overrunning D. (This run was done on Metrowerks Code Warrior on my Mac G4. The code also runs equally well under g++ on the College's Unix (Sun Solaris) systems.) Again, distance is to the right and time runs down the page.

Some of the interesting patterns emerge because the cars react to certain combinations of their distance from the car ahead of them and the speed difference between them and the car ahead. So even if a car is far from the one in front, it may begin to slow down because it is approaching too fast.

    A    B     C      D     E    F      G    H      I    J                                                                                            
           A    B     C      D       E   F      G   H      I     J                                                                                    
                  A  B      C        D       E F       G  H      I       J                                                                            
                       A B        C         D      E F       G  H      I         J                                                                    
                           A  B         C         D      E F     G   H       I           J                                                            
                             A    B           C         D    E  F    G     H        I            J                                                    
                               A        B           C       D  E    F  G         H         I             J                                            
                                 A           B           C    D  E      F G            H           I             J                                    
                                   A              B         C   D E        F  G              H             I            J                             
                                      A               B       C D  E         F    G                 H               I           J                     
                                         A               B     CD   E          F       G                   H                 I          J             
                                            A             B    CD    E          F            G                     H                  I         J     
                                              A            B   CD     E          F                 G                       H                   I      
                                              A            B   CD      E         F                        G                         H                 
                                               A           B   CD       E        F                               G                          H         
                                                A          B   CD        E       F                                       G                          H 
                                                 A         B   CD         E      F                                                G                   
                                                  A        B   CD         E      F                                                        G           
                                                   A       B   CD         E      F                                                                 G  
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E      F                                                                    
                                                    A      B   CD         E       F                                                                   
                                                    A      B   CD         E        F                                                                  
                                                    A      B   CD         E           F                                                               
                                                    A      B   CD         E              F                                                            
                                                    A      B   CD           E                F                                                        
                                                    A      B   C D           E                     F                                                  
                                                    A      B   C D             E                         F                                            
                                                    A      B   C   D              E                             F                                     
                                                    A      B   C     D                E                                F                              
                                                    A      B   C       D                  E                                    F                      
                                                    A      B    C         D                   E                                         F             
                                                    A      B     C            D                     E                                           F     
                                                    A      B      C               D                       E                                           
                                                    A      B        C                  D                        E                                     
                                                    A      B           C                     D                         E                              
                                                    A       B              C                       D                           E                      
                                                    A        B                 C                          D                            E              
                                                    A          B                   C                             D                              E     
                                                    A            B                       C                               D                            
                                                     A               B                         C                                  D                   
                                                      A                 B                            C                                     D          
                                                        A                    B                              C                                       D 
                                                           A                      B                                 C                                 
                                                              A                        B                                    C                         
                                                                 A                           B                                      C                 
                                                                      A                             B                                        C        
                                                                           A                               B                                         C
                                                                                A                                  B                                  
                                                                                      A                                    B                          
                                                                                             A                                     B                  
                                                                                                     A                                     B          
                                                                                                            A                                      B  
                                                                                                                     A                                
                                                                                                                              A                       
                                                                                                                                       A              
                                                                                                                                                A