I need a programe to calculate angel gauges required to measure unknown angel abt mechanical engg. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

I need a programe to calculate angel gauges required to measure unknown angel abt mechanical engg.

Need program

24th Aug 2017, 4:54 AM
Lalit Patil
Lalit Patil - avatar
2 Answers
+ 4
Standalone version (for implement in any context, argument of main function with an object from model: {d:Number,m:Number,s:Number} for DMS angle notation -- sample of basic use in code): https://code.sololearn.com/WW3Pbzg54G8x/?ref=app Implemented in same kind of responsive UI as the previous code about slip gauges: https://code.sololearn.com/WiESd48gH1a2/?ref=app v.1+ (+ for css prefixed version) handle UI with accepted values (in string format) for angle as decimal or DMS notation... accept only positive angles, and floating values in DMS only for last component... last unit can be ommited, as well as any components -- 0 -- and if no unit, degree is implicit. Obviously, angles are rounded to near seconds (fractions of minutes) multiple of 3, as it's angle gauges set accuracy ^^ Samples of valid values: 42 42.51° 42°51.32' 42°51 42°51'' 42°51'32" (also, seconds unit sign can be entered as double single quote as well as simple double quote)
26th Aug 2017, 12:35 PM
visph
visph - avatar