关于mathematica画图的基本问题!
题目
关于mathematica画图的基本问题!
式子
dn/dt=r n(1-n/k)-(m (n/a)^2)/(1+(n/a)^2)
a)
On one graph,plot the new predation term (2nd term on right hand side of equation (2)) between n = 0 and n = 100 with m = 5 and a = 1,10,20,50.Remember to label your axes and include a descriptive legend,and make sure the whole axis is shown.
b)
Solve equation (2) numerically between t = 0 and t = 10,using the initial condition n = 1 at t = 0 and the parameter values r = 0.1,k = 100,m = 5 and a = 20.Plot your solution on axes between n = 0 and n = 10,and with appropriate labels.
答案
第一问:Plot[(m (n/a)^2)/(1 + (n/a)^2) /.{m -> 5,a -> {1,10,20,50}} // Evaluate,{n,0,100},AxesLabel -> {"横坐标","纵坐标"},PlotLegends -> {"a=1","a=10","a=20","a=50"},PlotRange->All]第二问:s = NDSolv...
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
最新试题
热门考点
- 作文 一件快乐的事,而笑了,要有意义,不要太幼稚.550-750
- 《柳林风声》读后感500字
- 已知sinθ=15/17,θ是第二象限角,求cos(θ-π3)的值.
- 一个水桶装满水后,水和水桶的质量比是8:1,倒出桶装水的3分之一,剩下的水连桶重19千克,水桶重多少千克.
- Jack and Jill
- 小明的爸爸今年50岁,小明今年22岁,请问再过多少年以后,小明爸爸的年龄是小明的2倍?
- W S Y L 这四个字母可以组成哪些单词?
- 德国 德国的 德国人 德国语 英文怎么说
- 谚语补充:好学深思,( ).拳不离手,( )
- 6x²-x-2=0 用因式分解法