1
$\begingroup$

This is probably a very simple question to all of you, but I have never taken a physics class, so I am lost for what I need to do for a programming problem. I will need to specify a force by inputting the newtons x, newtons y, and newtons z.

How can I calculate these 3 forces based on the desired angle and desired force for that direction?

Thank you for your time, this project is important to me.

  • 0
    @MattBell: Further to my comment "(2) Is the force given by let's say $\mathbf{F}=\frac{\left\vert \mathbf{F}\right\vert }{\left\vert \mathbf{v}\right\vert }\mathbf{v}$, where $\mathbf{v}$ is the vector $\mathbf{v}=v_{x}\mathbf{i}+v_{y}\mathbf{j}+v_{z}\mathbf{k}$ ?" I would like to add that you can change from rectangular to cylindrical or spherical co-ordinates or vice-versa.2010-09-30

1 Answers 1

1

Isaac's comment asking how the angles are given is a good one. If you specify that and the coordinate system the problem will be well posed. Guessing that it is in azimuth $(\phi )$ and elevation $(\theta )$, with $\phi =\theta =0$ along the positive x axis and positive z up, $F_x=F\cos(\theta )*\cos(\phi ), F_y=F\cos(\theta )*\sin(\phi ), F_z=F\sin(\theta )$