数学
MATLAB中用符号计算验证三角等式 (sin(x))^2+(cos(x))^2=1

2019-05-27

MATLAB中用符号计算验证三角等式 (sin(x))^2+(cos(x))^2=1
优质解答
>> syms x
>> y=(sin(x))^2+(cos(x))^2
y =
cos(x)^2 + sin(x)^2
>> simplify(y)
ans =
1
>> syms x
>> y=(sin(x))^2+(cos(x))^2
y =
cos(x)^2 + sin(x)^2
>> simplify(y)
ans =
1
相关问答