Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Engineering Mechanics :

Experiential learning project


Aryan Anand
PES1202202044

2/6

Ans :
import math
f1=int(input("Enter value of F1 "))
angle=int(input("Enter the angle which force F1 makes with the horizontal in degrees "))
angle=math.radians(angle)
f2=int(input("Enter the value of F2 "))
heta=((f1*math.cos(angle))/f2)
heta=math.acos(heta)
heta=math.degrees(heta)
fy=(-(f1*(math.sin(angle)))-(f2*(math.sin(math.radians(heta)))))
print(f1*(math.sin(angle))*(-1))
print(f2*(math.sin(heta)))
print("The angle made by the resultant on vertical = ",heta," degrees ")
print("The resultant is = ",fy," N")

2/66

 
Ans :

import math
w=int(input("Enter weight of the door in kgs "))
l=int(input("Enter the length of the door in mms "))
h=int(input("Enter the height of the door in mms "))
m=(l*0.5*0.001)*w*9.81
print("The couple formed is ",m," N.m CW")

2/79:


Ans:
import math
f1=int(input("Enter the value of F1 "))
a1=math.radians(int(input("Enter the angle F1 makes with +ve Y-Axis ")))
f2=int(input("Enter the value of F2 "))
a2=math.radians(int(input("Enter the angle F2 makes with -ve Y-Axis ")))
f3=int(input("Enter the value of F3 which is aligned with -ve Y-Axis "))
rx=(f1*math.sin(a1))+(f2*math.sin(a2))
ry=(f1*math.cos(a1))-(f2*math.cos(a2))-f3
r=(rx**2)+(ry**2)
r=math.sqrt(r)
print("The resultant = ",r,"kN")
theta=math.degrees(math.atan((ry/rx)))
print("And the Angle it makes with X-Axis = ",theta," degrees")

3/3:

 

 
Ans:

import math
wb=int(input("Enter the weight of the wooden board in kgs "))
b=float(input("Enter hte length from point B to the end of the board in ms "))
ab=float(input("Enter the length from point A to B in ms "))
a=float(input('Enter the length from point A to the other end of the board '))
df=(wb*9.81*(((a+b+ab)/2)-(b)))/(ab)
print("The downward force experienced by the man is = ",df," N")

5/104 :

 

 
Ans:

import math
a=float(input("Enter the length from point A to the other end in ms "))
ab=float(input("Enter the length from point A to point B in ms "))
b=float(input("Enter the length from point B to the other end in ms "))
knm=float(input("Enter the force applied per metre in kN/ms"))
by=((0.5*a*knm*(1/3*a))-((knm*ab)*(ab/2))-(0.5*knm*b*(1/3*b+1.5)))/(-ab)
ay=by-(0.5*knm*a)-(knm*ab)-(0.5*knm*b)
ay=-ay
print("The reaction at A",ay," N")
print("The reaction at B",by," N")

5/53:

 

Ans:
import math
r=int(input("Enter the radius of the circle (in place of '74mm' ) in mms "))
sq=int(input("Enter the side of the supposed square (in place of '32mm' ) in mms"))
pie=math.pi
y=pie*(r*r*4*r/(6*pie))
y=y-(64*sq*sq/2)
y=y/((pie*r*r/2)-(64*sq))
print("The Y co-ordinate = ",y," units")

You might also like