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

13 次查看(过去 30 天)
Hello, I have the Equation
Y= Cosh^2(X) - Sinh^2(X) , X= 32* Pi
How can i solve it in MATLAB
  2 个评论
Sam Chak
Sam Chak 2023-4-11
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])

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by