Recent content by John31

  1. J

    Find Min Value in MATLAB Array: No Built-in Functions

    Homework Statement I have an array of numbers in MATLAB which I want to located the minimum y-value but output the corresponding x value. (I can explain better if needed) I cannot use a bulit in function so I have tried to write my own. This is what I got so far. The Attempt at a Solution...
  2. J

    MATLAB Approximate Integral with Euler's Method in Matlab

    I have a very complex integral I am trying to approximate the integral with in Matlab using Euler's method. I derived the following function from the original so I do not need an analytical derivative, I just need some help deciphering the argument that is being presented. dydx=@(Isp)...
  3. J

    How Do You Determine the Height H of a Water Jet from a Tank?

    Homework Statement Water at 20C in a tank at a height of 85cm and 75kPa gage flows out and creates a vertical jet determine the height,H, to which the jet rises Homework Equations Bernoulli P1+.5*rho*v1^2+g*rho*H= P2 + .5*rho*v2^2 +g*rho*.85 The Attempt at a Solution My...
  4. J

    Converting Flowrate: Simple Homework Problem Solution

    Homework Statement I have a fluids problem, I will know how to solve it once I can convert the-Wflowrate = 150N/s, to velocity or even mass flowrate. The Attempt at a Solution As i was typing this question i think it came to me I was just drawing a blank but since the given is in N/s...
  5. J

    Matlab % Error for Euler's Method

    Homework Statement I am trying to find the percent error in Euler's method with 3 different step sizes. The Attempt at a Solution Below is some coding I have calculating percent error of Euler's method however there has to be a more efficient way to input the matrices, I have found...
Back
Top