Answer the question
In order to leave comments, you need to log in
What is wrong in the program?
a=Edit1->Text;
b=Edit2->Text;
StrToInt(A);
StrToInt(B);
StrToInt(C); */
double m=StrToInt(a);
double n=StrToInt(b);
double o=StrToInt(Edit4->Text);
double sina=sin(o*PI/180);
double sinb=n/(m/sina);
B=asin(sinb);
Edit6->Text = sina;
Edit5->Text = B;
the problem is that in edit 5 degrees should be displayed, and, apparently, a sine is displayed. this is part of a program that solves triangles, you can offer your solution how to find this angle. a,b,c - triangle sides, ABC angles. the formula for finding the angle sin(b)=b/(a/(sin(a))) b=asin(b)
edit 1 2 3 4 5 6 is abc ABC respectively
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question