Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For some given number a, a point where forces change on a beam, the singularity function is defined as: ={(), > 0, The below deflection

For some given number a, a point where forces change on a beam, the singularity function is defined as: ={(), > 0, The below deflection equation, v(x), was derived using the free-body-diagram above and contains two singularity functions. ()=13.19109(800313.71062.54+2.51204+6002403 ) Tasks: Proficiency Time: 30 50 min

TASK 1: (5 10 min) Prompt the user to enter a position between 0 and 360 [inches]. Perform a data validation on the user input. If the user enters a negative value, produce a warning and take the absolute value of the user input. If the user enters a value whose absolute value is greater than 360, produce an error and terminate the program.

TASK 2: (17 25 min) Write a user defined function named MA3_Deflection_courgarnetID.m which has one input (position x) and one output, (deflection v) You will need to apply the equation above with the discontinuity conditions described. Use this function to determine the deflection at the position entered. Produce a formatted output to the command window that states the deflection at the point entered.

TASK 3: (8 15 min) Create a vector of values for deflection from 0 to the position entered by the user and create a plot of the theoretical result for deflection (y axis) at each position (x axis). Your plot should include the following: X-axis label Y-axis label Gridlines Solid line (theoretical data) HINT: You should write a function in Task 2 that can be used to achieve the goals of both Task 2 and Task 3.

I HAVE DONE TASK 1, I have included it for reference for task2 and task3! Please help me, thanks!

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_2

Step: 3

blur-text-image_3

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

What do you think of the MBO program developed by Drucker?

Answered: 1 week ago