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.

1030 correct solutions
1823 incorrect solutions

Last solution submitted on Jul 26, 2016

2 players like 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.

3 Comments