How to get polynomial coefficients in MATLAB For example, Num = 4S ^ 4 + 3.2s ^ 3 + S ^ 2 + S + 1 How to get the coefficient (4,3.2,1,1,1) in descending order of S

How to get polynomial coefficients in MATLAB For example, Num = 4S ^ 4 + 3.2s ^ 3 + S ^ 2 + S + 1 How to get the coefficient (4,3.2,1,1,1) in descending order of S


>> syms s
>> num=4*s^4+3.2*s^3+s^2+s+1
num =
4*s^4+16/5*s^3+s^2+s+1
>> sym2poly(num)
ans =
4.0000 3.2000 1.0000 1.0000 1.0000



Know the chord length and arch height of radius


Know the chord length L and arch height h and find the radius r?
R^2=(R-H)^2+(L/2)^2
R^2=R^2-2*R*H+H^2+L^2/4
2*R*H=H^2+L^2/4
R=H/2+L^2/(8*H)



1/2+1/4+1/8+1/16+1/32+…… N times to 1 / 2


(1) The general formula of equal ratio sequence is: an = A1 * q ^ (n-1)
If the general term formula is transformed to an = A1 / Q * q ^ n (n ∈ n *), then an can be regarded as a function of the independent variable n when Q > 0, and the points (n, an) are a group of isolated points on the curve y = A1 / Q * q ^ X
(2) Sum formula: SN = Na1 (q = 1)
Sn=A1(1-q^n)/(1-q)
=(a1-a1q^n)/(1-q)
=A1 / (1-Q) - A1 / (1-Q) * q ^ n (i.e. a-aq ^ n)
(premise: q is not equal to 1)
The first term of this sequence is 1 / 2, and the common ratio is 1 / 2
therefore
Original formula = 1 / 2 * (1 - (1 / 2) ^ n) / (1-1 / 2) = 1 - (1 / 2) ^ n



Solution of equation x (10 + x) = 1.5


X ^ 2 + 10x-1.5 = 0 is calculated by formula



A little thing happened between me and my parents





A simple formula of 7 × 8 / 9 + 2 × 8 / 9 + 5 × 8 / 9?


7 / 9 × 8 / 1 + 7 / 9 × 8 / 2 + 7 / 9 × 8 / 5
=7 / 9 × (1 / 8 + 2 / 8 + 5 / 8)
=7 / 9 × 1
=7 out of 9
Do not understand can ask, help please adopt, thank you!



Solution equation: - (x-1) &# 179; = 8 / 27


-(x-1)³=8/27
:(x-1)³=-8/27
If both sides of the equal sign open the cube at the same time, the result is as follows:
x-1=-2/3
x=1-2/3
x=1/3



The perimeter of a cube is 5 / 4 meters. The area is {]


Should it be a square?
s=[5/4)/4]*[5/4)/4]=25/256



Given cos (A / 2) = (5 under 2 times the root) / 5, how to find cosa
RUTI


cosA=2cos(A/2)^2-1
=2*(2/5*5^0.5)^2-1
=2*4/5-1=3/5



Solve equation 5.6
I only know that the final answer is 8


Seven tenths is 0.7 x = 5.6 / 0.7 = 8