Question

In: Computer Science

d. Utilize the codes you developed so far to calculate the position of the maximum beam...

d. Utilize the codes you developed so far to calculate the position of the maximum beam deflections a function of the beam length (L). Vary L between 100 cm to 1000 cm. Plot the final results, e. Label the axes and comment on the result. Attach your code. f. Based on your result, do you think it is possible that the position of maximum beam deflection is located right at the middle of the beam? Explain your thinking!

Solutions

Expert Solution

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

clc
clear all
close all
format long
R=[];
L=100:1:1000;
for ii=1:length(L)
l=L(ii);
E = 55000;
I = 30000;
W = 2.2;
% find df/dx
f=@(x) (W*(-5*x^4 + 2* l^2 *3*x^2 - l^4))/(120*E*I*l);
e=0.1e-2;
a=0;
b=l-1;
iter = 0;
  
if f(a)*f(b)>=0

disp('No Root')

else

prev = (a+b)/2;
p=a;
while (abs(p-prev)/abs(p)>e)
prev=p;

iter =iter+ 1;

p = (a+b)/2;

if f(p) == 0
p
q=1
break;

end

if f(a)*f(p)<0

b = p;

else

a = p;

end
if(iter==100)
disp('the required accuracy is not reached in 50 iterations');
end
end

end
R(ii)=p;
end
plot(L,R);
xlabel('Length');
ylabel('The position of maximum deflection');

Kindly revert for any queries

Thanks.


Related Solutions

If a beam is loaded in pure bending, where would you expect the maximum compressive and...
If a beam is loaded in pure bending, where would you expect the maximum compressive and tensile stresses to occur
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import and export transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from Australia, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in Australia informed you...
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from France, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in France informed you that the...
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from France, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in France informed you that the...
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from France, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in France informed you that the...
This is for AT&T: The analysis you have done so far might lead you to expect...
This is for AT&T: The analysis you have done so far might lead you to expect your company to operate with a particular kind of structure. What kind? To what extent does your organizations structure seem to fit with the characteristics of the organization’s technology? For example. Is the structure organic or mechanistic?
Considering the calculations you have done so far, you need to attend to a number of...
Considering the calculations you have done so far, you need to attend to a number of import and export transactions for goods that companies in the United States expressed interest in. The first transaction is for the import of good quality wines from Australia, since a retail liquor trading chain customer in the United States, for who you have been doing imports over the past five years has a very large order this time. The producer in Australia informed you...
Reflect on and relate to what you have learned so far in the course with respect...
Reflect on and relate to what you have learned so far in the course with respect to your ability to calculate gross domestic product and its impact on the economy’s business cycle, unemployment, and inflation; using gross domestic product formulate recommendations for a government’s role in achieving full employment in an economy.
Using the information you have learned so far in this class, state what you think will...
Using the information you have learned so far in this class, state what you think will cause market fluctuations over the next few years as the economy struggles to recover.
For this assignment, you will apply what you learned in analyzing Java™ code so far in...
For this assignment, you will apply what you learned in analyzing Java™ code so far in this course by writing your own Java™ program. The Java™ program you write should do the following: Accept user input that represents the number of sides in a polygon. Note: The code to do this is already written for you. If input value is not between 3 and 5, display an informative error message If input value is between 3 and 5, use a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT