Docsity

Lab 3: Lists and Formats in TK Solver for Calculating Max Deflection in Cantilever Beam - , Lab Reports of Engineering

Toggle sidebar
bg1
14
Lab 3
More TK Sheets and solving of a problem using a List of input values
Objectives
• To become more familiar with Unit Sheet, Format Sheet, and MathLook Window.
• To develop further experience using Lists in solving a problem for a range of values
Lists
In simple terms, a list comprises of number of input or output values for a variable. These values could be
numeric or symbolic. In TK Solver, input lists can be entered or filled. The Lists Sheet contains all lists that
have been created.
How to create a list?
Lists can be created using following methods:
• By entering ‘L’ in the Status field of the Variables Sheet or a Variable Subsheet. By default, list
will be given same name as the variable name itself.
• Click on the Lists Sheet, and enter a name to create a new list.
• By entering a list name in the Domain List or the Range List field of a list function subsheet.
Formatting Numbers in TK
1. In TK solver, a separate format can be created for each variable. Basically, there are two sheets
associated with the format: Format Sheet and Format Subsheet. There are two formats which are
generally used: finan (financial) and eng (engineering).
2. Double click on Formats Sheet, under Name, enter finan, and in comments column, enter
Format used for financial models.
3. Right click on finan, Format Subsheet will open. The information to be filled is as below:
• Comment. Additional information about the format.
• Numeric Notation. This is a dropdown list of four types: General, Scientific, Decimal,
and Engineering.
• Significant Digits. Number of digits to be displayed.
• Decimal Places. Number of decimal places.
• Padding. Blank Spaces to the right to be filled. Options are zero, blank, and none.
• Display Leading Zero. Options: Yes or No.
• +/- Notation. Default is ‘-Only.’
• Prefix. Symbol preceding the numerical value, e.g., $ sign.
• Suffix. Symbol to be used after the numeric value, e.g., units.
• Justifications. Options are Left, Right, or Center.
• Left Margin Width. Number of blank spaces. Default value is zero.
• Right Margin Width. Number of blank spaces to the right. Default value is zero.
• Symbolic Value Format. The field controls the display of symbolic values. Single quote
is the default value.
pf3
pf4
pf5

Partial preview of the text

Download Lab 3: Lists and Formats in TK Solver for Calculating Max Deflection in Cantilever Beam - and more Lab Reports Engineering in PDF only on Docsity!

Lab 3 More TK Sheets and solving of a problem using a List of input values Objectives

  • To become more familiar with Unit Sheet, Format Sheet, and MathLook Window.
  • To develop further experience using Lists in solving a problem for a range of values

Lists In simple terms, a list comprises of number of input or output values for a variable. These values could be

numeric or symbolic. In TK Solver, input lists can be entered or filled. The Lists Sheet contains all lists that

have been created.

How to create a list? Lists can be created using following methods:

  • By entering ‘L’ in the Status field of the Variables Sheet or a Variable Subsheet. By default, list will be given same name as the variable name itself.
  • Click on the Lists Sheet, and enter a name to create a new list.
  • By entering a list name in the Domain List or the Range List field of a list function subsheet.

Formatting Numbers in TK

  1. In TK solver, a separate format can be created for each variable. Basically, there are two sheets associated with the format: Format Sheet and Format Subsheet. There are two formats which are generally used: finan (financial) and eng (engineering).
  2. Double click on Formats Sheet , under Name, enter finan , and in comments column, enter Format used for financial models.
  3. Right click on finan, Format Subsheet will open. The information to be filled is as below:
    • Comment. Additional information about the format.
    • Numeric Notation. This is a dropdown list of four types: General, Scientific, Decimal, and Engineering.
    • Significant Digits. Number of digits to be displayed.
    • Decimal Places. Number of decimal places.
    • Padding. Blank Spaces to the right to be filled. Options are zero, blank, and none.
    • Display Leading Zero. Options: Yes or No.
    • +/- Notation. Default is ‘-Only.’
    • Prefix. Symbol preceding the numerical value, e.g., $ sign.
    • Suffix. Symbol to be used after the numeric value, e.g., units.
    • Justifications. Options are Left, Right, or Center.
    • Left Margin Width. Number of blank spaces. Default value is zero.
    • Right Margin Width. Number of blank spaces to the right. Default value is zero.
    • Symbolic Value Format. The field controls the display of symbolic values. Single quote is the default value.

Format Sheets

  • Notice in the window displayed below that we have one format for the interest column with a single decimal place and the % symbol, a different format for the second column for the loan amount where we use the $ sign and two decimal places. This is all set up using the format sheet, where we have set up one format for Interest and another format for Dollar.

LAB ASSIGNMENT 3

Run Tutorial 2 and 3 from TK Solver ‘Help Menu.’ if you need review on display units, calculation units, unit conversions.

Develop a TKSolver solution to calculate the maximum deflection in a cantilever beam. For this assignment, we will use a beam with rectangular cross section.

The equations you need are:

Maximum deflection, Ymax = FL/3EI + wL^4 /8EI

For rectangular beam cross section: I = bh^3 / 12

Use the following values:

F = 150 lb, h = 3.5 in, w = 100 lb/ft, b = 1.5 in, E = 30,000 kip/in^2 , L = 4 ft

Note that the display units for the variables will need to be as immediately above. Some of the variables will need different calculation units to work in the equations. For example, in the first equation, F is given in lbs, L is in ft, E is in kip/in^2 , I will be in in^4 , so you will have to make the calculation units consistent with what is needed in the equations. We would expect Ymax to be a small value, and it should be displayed in inches. The conversions that you might not know are: 1 kip = 1000 lbs of force Suggestion: use the display units as shown, but use in units for calculation rather than ft

Solve the above basic problem with the values given for the static case. The deflection Ymax should be a small value on the order of an inch or less. Make sure the display and calculation units are correct.

Once you are satisfied that you have the display and calculation units set up correctly, change the beam length L to an Input List of values ranging from 1 ft to 5 ft in increments of 1 ft. You will also need to change Ymax to a List since we will now be solving the equation for a range of Input values for L. Once you have the problem set up, do a List Solve (multiple lightbulbs) and verify that you have results in the List Ymax.

Beam with

rectangular

cross

section

h

b

F

w

L

Create a Table called Table_1 with appropriate Title and Headings that includes the two Lists L and Ymax. Create a Plot called Plot_1 that plots Ymax as a function of L. Put L on the X axis and Ymax on the Y axis. Make sure you include an appropriate Title and Labels on the X and Y axis including units.

Use the Report Wizard to generate a report that has your name, Lab 3, and includes in the following order: the Rule Sheet, Units Sheet, the Variable Sheet (with full detail on all the variables), the Table, and the Plot. Preview your report before you print it to make sure it has all the correct information. Turn in your report before you leave.