Esta é uma pré-visualização de arquivo. Entre para ver o arquivo original
��������� � � �� � �� �� ���� � ������ ���� ���� ����� ���� � �� � ���� ���������� � ���� ���������� ���� � ���� ���������� � ���� ���������� �� ��� ! �� ���� ��� ! �� ���� "� ��"� �� � � ��#���! ��!�� !$�� � ��#���! ��!�� !$� "���� "���� %��%����� %��%����� %���%��� ��� ! ������� ��� ! ������� &��'(�&��'(� ���'��#���! ��!�� !$����'��#���! ��!�� !$� �� absabs) *���� �$ �� �� �� � �+���� ) *���� �$ �� �� �� � �+���� ��������������!! �� �� ����� �� $�$������� �� ����� �� $�$������� stdlib.hstdlib.h abs(<número>);abs(<número>); *���� �$ �� ��*���� �$ �� ��*���� �$ �� ��*���� �$ �� �� abs(-4); abs(4); abs(num); abs(num/2); abs(-num); abs(-4); abs(4); abs(num); abs(num/2); abs(-num); �� fabsfabs) *���� �$ �� �� �� � �+���� ) *���� �$ �� �� �� � �+���� ��������!! �� �� ����� �� $�$������� �� ����� �� $�$������� math.hmath.h fabs(<número real>);fabs(<número real>); *���� �$ �� ��*���� �$ �� ��*���� �$ �� ��*���� �$ �� �� fabs(-4.123); fabs(4./9.); fabs(num); fabs(num/.2); fabs(-num); fabs(-4.123); fabs(4./9.); fabs(num); fabs(num/.2); fabs(-num); ,� ���������(����������(����������(����������(� ��powpow) �%����(� �� %��������(�!) �%����(� �� %��������(�! ��expexp) �+���� ��%������ ���'��� �� ��� �����!) �+���� ��%������ ���'��� �� ��� �����! ��-� ����� . ��%�� �� ��%� -� ����� . ��%�� �� ��%� ���� ����/ ����%������� / ����%������� �� ��%� �� ��� �����!�� ��%� �� ��� �����! pow(base, expoente); // base^(expoente) exp(num); // e^(num) pow(base, expoente); // base^(expoente) exp(num); // e^(num) �� ��%� �� ��� �����!�� ��%� �� ��� �����! ���� ����� �� $�$������� �� ����� �� $�$������� math.hmath.h ������������������������������������ ���� ����� �� $�$������� �� ����� �� $�$������� math.hmath.h ��loglog) ��������� ��� ��� 0$� � ��%������1!) ��������� ��� ��� 0$� � ��%������1! ��log10log10) ��������� �� $� � ��!) ��������� �� $� � ��! ��-� ����� . ��%�� �� ��%� -� ����� . ��%�� �� ��%� ���� ����/ ����%������� / ����%������� log(valor); log10(valor); log2_10 = log(10)/log(2); log(valor); log10(valor); log2_10 = log(10)/log(2); ��-� ����� . ��%�� �� ��%� -� ����� . ��%�� �� ��%� ���� ����/ ����%������� / ����%������� �� ��%� �� ��� �����!�� ��%� �� ��� �����! -��2 3 ������-��2 3 ������-��2 3 ������-��2 3 ������ ��sqrtsqrt) ���2 3 ������ 0 3 ��� ����1!) ���2 3 ������ 0 3 ��� ����1! ��-� ����� . ��%�� �� ��%� -� ����� . ��%�� �� ��%� ���� ����/ ����%������� / ����%������� �� ��%� �� ��� �����! �� ��%� �� ��� �����! ���� ����� �� $�$������� �� ����� �� $�$������� math.hmath.h sqrt(número);sqrt(número); ,� math.hmath.h � ���� 4�������.����� � ���� 4�������.����� � ���� 4�������.����� � ���� 4�������.����� ���� ����� �� $�$������� �� ����� �� $�$������� math.hmath.h ��sinsin) ��� �� � 5�� ��!) ��� �� � 5�� ��! ��coscos) �� ��� �� � 5�� ��!) �� ��� �� � 5�� ��! ��tantan) �������� �� � 5�� ��!) �������� �� � 5�� ��! sin(angulo); cos(angulo); tan(angulo); sin(angulo); cos(angulo); tan(angulo); ��tantan) �������� �� � 5�� ��!) �������� �� � 5�� ��! � ���� 4�������.����� � ���� 4�������.����� � ���� 4�������.����� � ���� 4�������.����� ���� ����� �� $�$������� �� ����� �� $�$������� math.hmath.h ��asinasin) ����) ������ ��� �� � '����! ��� �� � '����! ��acosacos) ����) �������� ��� �� � '����!�� ��� �� � '����! ��atanatan) ����) �������������� �� � '����!�������� �� � '����! asin(valor); acos(valor); atan(valor); asin(valor); acos(valor); atan(valor); ��atanatan) ����) �������������� �� � '����!�������� �� � '����! � ���� 4�������.����� 6�%��$7���� � ���� 4�������.����� 6�%��$7���� � ���� 4�������.����� 6�%��$7���� � ���� 4�������.����� 6�%��$7���� ���� ����� �� $�$������� �� ����� �� $�$������� math.hmath.h ��sinhsinh) ��� 8�%��$7���� �� � '����!) ��� 8�%��$7���� �� � '����! ��coshcosh) �� ��� 8�%��$7���� �� � '����!) �� ��� 8�%��$7���� �� � '����! ��tanhtanh) �������� 8�%��$7���� �� � '����!) �������� 8�%��$7���� �� � '����! ,9 sinh(valor); cosh(valor); tanh(valor); sinh(valor); cosh(valor); tanh(valor); ��tanhtanh) �������� 8�%��$7���� �� � '����!) �������� 8�%��$7���� �� � '����! �������������������������������������������������������� ��roundround) ��������� %��� � ������� ��� %�7:���!) ��������� %��� � ������� ��� %�7:���! ��ceilceil) ��������� %��� � ����� ������� ����� ) ��������� %��� � ����� ������� ����� 3 � � �+����!3 � � �+����! ,; ��floorfloor) ��������� %��� � ����� ������� ����� ) ��������� %��� � ����� ������� ����� 3 � � �+����!3 � � �+����! ��-� ����� . ��%�� �� ��%� -� ����� . ��%�� �� ��%� ���� ����!! &������ �+���� �����7��� &������ �+���� �����7��� &������ �+���� �����7��� &������ �+���� �����7��� ������ ����� �+���� �����7��� / %������� ����� �+���� �����7��� / %����� � ����2�� � � ����2�� � ���� ���� srand()srand() � � rand()rand()/ �� ����� �� $�$������� / �� ����� �� $�$������� stdlib.hstdlib.h!! �� � ��(� � ��(� randrand ���� � �+���� �����7��� ���� � �+���� �����7��� ����� 2��� � ����� 2��� � -�<�=��>-�<�=��>/ �� ����� �� %�7%��� ��3 �'� / �� ����� �� %�7%��� ��3 �'� stdlib.hstdlib.h!! srand(valor inteiro); rand(); srand(valor inteiro); rand(); �� � ��(� � ��(� srandsrand � %��� ��� � '���� ������� 0� %��� ��� � '���� ������� 0 ������ ������1 �� 1 �� ������� �� �+���� �����7��� !������� �� �+���� �����7��� ! &������ �+���� �����7��� &������ �+���� �����7��� &������ �+���� �����7��� &������ �+���� �����7��� ������ ����� �+���� �����7��� ����� ���� ����� �+���� �����7��� ����� �� � � <<����/ $� �� / $� �� �$��� � �� �� �� ��'� (� �� �� ����� �� �$��� � �� �� �� ��'� (� �� �� ����� �� rand()rand() %�� %�� <<!! ������ ����� ���� ����� �� ������ �3?@���� �� �+���� �� ������ �3?@���� �� �+���� � ���� � ���� �:�� �(� �� %�������/ %����:�� �(� �� %�������/ %����� � ����2�� � 8��� �� � ����2�� � 8��� �� � ���� ���� ������! � ���� ���� ������! srand(time(NULL)); num_aleat = rand() % 101; srand(time(NULL)); num_aleat = rand() % 101; ,, �� � 8��� �� � ���� . �$���� %��� ��(� � 8��� �� � ���� . �$���� %��� ��(� time()time() 0�� ����� �� $�$������� 0�� ����� �� $�$������� time.htime.h1!1! &������ �+���� �����7��� &������ �+���� �����7��� )) ����� ���� �������������)) ����� ���� ������������� &������ �+���� �����7��� &������ �+���� �����7��� )) ����� ���� �������������)) ����� ���� ������������� � %��8������� %��8������ 0 ������ %���10 ������ %���1 6� �������6� ������� � :���� �� ������(� �� � :���� �� ������(� �� ����@���� ����@���� ! ���� ! ���� %�� �� �+���� �� �3?@���� �����7��� %�� �� �+���� �� �3?@���� �����7��� ���� �� ���������� �� ��� ���! ���� �� ���������� �� ��� ���! � :���� �� '��� ����(� �� � :���� �� '��� ����(� �� $������������/ �� �� �������� $������������/ �� �� �������� �� �����(� �� �+���� !�� �����(� �� �+���� ! A � ��� A � ��� A � ��� A � ���