HOW TO WRITE PROGRAMME THIS FOR SOLVING THIS TYPE COMPLEX EQUATION?
Mostrar comentarios más antiguos
SIR PLEASE HELP ME TO SOLVE THIS TYPE OF COMPLEX EQUATION . I HAVE ATTACHED ONE FILE. PLEASE REPLY SIR
6 comentarios
madhan ravi
el 16 de Oct. de 2018
what have tried so far?? upload your code
Debasis Roy
el 16 de Oct. de 2018
Walter Roberson
el 16 de Oct. de 2018
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
el 24 de Oct. de 2018
Editada: Abdul Rehman
el 24 de Oct. de 2018
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
el 24 de Oct. de 2018
Walter Roberson
el 24 de Oct. de 2018
"function" is a reserved word, so you would need to use a different variable name.
Respuestas (0)
Categorías
Más información sobre Common Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!