图像验证源码源码如下 clc;clear;close all; x = -1*pi:0.001:2*pi; fx1 = 0.5*sin(2*x-pi/6); fx2 = 0.5*sin(2*x+pi/6); plot(x,fx1,'r','LineWidth',2); hold on; plot(x,fx2,'b','LineWidth',2) 运行结果 在选取误差范围内,易知交点横坐标为π/4(≈0.7854),故满足条件。