blob: 17860f9e916cf92f8d513c60ecd93e48807603e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Chapter 1
//Example 1.2
//Page 23
clear;
clc;
p=2.1*10^3;
//Calculation of pressure in pascals
printf("As we know that 10^2 cm= 1m and 10^5 dyne=1 Newton \n Thus the value of pressure is %.f Pascals",(p*10000)/(100000));
|