The value of equation

조회 수: 5 (최근 30일)
Mohamed Magid
Mohamed Magid 2021년 5월 5일
댓글: Walter Roberson 2021년 5월 6일
syms x u x3
%x = (0:1:4)
L1 = 8;
L = L1
h1 = 0.1*L
W1 = 17;
f(x)=(4*h1*x/L1)-((4*h1*(x^2))/L1^2);
m1 = diff(f(x));
RAh = 3*W1*L1/8;
RBh = W1*L1/8
HAh = (W1*L1^2)/(16*h1)
HBh = HAh;
H_riser = HAh
VAh = RAh
VBh = RBh
%x = (0:1:L/2);
SFnhac = VAh-W1*x
u1 = m1

답변 (1개)

Star Strider
Star Strider 2021년 5월 5일
I have absolutely no clue as to what you want.
Try this —
syms x u x3
%x = (0:1:4)
L1 = 8;
L = L1
L = 8
h1 = 0.1*L
h1 = 0.8000
W1 = 17;
f(x)=(4*h1*x/L1)-((4*h1*(x^2))/L1^2);
m1 = diff(f(x));
RAh = 3*W1*L1/8;
RBh = W1*L1/8
RBh = 17
HAh = (W1*L1^2)/(16*h1)
HAh = 85
HBh = HAh;
H_riser = HAh
H_riser = 85
VAh = RAh
VAh = 51
VBh = RBh
VBh = 17
%x = (0:1:L/2);
SFnhac = VAh-W1*x
SFnhac = 
u1 = m1
u1 = 
solve_u1_for_x = solve(u1)
solve_u1_for_x = 
4
.
  댓글 수: 3
Mohamed Magid
Mohamed Magid 2021년 5월 6일
편집: Walter Roberson 2021년 5월 6일
for instance when I want to solve the next part I recieved this massage ( error using digits line 24 )
x = (0:1:L/2);
SFnhac = VAh-W1*x
u1 = m1
u11=atan(u1,L/2)
u1ac = vpa(u1,(0:1:(L/2)))
u2 = 1/((1+m1^2)^0.5)
u2ac = vpa(u2,(0:1:4))
u3=u1*u2
u3ac = vpa(subs(u3,(0:1:4)))
Qac = SFnhac*u2-H_riser*u3
subs(Qac)
Walter Roberson
Walter Roberson 2021년 5월 6일
I am not sure why you are not being consistent about what you substitute.
X = (0:1:L/2);
SFnhac = VAh-W1*x
u1 = m1
u11=atan(u1,L/2)
u1ac = vpa(subs(u1,x,X))
u2 = 1/((1+m1^2)^0.5)
u2ac = vpa(subs(u2, x, 0:1:4))
u3=u1*u2
u3ac = vpa(subs(u3, x, 0:1:4))
Qac = SFnhac*u2-H_riser*u3
subs(Qac, x, X)

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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by