Sei sulla pagina 1di 3

Problem A4

Script File

Write script file for the following problems.

1. A cube has a side of L cm.

a) Determine the radius of a sphere that has the same surface area as the cube.
b) Determine the radius of a sphere that has the same volume as the cube.

2. Calculate the bending moment of a simply supported beam at;


a) every L/N when it is fully loaded with a uniformly distributed load (q per unit length),
where L is the span and N is the number of divisions.
b) the loaded points when the beam is loaded by three concentrated loads.

3. Determine the bending moment at the;


a) loaded point for beam as shown in Figure (a), and
b) start and end points of the load for beam shown in Figure (b).

4. Determine the moment of inertia about the horizontal centroidal axis of the following sections .

Icircle =
5. Determine the hydraulic radius for following sections.
Hydraulic radius= X section area of water body/wetted perimeter

6. Determine the length of each side, the diagonals,


perimeter and area of the polygon where the
coordinates of the points are known.
Sab=√

A= 0.5[(x1y2 + x2y3 + x3y4 + x4y1) –


[(y1x2 + y2x3 + y3x4 + y4x1)]

7. (a) Calculate angle (in degrees) using Laws of


cosines
c2 = a2 + b2 – 2ab cos .

(b) Calculate the radius of the circle inscribed in


the triangle using the formula;
(i) r =  .


(ii) r =

8. If a ball is thrown with an initial velocity, u and


angle of elevation  write a program that
calculates the velocity, vertical and horizontal
distance at intervals of Txmax/10 seconds, where
Tsxmaxt is time taken for the ball to reach
maximum horizontal distance.

Sxmax = u2 sin2/ g, Tsxmax = 2 u sin/ g


Symax = u2 sin2/ 2g, Tsymax = u sin/ g
At time t, Sx = u cos t
At time t, Sy = u sin t - g t2 /2
At time t, v = √
9. A truss is a structure made of members Write the equations in matrix form and use
joined at their ends. For the truss shown MATLAB to determine the forces in the
in the figure, the forces in the nine members. A positive force means tensile force
members are determined by solving the and a negative force means compressive force.
following. Display the results in a table.
cos 45 F1 + F2 =0
-cos 45 F1 + F4 = 0
-sin 45 F1 – F3 = 0
-F4 – cos 48.81F5 + F8 = 0
-sin48.81 F5 – F7 = 20
-F6 + cos 48.81 F9 = 0
F7 + sin 48.81 F9 = 160
-F8 – cos 48.81 F9 = 0
Truss9members
-sin 48.81 F9 = 60

Potrebbero piacerti anche