blob: 0137924c2e5c6420787ee4f2fce368f340136a81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
pathname=get_absolute_file_path('2_1_soln.sce')
filename=pathname+filesep()+'2_1_data.sci'
exec(filename)
// Solutions:
// we know acceleration due to gravity,
g=32.2; //ft/s^2
W=(m*g);
// Results:
printf("\n Results: ")
printf("\n The weight of Body is %.0f lb.",W)
|