Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB problem help. 1. Write a function m-file to plot the beam deflection shown at the beginning of the assignment. Please use grid on, and

MATLAB problem help.

image text in transcribed

image text in transcribed

image text in transcribed

1. Write a function m-file to plot the beam deflection shown at the beginning of the assignment. Please use grid on, and embellish the figure with titles and axis labels as you wish (cf. Section 2.5 of text). Please write the function in silent mode. 4,(x) = - = (x 03* = (x 591 + 5x )2 + 75(x 7y2 + *** 238.5x where the singularity function (x-a)" = (x -a)"; if x > a, and (x-a)" - 0:1fx sa. 2. Write an anonymous function to get the same deflection, and then plot it. You should have a script file that looks something like this: x - y - 1:0.5:10; (x) -5/6* (... your code here... hold on; plot (x,y,'o'); grid on; YP - beamDeflPlot (x); hold off ; function (y)-beamDeflPlot (x) your code here plot (x,y); grid on end

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

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is the principle of thermodynamics? Explain with examples

Answered: 1 week ago