blob: 1016526b68dcb8f44fa9b672046a75d924916ed8 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 11_8
clc();
clear;
//To findout how much longer is at 35 degrees
alpha=10*10^-6 //Units in Centigrade
dist=20 //Unis in meters
t=50 //Units in centigrade
L=alpha*dist*t //Units in meters
printf("The slab is longer by=%.3f meters",L)
|