Jump to content

Recommended Posts

Posted

I have a flashlight angled at [math]\phi[/math] from zenith (the z-axis).

the flashlight can be rotated around the z-axis so the beam forms a cone (angled at [math]\phi[/math] from zenith).

 

Moreover, the bulb in the flashlight can also be angled [math]\phi[/math], so the resulting angle from zenith can vary from [math]0[/math] to [math]2\phi[/math] degrees.

 

The question is, how do I transform a cartesian coordinate representation in space, into the two axes? So, for instance, [math](x,y,z)[/math] becomes [math](r,\theta_1,\theta_2)[/math] where [math]\theta_1[/math] is the angle of the flashlight itself. and [math]\theta_2[/math] the angle of the bulb. [math]r[/math] is the radial distance which is probably [math]\sqrt{x^2+y^2+z^2}[/math].


Merged post follows:

Consecutive posts merged

I just realized that there are several solutions to the cartesian coordinates. Perhaps it is better to define [math]\theta_2[/math] as the difference between the bulb and the flashlight. Thus [math]\theta_2 = 0[/math] when the resulting beam angle from zenith is [math]2\phi[/math].

In that case, what would the transform then look like?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.