Finding equilibrium in matlab

46 visualizzazioni (ultimi 30 giorni)
Aseel Alamri
Aseel Alamri il 10 Nov 2020
Risposto: Pranav Verma il 8 Dic 2020
I am trying to find the equilibrium fo three different equtions.
clear all;
syms V(t) a b v1 v2 v3
time = [3.46
4.58
5.67
6.64
7.63
8.41
9.32
10.27
11.19
12.39
13.42
15.19
16.24
17.23
18.18
19.29
21.23
21.99
24.33
25.58
26.43
27.44
28.43
30.49
31.34
32.34
33
35.2
36.34
37.29
38.5
39.67
41.37
42.58
45.39
46.38
48.29
49.24
50.19
51.14
52.1
54
56.33
57.33
59.38];
Volume = [0.0158
0.0264
0.0326
0.0445
0.0646
0.0933
0.1454
0.2183
0.2842
0.4977
0.6033
0.8441
1.2163
1.447
2.3298
2.5342
3.0064
3.4044
3.2046
4.5241
4.3459
5.1374
5.5376
4.8946
5.066
6.1494
6.8548
5.9668
6.6945
6.6395
6.8971
7.2966
7.2268
6.8815
8.0993
7.2112
7.0694
7.4971
6.9974
6.7219
7.0523
7.1095
7.0694
8.0562
7.2268];
a1 = 0.4340;
b1 = 0.2158;
a2 = 0.3389;
b2 = 0.0489;
a3 = 0.2375;
b3 = 0.1179;
solB = solve ( a1*V(t)^(2/3) - b1*V(t) ==0, v1)
solL = solve (a2*V(t) - b2*V(t)^(2)==0, v2)
solG = solve(a3*V(t) - b3*V(t)*log(V(t)) ==0 , v3)
This what gives me:
  5 Commenti
Aseel Alamri
Aseel Alamri il 10 Nov 2020
They are not related to the equations I just put them in there. Also with out them it gives me waring for each equation.
Here are my 3 equations:
Eq1 = a1*V(t)^(2/3) - b1*V(t) ==0
Eq2 = a2*V(t) - b2*V(t)^(2)==0
Eq3 = a3*V(t) - b3*V(t)*log(V(t)) ==0 What should I do?
Stephan
Stephan il 10 Nov 2020
Sorry, i can not follow. Please clarify what you want to do. What is the expected result? For what are the vectors for time and Volume? Your question is unclear to me.

Accedi per commentare.

Risposte (1)

Pranav Verma
Pranav Verma il 8 Dic 2020

Categorie

Scopri di più su Symbolic Math Toolbox 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!

Translated by