Code construction – 1: coordinate grid points and relating parts. Generate coordinate grid points for the spherical coordinate (r, ,  ), and tables for.

Slides:



Advertisements
Similar presentations
Consider the function We could make a graph of the slope: slope Now we connect the dots! The resulting curve is a cosine curve. 2.3 Derivatives of Trigonometric.
Advertisements

8.3 Trigonometric Integrals Math 6B Calculus II. If m is odd and n is real Split off sin x, rewrite the resulting even power of sin x in terms of cos.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Trigonometric Identities.
Lesson 7-3 The Sine and Cosine Functions. Objective:
7-4 Evaluating and Graphing Sine and Cosine Objective: To use reference angles, calculators or tables, and special angles to find values of the sine and.
Integration Techniques, L’Hôpital’s Rule, and Improper Integrals Copyright © Cengage Learning. All rights reserved.
Write the following trigonometric expression in terms of sine and cosine, and then simplify: sin x cot x Select the correct answer:
Summer School 2007B. Rossetto1 Trigonometry  Definitions  H.. P O Let OP = OH’ = r > 0, a positive length. Give the definition of: P’. H’. r r.
Lesson 4.7. Inverse Trigonometric Functions.
Terminal Arm Length and Special Case Triangles DAY 2.
5.3 Solving Trigonometric Equations. What are two values of x between 0 and When Cos x = ½ x = arccos ½.
8.3 Solving Right Triangles
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Lesson 7-2 Hard Trig Integrals. Strategies for Hard Trig Integrals ExpressionSubstitutionTrig Identity sin n x or cos n x, n is odd Keep one sin x or.
9.2 Taylor Series Quick Review Find a formula for the nth derivative of the function.
Chapter 4 Analytic Trigonometry Section 4.3 Double-Angle, Half-Angle and Product- Sum Formulas.
CHAPTER Continuity Integration by Parts The formula for integration by parts  f (x) g’(x) dx = f (x) g(x) -  g(x) f’(x) dx. Substitution Rule that.
Trigonometric Functions Unit Circle Approach. The Unit Circle Definition.
Lesson 4.7. Inverse Trigonometric Functions.  Previously you have learned   To find an inverse of a function, let every x be y and every y be x, then.
Integration by parts Product Rule:. Integration by parts Let dv be the most complicated part of the original integrand that fits a basic integration Rule.
§3.3 Derivatives of Trig Functions The student will learn about: Derivative formulas for trigonometric functions. 1.
Find the angle between the forces shown if they are in equilibrium.
Solving the Poisson Integral for the gravitational potential using the convolution theorem Eduard Vorobyov Institute for Computational Astrophysics.
Sum and Difference Formulas New Identities. Cosine Formulas.
radius = r Trigonometric Values of an Angle in Standard Position 90º
Inverse Trigonometric Functions 4.7
Section 7.5 Unit Circle Approach; Properties of the Trigonometric Functions.
Section 7.5 Inverse Circular Functions
Substitution Rule. Basic Problems Example (1)
1 Combining rotation axes Should be obvious that: C 1 C 2 = C 3 C1C1 C2C2 C1C1 C2C2 C3C3 C3C3.
Graphs of the Trig Functions Objective To use the graphs of the trigonometric functions.
Warm-Up 8/26 Simplify the each radical expression
4.7 Inverse Trig Functions. By the end of today, we will learn about….. Inverse Sine Function Inverse Cosine and Tangent Functions Composing Trigonometric.
Using Fundamental Identities To Find Exact Values. Given certain trigonometric function values, we can find the other basic function values using reference.
4.4 Trigonometric Functions of Any Angle
DOUBLE- ANGLE AND HALF-ANGLE IDENTITIES. If we want to know a formula for we could use the sum formula. we can trade these places This is called the double.
INDEFINITE INTEGRALS Indefinite Integral Note1:is traditionally used for an antiderivative of is called an indefinite integral Note2: Example:
Trig – In a Nutshell Help I’m trapped in a nutshell.
Solving Trigonometric Equations T, 11.0: Students demonstrate an understanding of half-angle and double- angle formulas for sines and cosines and can use.
Right Triangles Consider the following right triangle.
CS 121 – Quiz 3 Question 5. This question is just a different form of question four you solved at quiz 2. a) We need to use law of cosines to solve the.
Sum and Difference Formulas...using the sum and difference formula to solve trigonometric equation.
Warm-Up Write the sin, cos, and tan of angle A. A BC
Chapter 11 Trigonometric Functions 11.1 Trigonometric Ratios and General Angles 11.2 Trigonometric Ratios of Any Angles 11.3 Graphs of Sine, Cosine and.
Integration Techniques, L’Hôpital’s Rule, and Improper Integrals 8 Copyright © Cengage Learning. All rights reserved.
Section 3 – Circular Functions Objective To find the values of the six trigonometric functions of an angle in standard position given a point on the terminal.
12.7 Graphing Trigonometric Functions Day 1: Sine and Cosine.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Section 7-3 The Sine and Cosine Functions Objective: To use the definition of sine and cosine to find values of these functions and to solve simple trigonometric.
Chapter 5 Trigonometric Functions Copyright © 2014, 2010, 2007 Pearson Education, Inc Inverse Trigonometric Functions.
Clicker Question 1 What is  cos 3 (x) dx ? – A. ¼ cos 4 (x) + C – B. -3cos 2 (x) sin(x) + C – C. x – (1/3) sin 3 (x) + C – D. sin(x) – (1/3) sin 3 (x)
Code construction – 3: Computation of source terms. The data of source terms is prepared on grid points of the spherical coordinate (r, ,  ), and it.
8-3 Trigonometry Part 2: Inverse Trigonometric Functions.
Trigonometry Section 7.3 Define the sine and cosine functions Note: The value of the sine and cosine functions depend upon the quadrant in which the terminal.
1. Find the derivatives of the functions sin x, cos x, tan x, sec x, cot x and cosec x. 2. Find the derivatives of the functions sin u, cos u, tan u,
14.1 The Unit Circle Part 2. When measuring in radians, we are finding a distance ____ the circle. This is called. What is the distance around a circle?
Trigonometry Section 7.4 Find the sine and cosine of special angles. Consider the angles 20 o and 160 o Note: sin 20 o = sin160 o and cos 20 o = -cos 160.
Sum and Difference Formulas. WARM-UP The expressions sin (A + B) and cos (A + B) occur frequently enough in math that it is necessary to find expressions.
4.4 Trig Functions of Any Angle Objectives: Evaluate trigonometric functions of any angle Use reference angles to evaluate trig functions.
Objective: Use unit circle to define trigonometric functions. Even and odd trig functions. Warm up 1.Find and. 2.Give the center and radius of a circle.
Integrated Math II Lesson 22 Special Segments in Triangles.
Code construction – 4: Surface fitted coordinate for the fluid and hydrostatic eq. On top of the spherical coordinates for the field (r, ,  ), we introduce.
5 Trigonometric Identities.
 x 3 We know this integral: But what about this integral:
