Law of Conservation of Energy Problems with Solutions

Problem 1:

An intrepid physics student decides to try bungee jumping. She obtains a cord that is h=12 m long and has a spring constant of K=3.00 * 10^2 N/m. When fully suited, she has a mass of m=69 kg. She looks for a bridge to which she can tie the cord and step off. Determine the minimum height of the bridge L, that will allow her to stay dry (that is, so that she stops just before hitting the water below). Assume air resistance that is negligible.

law-conservation-of-energy-problem Continue reading

Sample Projects in C#: Consecutive Numbers in Gray Code Sequence

Consecutive Numbers in Gray Code Sequence

  • The reflected binary code (RBC), also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only one bit (binary digit). The reflected binary code was originally designed to prevent spurious output from electromechanical switches. Today, Gray codes are widely used to facilitate error correction in digital communications such as digital terrestrial television and some cable TV systems. (, 2002)

Continue reading

GLSL Shader Examples: Blue Color Screen


Create a shader which fills the screen with blue color. For the space occupied by right half of screen, introduce a vertical green bar located in the middle of it, with its width being equal to one-third of it. This should result in right half of screen being divided into three equal parts (blue-green-blue). As for the left half of screen, introduce a pair of vertical red bars, with width of each being equal to one-fourth of it, resulting in left half of screen being divided into four equal parts (blue-red-blue-red). Continue reading

IT Sample: Constructing a Frequency Distribution


Construct a frequency distribution with suitable class interval size of marks obtained by 50 students of a class are given below:

22, 51, 34, 39, 68, 69, 9, 37, 16, 48, 36, 27, 55, 59, 60, 59, 74, 80, 19, 29, 31, 69, 62, 60, 28, 67, 51, 73, 17, 24, 44, 45, 51, 66, 68, 72, 74, 41, 57, 41, 67, 51, 53, 23, 58, 34, 39, 48, 36, 79


Arrange the marks in ascending order as Continue reading

C# Programming Code Examples: Finding a Palindrome

In this guide I will show you how to create a program on Windows Forms which will help us to determine if the symbols that we input constitute a palindrome.

Let’s create a simple user interface:


Here we have a TextBox, Label, and Button. The message with the result of checking will be shown using MessageBox.

Double click the button “Check it” and go to the part of the code where we will perform the checking. Continue reading