Clear Filters
Clear Filters

Compute The Following In Matlab: Y= Cosh^2(X) - Sinh^2(X) , X= 32* Pi

13 views (last 30 days)
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
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])

Sign in to comment.

Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!