How to write the codes for this gamma function?
Mostra commenti meno recenti

I am trying to find the value for alpha and beta. the answer should be alpha=395.2359 and beta=2.0698
But i am not getting this answer.
I used this code.
syms a b
[a,b]=solve(a.*gamma((1/b) + 1) - 350.1 == 0, a.^2.*gamma((2/b) + 1) - 154056.7 == 0)
Can someone tell me where is the problem in my codes and what should be the right codes?
Thanks.
Risposta accettata
Più risposte (1)
Alan Stevens
il 23 Ott 2020
0 voti
Compare your coded value of 154056.7 with the equation's value of 154.056.
1 Commento
MD. Rokibujjaman sovon
il 23 Ott 2020
Categorie
Scopri di più su Numeric Solvers in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
