For unlimited access to Study Guides, a Grade+ subscription is required.
Programming section (30 points total) The following code must all go inside of a class called Midterm. 21. Write a method sum which takes as input an array of int and returns the sum of the elements in the array. For example, if the array contains 10 2 3, your method should return 15.
a) Calcula la presión (Pa) en función de la temperatura en K Temperatura, con los siguientes valores.
293.15 K 2 931.50 Pa 393.15 K 3 931.50 Pa
b) Grafica los datos de la tabla.
c) El funcionamiento de olla de presión es proporcional entre estos valores de presión y temperatura, como el volumen de la olla no cambia, ¿qué ley se puede aplicar para entender su comportamiento? Explica brevemente tu respuesta.
Given the radius vector and the velocity vector of an orbiting bodyidentify the trajectory as either circular, elliptical, hyperbolicor parabolic.r = J + 2Kv = .9I + .123KAlright, so I guess my question is if I'm doing thiscorrectly?I am trying to find the eccentricity of the orbital path which willtell me what type of trajectory it is on.So I start by finding the angular momentum which is h. h = r crossv which gives me .123I + .18J - .9KThen I use the equation for eccentricity, mag(e) = (v cross h)/mu -r/magnitude(r).I need to find mu which is a gravitational constant and since itsgeneric units of DU (distance units) and TU (time units) the muconstant has units of DU^3/TU^2. To get these units I usemag(r)*mag(v)^2.I do not know if this is the correct way of getting mu, thegravitational constant usually equals G*M (gravitational constant *mass of central body) but all I am given is the r and vvectors.Anyway continuing on with the problem I get the magnitude of e =.02655 which is between 0 and 1 so the orbit is an ellipse.Again, I just am wondering if I am doing this right.Thanks.