You are an engineer assigned to review the structural integrity of the Golden Gate bridge. To do this, a member of your

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
correctanswer
Posts: 43759
Joined: Sat Aug 07, 2021 7:38 am

You are an engineer assigned to review the structural integrity of the Golden Gate bridge. To do this, a member of your

Post by correctanswer »

You Are An Engineer Assigned To Review The Structural Integrity Of The Golden Gate Bridge To Do This A Member Of Your 1
You Are An Engineer Assigned To Review The Structural Integrity Of The Golden Gate Bridge To Do This A Member Of Your 1 (105.68 KiB) Viewed 87 times
You are an engineer assigned to review the structural integrity of the Golden Gate bridge. To do this, a member of your team has measured the 'Thickness' (float) and 'Warping' (float) of each beam on the bridge. You want to extract a list of beams that have a risk of failing for further inspection. The conditions for risk of failing are: • The 'Thickness' of the beam is less than 4 inches • The 'Warping' of the beam is more than 3 inches away from the standard of 98 (where 98 is perfectly straight) Write a function beam_failure(filename) that reads in the provided data (always a csv file), calculate which beams are at risk of failing, and return a list of those beam numbers. The data contains four columns: Count, Number, thickness, warping. An example test file is provided for you here: beams_data.csv For example: Test Result print (beam_failure ("beams_data.csv")) [1001, 1003, 1009, 1021, 1026, 1036, 1042, 1047, 1049, 1056, 1067, 1069, 1070, 1075, 10 print(beam_failure("beams_data.csv") [4]) 1026
Register for solutions, replies, and use board search function. Answer Happy Forum is an archive of questions covering all technical subjects across the Internet.
Post Reply