早教吧作业答案频道 -->其他-->
MATLAB用来plot二次函数的问题.我不晓得这个题要回答哪个方面Plotthefunctiony=a*x.^2+b*x+cusingx=[-10..10].Tryenteringa=1,b=3,c=-10.Rememberwhatyousee.Entera=1,b=30,c=-1000.Whatdoyouseenow
题目详情
MATLAB用来plot 二次函数的问题.我不晓得这个题要回答哪个方面
Plot the function y = a*x.^2 + b*x + c using x = [-10..10].
Try entering a = 1, b = 3, c = -10. Remember what you see.
Enter a = 1, b = 30, c = -1000. What do you see now? Compare with your previous observation!
Then, what happens if we use these values: a = 1, b = -40, c = 400?
Finally, what happens if we use these values: a = 1, b = 0, c = 1?
What is your conclusion with these observations?
Although you can explain this phenomenon mathematically, your task here is to utilize debugging
feature shown above to identify what is/are the `error(s)'?
Suggest some improvements to the code to address the issues that you found in above question
Plot the function y = a*x.^2 + b*x + c using x = [-10..10].
Try entering a = 1, b = 3, c = -10. Remember what you see.
Enter a = 1, b = 30, c = -1000. What do you see now? Compare with your previous observation!
Then, what happens if we use these values: a = 1, b = -40, c = 400?
Finally, what happens if we use these values: a = 1, b = 0, c = 1?
What is your conclusion with these observations?
Although you can explain this phenomenon mathematically, your task here is to utilize debugging
feature shown above to identify what is/are the `error(s)'?
Suggest some improvements to the code to address the issues that you found in above question
▼优质解答
答案和解析
第一个问题:
联立方程后有两种情况,有实解,无实解,如果无实解则说明无法在实解范围内同时满足两等式成立,而虚解,也即是带有i的解在3x+4y是无大小之分的,也就没有最大最小值,所以必须是实解,也就有了△≥0然后确定范围
第二个问题:
p是定数的意思是它是一个确定不变的数,可能是2,可能是3,但是我们不知道,如果它是2就不会是3,它不像x可以取很多不同值.此题的意思是先将p看成定值,有解的条件可以确定一个关于P的不等式,那么P的可能值范围给出,然后用P的范围来推出X的解的范围
联立方程后有两种情况,有实解,无实解,如果无实解则说明无法在实解范围内同时满足两等式成立,而虚解,也即是带有i的解在3x+4y是无大小之分的,也就没有最大最小值,所以必须是实解,也就有了△≥0然后确定范围
第二个问题:
p是定数的意思是它是一个确定不变的数,可能是2,可能是3,但是我们不知道,如果它是2就不会是3,它不像x可以取很多不同值.此题的意思是先将p看成定值,有解的条件可以确定一个关于P的不等式,那么P的可能值范围给出,然后用P的范围来推出X的解的范围
看了 MATLAB用来plot二次...的网友还看了以下:
求(1+x+1/x平方)的10次方展开试中的常数我是怎样算的。T(r+1)=C(10,r)*(1+ 2020-05-13 …
若a的m次方=a的n次方(a>0,且a不为1,m,n是正整数),则m=n.你能利用上面的结论解决下 2020-05-14 …
matlab 求解二元非线性方程组本人初次接触MATLAB,望大虾赐教!r=r0*((tsa-t) 2020-05-16 …
设a=(1/2,1/2,1/2,1/2)T次方,A=I-aa的T次方,B=I+2aa的T次方,其中 2020-05-23 …
刚做到一道数学题不懂来问问!e的8次方等于未知数T,求e的T次方等与多少?[e=2.713.]好像 2020-06-02 …
两个矩阵的规模不符合矩阵乘法的条件时,可以交换这两个矩阵的次序吗有一个3x1的矩阵A,3x3的矩阵 2020-06-10 …
要有做题格式t℃时,A物质的不饱和溶液,蒸发20克水或加入4克溶质均可达饱和,求t℃时A物质的溶解 2020-06-17 …
C的一段程序如果输入两位或两位以上的数(假设位数为n)把这个数的后n-1位输出例如输入123输出2 2020-07-26 …
读欧洲一月等温线图,回答7一8题。小题1:从等温线分布规律看,莫斯科与巴黎一月平均气温最大温差(T 2020-08-03 …
物理选择双连发,1.科学家研究发现,地球上金属锇的密度为22.6乘10三次方kg/m3,宇宙中的中子 2020-12-16 …