Programación General > C/C++
Calculadora funciones seno, coseno, tangente!
(1/1)
gabyru19:
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 ---
m0skit0:
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:
--- Código: Text ---cmath (math.h) headerC numerics library cmath declares a set of functions to compute common mathematical operations and transformations: Trigonometric functions: cos Compute cosine (function)sin Compute sine (function)tan Compute tangent (function)acos Compute arc cosine (function)asin Compute arc sine (function)atan Compute arc tangent (function)atan2 Compute arc tangent with two parameters (function) Hyperbolic functions:cosh Compute hyperbolic cosine (function)sinh Compute hyperbolic sine (function)tanh Compute hyperbolic tangent (function) Exponential and logarithmic functions:exp Compute exponential function (function)frexp Get significand and exponent (function)ldexp Generate number from significand and exponent (function)log Compute natural logarithm (function)log10 Compute common logarithm (function)modf Break into fractional and integral parts (function) Power functionspow Raise to power (function)sqrt Compute square root (function) Rounding, absolute value and remainder functions:ceil Round up value (function)fabs Compute absolute value (function)floor Round down value (function)fmod Compute remainder of division (function)
Navegación
Ir a la versión completa