![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/30135444_1684007860921_DEF.jpg)
Nauryzbay
Followers: 0 Following: 0
Feeds
提问
How to solve a boundary value problem x"+x'=1, x(0)=1, x(1)=2 , with an impulse condition x(i/3+)=2*x(i/3)+1, x'(i/3+)=3*x'(i/3)-1;
function impulsbound %x"+x'=1, x(0)=1, x(i/3+)=2*x(i/3)+1, x'(i/3+)=3*x'(i/3)-1, i=1,2. x(1)=2; format long clear all t=lins...
1 year 前 | 1 个回答 | 0
1
个回答提问
How to plot the first derivative of solution?
function Piecewise1111copy x1=1; u=3; global gamma1; gamma1=x1; teta=zeros(3,1); teta(1)=0; for i=1:3 teta(i+1)=2*i...
1 year 前 | 2 个回答 | 0
2
个回答提问
When I run my code, I keep getting this error: "Undefined function or variable 'y'."
close all;clc tspan = [0 1]; y0(1)=2; y0(2)=1; y0(3)=3; source = 0; tol = 1e-3;%Критерии допуска для определения наилучшей...
1 year 前 | 2 个回答 | 0
2
个回答提问
When I run my code, I keep getting this error: "The following error occurred converting from sym to double: Unable to convert expression into double array."
clc; clear; close; x=linspace(0,1,100); solinit = bvpinit(x,[2 4]); y = bvp4c(@ode2, @bc2, solinit);% ВЫЗЫВАЕМ СОЛВЕР BVP4C...
1 year 前 | 1 个回答 | 0