Question: Within MATLAB For a bubble, the surface tension force in the downward direction is F d = 4 Tr where T is the surface tension
Within MATLAB
For a bubble, the surface tension force in the downward direction is Fd = 4
Tr where T is the surface tension measured in force per unit length and r is the radius of the bubble. For water, the surface tension at 25 degrees C is 72 dyn/cm.
Write a function that will prompt the user for the radius of the water bubble in centimeters, calculate Fd .
Your function must:
1. Calculate Fd if the radius is a scalar
2. Calculate Fd if the radius is a vector. If the input is a 1 by 4 vector, the output is also a 1 by 4 vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
