How do I can this formula in delphi . elogantion = P*L / A*E?
- BeatmasterLv 41 decade agoFavorite Answer
Assuming you have declared all the variables in your equation, you can put this code in a procedure or function:
elongation := P * L / A * E;
- Anonymous1 decade ago
if you want to have the formula as a function, declare a function like this:
function elog(P,L,A,E: float):float;
Now ou can use it like this: