Question
I need help coding this program onto Python. I am not sure how to approach it. Any help would be appreciated. ------------------------------------------- You are to
I need help coding this program onto Python. I am not sure how to approach it. Any help would be appreciated.
-------------------------------------------
You are to come up with a simplified purely linear model of the stress-strain curve. That is, you are to approximate the curve by a series of line segments. You should approximate the graph by at least 4 linear segments. The lines should begin at 0,0, and end at the fracture point. Using more lines will give a more accurate representation, but will be more work in coding; for this assignment, you do not need to be precise, and can use just 4 segments.
For the linear elastic portion, state what Youngs Modulus is
Record the endpoints (as strain and stress coordinates) for each of the linear segments. You will need to estimate these from the graph. Youll now work on taking that linear approximation of the stress-strain curve, and creating a program that can evaluate it for you. (i.e. given a strain, report the stress).
Make a list of the variables you believe you are likely to need, and the names you will use.
Create a sequence of steps that you will follow
o If you have a conditional statement (and you should), you might want to indicate each part of the condition as a separate action.
o The computation here will involve a few stages. Please separate the stages into different parts; do not just say compute stress.
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