+ 1

I need a programe to calculate slip gauges required to measure the dimension... About mechanical engineering... Plz help me

Mechanical engineering

8th Aug 2017, 6:16 PM
Lalit Patil
Lalit Patil - avatar
7 Respostas
+ 4
Improved version (responsive interactivity + protected slips handling): https://code.sololearn.com/WS83JkzkejN2/?ref=app
13th Aug 2017, 8:42 AM
visph
visph - avatar
+ 6
/* I cannot understand what's your purpose... do you could be more descriptive? Anyway, maybe do you expect this kind of result: */ var n = Number(prompt(" Enter a natural number : ")); var a = n; var b = [a-Math.floor(a)]; a = a - b[0]; var i = 0; while (a) { b.unshift((a%10)*Math.pow(10,i)); i++; a = Math.floor(a/10); } document.write('<strong>'+n+'</strong> = '+b.join(' + '));
9th Aug 2017, 6:57 AM
visph
visph - avatar
+ 3
https://code.sololearn.com/WG1OTRN7Ay6o/?ref=app Need help to do decimal calculation and only one slip gauge is use to calculate length
8th Aug 2017, 7:02 PM
Lalit Patil
Lalit Patil - avatar
+ 3
I've done an attempt, without really knowing what I was handled, so maybe that's not good: feel free to tell me if I've misunderstood something and/or made error(s) somewhere ;) https://code.sololearn.com/WJ7TvXznyfBE/#js I've let some debug lines commented (you can remove them, not directly needed), and just minimalistic code comments for format of object-array defining gauges specifications, but feel free also to ask for more indication if code is not enough understandable by itself ^^ [edit 1] If output is 'accuracy error', then the number cannot be compute with the related gauge :P [edit 2] m45 was quite simple to solve, as it use only 10 powers (decimal count is human logical), both other were a little less obvious to implement, but I think I've successed anyway \o/
13th Aug 2017, 5:26 AM
visph
visph - avatar
+ 3
Really very very thanks.... @visph
13th Aug 2017, 5:45 AM
Lalit Patil
Lalit Patil - avatar
+ 2
do you have some code as base for any help? otherwise it looks like we should just do work for you
8th Aug 2017, 6:21 PM
Martin Ed
Martin Ed - avatar
+ 2
Yes exact visph... That's my mean... Thank u so much... ☺️ ☺️ but need to improve it.... https://drive.google.com/file/d/0BzOSQfG7q10lRnBpakQ5cXpGbm8/view?usp=drivesdk Read it to know about slip gauges... There is a set to take value from it namely M45 M87 M112. One slip gauge is used only at one time don't repeat it. Minimum number of slip gauges is required.
12th Aug 2017, 7:50 PM
Lalit Patil
Lalit Patil - avatar