Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given the parameters set in the template below, create a script that uses Euler's method to chart the height of water in the tank (

Given the parameters set in the template below, create a script that uses Euler's method to chart the height of water in the tank (y in the diagram below) of Pliney's fountain.
Use a time-step of 0.01 seconds and investigate from t=0 to t=100 seconds. Assume the tank is initially empty. Plot the resulting relationship.
Script 8
Save
Reset
I MATLAB Docume
% Parameters and initial conditions
Q_in =50**10???-6;% Flow in m???3s
Rt=0.05; ,% Tank radius in m
y_high=0.1; ,% high water mark in m
r=0.007;,%outlet radius in m
C=0.6;,% dimensionless constant
y-low =0.025; ,% low water mark in m
g=9.81;,% gravitational constant in ms???2
v=0:,% initial water level in m
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions