summaryrefslogtreecommitdiff
path: root/2063/CH7/EX7.1/7_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2063/CH7/EX7.1/7_1.sce')
-rwxr-xr-x2063/CH7/EX7.1/7_1.sce15
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)