MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply TodayWrite a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightning to hearing thunder. The speed of sound is 768 miles per hour at sea level; first define a variable with this value (good practice). Distance should be in miles.

996 correct solutions
1797 incorrect solutions

Last solution submitted on May 21, 2016

1 player likes this problem

1 Comment

Sebastian
on 8 Sep 2015

I guess this is also the "Leading Solution" on all the other problems? I have to admit that it's quite tricky. But I also think that it should either be correctly handled by the size calculator, or better be invalidated completely for the game.

2 Comments