Мягкое и жесткое возбуждение автоколебаний
independent: { t: 0 }, dependent: { //x: [4, 4, 4, 4, 4, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0.5, 1, 1.5, 2, 3, 4], //y: [0, 1, 2, 3, 4, 4, 4, 4, 4, 3, 2, 1.5, 1, 0.5, 0, 0, 0, 0, 0, 0, 0], x: [2,0.1], y: [0,0], v: [2, 0.1], u: [0, 0], }, parameters: { c: { min: -2, max: 2, value: -1.5 }, }, derivatives: { dx_dt: 'x*(c-(x*x+y*y))-2*3.14*y', dy_dt: 'y*(c-(x*x+y*y))+2*3.14*x', du_dt: 'u*(c+2*(u*u+v*v)-(u*u+v*v)*(u*u+v*v))-2*3.14*v', dv_dt: 'v*(c+2*(u*u+v*v)-(u*u+v*v)*(u*u+v*v))+2*3.14*u', }, solver: { step: 0.01, accuracy: 0.01, autostop: 10, }, param_charts: [ [ { func: 'r1(c)', equation: '0', accuracy: 0.01, bounds: { min: -2, max: 0 }, options: {lines: { lineWidth: 4}, color: 'red' } }, { func: 'r1(c)', equation: '0', accuracy: 0.01, bounds: { min: 0, max: 2 }, options: {lines: { lineWidth: 1}, color: 'red' } }, { func: 'r1(c)', equation: 'Math.sqrt(c)', accuracy: 0.01, bounds: { min: 0, max: 2 }, options: {lines: { lineWidth: 4}, color: 'blue' } }, ], [ { func: 'r2(c)', equation: '0', accuracy: 0.01, bounds: { min: -2, max: 0 }, options: {lines: { lineWidth: 4}, color: 'red' } }, { func: 'r2(c)', equation: '0', accuracy: 0.01, bounds: { min: 0, max: 2 }, options: {lines: { lineWidth: 1}, color: 'red' } }, { func: 'r2(c)', equation: 'Math.sqrt(1-Math.sqrt(1+c))', accuracy: 0.01, bounds: { min: -1, max: 0 }, options: {lines: { lineWidth: 1}, color: 'green' } }, { func: 'r2(c)', equation: 'Math.sqrt(1+Math.sqrt(1+c))', accuracy: 0.01, bounds: { min: -1, max: 2 }, options: {lines: { lineWidth: 4}, color: 'blue' } }, ], ], limit_points: { r1: '[0,Math.sqrt(c)]', r2: '[0,Math.sqrt(1+Math.sqrt(1+c)),Math.sqrt(1-Math.sqrt(1+c))]', }, point_colors: ['red','blue','green'], solver: { step: 0.01, accuracy: 0.01, autostop: 10, }, plot_options: { 'x': { min: -2, max: 2, }, 'y': { min: -2, max: 2, }, 'u': { min: -2, max: 2, }, 'v': { min: -2, max: 2, }, 'r1': { min: -2, max: 2, }, 'r2': { min: -2, max: 2, }, }, plots: { 'y(x)' :{set_variables: function(o) {o.u=undefined;o.v=undefined;}, shadowSize: 0}, 'r1(c)':true, 'y(t)':{set_variables: function(o) {for (i in o) delete o[i];}}, 'x(t)':{set_variables: function(o) {for (i in o) delete o[i];}}, 'u(v)' :{set_variables: function(o) {o.x=undefined;o.y=undefined;}, shadowSize: 0}, 'r2(c)':true, 'u(t)':{set_variables: function(o) {for (i in o) delete o[i];}}, 'v(t)':{set_variables: function(o) {for (i in o) delete o[i];}}, }
Счёт:
Запускать по щелчку
Редактировать модель