Hey, I am sorry but I am new to this and I am not sure how to proceed. I recently started only writing some simple programs and I've got a problem I can't tackle with just reading the website.
So I have this string of code.
I have a Convergence and Conversion angles calculated and they are correct if my calculator is in Degrees mode, wrong is mode is in radians. (all understandable)
Then I have a formula which is meant to be used via radians (haversin), thus I convert my inputs via X*3.14(it's pie, but i edited out as was unable to copy normally)/180 to get value in radians. All is well, but output for great circle track comes out valid only my calculator is in Radian mode again. Is it possible to "force" for this specific formula (the long one) to use radians for my inputs and for the rest degrees?
Lbl C
Disp "LatAdec"
Input A
Disp "LonAdec"
Input C
Disp "LatBdec"
Input B
Disp "LonBdec"
Input D
Disp "CHGLat"
Input E
Disp "CHGLong"
Input F
Disp "MeanLAT"
Input G
sin(G)*F0->M
(F*60)*cos((A+B/2)->L
M*0.5->N
2*3440sin-1(square root(sin(.5*((E*3.14)/180))^2+cos((A*3.14)/180)cos((B*3.14)/180)sin(.5((F*3.14)/180))^2))->R
ClrHome
Output(1,1,"Departure")
Output(1,12,round(L,2)
Output(2,1,"Convergenc")
Output(2,12,round(M,2)
Output(3,1,"Conversion")
Output(3,12,round(N,2)
Output(4,1,"GCT NM")
Output(4,9,round(R,2)
Float
Stop
Can't post a picture as I am new with the exact code, but it should be understandable.
Thank you.