8.3 Trigonometric Identities (Part 1)
Double- And Half-Angle Formulas
Midpoint in the Coordinate Plane
8.3 Trigonometric Identities (Part 1)
8 Integration Techniques, L’Hôpital’s Rule, and Improper Integrals
Presentation transcript:

Code construction – 1: coordinate grid points and relating parts. Generate coordinate grid points for the spherical coordinate (r, ,  ), and tables for functions that is used in the integration of Green’s formula.

rg(ir), ir = 0, nrg : Radial coordinate grid points r i. hrg(ir) : Mid-point of radial grids. drg(ir) : Radial grid spacing  r i := r i – r i-1. subroutine coordinate_patch_kit Radial coordinate grid is non-equidistant, angular grids are equidistant. We use the mid-point rule for the quadrature formula. r nrgmid = Rmid » 2R 0 r nrg = Rout » 10 4 R 0 riri r i-1 r i r 0 = Rin = 0 hr i-1 hr i Radial coordinate input parameters: nrg, nrgin, Rin, Rmid, Rout. nrg : Total number of radial grid points (-1). nrgmid : Number of radial grid points from Rin to Rmid (-1). Rin < Rmid < Rout : r 2 [Rin, Rout], the grid spacing rule is changed at Rmid. Grid spacing : r 2 [Rin, Rmid], equidistant or let  r 1 » 1/4  r nrgmid etc. r 2 [Rmid, Rout],  r i+1 = k  r i.

nrg, rg(ir), hrg(ir), lgmax are used. lgmax: a number of the largest multipole r nrgmid = Rmid » 2R 0 r nrg = Rout » 10 4 R 0 riri r i-1 r i r 0 = Rin = 0 hr i-1 hr i Radial Green’s function Since mid-point rule is used for the numerical integration, r’ is hrg(irr). hgfn_nb(irr,il,ir) =

thg(it), it = 0, ntg :  grid points  i. hthg(it) : Mid-point of  grids  i+1/2. dthg :  grid spacing   coordinate input parameter: ntg. ntg : Total number of  grid points (-1).  2 [0,  ], the grid spacing is equidistant. Functions associated with  coordinate input parameters: lgmax. Trigonometric funcitons. sinthg(it), it = 0, ntg : sin  i. hsinthg(it) : sin  i+1/2 sin at mid-point of  grids. costhg(it), it = 0, ntg : cos  i. hcosthg(it) : cos  i+1/2 cosin at mid-point of  grids. Associated Legendre funcitons plmg(it,il,im), it = 0, ntg, il = 0, lgmax, im = 0, lgmax : at each grid point  i hplmg(it,il,im), it = 1, ntg, il = 0, lgmax, im = 0, lgmax : at each half grid point  i+1/2 Since mid-point rule is used for the numerical integration, we need hplmg(it,il,im) at half grid points  i+1/2.

phig(ip), ip = 0, npg :  grid points  i. hphig(ip) : Mid-point of  grids  i+1/2. dphig :  grid spacing   coordinate input parameter: npg. npg : Total number of  grid points (-1).  2 [0, 2  ], the grid spacing is equidistant. Functions associated with  coordinate input parameters: mgmax = lgmax. Trigonometric funcitons. sinphig(ip), ip = 0, npg : sin  i. hsinphig(ip) : sin  i+1/2 sin at mid-point of  grids. cosphig(ip), ip = 0, npg : cos  i. hcosphig(ip): cos  i+1/2 cos at mid-point of  grids. Trigonometric funcitons with the angle m  sinmpg(im,ip), im = 0, mgmax, ip = 0, npg : at each grid point  i cosmpg(im,ip), im = 0, mgmax, ip = 0, npg : at each grid point  i hsinmpg(im,ip), im = 0, mgmax, ip = 1, npg : at each half grid point  i+1/2 hcosmpg(im,ip), im = 0, mgmax, ip = 1, npg : at each half grid point  i+1/2

Weights for the numerical integration formula of mid-point rule is included in the above (which is 1 at all points). Weight for the integration: assigned at the mid-points. wrg(irr) = hrg(irr) 2 drg(irr) : weight for the radial integratoin r i 2  r i wtg(itt) = hsintheg(itt) dtg : weight for the  integratoin sin  i  i wpg(ipp) = dpg : weight for the  integratoin  i Other parts in the Green’s formula input parameters: lgmax = mgmax. end subroutine coordinate_patch_kit faclmg(il,im) =il = 0, lgmax, im = 0, mgmax. epsig(im) =