hi i have vector for i and this equation : i= (K1*V+(K2*V^0.5)) and amount of V in known. how can i found K1 and K2?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
hi i have vector for i and this equation : i= (K1*V+(K2*V^0.5)) and amount of V in known. how can i found K1 and K2?
1 Commento
David Hill
il 3 Feb 2022
One equation, two unknowns, K1 and K2 fall on a line for each i, infinite solutions for each i.
Risposte (2)
Yongjian Feng
il 3 Feb 2022
If I and V are vectors, you can just call solve to do the job:
I = [1 2];
V = [3 4];
syms K1
syms K2
eq = I == (K1.*V+(K2.*V.^0.5));
sol = solve(eq)
sol.K1
sol.K2
0 Commenti
Vedere anche
Categorie
Scopri di più su Equation Solving in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!