how do i present the variable W with the 2 digits after the decimal point?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i=0.15; v=24;
c=25*10^-6;
R=140; L=260*10^-3;
syms W
eqn = i==v/sqrt((R^2)+(W*L-1/W*c)^2);
W = solve(eqn,W);
w= round(W)
0 Kommentare
Antworten (1)
Purushottama Rao
am 14 Mai 2015
Bearbeitet: Purushottama Rao
am 14 Mai 2015
format bank
w
Siehe auch
Kategorien
Mehr zu Numbers and Precision 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!