FundamentalToolsfor Engineers ERC015
- Subject Code :
ERC015
- University :
University of Central Lancashire Exam Question Bank is not sponsored or endorsed by this college or university.
AcademicYear:2024/2025
Assessment Introduction:
Course:FoundationYear |
Module Code:ERC015 ModuleTitle:FundamentalToolsfor Engineers |
TitleoftheBrief:MATLABReport |
Typeofassessment: Coursework |
This Assessment Pack consists of a detailed assignment brief, guidance on what you need to prepare, and information on how class sessions support your ability to complete successfully.Youll also find information on this page to guide you on how, where, and when to submit. If you needadditionalsupport,pleasemakeanoteoftheservicesdetailedinthisdocument.
How,when,andwheretosubmit:
AssessmentDeadlineDateand time:MondayApril28th2025,1.00pm.
YourworkwillbesubmittedviaaTurnitinlinkonBlackboard,thelinkwillbevisibletoyouon: March 17th2025.
Feedbackwillbeprovidedby:May19th2025.
You should aim to submit your assessment in advance of the deadline. All assessments submitted late, but within 5 working days of the deadline, will be given a maximum mark of 40%. Assessment submitted more than 5 working days after the deadline will not be marked, and a mark of 0% will be recorded.
Note:Ifyouhaveanyvalidmitigatingcircumstancesthatmeanyoucannotmeetanassessment submission deadline and you wish to request an extension, you will need to apply online, via MyUCLanwith your evidence prior to the deadline. Further information on Mitigating Circumstances via this link.
We wish you all success in completing your assessment. Read this guidance carefully, and any questions, please discuss with your Module Leader.
Disclaimer:Theinformationprovidedinthis assessmentbriefiscorrectattimeofpublication.Intheunlikelyeventthatanychanges are deemed necessary, they will be communicated clearly via e-mail and a new version of this assessment brief will be circulated.
AdditionalSupportavailable:
AlllinksareavailablethroughtheonlineStudentHub
<!-- [if !supportLists]-->
1.
<!--[endif]-->Academicsupportforthisassessmentwillbeprovidedbycontacting(DrMohamed Elsayed Mohamed, meemohamed@uclan.ac.uk)
<!-- [if !supportLists]-->
2.
<!--[endif]-->OurLibrary resources link canbefoundin thelibraryareaoftheStudentHuborviayour subject librarian at SubjectLibrarians@uclan.ac.uk.
<!-- [if !supportLists]-->
3.
<!--[endif]-->Support with your academic skills development (academic writing, critical thinking and referencing)isavailablethroughWISERontheStudySkillssectionoftheStudentHub.
<!-- [if !supportLists]-->
4.
<!--[endif]-->ForhelpwithTurnitin,seeBlackboardandTurnitinSupportontheStudentHub
<!-- [if !supportLists]-->
5.
If you have a disability, specific learning difficulty, long-term health or mental health condition,andnotyetadvisedus,orwouldliketoreviewyoursupport, Inclusive Support can assist with reasonable adjustments and support. To find out more, you can visit the Inclusive Support page of the Student Hub.
<!-- [if !supportLists]-->
6.
<!--[endif]-->For mental health and wellbeing support, please complete our online referral form, or email wellbeing@uclan.ac.uk. You can also call 01772 893020, attend a drop-in, or visit our UCLanWellbeingServiceStudentHubpagesformoreinformation.
<!-- [if !supportLists]-->
7.
<!--[endif]-->For any other support query, please contact Student Support via studentsupport@uclan.ac.uk.
<!-- [if !supportLists]-->
8.
For consideration of Academic Integrity, please refer to detailed guidelines in ourpolicydocument.Allassessedworkshouldbegenuinelyyourownwork,andallresourcesfully cited.
<!-- [if !supportLists]-->
9.
For advice on the use of Artificial Intelligence, please refer toCategories of AI toolsguidance.Forthisassignment,youarenotpermittedtouseanycategoryofAItools.
Preparingforyourassignment.
- <!-- [if !supportLists]-->Attendallface-to-facesessionsandstudyallonlinematerialsavailableonBlackboard.
- Solveweeklyformativeassessmentsandtutorials.
- <!-- [if !supportLists]-->Askyourmoduletutorifyouhaveanyquestions/queries.Usethecontactmethods mentioned before and/or the weekly feedback forms.
- <!-- [if !supportLists]-->Planandstartyourassignmentsearly.
- <!-- [if !supportLists]-->Avoidtheacademicmisconduct(e.g.Plagiarism,
).
- RefertotheModuleInformationPacktounderstandtheLearningOutcomesandMarking Criteria.
MATLABReport
<!-- [if !supportLists]-->
1.
<!--[endif]-->Introduction
MATLAB is a versatile programming language and environment that facilitates data analysis, algorithm development, and visualization. This coursework is structured to provide you with hands-on experience. Its designed to empower you with skills that are not only applicable in academic settings but are also highly sought after in various industries. Embrace the challenges, apply your knowledge, and use this coursework as a steppingstone towards becoming a proficient MATLAB user.
Thisassignmentworth50%ofthetotalmodulesmarks.
<!-- [if !supportLists]-->
2.
<!--[endif]-->Submissiondetails
- <!-- [if !supportLists]-->SubmitadigitalcopyofyourMATLABReportasasingledocumentinWordorPDFformat viatheTurnitinlinkavailableonBlackboard(LinkwillbeavailableonMarch15th,2025).
- <!-- [if !supportLists]-->DontsubmitMATLABfiles.
- <!-- [if !supportLists]-->The document to include copies of all the commands used to solve each individual question either from the command window or the script. If there are no scripts requested in the question, so you only need to copy every single command used from the command window into the document. If the question requires you to create a program or a function, you need to copy the whole code including commands and documentation from the script into the document.
- <!-- [if !supportLists]-->CommandsshouldbeexecutablewhencopiedtoMATLABR2024afromyoursubmitted document. Its your responsibility to ensure this. Any program/function that is not executable will not be marked.
- <!-- [if !supportLists]-->If commands/programs/functions are not executable, they will not be marked, and you will be given zero for their corresponding question(s).
<!-- [if !supportLists]-->ExamplesofhowtocopyyourworkfromMATLABintothereportsdocumentareincluded
intheappendixofthisbrief.
- <!-- [if !supportLists]-->Noresults,outputs,orgraphsshouldbesubmitted.Allthesewillbecheckedwhenyour work copied to MATLAB against the examples given in each question.
- <!-- [if !supportLists]-->Makesurethedocumentiswell-organized,withaclearstructureforeachquestion.
- <!-- [if !supportLists]-->Includeatitlebeforeeachquestiontofacilitateeasynavigation.
- <!-- [if !supportLists]-->Use the coursework cover sheet available on Blackboard.
<!-- [if !supportLists]-->
3.
<!--[endif]-->Detailedassignmentbrief
This assessment aims to not only evaluate your technical skills in MATLAB but also emphasizes good coding practices, documentation, and effective communication of your solutions. Your dedication to completing each question with precision and clarity will contribute significantly to your success in this part of the module.
This coursework is strategically divided into multiple questions, each building upon the skills acquired in the previous one. The questions are meticulously crafted to cover a range oftopics,fromfundamentaloperationstoadvancedscriptingandfunctiondevelopment. Details of each question including description of the problem and requirements will be released on Blackboard under the name MATLAB Report. Please check the modules materialsonBlackboardinthefoldernamedMATLABeach week. This coursework worth 50% of the total modules marks, and each question has different weight of the total courseworks mark. This will be stated clearly in the description of each question.
<!-- [if !supportLists]-->
4.
<!--[endif]-->Teachingintoassessment
Lectures, online materials, and formative assessments include examples that support your learningtowardscompletingthedifferenttasksofthisassignment.
<!-- [if !supportLists]-->
5.
<!--[endif]-->Learningoutcomes
Thefollowingmodulelearningoutcomesareaddressedinthisassignment:
- <!--[endif]-->Generatesolutionstosimpleengineeringproblemsusinganumericcomputingor modelling tool.
- <!-- [if !supportLists]-->Communicateresultsofengineeringproblemstotechnicalandnon-technical audiences.
<!-- [if !supportLists]-->
6.
<!--[endif]-->Markinggrid/markingrubric
Thefollowinggradingcriteriaareapplicableforeachindividualquestion:
<!-- [if !supportLists]-->
7.
<!--[endif]-->InformationonArtificialIntelligencethatstudentmayuseinthisassessment
Forthisassignment,youarenotpermittedtouseanycategoryofAItools.
Band |
ExpectedContent |
Distinction 70-100% |
Wellorganisedworddocument. All requirements fulfilled. Solutions have been obtained correctly in the least possible Commands. CommandsareexecutablewhencopiedfromtheWord documenttoMATLABwithnoerrorsandproducethecorrect results. |
Figures/plots(ifexist)createdcorrectlywithaccurateresults, andlabels. Documentation (comments) included in scripts/functions (if exist) describing its use, variables meanings, and inputs/outputs. |
|
Merit 60-69% |
Allrequirementsfulfilled. Solutionshavebeenobtainedcorrectly. Commands are executable when copied from the Word document toMATLABwithnoerrorsandproducethecorrect results. Figures/plots(ifexist)createdcorrectlywithaccurateresults. Insufficient documentation (comments) included in scripts/functions (if exist). |
Pass 40-59% |
Requirementsarepartlyfulfilled. Solutionshavebeenobtainedwithminorerrors. CommandsareexecutablewhencopiedfromtheWord document to MATLAB with no errors. Figures/plots(ifexist)createdcorrectlywithminorerrors. |
Fail <40> |
Requirementsarepartlyfulfilled. Solutionshavebeenobtainedwithmajorerrors. Commands are not executable when copied from the Word document to MATLAB. Figures/plots (if exist)created with major errorsor notcreated. |
0 |
Non-submission |
FeedbackGuidance:
ReflectingonFeedback:howtoimprove.
Fromthefeedbackyoureceive,youshouldunderstand:
- <!-- [if !supportLists]-->The grade you achieved.
- <!-- [if !supportLists]-->The best features of your work.
- <!-- [if !supportLists]-->Areas you maynot havefullyunderstood.
- <!-- [if !supportLists]-->Areasyouaredoingwellbutcoulddevelopyourunderstanding.
- <!-- [if !supportLists]-->Whatyou can do to improvein thefuture -feedforward.
UsetheWISER:AcademicSkillsDevelopmentservice.WISERcanreviewfeedback and help you understand your feedback. You can also use the WISER FeedbackGlossary
NextSteps:
- <!-- [if !supportLists]-->Listthestepshaveyoutakentorespondtopreviousfeedback.
- <!-- [if !supportLists]-->Summarise your achievements
- <!-- [if !supportLists]-->Evaluate where you need to improve here (keep handy for future work):
Appendix:
<!-- [if !supportLists]-->
1.
<!--[endif]-->How to copy commands from command window to your Report document if no scripts/functions requested.
<!-- [if !supportLists]-->
2.
How to copy commands from scripts/functions to your Reports document.
<!-- [if !supportLists]-->
3.
<!--[endif]-->Exampleofaprogramthatisnotexecutable.Thiswillnotbemarked,and you will be given zero in its corresponding question.
MATLAB Report (1)
PleasereadtheMATLABReportassessmentbriefbeforeattemptingthebelowtasks.
Weight: 40% of the total coursework (MATLAB Report) Mark.
SubmissionFormat:CopyyourMATLABscriptintoaWorddocument.
Instructions:
- Thisisanindividual
- Chooseonlyoneofthe fiveengineeringproblemsdescribed
- SubmitafullycommentedMATLABscriptcopiedintoaWord
- Yourcodeshouldbeclear,structured,andincludeexplanationsforeach
- Themarks(40%)aredistributedacrossthedifferentstepsofthe
- The use of AI tools to generate code for this assignment is strictly prohibited. Submitting AI-generated code is considered academic misconduct and will result in penalties in accordance with university regulations. AI-generated content will be identified using advanced detection methods.
Problem1:GearSystemEfficiency
Asimplegearsystemconsistsofadrivinggearandadrivengear.Themechanical efficiency (????) of the system is given by:
where:
- ????????????=inputtorque(Nm)
- ????????????????=outputtorque(Nm)
????=
????????????????
????????????
100
Givenarangeofinputtorquesandgearratios,calculatetheefficiencyfordifferentcases.
- Definevariables:Input torques from10Nm to 100Nm(in steps of10Nm)and gear ratios1.5, 2, 2.5, 3. (4%)
- Compute outputtorque using the equation ???????????????? ???????????????????? =???????????? . (4%) ????????????????
- Calculateefficiencyforeachcaseandstoreresultsinan(4%)
4.Extractspecificefficienciesforgearratios2&2.5at????????????=30Nm,70Nm,and 100 Nm.(6%)
- ModifyefficiencyatT=50NmandGearRatio=3,increasingby5%,and update the array. (6%)
- Savedatainmat.(2%)
- Plotefficiencyinputtorquefordifferentgearratios,includinglabels,markers, and legends. (7%)
- Usesufficientcommentstodescribetheproblem,andeachsolution(7%)
Problem2:AircraftLiftCalculation
Theliftgeneratedbyanaircraftwingisgivenby:
????=1????????2????????
2 ????
where:
- ????=Lift(N)
- ????=Airdensity(1.225 kg/m?3;atsealevel)
- ????=Velocityofthe aircraft (m/s)
- ????=Wingarea(20 m?2;)
- ????????=Coefficientoflift, definedas ????????=2sin(????)
- ????=Angleof
Calculateliftfordifferentvelocitiesandanglesofattack.
- Define variables: Air density, wing area, angles of attack(0 to 15, in steps of 5), and velocity range(50 to 150 m/s, in steps of 10 m/s). (4%)
- Computeliftcoefficient????????(4%)
- Calculate liftfor each velocity and angle of attack and store results in a matrix. (4%)
- Extractspecificliftvaluesfor????=70,100,130m/sat?=0,5,10(6%)
- Modifyliftat????=100m/sand?=10byincreasingitby10%andupdatethe matrix. (6%)
- Savedatainmat.(2%)
- Plot lift vs. velocityfor different angles of attack withlabels, markers, and a(7%)
- Usesufficientcommentstodescribetheproblem,andeachsolution(7%)
Problem3:BrakingPerformance
Aracecarundergoesdecelerationduetobraking,which followstheequation:
????2
where:
- ????=Stoppingdistance(m)
- ????=Initial speed(m/s)
- ????= Deceleration(m/s?2;)
????=
2????
Calculate stopping distances for various speeds and decelerations.
- Definevariables:Initialspeeds(50to300km/h,instepsof10km/h converted to m/s)and decelerations(4, 6, 8, 10 m/s?2;). (4%)
- Compute????2forallspeedvalues(4%)
- Calculatestoppingdistancesforallspeed-deceleration(4%)
- Extractstoppingdistancesforspeeds80km/h,160km/h,240km/hata=6and 10 m/s?2;. (6%)
- Modifystoppingdistanceat200km/hwitha=8m/s?2;,increasingitby8%, and update the array. (6%)
- Savedatainmat.(2%)
- Plotstoppingdistancespeedfordifferentdecelerationswithlabels, markers, and a legend. (7%)
- Usesufficientcommentstodescribetheproblem,andeachsolution(7%)
Problem 4: RC Circuit Response
ForanRCcircuit,thevoltageacrossthecapacitorfollows:
????(????)=????0?????????/(????????)
where:
- ????0=Initialvoltage(V)
- ????=Resistance(?)
- ????=Capacitance(F)
- ????=Time(s)
Computethecapacitorvoltagefordifferenttimeintervals.
- Definevariables:????0=12????,resistancevalues(1k?,2k?,3k?,4k?), capacitance(100?F), time(0 to 5 s, step 0.1s). (4%)
- Compute????????forall resistorvaluesover(4%)
- Calculatecapacitorvoltageforallresistorvaluesover(4%)
4.Extract voltagesatt=1s,3s,5sforR=1k?, 3k?. (6%)
- Modifyvoltageatt=2sforR=2k?,increasingby5%,andupdatethe(6%)
- Savedatainmat(2%)
- Plot capacitor voltage vs. timefor different resistances withlabels, markers, and a legend. (7%)
- Usesufficientcommentstodescribetheproblem,andeachsolution(7%)
Problem 5: Beam Deflection Analysis
The deflection of a simply supported beam under a uniformly distributed load is given by:
where:
- ????=Maximumdeflection(m)
- ????=Uniform load(N/m)
- ????=Beamlength (m)
- ????=Modulus ofelasticity(Pa)
- ????= Moment ofinertia (m4)
????=
5????????4
384????????
Given different beam lengths, compute the deflection for various loading conditions.
- Define variables: Beam lengths(2m, 4m, 6m, 8m), uniform loads(500 N/m, 1000 N/m, 1500 N/m), modulus of elasticity forsteel (200 GPa), moment of inertia(0.0001 m?). (4%)
- Compute????4forallbeam
- Calculate beam deflectionsfor all combinations of beam length, material, and load. (4%)
- Extract deflectionsforL=4mand6munder1000N/m load. (6%)
- ModifydeflectionforL=6m,???? =1500N/m,increasingitby7%,andupdatethe matrix. (6%)
- Savedatainmat.(2%)
- Plotdeflectionbeamlengthfordifferentmaterialsandloads.(7%)
- Usesufficientcommentstodescribetheproblem,andeachsolution(7%)
MATLABReport(2)
PleasereadtheMATLABReportassessmentbriefbeforeattemptingthebelowtasks.
Weight:60% of the total coursework (MATLAB Report) Mark.
SubmissionFormat:CopyyourMATLABscriptintothesameWorddocumentof MATLAB Report (1).
Instructions:
- Thisisanindividual
- SubmitafullycommentedMATLABscriptcopiedintoaWord
- Yourcodeshouldbeclear,structured,andincludeexplanationsforeach
- Themarks(60%)aredistributedacrossthedifferentstepsofthe
- Anexampleisprovidedattheendofthisbriefthatcanbeusedforunderstanding of the problem andverification of your function.
- The use of AI tools to generate code for this assignment is strictly prohibited. Submitting AI-generated code is considered academic misconduct and will result in penalties in accordance with university regulations. AI-generated content will be identified using advanced detection methods.
Introduction
In engineering design, structural analysis plays a crucial role in ensuring that components and systems can withstand applied loads without failure. Engineers must analyze the stresses, deformations of materials under various loading conditions. This allows them to optimize performance, safety, and efficiency while minimizing costs.
Onefundamentalstructuralcomponentencounteredacrossengineeringdisciplinesisthebeam.Inmechanicalandcivilengineering,beamsformthebackboneofbuildings,and machineframes.Inaerospaceengineering,wingsparsandfuselagereinforcementsact as beams to maintain structural integrity under aerodynamic forces.Motorsport engineersdesign lightweight but strong suspension arms and chassis members to endure high-speed loads.Electrical engineersanalyze support structures for transmission lines.
In this assignment, you will develop aMATLAB functionto analyze acantilever beamsubjected toa point load at the free end and a uniformly distributed load along its length, computing bending moments, stresses, and deflections.
Thebending stress????????and thedeflection????????at anypoint alongthe cantilever beam can be calculated using:
????????=?
????????????
????
where:
????????
????
=
6????????
(????3?3????????2)? ????
24????????
(????4?4????????3+6????2????2)
- ????= Distancefromthefixedend(????)
- ????????=Bendingmomentat ????dueto bothloads (????????)
????????
=?????(?????????)?????(?????????)2
2
- ????=Distancefromtheneutralaxis (????)
- ????=Second momentofarea ofthebeamcross-section(????4)
- ????=Concentratedforceatfreeend(????)
- ????=Uniformlydistributedload(????/????)
- ????=Youngsmodulusofthe beamsmaterial (????/????2)
Thebeamfailsifthestress????????atanyposition????alongthebeamexceedstheyieldstrength of the beam material ????Y.
Tasks:
- Defineafunctioncalledbeam_analysiswiththefollowinginputarguments:
????,????,????,????,????,????,???????????? ????Y. Use sufficient comments to describe the problem, and each solution step(10%)
- Use a loop inside the function to compute and store the bending moment ????????, stress????????, and deflection ????????at eachpoint alongthe beam(use sufficientpoints for accurate results).(15%)
- Display a warning message inside the function if the stress at one or more points along the beam exceeds the yield strength, indicating beam failure.(5%)
- Produce3figuresinsidethefunctiontoplotthefollowing:(15%)
- Bendingmomentpositionalongthebeam.
- Stresspositionalongthebeam.
- Deflectionpositionalongthebeam.
- CustomizetheplotsusingMATLABcodeinsidethefunctionto:(5%)
- Addtitles,axislabelsincludingunits,gridlines,and
- Usedifferentlinestylesfordifferentstressregions(safe&unsafe).
- Setappropriateaxislimitsfor
- Make your function smarter by suggesting one or more changes in the given parameters (e.g., ????,????,????,????,???????? ????) to make all stresses along the beam below the limit.(10%)
Verificationexample:
To verify your function, use the following beam parameters and compare your function outputs against the given results.
- ????=5????
- ????=05 ????
- ????=00000833????4
- ????=10000????
- ????=2000????/????
- ????=200????9????/????2
- ????Y=250????6????/????2