I need an answer for the program below

1 view (last 30 days)
M.Rameswari Sudha
M.Rameswari Sudha on 22 Feb 2022
Edited: Image Analyst on 23 Feb 2022
I couldn't find the answer for t1. Here int means integral.
a1=30;
b1=5;
c1=5;
c2=10;
c3=12;
c4=8;
T=12;
syms t1
ft1=a1+b1.*t1;
D1='(ft1./T).*[c1.*(exp((al.*t1^2)./2)-1)+c2.*int((exp((al.*t1^2)./2)-1)).*dt+c3.*exp((del.*(t1-T))).*(t1-T)+c4.*exp((del.*(t1-T)))';
t1=solve'D1'
  2 Comments
Torsten
Torsten on 22 Feb 2022
Edited: Torsten on 22 Feb 2022
Please show the equation you are trying to solve in a mathematical notation.
Your D1, especially the term int((exp((al.*t1^2)./2)-1)).*dt, does not make much sense.
Further, al, dt, del are undefined.
M.Rameswari Sudha
M.Rameswari Sudha on 23 Feb 2022
I want to integrate this term int((exp((al.*t1^2)./2)-1)).*dt by using matlab, and then simultaneously I want to find t1 value from that equation. dt is a differential with respect to the variable t1 of integration. Here I want to change ft1 in different function of t1. so I didn't integrate the term int((exp((al.*t1^2)./2)-1)).*dt. sorry I forget to give the valu for al and del. al =0.01; del= 0.2; Kindly give the solution for the above equation.

Sign in to comment.

Answers (0)

Categories

Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!