Top Banner
28

40517061 Lecture04 Simulation Examples by Ghani,GBU

Apr 02, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 40517061 Lecture04 Simulation Examples by Ghani,GBU

|��������

������� �������

�� �� |���������� ��

Page 2: 40517061 Lecture04 Simulation Examples by Ghani,GBU

!������

j �������� �������������������������� ��������� ����

������������������ ����������� �������������� �������

�������������������

j ������������ ������� �����������������������������������

������� �� ���������������������������������������������� ��

������������� ���

Page 3: 40517061 Lecture04 Simulation Examples by Ghani,GBU

¢��� �

j ����������� �������������������������� �������

� !����� ������� ��������������������

� "� ���������������� ������

� #����������������� �÷^��� ����������������������� ���^�������������

�� ���� ^�� ������������������������������� ����÷�

j ������� ������������� �$����� �^�� �� ����̂ ������������ ��

�����%�� ������

Page 4: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����&����� ��������

j '�$����� � ����������������������������� ���������� ^� ����������������^�

������������ ��^����������������� ������$����� � ������� �

j ( ����� ������ ��$����

� ������� ���������� ����� �� ����

� '�������������������������� ������������ ����� ��������� ^�� ����������� �����

����� ��� �^������������� ������������

j '�������� ������������������� ��������������������� ������������������ �

��������� ���������������

j )����� �����

� ����������������������� ��������� ����� ������������ ��������������������

�������*�����������+�

� ' ���� ����������������������� ����������������� �� ��� �� �������� ���� �����

�����������^�����^��������� ��������������� ���

� ����������� ����%����������������%�������������

Page 5: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����&����� ��������

j ��� ����� �������������� ������������ �� ����

� ����%���������������������������������� �������������� ���

�������*��������������������������������� ��������%� ��

������ ������������+

� ��� �������������������� ��������

j ������ �� ���� ���������������������������������������

��������������������� ��� �����^�������� ������ �������

��� �

� |� ������ ���� ��� �����^� �������%

� ������� ����%������ ���������������

Page 6: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����&����� ��������j �� ������ ��$�������������� �

� '������������������������� ���������������� ������������� ��������

