HOW TO WRITE PROGRAMME THIS FOR SOLVING THIS TYPE COMPLEX EQUATION?

SIR PLEASE HELP ME TO SOLVE THIS TYPE OF COMPLEX EQUATION . I HAVE ATTACHED ONE FILE. PLEASE REPLY SIR

6 件のコメント

madhan ravi
madhan ravi 2018 年 10 月 16 日
what have tried so far?? upload your code
Debasis Roy
Debasis Roy 2018 年 10 月 16 日

SIR I AM NOW LEARNING MATLAB. THATS WHY I AM ASKING HOW TO WRITE.I HAVE SEEN VIDEOS BUT IT IS NOT SO COMPLEX IN VIDEOS. SO I AM ASKING FOR HELP

Walter Roberson
Walter Roberson 2018 年 10 月 16 日
First, work out a naming convention to use, so that you can be consistent in how you name psi subscript 2, or omega superscript plus subscript 2,1 . Decide, for example, whether you are going to spell out kappa or if you are going to use k . The exact naming convention that you use is not important, as long as the result works with MATLAB's variable name restrictions (must begin with a letter, after which you can use letters, digits, and underscore), and as long as it can be easily understood by people reading your code. And be consistent: for example if chi appears in a subscript, do not use a different way of spelling it compared to if chi appears as a main variable.
Secondly: investigate whether those square [] in the equations are just grouping of expressions, or if instead they represent "take the integer part" . If they do represent "take the integer part", find out whether it is a floor() or ceil() or fix() operator that is intended.
Thirdly: start typing, remembering that MATLAB does not have implicit multiplication . You should probably write using the .* operator for multiplication and the ./ operator for division.
Abdul Rehman
Abdul Rehman 2018 年 10 月 24 日
編集済み: Abdul Rehman 2018 年 10 月 24 日
Basically if you can code this,
%basic function
function_1=P(h-y)+T.*exp(-k.*y);
%Apply squareroot
f_1=sqrt(function_1);
int=integral(f_1);
end
hopefully you get it.
Link are provided if u get any problem to perform integration and square root
intgration:
Squareroot:
Exponential:
Debasis Roy
Debasis Roy 2018 年 10 月 24 日
No sir this is not coming.Error function define are not permitted .When I written fun then it said define P
Walter Roberson
Walter Roberson 2018 年 10 月 24 日
"function" is a reserved word, so you would need to use a different variable name.

サインインしてコメントする。

回答 (0 件)

質問済み:

2018 年 10 月 16 日

編集済み:

2018 年 10 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by