Community Profile

photo

joshua payne


Last seen: 1 day ago Active since 2022

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


I want to check if something algebraically simplifies to 0 when i sub in values
clc clear syms q1 q2 q3 g Y u a rho e E=[q2,((q2^2)/q1)*(1-(g-1)*.5)+(g-1)*q3,((q3*q2)/q1)+(g-1)*((q3*q2)/q1)-.5*(g-1)*(q2^...

5 days ago | 2 answers | 0

2

answers

Question


i want to use a function to calculate values using 2 changing inputs
clc clear M_inf=[1.46772 1.49692 1.52613 1.55533 1.58332 1.61132 1.63931 1.66731 1.69559 1.72386 1.75213 1.78041 1...

2 months ago | 1 answer | 0

1

answer

Question


how to calculate for a range of values for different initial conditions
function [theta]=theta_beta_M(beta,M,gamma) % return theta for beta-theta-M relationship for oblique shock beta=linspace(0,(pi...

2 months ago | 2 answers | 0

2

answers

Question


im trying to solve a system of 4 nonlinear equations with 4 unknowns
clc clear all f= @(x) [x(1)+.17*x(1)-x(2)-x(3)-x(4); (((x(3)^(1/2))*x(4))/x(2))-.465797; 2*x(1)-2*x(2)-2*x(3)-x(4); 2*(.17*x...

2 months ago | 2 answers | 0

2

answers

Question


trying to plot 3 variables in 3d
clc clear all theta= linspace(.01, .55) %for thetamax = 32 degrees M=linspace(2,5) gamma=1.4 lambda3=sqrt((((M.^2)-1).^2)-3...

3 months ago | 2 answers | 0

2

answers

Question


solving a system of equations
clc clear all M1=3 P1=101325 %pa or 1 atm theta2 = .349 %rad or 20 degrees theta3 =.262 %rad or 15 degrees %first get P2 ...

3 months ago | 1 answer | 0

1

answer

Question


need to solve for a variable numerically
need to solve for M1 based off data and equations. gamma=1.4; M=((((Po./P).^((gamma-1)./gamma)-1)*2)/(gamma-1)).^(1/2); Mso...

4 months ago | 1 answer | 0

1

answer

Question


solving an equation for a variable that has changing varibles in it
im trying to solve for M1 based off a changing Pr index1=1:304; index2=697:1000; index3=305:696; figure plot(t(index1),M...

4 months ago | 0 answers | 0

0

answers

Question


I have an equation that relies on previous values to get the next.
this is the basic set up i have P=[1 2 3 4 5] M1=0 P2/P1=(1+M2^2)/(1+M1^2) i need to solve for M2, then using M2 as the new ...

4 months ago | 1 answer | 0

1

answer