Question: Expert if you can solve this problem properly I will sent you extra reward through chegg. Thank In this assignment, you must use variables, loops,

Expert if you can solve this problem properly I will sent you extra reward through chegg. Thank

Expert if you can solve this problem properly I will sent you

In this assignment, you must use variables, loops, if statements, your own function definitions and function calls. For now, you may not use any of the powerful functions available in python modules, with a few exceptions: You may import functions from the math, copy, matrletlibrlot numpy and scirx. The following differential equations describe the behavior of a hydraulic valve system Pa (pl - p2) A = m- Pa Pa y-Kvalve (ps - pl) = p.4. dx + v.2 dpl dt B dt x PI dx y Kvalve (P2 - pa) = p.A. v L.dp2 dt P2 Bdt P2. Pi.V The values for the constant parameters are: A = 4.909 10- *m? Ca = 0.6 ps = 1.4 x 10 Pa pa = 1 x 10 Pa V = 1.473 x 10-43 3 = 2 x 10' Pa p = 850 kg Kvalve = 2-105 m = 30-kg NOTE: All units for the variables and the constants are consistent given, and no unit conversions of any kind are necessary Required: Use odeint/) to solve the differential equations for the response to a constant input of y=0.002 The initial conditions are: x=0, x=0, pi=pa, p2=pa 1. From that solution, plot x as a function of time, with nice title and labels. 2. From that solution, plot pl and p2 together as functions of time, on a new graph, with nice title and labels and legend. In this assignment, you must use variables, loops, if statements, your own function definitions and function calls. For now, you may not use any of the powerful functions available in python modules, with a few exceptions: You may import functions from the math, copy, matrletlibrlot numpy and scirx. The following differential equations describe the behavior of a hydraulic valve system Pa (pl - p2) A = m- Pa Pa y-Kvalve (ps - pl) = p.4. dx + v.2 dpl dt B dt x PI dx y Kvalve (P2 - pa) = p.A. v L.dp2 dt P2 Bdt P2. Pi.V The values for the constant parameters are: A = 4.909 10- *m? Ca = 0.6 ps = 1.4 x 10 Pa pa = 1 x 10 Pa V = 1.473 x 10-43 3 = 2 x 10' Pa p = 850 kg Kvalve = 2-105 m = 30-kg NOTE: All units for the variables and the constants are consistent given, and no unit conversions of any kind are necessary Required: Use odeint/) to solve the differential equations for the response to a constant input of y=0.002 The initial conditions are: x=0, x=0, pi=pa, p2=pa 1. From that solution, plot x as a function of time, with nice title and labels. 2. From that solution, plot pl and p2 together as functions of time, on a new graph, with nice title and labels and legend

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!