,������� ��������� ����������������( ������ ������

j ����-�� ����������������������������������%�����.��/ � ����������������

��������� ���������*������%�����/+^�� ������ �

� '���������� ���������������������������-^/^��� ��������� ����� ��

������������ �$�����%�������������( ������ ������

4������� ��������� ��� ����� ��� �� 4����

[ � �

� � �

� � �

� [ �

� � �

� � [�

4������� ������ ��� 4������� ������ ���

[ � � �

� [ � [

� � � �

Page 7: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����&����� ��������

� 0����� ��������� �������������� �����%�����

� ' ����������� ����� ������^�������� ������������� �������� ��

4��������

�����

���� �������

�������

�������������

��������4�����

�������������

���� �����

�������������

������������

[ � � � �

� � � [ �

� � � � �

� � � � [[� � [[ [ [�

� [� [� � [�

���������� 4������������� 4���������

��� [ �

������� [ �

��� � �

������� � �

��� � �

��� � �

������� � �

��� � �

������� � [[

������� � [�

��� � [�

������� � [�

Page 8: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����&����� ���������

j 1������������������ ������� ��� ������%������� ����

� "�������������������� ������������-����2�� ����������^�������$���

��������������������� ��

� ��������������������������-����3�� ����^������������������

�������������

���� �������� � ����������

����������

����������

[ ��[�� ��[��

� ��[�� �����

� ��[�� �����

� ��[�� �����

� ��[�� �����

� ��[�� �����

� ��[�� �����

� ��[�� [����

�������������

���� �������� � ����������

����������

����������

[ ��[� ��[��

� ���� �����

� ���� �����

� ���� �����

� ��[� ����

� ���� [����

Page 9: 40517061 Lecture04 Simulation Examples by Ghani,GBU

1������������������4������� ����&����� � ������5

j ���� ������������������������ ���������� �������������[��

���������

� "���� �������������� ��������^�� ���������̂ �[�� �������������������

��������������������� ����������� ����� ��

� ( ������� ����� ������������%������%������������ �������

j '��������� �������������������� ��� ��������� ���������

�� �����������������������������%������� ���

� ���������� ������������������������ �� � ��[�

� ������������� ��� ����������� ���� �� ��

Page 10: 40517061 Lecture04 Simulation Examples by Ghani,GBU

1������������������4������� ����&����� ��������5

j 1� ����������������� ��������

j ����������������������� ����� ������

4�� �� �� ���� �� � ��� � ����

[ �

� [

� [

� �

� �

� �

� �

[�� �

4������� ������� ����� �� ����

[ �

� �

� �

� �

� [

� �

� �

[�� �[�

Page 11: 40517061 Lecture04 Simulation Examples by Ghani,GBU

1������������������4������� ����&����� ��������5

j #���� ���������� ^�������� ���������������� �����������������

����� �^��������� ������������ �����$������ �������

4� ��

��� �

� ��

� �� �

� ��

� �

� �� �

� ���

�� �

� ��

���

� �� �

� ��

� �� �

� � � ��

��� �

��

� ��

[ � � � � � �

� [ [ � � � � � �

� [ � � � � [[ � �

� � � � [[ � [� � �

� � [[ [ [� � [� � �

� � [� � [� � �� � �

� � � � � � � � �

[�� � �[� � �[� [ �[� �

�� � �[� �[� [�� ��[ �

[[

���� ������ ������ �������� ����� ������� ���������

��� ���������������������������������

������������[��� ��������� ��������������� � ���� ����[���������� �

����� �����������

Page 12: 40517061 Lecture04 Simulation Examples by Ghani,GBU

1������������������4������� ����&����� ��������5

j �� �������� ���� ���

� '�������������������������������������^��������̂ ������������������ ��������� �������������

� ���������������� ��������� �� ������� �������������

j |� ����������� ������� ������������������������� �� ���

j 6��� ������ ������������ ������ ���������� ���������������������������������/�,���������� � ��

��

Page 13: 40517061 Lecture04 Simulation Examples by Ghani,GBU

1������������������4������� ����&����� ��������5

j )����� �� ������������������ �����

a������������a� ������ ������������������

a��������

���

� ���� ����� a!��

a�����a�� ������ ���� ����� a

a���"�a��

������ ����#��� $�

a�����

�%��%&���%�����%���%����%����%�

��a����������������������

a���'���%%

��'

� ���a������ a!����� �

a�����a����������� �

a�����a�

�������#��� $�

%�'&%���(�������! �)��)*��! !�����+����

���%���

�%�

a�����a � ������� ���a���� �

a�������������a�������� �

����������

��)*��! !����

�&�%�%%

�&

� ���a������ a!����� �

, ��,��� ���a������ a!���), ���*��! !����

a��'����%%

�'�

� ���a������ a!����� �

a���- � ���, ����a���� �

a�����a�

, ����$#��� $�

���

��

������

���

��

���

���

���

��

Page 14: 40517061 Lecture04 Simulation Examples by Ghani,GBU

'���7�%���"��"� ���������4������� ����&����� ��������5

j '������������� �������������� ������������������ ����%� ��

����� ������������������

� ����������������� �'���� ��7�%���*����������������� �+�

� '�������� ����� �'�������������������������������������

� 1�� ������ ������������������ ������ ��� �����%��

� 0� ���������� �

j '���������������� ����

j �������������*������� ������������� ������'���� ��7�%��+�

� '�������� ��������������-..���������������

j ��������������������������������������^�-..����

����� �������������������������� �

��

Page 15: 40517061 Lecture04 Simulation Examples by Ghani,GBU

'���7�%���"��"� ���������4������� ����&����� ��������5

j �������������������� ��������� ����� ���������������

��������� �������������*������ � ��+�

� ( ����������������������^������� ������������������������

j 3/8������������������ ������

j -/8���������������� ���������� �����

��

Page 16: 40517061 Lecture04 Simulation Examples by Ghani,GBU

'���7�%���"��"� ���������4������� ����&����� ��������5

� ( ��������� �������������^������ �� �������� ��������..�������*�����

�� ����� ���������������� ����-..������+�� ����� ����������� �

j -98��������������������������� ������� ������ �����

j ¢ ��/�:,8������ ������� ���� �����

��

Page 17: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����( �� ������������

j '������� �� ����������^�� ��������� �� ����������

� !������������������� ���^��^������������������� �� ����������������%���

� ' �������������������� ������� �� ���������������������

� '������� ���������÷�� �������������^�� �������$�� ����̂ ��÷^����������

� !�� ��������� �������� ����������������;������̂ �� ��� ���^���� ������� ���������% �� ������������ ���

��

Page 18: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����( �� ������������

j '������� �� �����������*�� ��+

� ����������*���������+����� �� �� ������������������������� ����������

j "����� ������%�� �� �� �������������������������

j !�������<���� ���� �����������������

j 6�������� ��������������������������

Page 19: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������� ����( �� ������������

j ����6����!����=������� �'���������� �� ������������� ��� ���������������� ��������� ����������� 6������� ����������������������� ��������� ��������������,.��� ���

�����

� 6��������� ��������������� ����������������������������������,��� ��������

� 6����������� ��������������� ��� �������-.�*�� �� ������-.^�/.^��,.^�3.�+

� 0� ���>�������

j ��������� ��������

j !�� ��

!�������? *���� �����������+�@ *�������� ��������+�

@ *������������������������� �+�

A�*������������������������������+

��

Page 20: 40517061 Lecture04 Simulation Examples by Ghani,GBU

6����!����=�������4������� ����( �� �����������5

j ��������������� ������� �B����CD�B����CD�B����CD�������������������

���.��,^�.��,�� ��.�/.^�������������

j !�� ��� �������� �������������� � ������������

������������� ����� � �� ������ �������� � ��

*��� ���� ����

� �� ���� ����

���� ���� [���

���� ��� � � ����

�� ���� ��[� ����

�� ���� ���� ��

� ���� �� � ����

� ���� ���� �� �

�� �� � �� [���

� �� � [��� [���

[�� [��� [��� [���

������ ���� ��� ��� ��

��

Page 21: 40517061 Lecture04 Simulation Examples by Ghani,GBU

6����!����=�������4������� ����( �� �����������5

j �������������� �������������������/.�������������������

������ ������������������� ������������ ������̂ ���������������:.�

��������

j ���������������� �������������������� ������������� �������������

� ����������������������� ��

��

Page 22: 40517061 Lecture04 Simulation Examples by Ghani,GBU

6����!����=�������4������� ����( �� �����������5

j #�������� ���������

� ����������� ��������������������� �������������:.� ������������

� ���

�� � ��

�����

� ��

�����

� ���

�� �

��

�� �� �� ��

�� ����

� � ��

���� � �� �

� �

����

�� ��

��

� � �

�� � � � �� �

[ �� �� �� �� ������ �[��� � �[����

� [� � �� �� ������ �[��� � �[����

� �[ � �[ �� ������ � � �[[���

� �� �� [� �� ������ � �[��� �����

� �� �� �[ �� ������ �[��� �[����

[� [� � �� �� ������ �[��� � �[����

�� �� � [� �� ������ � �[��� ��[���

������� �[���� �[���� �[�[�����

��

Page 23: 40517061 Lecture04 Simulation Examples by Ghani,GBU

6����!����=�������4������� ����( �� �����������5

j #������� ��� � ������������� ������..�������*���������/.�����+

� '�������������������?�E-�:�3-�

� ¢ ���,���������..��������� ������������������������� �E-3.�

��

Page 24: 40517061 Lecture04 Simulation Examples by Ghani,GBU

6����!����=�������4������� ����( �� �����������5

j ����� ��������� �����������������E-�-�..^� ���������������

��������������..�����^�E-�:�3-�

j 7�������������������� ������������� �������������� �����

� �������������������������

j ;� ��^������������������ ������ ��������

j ¢ �����B¢ ������C�������� �����������������

� ¢������������������������%� ����������� �F1� ������6��������=

� 6���������������������������$������������ ���������������$�� ���������� ��

� �����������������

��

Page 25: 40517061 Lecture04 Simulation Examples by Ghani,GBU

¢�����G�����|����( �� ����������

4������� ����( �� �����������5

j '����� �������������������������� �� �� ���������������

� 0����������� �� ������������� ��������������� �������������*�����+�� ��

������������������*�����+�

¢�����$�� �����?� *¢��������������+�� *� �� ��� �� ����+�

A�*���������$�� ����+

� 0� ����������� �

j 6���������������������������������������

j |������� ����� �������������������������������������������������������

������������������

��

Page 26: 40517061 Lecture04 Simulation Examples by Ghani,GBU

¢����������������������

j 0�������������� �

� '����� �������������� ������������������������������� ������������

� �������������������������

� !��������� ����������� ��������������^����������������

� !�������������� ��������� ����������������������������������������^�

��������������� ���������

j 0� ��� ���� �����

� �������������������@ ������������� �������������� �����

���������������� ������������ ��

� !�������������� ��������� � ��������������������������������� �����

���������

��

Page 27: 40517061 Lecture04 Simulation Examples by Ghani,GBU

¢����������������������

j |����������� �

� |����������������� ���������� ������������������ ������ �������

� �������������������������

� ¢��������������� ���������� ���� ��

� !�������������� ��������� ���������� ���������� ����������

j !��������������

� '����������� ����������� ��������� �����%�������������� ����������������

���������������������$�� ����̂ ���������� ������ ��� �������

� !��������� ����������� �������������������������������

� !�������������� ��������� ���$�� �� ���������������^� �����������%����

��������

��

Page 28: 40517061 Lecture04 Simulation Examples by Ghani,GBU

������

j ( ���������������� ��� ����������� �����������^�����������

�� ���������������������� ^�� ������������������� � ����������

j '������������� ����������������

� ��� ���� �������������� ������������� ��� �������������������� ���

�����^�� �������� ������� ���������� ������

� '������������� �������������������������������������

j )�����%������

� '�������� ������������������������ ��� ���������������������� �

� '������ ����������������� ��� �������^����������� �� ��������

������� ������������������������ �