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
2023-4-11
I think you probably want to ask "Why does the hyperbolic trigonometric identity
behave anomalously?" Especially when
...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1351954/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1351959/image.png)
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 Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!