Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A cylindrical tank is used to store petrol. The weight of the tank W is 6 0 0 0 kN . When subjected to an
A cylindrical tank is used to store petrol. The weight of the tank W is kN When subjected to an earthquake the horizontal inertial force H produced by the earthquake may be calculated as follows: H W g awhere g is the gravitational acceleration constant equal to g ms and a is the maximum horizontal acceleration of the earthquake ground motion. During an earthquake the frictional force F at the base of the tank keeps it from sliding. The coefficient of friction between the tank and the base support is normally distributed with a mean of and a coefficient of variation of Assume the coefficient of friction and horizontal ground acceleration are statistically independent. During an earthquake the maximum horizontal ground acceleration is also a random variable.The program calculates the maximum horizontal acceleration by sampling values between g and g from a uniform distribution.ORIGINAL CODE:# In this simulation the library numpy is used and it is named it np# We will also use the math library and we will name it mathimport numpy as npimport math as math# The seed below initializes the random generator to always obtain the same result.# DO NOT CHANGE THIS VALUE AND RERUN THIS CELL EVERYTIME YOU RUN THE PROGRAM.nprandom.seed# Variables are defined in this cellW # Weight of the Tank in kNg # Gravitational constantmeanCoF # Mean of the coefficient of frictionstdCoF # Standard deviation of the coefficient of frictionCoF # Empty list to store coefficients of frictionAcc # Empty list to store accelerationH # Empty list to store earthquake forceF # Empty list to store resitance forcenSlide # Counter of failurespSlide # Probability of failure# Monte Carlo simulationnsim # Number of simulationfor i in rangensim:# Calculate earthquake forcesAccappend nprandom.random gHappendW Acci g# Calculate tank resistance force F CoF WCoFappendnprandom.normalmeanCoF stdCoFFappendW CoFi# Check for failureif Hi Fi:nSlide nSlide # Calculate the probability of the tank sliding during an earthquakepSlide nSlide nsimprintThe probability of the tank sliding during an Earthquake is pSlide Determine the value of C Provide your order as in terms of g Round to decimal places.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started