Cad Assignment
Cad Assignment
Cad Assignment
3. How can differentiation and integration be done in Python. Explain with examples
Differentiation and integration can be done in Python through the use of Sympy library.
Examples:
Differentiation:
from sympy import symbols, diff
x,y=symbols(“x y”)
expr=5*x
print(diff(expr,x))
Output=5
Integration:
from sympy import symbols, diff
x,y=symbols(“x y”)
expr=5*x
print(diff(expr,x))
Output=5*x2/2
c. Polynomials
import numpy as np
coeff=[1,-6,11,-6]
print(np.roots(coeff))
output:[3,2,1]
7. Write about three functions of Python that are used for interpolation with syntax and
example
8. List any five FEM based structural analysis software. List & explain the types of
Dynamic analysis that can be performed by present day FEM analysis software.
Five FEM based structural analysis software
Ansys
Abaqus
Simulation
Adina
Opensees
Type of dynamic analysis that can be performed by present FEM analysis software
Linear Static Analysis: It is the analysis where a linear relation holds between the
applied load and displacement. It is applicable to structures where stress remain in
the elastic range of the used material. The models stiffness matrix is constant.
Linear Dynamic Analysis:.
Non-Linear Static Analysis: It is the analysis where a non- linear relation holds
between the applied load and displacement
Non-Linear Dynamic Analysis
9. Explain element based non-linearity & material based non linearity. How it is being
considered by present day FEM analysis software.
10. Explain different material models used for concrete and reinforcement materials
for numerical simulation
11. Discuss about the moment-curvature analysis and P-M interaction diagram. Explain
about its importance and methodology for depicting the non-linear response of the
structures
Moment curvature analysis is a method of determining the load-deformation behavior of a
concrete section using nonlinear material stress-strain relationships.
P-M interaction diagram is used to design reinforced concrete members in which axial
force and bending moment act simultaneously.
12. Consider the cantilevered truss as sketched in the figure below, and calculate the
forces in each member necessary code inside the main calculation function. The user
is free to assign the value of the loads L1, L2 and L3 whereas others values are
assigned. (Write the steps only)
Step 1: Compute values of thita
thita_1=atan(Lcd/Lce)
thita_1=atan(Lcd/Lce)
Step 2: Using equilibrium at joints
At joint E
Fde=L2/sin(thita_1)
Fce=Fde*cos(thita_1)
At joint C
Fca=Fce
Fbc=Fac/cos(thita_2)
Fcd=Fbc*sin(thita_2)
13. Write the steps to construct & train the neuron to predict the maximum time
dependent deflection of simply supported RC beam (10m.span) with given data
(assuming EI=constant).
14. Explain about the concept of Monte Carlo simulation? What are the uses of Monte
Carlo simulation? Explain the concept of optimization and its uses in the
Engineering
Monte Carlo simulation is a model used to predict the probability of a variety of
outcomes when the potential for random variable is present. It is a technique use to
understand impacts of risk and uncertainties in prediction and forecasting models.
It requires assigning multiple values to an uncertain variable to achieve multiple results
and then averaging the result to obtain an estimate.