diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2063/CH7/EX7.1/7_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2063/CH7/EX7.1/7_1.sce')
-rwxr-xr-x | 2063/CH7/EX7.1/7_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2063/CH7/EX7.1/7_1.sce b/2063/CH7/EX7.1/7_1.sce new file mode 100755 index 000000000..3fc4eec73 --- /dev/null +++ b/2063/CH7/EX7.1/7_1.sce @@ -0,0 +1,15 @@ +clc
+clear
+//Input data
+N=1500;//Engine speed in rpm
+p=110;//Load on brakes in kg
+L=900;//Length of brake arm in mm
+g=9.81;//Gravitational force in N/m^2
+pi=3.14;//Mathematical constant
+
+//Calculations
+T=((p*g)*(L/1000));//Braking torque in Nm
+P=((T/1000)*((2*3.14*N)/60));//Power available at the brakes of the engine in kW
+
+//Output
+printf('(a) Brake torque is %3.1f Nm \n (b)Power available at the brakes of the engine is %3.2f kW',T,P)
|