Finding the value of the below curve

3 Ansichten (letzte 30 Tage)
Amy Topaz
Amy Topaz am 14 Apr. 2022
Beantwortet: Sam Chak am 14 Apr. 2022
How to find the maximum value of the below curve:
z1 = [0.00008 0.009]';
a11 = -4:0.001:4;
k1 = (atan(((0.01/2 + a11)./z1) + atan((0.01/2 - a11)./z1)));
plot(a11,k1(1,:),'-k',a11,k1(2,:),'-r')

Antworten (1)

Sam Chak
Sam Chak am 14 Apr. 2022
Since the curves are arctangent functions, the max values can be found at the boundary, in this case, that is a11 = 4.
It is important to know that the limit at infinity of the arctangent function is .
max_idx = length(a11)
k11_max = k1(1,:)(max_idx)
k12_max = k1(2,:)(max_idx)
k11_max = 1.5708
k12_max = 1.5685

Community Treasure Hunt

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

Start Hunting!

Translated by