As in the text discussion, suppose that an airplane maintains a heading toward an airport at the origin. If
Want to see the full answer?
Check out a sample textbook solutionChapter 1 Solutions
Differential Equations: Computing and Modeling (5th Edition), Edwards, Penney & Calvis
Additional Engineering Textbook Solutions
Modern Database Management (12th Edition)
Starting Out with Python (4th Edition)
Artificial Intelligence: A Modern Approach
C Programming Language
Introduction To Programming Using Visual Basic (11th Edition)
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
- The flight of a model rocket can be modeled as follows. During the first 0.15 s the rocket is propelled upward by the rocket engine with a force of 16 N. The rocket then flies up while slowing down under the force of gravity. After it reaches the apex, the rocket starts to fall back down. When its downward velocity reaches 20 m/s, a parachute opens (assumed to open instantly), and the rocket continues to drop at a constant speed of 20 m/s until it hits the ground. Write a program that calculates and plots the speed and altitude of the rocket as a function of time during the flight. SOLVE WITH MATLAB PLEASEarrow_forwardThis is not a graded assignment but a part of a review I'm studying, please do not reject the question, and thank you in advance for your solution!arrow_forwardA circle in the XY-coordinate system is specified by the center coordinates (x, y) and radius (r). Read the values for 2 circles- x1, y1, r1 for C1 and x2, y2, r2 for C2. (i) Determine whether the 2 circles intersect. To solve the problem it suffices to check if the distance between the 2 centers is lesser than the sum of radii of the 2 circles. (ii) Find the smallest circle that encloses the two circles and return its center coordinates and radius. programming language - carrow_forward
- Please solve.arrow_forwardThe van der Waal's equation of state is given as RT a v-b v² For sulfur dioxide at temperature, T, of 300 K and a pressure, P, of 1 atm, the constants are given as: R = 0.08206 L.atm/(mol.K) L2.mol² P = a = 6.7689 atm.L b=0.05679 L.mol™¹ a) Plot the function f(v)=0 the for volumes for the range of 0 to 40 L/mol using 0.5 increment. b) Identify the root in this plot (where the curve crosses x-axis). c) Use the MATLAB function (fzero) to solve the original f(v) function for the specific volume using the initial guess from part (c). d) Use the MATLAB function (roots) to solve the original f(v) function for the specific volume.arrow_forward7. Solve with Python. A peristaltic pump delivers a unit flow (Q₁) of a highly viscous fluid. The network is depicted in the figure. Every pipe section has the same length and diameter. The mass and mechanical energy balance can be simplified to obtain the flows in every pipe. Solve the following system of equations to obtain the flow in every pipe using matrix inverse. S Q₂ 0₂ le 0₂ 90 Q₁+ 20-20-0 Qs+ 206-20-0 307-206-0arrow_forward
- Suppose that a parachutist with linear drag (m=50 kg, c=12.5kg/s) jumps from an airplane flying at an altitude of a kilometer with a horizontal velocity of 220 m/s relative to the ground. a) Write a system of four differential equations for x,y,vx=dx/dt and vy=dy/dt. b) If theinitial horizontal position is defined as x=0, use Euler’s methods with t=0.4 s to compute the jumper’s position over the first 40 s. c) Develop plots of y versus t and y versus x. Use the plot to graphically estimate when and where the jumper would hit the ground if the chute failed to open.arrow_forwardLet f and g be functions from the positive integers to the positive integers defined by the equations f(x) = 3x + 1, g(x) = x2 + 2, h(x) = 7x - 3 Find the compositions a) g°h (x) b) g° f (x)arrow_forwardThe voltage V(1) (in V) and the current i(t) (in Amp) t seconds after closing the switch in the circuit shown are given by: R Vdt) = V(1– e/) i(t) = e, where t, = RC is the time constant. Consider the case where V = 24 V, R = 3800 2 and C = 4000 x 10-6 F. Determine the voltage and the current during the first 20 s after the switch is closed. Create a vector with values of times from 0 to 20 s with spacing of 2 s, and use it for calculating V(1) and i(t). Display the results in a three-column table where the values of time. voltage and current are displayed in the first, second, and third columns, respectively. (To display values in a Table, just create matrix and have its output displayed) Script ® C Reset I MATLAB Documentation 1 %Don't change the variable name 2 table =arrow_forward
- Two points on line 1 are given as (x1, y1) and (x2,y2) and on line 2 as (x3, y3) and (x4, y4), as shown in Figure 3.8a and b.The intersecting point of the two lines can be found by solving the following linearequations:(y1 - y2)x - (x1 - x2)y = (y1 - y2)x1 - (x1 - x2)y1(y3 - y4)x - (x3 - x4)y = (y3 - y4)x3 - (x3 - x4)y3This linear equation can be solved using Cramer’s rule . If the equation has no solutions, the two lines are parallel (see Figure). Write a program that prompts the user to enter four points and displays the intersectingpoint. Here are sample runs:arrow_forward2. The flight of a model rocket can be modeled as follows. During the first 0.15 s the rocket is propelled upward by the rocket engine with a force of 16 N. The rocket then flies up while slowing down under the force of gravity. After it reaches the apex, the rocket starts to fall back down. When its downward velocity reaches 20 m/s, a parachute opens (assumed to open instantly), and the rocket continues to drop at a constant speed of 20 m/s until it hits the ground. Write a program that calculates and plots the speed and altitude of the rocket as a function of time during the flight.arrow_forwardA discharge factor is a ratio which compares the mass flow rate at the end of a channel or nozzle to an ideal channel or nozzle. The discharge factor for flow through an open channel of parabolic cross-section is: K = 1.2 [V16x +1+ In(V16x² +1+4x)]³ 4x where x is the ratio of the maximum water depth to breadth of the channel at the top of the water. Determine the discharge factors for x in the range 0.45 to 0.90 in steps of 0.05. Script e C Reset I MATLAB Docume 1 %Give values for x: 2 3 %Solve for K: 4arrow_forward
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole