May 2021

Two Players Tic-Tac-Toe Game Only in 95 Lines of Python Code, using Tkinter

Hi, I started to write this code with the help of John Elder from comedy.com. I have shortened the code to only 95 lines. The program uses the Tkinter library. Also Read: Tic-Tac-Toe Game using classes in Python – only in 77 lines of Code Create 2D Space Invader Game using Python from tkinter import […]

Two Players Tic-Tac-Toe Game Only in 95 Lines of Python Code, using Tkinter Read More »

Troubleshooting Pywin32 Installation Errors

Hi there, I recently encountered some challenges while trying to install pywin32 in my PyCharm virtual environment. I used the command pip install pywin32, but unfortunately, I received the following error messages: ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none) ERROR: No matching distribution found for pywin32 To help

Troubleshooting Pywin32 Installation Errors Read More »

Solution | Q.29, Civil GATE 2021, Set1 | Wedge M and Block N Subjected to forces P and Q.

Problem Statement: A wedge M and a block N are subjected to forces P and Q as shown in the figure. If force P is sufficiently large, then the block N can be raised. The weights of the wedge and the block are negligible compared to the forces P and Q. The coefficient of friction

Solution | Q.29, Civil GATE 2021, Set1 | Wedge M and Block N Subjected to forces P and Q. Read More »

Solution – Civil GATE 2021, Set1, Q.28– Concentration of Total Volatile Solids in Industrial Wastewater

Problem Statement: A 50 mL sample of industrial wastewater is taken into a silica crucible. The empty weight of the crucible is 54.352 g. The crucible with the sample is dried in a hot air oven at 104 °C till a constant weight of 55.129 g. Thereafter, the crucible with the dried sample is fired

Solution – Civil GATE 2021, Set1, Q.28– Concentration of Total Volatile Solids in Industrial Wastewater Read More »

Solved – Civil GATE 2021, Set1, Q.27 – The Value of ∫𝒆x𝒅𝒙 using the Trapezoidal Rule

Problem Statement: The value of 01∫𝒆𝒙𝒅𝒙 using the trapezoidal rule with four equal subintervals is____ Solution: (B) Also Check: Solution of GATE 2021, CE, Set1 (Q.1 to Q.100) The equal interval, dx = (b-a)/n = (1 – 0)/4 = 0.25 Area using the Trapezoidal Rule, A = dx/2 *[f(x0) + 2f(x1) + 2f(x2) + … + 2f(xn-1) +

Solved – Civil GATE 2021, Set1, Q.27 – The Value of ∫𝒆x𝒅𝒙 using the Trapezoidal Rule Read More »

Solved – Civil GATE 2021, Set1, Q.25 – Webster’s Method for Optimum Cycle Length in A Signalised Two Phase Intersection

Problem Statement: A signalized intersection operates in two phases. The lost time is 3 seconds per phase. The maximum ratios of approach flow to saturation flow for the twophases are 0.37 and 0.40. The optimum cycle length using the Webster’smethod (in seconds, round off to one decimal place) is ______ Solution: (ans: 60.9 seconds) As per Webster’s

Solved – Civil GATE 2021, Set1, Q.25 – Webster’s Method for Optimum Cycle Length in A Signalised Two Phase Intersection Read More »

Solution of Q.23, GATE 2021 CE, Set 1, Maximum depth of Unsupported Excavation in the Soil

Q.23 Civil GATE 2021, Set1 The cohesion (c), angle of internal friction (φ) and unit weight (γ) of a soil are 15 kPa, 20° and 17.5 kN/m3, respectively. The maximum depth of unsupported excavation in the soil (in m, round off to two decimal places) is—- Solution: The active earth pressure in c-φ soil is given

Solution of Q.23, GATE 2021 CE, Set 1, Maximum depth of Unsupported Excavation in the Soil Read More »

GATE 2021 CE, Set 1, Solution of Q.22. A truss EFGH is shown in the figure

Q.22 (GATE 2021, CE, Set1) A truss EFGH is shown in the figure, in which all the members have the same axial rigidity R. In the figure, P is the magnitude of external horizontal forces acting at joints F and G. If R = 500×103 kN, P = 150 kN and L = 3 m, the magnitude of the horizontal displacement of joint G (in

GATE 2021 CE, Set 1, Solution of Q.22. A truss EFGH is shown in the figure Read More »

Book Solution Manual – [Prob 14-5, Structural Analysis by R C Hibbeler] – Determine the Stiffness Matrix K for the truss. A = 0.0015 m2 and E = 200 GPa.

Problem Statement: Determine the Stiffness Matrix K for the truss. Take A = 0.0015 m2 and E = 200 GPa for each member. Reference: Problem 14-5, Chapter – 14 Truss Analysis using the Stiffness Method, Book – Structural Analysis by R C Hibbeler. Solution: Known Loads, along initial 6 dofs, Qk =[[ 0.][-40.][ 0.][ 0.][

Book Solution Manual – [Prob 14-5, Structural Analysis by R C Hibbeler] – Determine the Stiffness Matrix K for the truss. A = 0.0015 m2 and E = 200 GPa. Read More »

PHP Code Snippets Powered By : XYZScripts.com