JoKKeR
Full Member level 2
converting equations
Iv 2 equation to convert to get then working in c. I believe that i failed this step so il asking for help.
cos(180-Theta) = -(sin(lat)*cos(Phi)-sin(declin))/(cos(lat)*sin(Phi));
Need function to have only 1 variable at 1 side of equation. Example: Theta = ....
cos(Phi )= sin(lat)*sin(declin)+cos(lat)*cos(declin)*cos(ha);
Phi =....
Thank you !
Iv 2 equation to convert to get then working in c. I believe that i failed this step so il asking for help.
cos(180-Theta) = -(sin(lat)*cos(Phi)-sin(declin))/(cos(lat)*sin(Phi));
Need function to have only 1 variable at 1 side of equation. Example: Theta = ....
cos(Phi )= sin(lat)*sin(declin)+cos(lat)*cos(declin)*cos(ha);
Phi =....
Thank you !