Files
matlab-learning/a2_1_2.m

9 lines
192 B
Matlab
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
% 学号为24110901003
% 学号最后的非零第一位、二位数字u=3v=1;
u=3;
v=1;
% 因为比较复杂,将分子分母分开计算
m=sqrt(u-3*v);
n=u*v;
result=m/n;
disp(result);