Community Profile

photo

Skye Cameron


Last seen: 5 months ago Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How to smooth a graph?
This is the code - I am trying to smooth the solved ode number 4 (marked in bold). I am not too sure how to do this? What can I ...

5 months ago | 1 answer | 0

1

answer

Question


ODE 45 Solver Help
I had this code working previously and made a few adjustments and I can not work out how I should resolve this and get it workin...

6 months ago | 1 answer | 0

1

answer

Question


How to use else if with ODE45 solver?
%define ODEs %DOX conc in blood if t<Tiv diffeqs(1,1) = (-k_clr_DOX*C_DOX_Bl)+ R_DOX else R_DOX = 1 R_DOX =...

6 months ago | 1 answer | 0

1

answer

Question


A 2 compartment PK model
I have the following equations and I am not 100% sure how to start my PK model in the matlab command window? Thanks in advance f...

6 months ago | 1 answer | 0

1

answer

Question


My graph will not display
P1 = 1.513; H = 4292; y = 0:0.1:1 X = ((P1/H)*y) / (1+(1 - (P1/H)*y)) plot (X,y) xlim([0 0.00001]) ylim([0 1.2...

1 year ago | 1 answer | 0

1

answer

Question


How to solve for T2? it is giving an error when I try solve
clear all %%Calculate Benzene Duty Q %From Perry's table 2-153 values for Benzene C1_b = 162940; %in J/kmol*K C2_b = -344.9...

1 year ago | 1 answer | 0

1

answer

Question


How to create an integral function? Trying to solve Cp_b between 2 numbers
%%Calculate Benzene Duty Q %From Perry's table 2-153 values for Benzene C1_b = 162940; %in J/kmol*K C2_b = -344.94; %in J/km...

1 year ago | 1 answer | 0

1

answer

Question


My function will not work to calculate the 'Cumene inlet temperature' section
clc clear close all format short g %% Properties taken from Perry's Chemical Engineering Handbook 8th Edition T1=414.95; ...

1 year ago | 1 answer | 0

1

answer

Question


Trying to solve for P in the equation. Been told fzero does not give correct solution.
%clc; clear; close all; format short g; %knowns gamma = 1.66; R = 8.314; m = 4.0e-3; RoM = R/m; P0 = 10e5; T0 = 300; ...

1 year ago | 1 answer | 0

1

answer

Question


Trying to find the function of x for 0<=x<=2L
clc; clear; close all; format short g; %knowns gamma = 1.4; R = 8.31; m = 4.0; P0 = 10; T0 = 300; r0 = 0.01; L = 0.0...

1 year ago | 1 answer | 0

1

answer

Question


Unable to perform assignment because the left and right sides have a different number of elements.
Hi there, looking for help with my code, I have attached the question I have been asked and the code I have created? Thanks h =...

2 years ago | 1 answer | 0

1

answer

Question


Unable to perform assignment because the left and right sides have a different number of elements
I am getting the message, in the title when trying to run this code. How do I sort this? % Euler's Method % Initial conditio...

2 years ago | 1 answer | 0

1

answer