Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1 You have been assigned to develop a computer program to calculate the reaction force at support of a simply supported beam, as shown in

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Q1 You have been assigned to develop a computer program to calculate the reaction force at support of a simply supported beam, as shown in Figure Q1. F B RA RB Figure Q1 The requirements of the program are such as following: Requirement 1 At first, the program will display the welcoming message and asking for user's details. WELCOME TO REACTION FORCE CALCULATOR User's Details : Engineer's Name Staff's ID Date : : Requirement 2 The next part of the program flow will require user to enter all necessary inputs, such as below. Enter Inputs Total length of the beam, L (m): Distance of Point Load from point A (m): Point Load, F (KN): Requirement 3 - Condition if a > b The reaction force of R, and Rg is calculated using the equation below. F(a - b) RA a Rg = F-R Requirement 5 Make sure that the program able to validate the input value as following: Value of a and L should not equal to zero (0). Both length of a and b should not be greater than length of L. If the user enter invalid input, the program should be able to notify user that the input value is invalid and redirect the user to enter the right input. Apply appropriate control structure. Requirement 4 The summary of inputs and computed results of the program is display as below. All the output must be presented in two decimal places. Result Summary meter. Total length of the beam is meter. Distance of point load from point A is The magnitude of point load F is KN. Reaction force RA KN Reaction force RB = KN (a) Write a pseudocode of the proposed Reaction Force Calculator according to the stated requirements. (7 marks) (b) Draw a flowchart of the proposed Reaction Force Calculator according to the stated requirements. (8 marks) (c) Write a complete Python coding for the Reaction Force Calculator based on the guided algorithm that have been constructed in Q1(a) and Q1(b). (15 marks) TROTINETTONIC

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

=+Where does the focus of labor relations lie? Is it collective

Answered: 1 week ago

Question

=+With whom does the firm have to negotiate?

Answered: 1 week ago