早教吧作业答案频道 -->其他-->
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二次...的网友还看了以下:
a,i,r,e,s和e,v,l,h,i,c,e分别可以组成什么单词, 2020-03-30 …
一道java编程题:有一矩阵:a b c d e f g h i j k l m n o p q 2020-04-06 …
英语单词填空(组成单词)1)d.l.e.d.m.i2)l.e.p.o.i.ee3)u.y.g.o. 2020-04-25 …
点P在曲线C x²/4+y²=1上,若若存在过P的直线交曲线C于A点,交直线l:x=4于B点,(长 2020-05-13 …
看谁写得既准确又漂亮(看拼音,写词语)。kǒngjùyúlèhúpàngùlǜyúěrjiǎoji 2020-05-15 …
这个通达信指标是什么意思内外盘差}PJ:=(H+L+C)/3;V1:=IF(H=L,1,H-MAX 2020-07-09 …
推断题:现有如下反应(反应条件均不给),推断物质⑴A→B+C+D⑵C+E→C+F+D⑶D+G→H⑷ 2020-07-30 …
三元一次方程组a*x+b*y+c*z+d=0,e*x+f*y+g*z+h=0,i*x+j*y+k* 2020-08-03 …
英语:下1.将下联打乱的字母组成单词,并写出汉语意思1.a,e,h,g,c,n[]2.e,i,s,t 2020-12-10 …
英文单词分类填空动物类1.O()t()p()s2.k()t()e()3.l()b()t()r4.a( 2021-02-05 …