

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


5
cos 2 ( x ) + 3 e x^ + x^3
dx From x=0 to x=
Using: a) Trapeziodal rule with 100 steps
b) Trapezoidal rule with 200 steps
c) Above results + Richardson extrapolation equation (This is a 2 iteration Romberg integration)
d) Using a 2 point Gaussian Quadrature method
equation: di dt
= 1.5 + 2.5 i
a) Compute and plot the exact solution of the integral from time t=o to t=3. b) Implement a central difference Euler solution ti I as a function of time with intial conditions i=0 at t=0 up to a time of t=3. c) Run the euler solution for various stepsizes from 0.2 to. d) Produce a plot showing the exact solution and a few different stepsize solutions showing convergence with stepsize.
a) Plot the limiting top speed for this ship as a function of drag on the ship. ( assume a lower limit on drag of 200kN)
b) If the ship moves at 12 knots what is the maximum drag that this hull could have?
c) At this speed estimate the wake diameter exiting the propeller far downstream?
a) Compute the unit normal vector given 3 points in space: P1=[X1,Y1,Z1] P2=[X2,Y2,Z2] and P3=[X3,Y3,Z3] Test the function by computing the normal vector on a plane of known orientation.
b) Compute the velocity vector induced by a vortex segment of input strength GAMMA at a point in space given the end points of the vortex: PV1=(XV1,YV1,ZV1] and PV2=[XV2,YV2,ZV2] and the point in space P=[X,Y,Z]. Test the function with a long unit strength vortex on the z axis and a point P unit distance along the x-axis. The result should be close to the 2D vortex velocity result.