summaryrefslogtreecommitdiff
path: root/3718/CH1/EX1.5/Ex1_5.sce
blob: 4ce8616b1bb03dbcb34ebb85f83f270586557bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 1: Structure and Bonding
//Problem: 5
clc;

//Declaration of Constant
h = 6.626 * 10 ** -34           // Plank's constant,in J.sec

//Declaration of Variables
m = 10 * 10 ** -3               // Mass of the ball,in kg
v = 10 ** 5                     // Velocity of ball,in cm / sec

// Solution
lamda = (h * 10 ** 7) / (m * v)
mprintf("The Wavelength of iron ball is %.2e cm",lamda)