Date: Feb. - Mar. 2023
Description:
Wrote a MATLAB code that can take Tm , Ta , Mm , Ma, choice of material (8 choices), safety factor, reliability factor, Marin factors, and other necessary assumptions from the user and return an estimated diameter for the shaft
The MATLAB code estimates the shaft diameter, iterates until a convergence criteria is met, and then selects the nearest standard shaft size
Investigated using well-thought prompts in ChatGPT to acquire a code capable of providing shaft design parameters based on the entered loads, material selection, and geometric considerations
Performed a comparative analysis between own code and the acquired code from ChatGPT, and assessed the following areas:
The role of appropriate prompting in getting applicable codes, how to iterate on the prompt to enhance the sophistication of the obtained code
The reproducibility of the code, based on similar prompts
The comparison between own code's syntax and structure and the code received from the Chatbot
Developing the general techniques that a knowledgeable engineer needs to verify AI-generated codes (critical conditions and pitfalls)
Skills: MATLAB, Coding, Shaft Design, Solid Mechanics, Iteration & Optimization, Designing for End User, AI, ChatGPT, Comparative Analysis
Input Loads, Factor of Safety, & Select Materials
Specify Reliability & Final Diameter Iteration
Own Shaft Design Code
ChatGPT Shaft Design Code
Comparative Analysis Report