Files
matlab-learning/lab4/exercise4_3.m
2025-11-26 19:01:27 +08:00

8 lines
111 B
Matlab

x=input('请输入x的值:');
if x==10
y=cos(x+1)+sqrt(x*x+1);
else
y=(3^(1/2))*sqrt(x+sqrt(x));
end
y