- #1
SoggyBottoms
- 59
- 0
I have the following formulae that I found:
I have to plot these functions for values of D1 between 20 and 400 cm at a height of L = 160 cm. S and H are not given, so I'm not sure what to do with those.
To compare these functions I have to normalize them by multiplying them by a constant so that their values are all 1 at D1 = 20 cm. Then I have to plot them all in the same figure. Does anyone know how I could do this?
Code:
h[S_, H_, D1_] := (S*H)/D1;
α[L_, D1_] := ArcTan[L/D1];
b[S_, B_, D1_, L_] := (S*B)/((D1^2 + L^2)^0.5);
c[S_, B_, D1_, L_] :=
S*Tan[ArcCos[((D1 - B/2)^2 + (D1 + B/2)^2 + 2 L^2 - B^2)/(
2 Sqrt[(D1 - B/2)^2 + L^2] Sqrt[(D1 + B/2)^2 + L^2])]];
a = b*c;
I have to plot these functions for values of D1 between 20 and 400 cm at a height of L = 160 cm. S and H are not given, so I'm not sure what to do with those.
To compare these functions I have to normalize them by multiplying them by a constant so that their values are all 1 at D1 = 20 cm. Then I have to plot them all in the same figure. Does anyone know how I could do this?