Create a script file that will accept a value in metric units (mass in kgs, and volume in cubic meter) and will output the equivalent density in lb/cu.ft.
조회 수: 1(최근 30일)
표시 이전 댓글
Create a script file that will accept a value in metric units (mass in kgs, and volume in cubic meter) and will output the equivalent density in lb/cu.ft.
M = input('mass [kgs.]: ');
V = input('volume [cu.m.]: ');
u = symunit;
p = (M*u.lbm)/(V*u.cft);
Is this the correct way to answer this question?
댓글 수: 0
채택된 답변
추가 답변(0개)
참고 항목
범주
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!