Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, can I have this question (d) answered in a Python program? I also attached some guides if they are useful. d) Consider the setup
Hello, can I have this question (d) answered in a Python program?
I also attached some guides if they are useful.
d) Consider the setup in Fig. 2, where a reflective circular surface with center at (cx,0),cx>0, and radius R>cx reflects the beam of a laser at the origin oriented with an angle (0,45) [degrees] with respect to the x axis. As before, the 2 angle of incidence is the same as the angle of reflection. The reflected beam intersects the x-axis at point (L,0). Write the function reflection_on_circle, which takes as input (cx,R,) and returns L. Fig. 2: Reflection of a laser beam on a circle. - Throughout, measurement units are not specified when not necessary. The functions that you program may assume that the units of the input arguments are consistent with each other. - Due to limitations in finite-precision arithmetic, all equalities are checked up to a certain tolerance. Specifically, for a,bRN, the equality a=b is regarded as true if abN105. - The submission of this assignment implies that you abide by the honor code, which states that you do not receive help from anybody else. However, you can check as many books, papers, and websites as you wish. - Notation: R is the set of real numbers, RN is the set of column vectors with N real entries, and RMN is the set of MN matrices with real entries. Uppercase boldface letters (e.g. A ) denote matrices whereas lowercase boldface letters (e.g. a) denote column vectors. The (i,j)-th entry of a matrix A is denoted as (A)i,j, whereas the i-th entry of a vector v is (v)i. Transpose is indicated by v is the Euclidean norm of the vector vStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started