summaryrefslogtreecommitdiff
path: root/1627/CH3/EX3.1/Ex3_1.sce
blob: 0d52c073b8578d1a1ea2d7f129d17d141ec806b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//initialisation of variables
F=150//N
a1=25//m
A=(25)*(10^-6)//mm^2
a=100//mm^2
q=9.806//N/kgf
//CALCULATIONS
P=F/A//N/m^2
P1=F/((q)*A)//kgf/cm^2
F2=F*a/a1//N
F3=(F*a)/(q*a1)//kgf
//RESULTS
printf('The force on the larger piston in newtons and kilograms force is=% f kgf',F3)