How to solve an equation which includes iteration/summation and with a mixed unknown variable ?
Ältere Kommentare anzeigen

I am trying to solve equation for "Epe(OC)" the first term in exponential, i am using "solve()" to write it in unknown variable form, and it gives me result, however I am not getting a way to solve it in the form of summation, anyone if guide how to solve this type of equation will be great favor.
1 Kommentar
Rik
am 24 Jan. 2023
I recovered the removed content from the Google cache (something which anyone can do). Editing away (part of) your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
Akzeptierte Antwort
Weitere Antworten (1)
Sam Chak
am 12 Apr. 2022
Hi @IQRA KIRAN
Not exactly sure how your summation look like. Maybe the LaTeX code is incorrectly entered.
Anyhow, if you looking to find the root of the equation, for example

then you can try something like this:
n = 1 : 4;
f = @(x) sum(n./(1 + exp(x - n))) - 5; % function to be solved
x0 = 2; % initial guess
x = fzero(f, x0) % root-finding solver
x =
3.0399
Hope this is helpful to give you some insights on how to enter the summation that you desire.
Kategorien
Mehr zu Number games finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


