Community Profile

photo

Amit kumar


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 1 answer | 0

1

answer

Question


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); %%%...

1 year ago | 2 answers | 0

2

answers