Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <climits>
- #define e 2.7182818284590452353602874713527
- using namespace std;
- double Sinh(double);
- int main()
- {
- double radians;
- cin >> radians;
- cout << fixed;
- cout << Sinh(radians) << endl;
- }
- double Sinh(double number)
- {
- double sinh = 0;
- sinh = (pow(e,number)-(1/pow(e,number)))/2;
- return sinh;
- }
- /*
- ------------------------------------------------------------------------------------------------------------------------------------
- ------------------------------------------------------------------------------------------------------------------------------------
- Calculus II Math Exercise - Hyperbolic Sine
- ------------------------------------------------------------------------------------------------------------------------------------
- ------------------------------------------------------------------------------------------------------------------------------------
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement