怎样用matlab解三角函数cos(π/2*cosθ)/sin(θ)=0.707?是cos((π/2)*cosθ)/sin(θ)=0.707

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/22 19:07:17
怎样用matlab解三角函数cos(π/2*cosθ)/sin(θ)=0.707?是cos((π/2)*cosθ)/sin(θ)=0.707怎样用matlab解三角函数cos(π/2*cosθ)/si

怎样用matlab解三角函数cos(π/2*cosθ)/sin(θ)=0.707?是cos((π/2)*cosθ)/sin(θ)=0.707
怎样用matlab解三角函数cos(π/2*cosθ)/sin(θ)=0.707?
是cos((π/2)*cosθ)/sin(θ)=0.707

怎样用matlab解三角函数cos(π/2*cosθ)/sin(θ)=0.707?是cos((π/2)*cosθ)/sin(θ)=0.707
fun=inline('cos(pi/2.*cos(x))-0.707*sin(x)','x')
x1 =fzero(fun,[0.5 1]),x2 =fzero(fun,[2 2.5])
x1 =
0.8893
x2 =
2.2523