Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use matlab to solve the following problem. Please include function file or script for function file. For the main script, a while loop and

Please use matlab to solve the following problem.

Please include function file or script for function file.

For the main script, a while loop and a for loop (within the while loop) should be used.

image text in transcribed

image text in transcribed

The terminal velocity of a spherical particle falling through a fluid is given by the equation: vt=3CD4g(p)Dp Where The coal particle density p=1800kg/m3 Density of water =994.6kg/m3 Gravitational constant g=9.80665m/s2 CD= the coefficient of drag Dp= the diameter of the coal particle (m) The viscosity =8.931104kg/ms The coefficient of drag is a function of the particle Reynolds number and is given by: CD=(Re24)(1+0.14Re0.7)Re=Dpvt For a given particle of coal falling through water, find the terminal velocity vt(m/s) using the Matlab fzero function for 4 separate particle diameters. Set up a while loop in which the particle diameter is varied as follows: 0.15mm,0.20mm,0.25mm&0.30mm. (Hint you must convert from mm to m ) Use the fzero function within the loop to find vt by passing the particle diameter and an initial guess (use vt =0.03m/s ) to the function file for each iteration. Define and save the function file as terminal.m to solve the problem. Within the loop save the values of terminal velocity vt, and particle diameter Dp in a new array and plot the terminal velocity as a function of particle diameter for each value of the diameter without using the hold on command. Also print out the terminal velocity using an fprintf statement in the following format: The terminal velocity is . for amm particle

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

Step: 3

blur-text-image

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

Elementary Principles of Chemical Processes

Authors: Richard M. Felder, ‎ Ronald W. Rousseau, ‎ Lisa G. Bullard

4th edition

978-1118431221, 9781119192138, 1118431227, 1119192137, 978-1119498759

More Books

Students also viewed these Chemical Engineering questions

Question

Fire Fighting Robots

Answered: 1 week ago