The value of equation

4 Ansichten (letzte 30 Tage)
Mohamed Magid
Mohamed Magid am 5 Mai 2021
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

Antworten (1)

Star Strider
Star Strider am 5 Mai 2021
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 Kommentare
Mohamed Magid
Mohamed Magid am 6 Mai 2021
Bearbeitet: Walter Roberson am 6 Mai 2021
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 am 6 Mai 2021
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)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by