I want to solve the two expressions which are inside the for loop for o and p; and add their differenced sum of each iteration.
if true
end
if true
for i= 0:1:50
(sind(b+i) + sind(b-o)) -( 1.180/0.04 + sqrt.((1.140/0.04 - 2*sind(b)).^2 - (cosd(b-o)- cosd(b+i)).^2));
cotd(p-3.3) - cotd(i-1.0) - (1.180/(1.540 - 0.300));
subtotal = subtotal + (o - p).^2;
end
end
2 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/378252-implicit-equation-solution-inside-a-for-loop#comment_526960
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/378252-implicit-equation-solution-inside-a-for-loop#comment_526960
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/378252-implicit-equation-solution-inside-a-for-loop#comment_526962
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/378252-implicit-equation-solution-inside-a-for-loop#comment_526962
Sign in to comment.