解不等式的图解法

 时间:2024-10-14 21:01:02

1、命令行键入:% Define the meshx = 0:0.16:5;y = 0:0.16:5;[xx,yy] = meshgrid(x,y);% The plotzz = xx.^yy-yy.^xx;h = surf(x,y,zz);% Set the properties of the ploth.EdgeColor = [0.7 0.7 0.7];view(20,50);colormap(hsv);title('z = x^y-y^x');xlabel('x');ylabel('y');hold on;

2、按“Enter”键。如图1所示。

解不等式的图解法

3、命令行键入:c = contourc(x,y,zz,[0 0]);list1Len = c(2,1);xContour = [c(1,2:1+list1Len) NaN c(1,3+list1Len:size(c,2))];yContour = [c(2,2:1+list1Len) NaN c(2,3+list1Len:size(c,2))];% Note that the NAN above prevents the end of the first contour line from being% connected to the beginning of the second lineline(xContour,yContour,'Color','k');

4、按“Enter”键。如图2所示。

解不等式的图解法

5、命令行键入:plot([0:5 2 4],[0:5 4 2],'r.','MarkerSize',25);

6、按“Enter”键。如图3所示。

解不等式的图解法

7、命令行键入:e = exp(1);plot([e pi],[pi e],'r.','MarkerSize',25);plot([e pi],[pi e],'y.','MarkerSize',10);text(e,3.3,'(e,pi)','Color','k', ... 'HorizontalAlignment','left','VerticalAlignment','bottom');text(3.3,e,'(pi,e)','Color','k','HorizontalAlignment','left',... 'VerticalAlignment','bottom');hold off;

8、按“Enter”键。如图4所示。

解不等式的图解法

9、命令行键入:e = exp(1);e^pipi^e

10、按“Enter”键。如图5所示。

解不等式的图解法
  • excel表格日期格式设置2005-05-15如何设置
  • Windows怎样安装TCP/IP协议
  • Win10事件查看器自定义视图名称怎么修改?
  • 京东商家如何设置详情页店长推荐栏目?
  • 电脑怎么导出组件服务中我的电脑的列表?
  • 热门搜索
    爱护牙齿手抄报 健康成长手抄报 中秋节手抄报图画 红红火火过大年手抄报 勿忘国耻手抄报内容 战疫情手抄报 防止溺水手抄报 关于春节的手抄报图片 手抄报资料 国庆节手抄报一等奖