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 /2084/CH8 | |
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 '2084/CH8')
-rwxr-xr-x | 2084/CH8/EX8.1/8_1.sce | 14 | ||||
-rwxr-xr-x | 2084/CH8/EX8.11w/8_11w.sce | 20 | ||||
-rwxr-xr-x | 2084/CH8/EX8.12w/8_12w.sce | 17 | ||||
-rwxr-xr-x | 2084/CH8/EX8.1w/8_1w.sce | 16 | ||||
-rwxr-xr-x | 2084/CH8/EX8.2/8_2.sce | 17 | ||||
-rwxr-xr-x | 2084/CH8/EX8.2w/8_2w.sce | 15 | ||||
-rwxr-xr-x | 2084/CH8/EX8.3w/8_3w.sce | 23 | ||||
-rwxr-xr-x | 2084/CH8/EX8.4w/8_4w.sce | 17 | ||||
-rwxr-xr-x | 2084/CH8/EX8.5/8_5.sce | 18 |
9 files changed, 157 insertions, 0 deletions
diff --git a/2084/CH8/EX8.1/8_1.sce b/2084/CH8/EX8.1/8_1.sce new file mode 100755 index 000000000..9207760be --- /dev/null +++ b/2084/CH8/EX8.1/8_1.sce @@ -0,0 +1,14 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.1
+//calculation of the work done by the spring force
+
+//given data
+k=50//spring constant(in N/m) of the spring
+x=1*10^-2//compression(in m) from natural position
+
+//calculation
+W=(k*x*x)/2//work done in compressing a spring
+
+printf('the work done by the spring force is %3.1e J',W)
diff --git a/2084/CH8/EX8.11w/8_11w.sce b/2084/CH8/EX8.11w/8_11w.sce new file mode 100755 index 000000000..03d941c3b --- /dev/null +++ b/2084/CH8/EX8.11w/8_11w.sce @@ -0,0 +1,20 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.11w
+//calculation of the speed of the particle at a given point
+
+//given data
+hA=1//height(in m) of point A
+hB=.5//height(in m) of point B
+g=10//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+//potential energies at point A and B are
+//UA = M*g*hA
+//UB = M*g*hB..............(1)
+//principle of conservation of energy
+//UA + KA = UB + KB........(2)
+vB=sqrt(2*g*(hA-hB))
+
+printf('the speed of the particle at a B point is %3.2f m/s',vB)
diff --git a/2084/CH8/EX8.12w/8_12w.sce b/2084/CH8/EX8.12w/8_12w.sce new file mode 100755 index 000000000..777613b17 --- /dev/null +++ b/2084/CH8/EX8.12w/8_12w.sce @@ -0,0 +1,17 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.12w
+//calculation of the maximum compression of the spring
+
+//given data
+k=400//spring constant(in N/m)
+m=40*10^-3//mass(in kg)
+h=4.9//height(in m)
+g=9.8//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+//m*g*h = (k*x*x/2)
+x=sqrt((2*m*g*h)/k)
+
+printf('the maximum compression of the spring is %3.3f m or %3.1f cm',x,x*10^2)
diff --git a/2084/CH8/EX8.1w/8_1w.sce b/2084/CH8/EX8.1w/8_1w.sce new file mode 100755 index 000000000..d7515c16d --- /dev/null +++ b/2084/CH8/EX8.1w/8_1w.sce @@ -0,0 +1,16 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.1w
+//calculation of the work done by the porter on the suitcase
+
+//given data
+m=20//mass(in kg) of suitcase
+h=2//height(in m) above the platform
+g=9.8//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+W=-m*g*h//work done by gravity
+//the work done by the porter = negative of the work done by gravity
+
+printf('the work done by the porter on the suitcase is %d J',-W)
diff --git a/2084/CH8/EX8.2/8_2.sce b/2084/CH8/EX8.2/8_2.sce new file mode 100755 index 000000000..0698dbd53 --- /dev/null +++ b/2084/CH8/EX8.2/8_2.sce @@ -0,0 +1,17 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.2
+//calculation of the work done by force of gravity
+
+//given data
+m=20*10^-3//mass(in kg) of the particle
+u=10//speed(in m/s) of the particle
+g=9.8//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+//from equation of motion.....(v*v)=(u*u)-(2*g*h)......take v=0 we get
+h=(u*u)/(2*g)
+W=-m*g*h//law of conservation of energy
+
+printf('the work done by force by gravity is %3.1f J',W)
diff --git a/2084/CH8/EX8.2w/8_2w.sce b/2084/CH8/EX8.2w/8_2w.sce new file mode 100755 index 000000000..48dc3caf6 --- /dev/null +++ b/2084/CH8/EX8.2w/8_2w.sce @@ -0,0 +1,15 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.2w
+//calculation of the value of minimum horsepower of the motor to be used
+
+//given data
+m=500//mass(in kg) of the elevator
+v=.20//velocity(in m/s) of the elevator
+g=9.8//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+P=m*g*v//power = force*velocity
+
+printf('the value of minimum horsepower of the motor to be used is %3.2f hp',P/746)
diff --git a/2084/CH8/EX8.3w/8_3w.sce b/2084/CH8/EX8.3w/8_3w.sce new file mode 100755 index 000000000..1ea2dbced --- /dev/null +++ b/2084/CH8/EX8.3w/8_3w.sce @@ -0,0 +1,23 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.3w
+//calculation of the power delivered by the pulling force and average power
+
+//given data
+m=2//mass(in kg)
+theta=30//angle(in degree)
+a=1//acceleration(in m/s^2) of the block
+t=4//time(in s)
+g=9.8//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+F=(m*g*sind(theta))+(m*a)//resolving the forces parallel to the incline
+v=a*t
+P=F*v//equation of power
+d=a*t*t/2//from equation of motion
+W=F*d
+pavg=W/t//average power delivered
+
+printf('the power delivered by the pulling force at t=4 s is %d W',P)
+printf('\nthe average power delivered by the pulling force between t=0 s to t=4 s is %3.1f W',pavg)
diff --git a/2084/CH8/EX8.4w/8_4w.sce b/2084/CH8/EX8.4w/8_4w.sce new file mode 100755 index 000000000..cf0a409b1 --- /dev/null +++ b/2084/CH8/EX8.4w/8_4w.sce @@ -0,0 +1,17 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.4w
+//calculation of the work done by the given force
+
+//given data
+function F=f(x)
+ F=(10+(.50*x))
+endfunction
+x1=0//initial position(in m) of the particle
+x2=2//final position(in m) of the particle
+
+//calculation
+W=integrate('f','x',x1,x2)//work done
+
+printf('the work done by the given force for the given displacement is %d J',W)
diff --git a/2084/CH8/EX8.5/8_5.sce b/2084/CH8/EX8.5/8_5.sce new file mode 100755 index 000000000..d1bfe2189 --- /dev/null +++ b/2084/CH8/EX8.5/8_5.sce @@ -0,0 +1,18 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 8.5
+//calculation of the speed of the pendulum of bob when it makes an angle of 60 degree with the vertical
+
+//given data
+v0=3//speed(in m/s)of the bob in its lowest position
+theta=60//angle(in degree)made by the pendulum with vertical
+l=.5//length(in m) of the pendulum
+g=10//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+//from the law of conservation of energy
+//(m*v0*v0/2) - (m*v1*v1/2) = m*g*l*(1-cosd(theta))
+v1=sqrt((v0*v0)-(2*g*l*(1-cosd(theta))))
+
+printf('the speed of the pendulum of bob when it makes an angle of 60 degree with the vertical is %d m/s',v1)
|