{"id":21478377,"url":"https://github.com/mathworks-teaching-resources/beam-bending-and-deflection","last_synced_at":"2025-07-23T15:06:37.697Z","repository":{"id":37448714,"uuid":"505438952","full_name":"MathWorks-Teaching-Resources/Beam-Bending-and-Deflection","owner":"MathWorks-Teaching-Resources","description":"Learn how to solve beam problems using the Symbolic Math Toolbox™.","archived":false,"fork":false,"pushed_at":"2024-10-18T21:34:45.000Z","size":2641,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"release","last_synced_at":"2025-07-17T00:31:53.878Z","etag":null,"topics":["courseware","cwm","matlab","mechanical-engineering","solid-mechanics"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MathWorks-Teaching-Resources.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-20T12:49:03.000Z","updated_at":"2025-06-08T19:16:33.000Z","dependencies_parsed_at":"2025-07-15T11:31:52.456Z","dependency_job_id":"4d3a3d4c-a177-4c09-a97a-f4e3238b0031","html_url":"https://github.com/MathWorks-Teaching-Resources/Beam-Bending-and-Deflection","commit_stats":null,"previous_names":["mathworks-teaching-resources/beam-bending-and-deflection"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/MathWorks-Teaching-Resources/Beam-Bending-and-Deflection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBeam-Bending-and-Deflection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBeam-Bending-and-Deflection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBeam-Bending-and-Deflection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBeam-Bending-and-Deflection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathWorks-Teaching-Resources","download_url":"https://codeload.github.com/MathWorks-Teaching-Resources/Beam-Bending-and-Deflection/tar.gz/refs/heads/release","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FBeam-Bending-and-Deflection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266699619,"owners_count":23970529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["courseware","cwm","matlab","mechanical-engineering","solid-mechanics"],"created_at":"2024-11-23T11:17:56.179Z","updated_at":"2025-07-23T15:06:37.675Z","avatar_url":"https://github.com/MathWorks-Teaching-Resources.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# \u003cspan style=\"color:rgb(213,80,0)\"\u003eSolid Mechanics: Beam Bending and Deflection\u003c/span\u003e\n\n\n[![View on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/113670-beam-bending-and-deflection) or [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Beam-Bending-and-Deflection\u0026project=MechanicsOfMaterials.prj\u0026file=README.mlx)\n\n[![MATLAB Versions Tested](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FMathWorks-Teaching-Resources%2FBeam-Bending-and-Deflection%2Frelease%2FImages%2FTestedWith.json)](https://MathWorks-Teaching-Resources.github.io/Beam-Bending-and-Deflection)\n\n**Curriculum Module**\n\n_Created with R2024b. Compatible with R2024b and later releases._\n\n# Information\n\nThis curriculum module contains interactive [MATLAB® live scripts](https://www.mathworks.com/products/matlab/live-editor.html) that teaches the fundamental concepts of Solid Mechanics.\n\n\n## Background\n\nYou can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. Mechanics of Materials covers topics such as beam bending and beam deflection and how to solve those problems analytically. In the first script, you'll learn how to solve for beam support reactions and moments. In the second script, you'll solve for beam deflections using symbolic integration and create plots of the results. \n\n\nThe instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the \u003cimg src=\"Images/EndIcon.png\" width=\"19\" alt=\"EndIcon.png\"\u003e Stop button in the **RUN** section of the **Live Editor** tab in the MATLAB Toolstrip.\n\n## Contact Us\n\nSolutions are available upon instructor request. Contact the [MathWorks teaching resources team](mailto:onlineteaching@mathworks.com) if you would like to request solutions, provide feedback, or if you have a question.\n\n\n## Prerequisites\n\nThis module assumes knowledge of basic solid mechanics theory and standard mechanical materials notation. There is some MATLAB knowledge required for these scripts, but you could use [MATLAB Onramp](https://matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted) as a resource to acquire familiarity with MATLAB syntax and live scripts. Throughout the module, there are short activities that introduce you to the [Symbolic Math Toolbox*™*](https://www.mathworks.com/products/symbolic.html) capabilities.\n\n\n## Getting Started\n### Accessing the Module\n### **On MATLAB Online:**\n\nUse the [\u003cimg src=\"Images/OpenInMO.png\" width=\"136\" alt=\"OpenInMO.png\"\u003e](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Mechanics-of-Materials\u0026project=MechanicsOfMaterials.prj) link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.\n\n### **On Desktop:**\n\nDownload or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double\\-click on [MechanicsOfMaterials.prj](https://github.com/MathWorks-Teaching-Resources/Mechanics-of-Materials/blob/release/MechanicsOfMaterials.prj). It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start. \n\n\nEnsure you have all the required products (listed below) installed. If you need to include a product, add it using the Add\\-On Explorer. To install an add\\-on, go to the **Home** tab and select  \u003cimg src=\"Images/AddOnsIcon.png\" width=\"16\" alt=\"AddOnsIcon.png\"\u003e **Add-Ons** \u003e **Get Add-Ons**. \n\n\n## Products\n\n *MATLAB* is used throughout. Tools from the Symbolic Math Toolbox are used frequently as well. Deep Learning Toolbox is used specifically for the [minmax](https://www.mathworks.com/help/deeplearning/ref/minmax.html) function.\n\n\n# Scripts\n\n *If you are viewing this in a version of MATLAB prior to R2023b, you can view the learning outcomes for each script* [*here*](https://www.mathworks.com/matlabcentral/fileexchange/113670-mechanics-of-materials)\n\n## [**BeamBending.mlx**](./Scripts/BeamBending.mlx)\n|      |      |      |\n| :-- | :-- | :-- |\n|  | **In this script, students will...** \u003cbr\u003e  | **Academic disciplines** \u003cbr\u003e   |\n| \u003cimg src=\"Images/image_3.png\" width=\"245\" alt=\"image_3.png\"\u003e \u003cbr\u003e  | • Solve for beam support reactions symbolically. \u003cbr\u003e • Solve for the moment function of a loaded beam. \u003cbr\u003e • Plot shear and moment diagrams. \u003cbr\u003e • Compute the bending stress in a loaded beam. \u003cbr\u003e  | • Mechanical Engineering \u003cbr\u003e • Civil Engineering \u003cbr\u003e   |\n|      |      |       |\n\n## [**BeamDeflection.mlx**](./Scripts/BeamDeflection.mlx)\n|      |      |      |\n| :-- | :-- | :-- |\n|  | **In this script, students will...** \u003cbr\u003e  | **Academic disciplines** \u003cbr\u003e   |\n| \u003cimg src=\"Images/image_4.png\" width=\"245\" alt=\"image_4.png\"\u003e \u003cbr\u003e  | • Solve boundary value problems using symbolic math. \u003cbr\u003e • Identify boundary conditions for different types of beam supports. \u003cbr\u003e • Solve for deflections of loaded beams. \u003cbr\u003e • Visualize beam deflections. \u003cbr\u003e  | • Mechanical Engineering \u003cbr\u003e • Civil Engineering \u003cbr\u003e   |\n|      |      |       |\n\n\n# License\n\nThe license for this module is available in the [LICENSE.md](https://github.com/MathWorks-Teaching-Resources/Mechanics-of-Materials/blob/release/LICENSE.md).\n\n\n# Related Courseware Modules\n## [Thermodynamics](https://www.mathworks.com/matlabcentral/fileexchange/126784-thermodynamics)\n|      |      |\n| :-- | :-- |\n| \u003cimg src=\"Images/image_5.png\" width=\"171\" alt=\"image_5.png\"\u003e \u003cbr\u003e  | **Available on:** \u003cbr\u003e [\u003cimg src=\"Images/OpenInFX.png\" width=\"91\" alt=\"OpenInFX.png\"\u003e](https://www.mathworks.com/matlabcentral/fileexchange/126784-thermodynamics)  \u003cbr\u003e [\u003cimg src=\"Images/OpenInMO.png\" width=\"136\" alt=\"OpenInMO.png\"\u003e](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Thermodynamics\u0026project=Thermodynamics.prj)  \u003cbr\u003e [GitHub](https://github.com/MathWorks-Teaching-Resources/Thermodynamics)  \u003cbr\u003e   |\n|      |       |\n\n## [Fluid Mechanics](https://www.mathworks.com/matlabcentral/fileexchange/124840-fluid-mechanics)\n|      |      |\n| :-- | :-- |\n| \u003cimg src=\"Images/image_8.png\" width=\"171\" alt=\"image_8.png\"\u003e \u003cbr\u003e  | **Available on:** \u003cbr\u003e [\u003cimg src=\"Images/OpenInFX.png\" width=\"91\" alt=\"OpenInFX.png\"\u003e](https://www.mathworks.com/matlabcentral/fileexchange/124840-fluid-mechanics)  \u003cbr\u003e [\u003cimg src=\"Images/OpenInMO.png\" width=\"136\" alt=\"OpenInMO.png\"\u003e](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Fluid-Mechanics\u0026project=fluid-mechanics.prj)  \u003cbr\u003e [GitHub](https://github.com/MathWorks-Teaching-Resources/Fluid-Mechanics) \u003cbr\u003e   |\n|      |       |\n\n\nFeel free to explore our other [modular courseware content](https://www.mathworks.com/matlabcentral/fileexchange/?q=tag%3A%22courseware+module%22\u0026sort=downloads_desc_30d).\n\n# Educator Resources\n-  [Educator Page](https://www.mathworks.com/academia/educators.html) \n\n# Contribute \n\nLooking for more? Find an issue? Have a suggestion? Please contact the [MathWorks teaching resources team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Mechanics-of-Materials/blob/release/CONTRIBUTING.md) page on GitHub.\n\n\n *©* Copyright 2023 The MathWorks™, Inc\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks-teaching-resources%2Fbeam-bending-and-deflection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathworks-teaching-resources%2Fbeam-bending-and-deflection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks-teaching-resources%2Fbeam-bending-and-deflection/lists"}