photo

Rodrigo Blas


Last seen: 4 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Use fsolve to solve matrix
Would like to use fsolve to solve xeq. When i multiply with vector 'T' and 'Y' I only get one value. How would I make it retu...

4 years ago | 1 answer | 0

1

answer

Question


using fsolve with matrix
I would like to calculate xeq using fzero xeq should be a vector. T and Y is a vector. function ydot=Zazarian_f_5(~,x) X=x...

4 years ago | 1 answer | 0

1

answer

Question


Plot two lines on different graphs from integral
To=27+273.15; %%k cao=0.1; %%mol/dm^3 k1=.01; %%dm^3/mol*s tha=1;thb=1; ha=-20000; hb=-15000; hc=-41000; %%cal/mol cpc...

4 years ago | 1 answer | 0

1

answer

Question


error message when trying ot integrate
To = 27 + 273.15; % C vo = 2; % dm^3/s cao = 0.1; ...

4 years ago | 1 answer | 0

1

answer

Question


Would like to graph an ode45 answer with if statment
function diffy2=Ljallo_f_q2(~,X) y=X(1);T=X(2); %%data Q=0.06555; %%m^3/s ctot=0.0203; %%knol.m^3 alpha=2...

4 years ago | 1 answer | 0

1

answer

Question


Graph of ODE comes out wrong
%%data R=62.364; %%torr L/gmol K T=473; %%K vo=100/3600; %%L/s pnh3=.046; %%torr ...

4 years ago | 1 answer | 0

1

answer

Question


solve a matrix ode45
pnh3=.046; %%torr po2=.068; %%torr R1=1.987 ; %%cal/gmol*K R=62.364; %%torr L/gmol K vo=100/3600; ...

4 years ago | 0 answers | 0

0

answers

Question


Would like to create a 2x3 matrix using for loop
pnh3=.046; %%torr po2=.068; %%torr R1=1.987 ; %%cal/gmol*K R=62.364; %%torr L/gmol K vo=100/3600; ...

4 years ago | 1 answer | 1

1

answer

Question


I would like to create a matrix using a for loop
function rn=Ljallo_f_q1(T,R,pnh3,po2) for i=1:3 A=zeros(3,1); B=zeros(3,1); C=zeros(3,1); rn=zeros(3,1); rn(i)=A(i)/(B(i)*...

4 years ago | 1 answer | 0

1

answer

Question


Plotting multiple figures: one figure doesnt show and the other is wrong
vo=10; %%dm^3/min T=27+273.15; %%k p=4; %%atm R=82060; %%dm^3*atm/(k*mol) k1=.004; %%(mol/dm^3)^.5*m...

4 years ago | 1 answer | 0

1

answer

Question


how to obtain matrix with two symbolic equations with dsolve
clc, clear a1=28*7*400; %%ft^2 po=40.6; %%psi dpio=9; ...

4 years ago | 1 answer | 0

1

answer

Question


I want to integrate froma function
function prob7f=xequil(x,cao,ep,k2,kc,Fao) ca=cao*(1-x)./(1+ep*x); cb=cao*(1-x)./(1+ep*x); cc=2*cao*x./(1+ep*x); ra=-(k2*(...

4 years ago | 1 answer | 0

1

answer

Question


Trying to graph two differential equations on same plot
T1=50+273.15; %%k T2=127+273.15; %%k Fao=2.5; %%mol/min P=10; %%atm k1=1...

4 years ago | 1 answer | 0

1

answer

Question


Keep getting an error message when integrating
clear all, clc T1=50+273.15; %% T2=127+273.15; %%k Fao=2.5; %%mol/min P=10; ...

4 years ago | 1 answer | 0

1

answer

Question


I keep getting "not enough input arguments" when trying to fsolve
l=5*10^-2; dab=1*10^-9; wai=.18; wastar=.02; wa=.1; rhob=1-wa; rhoa=wa; rhoai=wai; rhostar=wastar; thetastar=(rhoa/rhob...

4 years ago | 1 answer | 0

1

answer

Question


I cant find my value for an fsolve.
clc, clear a1=28*7*400; %%ft^2 po=40.6; %%psi delpio=9; ...

4 years ago | 1 answer | 0

1

answer

Question


Pass the answers of ode45 over to another function and solve the simultanous equation
clc, clear a1=28*7*400; %%ft^2 po=40.6; %%psi delpio=9; ...

4 years ago | 0 answers | 0

0

answers

Question


How to use fsolve an implicit equation?
clc, clear a1=28*7*400; %%ft^2 po=40.6; %%psi delpio=9; ...

4 years ago | 1 answer | 0

1

answer

Question


I want to create a function that integrates
function H=intCP(A,B,C,D,T1,T2) syms T H=A*10^(-3)+B*10^(-5)*T+C*10^(-8)*T^2+D*10^(-12)*T^3; vpaintegral(H,T1,T2) end %%c...

5 years ago | 1 answer | 0

1

answer

Question


I cant get this matlab function to work.
I have to use fsolve() to call this function. I want to input a guess for fsolve() and I want two answers for each of the equat...

6 years ago | 1 answer | 0

1

answer