Amit kumar
Followers: 0 Following: 0
Feeds
提问
I want to solve a simple "y=mx+c" with initial condition to find value of "m" and "c" but i am getting error by using following code. Any idea to tackle this kind of problem?
clc clear all close all syms a b x y=a*x+b cond1=y(0)== 1 cond2= y(1)== 0 conds=[cond1 cond2] y_1=solve(y,conds)
1 year 前 | 1 个回答 | 0
1
个回答提问
I am facing error while solving two 2nd order differential equation in which boundary condition are dependent to each other. Any idea where I am doing wrong??
clc clear all; close all; syms psi_1(z) syms psi_2(z) K1=1 K2=1 K3=1 Dpsi_1 = diff(psi_1); Dpsi_2 = diff(psi_2); %%%...
2 years 前 | 2 个回答 | 0