Compute The Following In Matlab: Y= Cosh^2(X) - Sinh^2(X) , X= 32* Pi
14 views (last 30 days)
Show older comments
Hello, I have the Equation
Y= Cosh^2(X) - Sinh^2(X) , X= 32* Pi
How can i solve it in MATLAB
2 Comments
Sam Chak
on 11 Apr 2023
I think you probably want to ask "Why does the hyperbolic trigonometric identity behave anomalously?" Especially when ...
x = 5*pi:0.00000001*pi:6*pi;
cosh2x = exp(-2*x)/4 + exp(2*x)/4 + 1/2;
sinh2x = exp(-2*x)/4 + exp(2*x)/4 - 1/2;
y = cosh2x - sinh2x;
subplot(211)
plot(x/pi, y), grid on, ylim([-0.5 2.5])
subplot(212)
plot(x/pi, y), grid on, ylim([-0.5 2.5]), xlim([5.957161 5.9571615])
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!