Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

function F = turbfriction ( x ) % x ( 1 ) = diameter % x ( 2 ) = velocity % x ( 3

function F=turbfriction(x)
%x(1)=diameter
%x(2)=velocity
%x(3)=Reynolds Number
%x(4)=friction
F=[x(2)-0.35/(3.14*x(1)*x(1)/4);
x(3)-x(2)*x(1)/(1.655*10^(-5));
1/sqrt(x(4))+2.0*log10(2.51/(x(3)*sqrt(x(4))));
x(4)-20*x(1)*2*9.81/(150*x(2)*x(2))];function F=turbfriction(x)
options=optimset('tolx',1e-18,'maxfunevals',4000000,'tolfun',1e-18,'maxiter',200000)
[x,fval]= fsolve('turbfriction',[0.10.11000000.1],options)
can you calculate the diameter with using octave for assigned conditions for methanol? and please use codes and results screenshots?
\table[[\table[[Methanol],[(liquid)]],10,30,803.0,6.953\times 10^(-4)]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions