• Miércoles 24 de Abril de 2024, 01:32

Autor Tema:  Calculadora funciones seno, coseno, tangente!  (Leído 2060 veces)

gabyru19

  • Nuevo Miembro
  • *
  • Mensajes: 4
  • Nacionalidad: mx
    • Ver Perfil
Calculadora funciones seno, coseno, tangente!
« en: Miércoles 23 de Septiembre de 2009, 00:52 »
0
hola
estudio mi primer curso de programacion estrructurada!
necesito realizar una calculadora  :comp: , con funciones basicas y triginometricas, utilizando libreria math.. y tambien las sentencias if, if/else, while, do while, switch y break.. podrian guiarme un poco!!!  :D

garciasss
espero sus respuestassss  :hola:
Código: C
  1.  

m0skit0

  • Miembro de PLATA
  • *****
  • Mensajes: 2337
  • Nacionalidad: ma
    • Ver Perfil
    • http://fr33kk0mpu73r.blogspot.com/
Re: Calculadora funciones seno, coseno, tangente!
« Respuesta #1 en: Miércoles 23 de Septiembre de 2009, 10:00 »
0
Si pones algo de tu parte, encantados de ayudarte. Si no, como habrás podido leer en las normas del foro  :mellow: no se hace la tarea.

Luciano9

  • Miembro activo
  • **
  • Mensajes: 25
    • Ver Perfil
Re: Calculadora funciones seno, coseno, tangente!
« Respuesta #2 en: Sábado 26 de Septiembre de 2009, 19:01 »
0
Código: Text
  1. cmath (math.h)  header
  2. C numerics library
  3.  
  4. cmath declares a set of functions to compute common mathematical operations and transformations:
  5.  
  6. Trigonometric functions:
  7.  
  8. cos  Compute cosine (function)
  9. sin  Compute sine (function)
  10. tan  Compute tangent (function)
  11. acos     Compute arc cosine (function)
  12. asin     Compute arc sine (function)
  13. atan     Compute arc tangent (function)
  14. atan2    Compute arc tangent with two parameters (function)
  15.  
  16.  
  17. Hyperbolic functions:
  18. cosh     Compute hyperbolic cosine (function)
  19. sinh     Compute hyperbolic sine (function)
  20. tanh     Compute hyperbolic tangent (function)
  21.  
  22.  
  23. Exponential and logarithmic functions:
  24. exp  Compute exponential function (function)
  25. frexp    Get significand and exponent (function)
  26. ldexp    Generate number from significand and exponent (function)
  27. log  Compute natural logarithm (function)
  28. log10    Compute common logarithm (function)
  29. modf     Break into fractional and integral parts (function)
  30.  
  31.  
  32. Power functions
  33. pow  Raise to power (function)
  34. sqrt     Compute square root (function)
  35.  
  36.  
  37. Rounding, absolute value and remainder functions:
  38. ceil     Round up value (function)
  39. fabs     Compute absolute value (function)
  40. floor    Round down value (function)
  41. fmod     Compute remainder of division (function)
  42.