Matlab function, v(x) value if input count is x? E = 70 Gpa, I= 1.7 x 10^-6 m^4, q= 2.7 kN/m, L= 6.25 m
v(x) = (gx/24EI)* (L^3 - 2Lx^2 + x^3)

댓글 수: 3

Walter Roberson
Walter Roberson 2020년 4월 23일
is the question how to find x given v(x)? The equation is degree 4 so there would be four solutions.
Walter Roberson
Walter Roberson 2020년 4월 23일
so first test whether x is within range. if it is then use the formula. Just remember that matlab does not have any implied multiplication: gx does not mean g multiplied by x
Rena Berman
Rena Berman 2020년 5월 14일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

답변 (1개)

BALAJI KARTHEEK
BALAJI KARTHEEK 2020년 4월 23일
편집: BALAJI KARTHEEK 2020년 4월 23일

0 개 추천

function v=v(x)
E = 70;
I= 1.7*1e-6;
q= 2.7;
L= 6.25;
if x>=0
if x<=L
v = ((g*x)/(24*E*I))*((L^3)-2*L*(x^2)+(x^3));
else
v=[];
end
else
v=[];
end

댓글 수: 5

Walter Roberson
Walter Roberson 2020년 4월 23일
we recommend against providing complete answers to homework questions.
BALAJI KARTHEEK
BALAJI KARTHEEK 2020년 4월 23일
I am sorry , I think it is related to their project..
Walter Roberson
Walter Roberson 2020년 4월 23일
Notice that they have already deleted the part that shows the question to be answered. There is the distinct appearance that what they may have learned from this is that they can post homework assignments without putting any effort into solving the problem, wait for someone to answer, and then hide the evidence that it was homework.
Walter Roberson
Walter Roberson 2020년 4월 23일
and now they have removed nearly all of the rest of the question, having received effectively free private consulting from you and not having to put in any thought of their own to the solution.
If you had provided guidance about the meaning of parts of code and about syntax, but only given them ideas and outline, then perhaps they would still have edited away the question, but they would have had to think for themselves about the solution and so would have learned something.
We try to help people learn about matlab by working through ideas with them but leaving them to put the ideas together.
Stephen23
Stephen23 2020년 4월 23일
Original question by miika k recovered from Google Cache:
"gpa answer free bar"
Matlab function, v(x) value if input count is x? E = 70 Gpa, I= 1.7 x 10^-6 m^4, q= 2.7 kN/m, L= 6.25 m
v(x) = (gx/24EI)* (L^3 - 2Lx^2 + x^3)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 4월 23일

댓글:

2020년 5월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by