So, $\displaystyle \frac{\sin 4x}{\sin 7x} = \frac{4}{7}$ ? This uses one of those useful "facts" of magic triginometry. It makes manipulation of trig functions so easy that regardless of the fact that it is completely untrue one will not abandon its use.
So, $\sin 4x = 4 \sin x$ ? Well, if that's true then if we let $x = \pi/2$ we get
$$\sin 4 (\frac{\pi}{2}) = 4 \sin (\frac{\pi}{2}) = 4 \cdot 1 = 4$$
which has already led to a "surprising" result. I was under the impression that
$$-1 \leq \sin x \leq 1$$
But this flawless use of a basic magical trig fact has led me to realize that $\sin x$ can have any value I wish. And there's a bonus fact!! Since
$$\sin 4(\pi/2) = \sin \frac{4\pi}{2} = \sin 2\pi = 0$$,
if we string this true result together with the magic result previously obtained we get a common conclusion based on magic math, that is
$$0 = \sin 2\pi = \sin \frac{4\pi}{2} = \sin 4(\pi/2) = 4 \sin (\frac{\pi}{2}) = 4 \cdot 1 = 4$$
The magic "fact" comes from problems like this (and extremely wishful thinking)
$$\lim_{x \longrightarrow 0} \frac{\sin 4x}{x} = 4$$
Clearly, this must be the result of the "fact" that $\sin 4x = 4 \sin x$ ! Right ?
Not so fast Grasshopper. Here's what actually happened . . .
$$\lim_{x \longrightarrow 0}\frac{\sin 4x}{x} = \lim_{x \longrightarrow 0}\frac{4}{4} \cdot \frac{\sin 4x}{x} = 4 \lim_{x \longrightarrow 0}\frac{\sin 4x}{4x} = 4 \cdot 1 = 4$$
This is true because
$$\lim_{x \longrightarrow 0}\frac{\sin a x}{ ax} = 1 \hspace{.1in}\mbox{ where } \hspace{.1in} a \in \mathbb{R}$$
Using this fact and some legal algebra we can get the correct answer . . .
$$\lim_{x \longrightarrow 0}\frac{\sin 4 x}{ \tan 7x} = \lim_{x \longrightarrow 0}\frac{\sin 4 x}{ \left(\frac{\sin 7x}{\cos 7x}\right)} = \lim_{x \longrightarrow 0}\left[\frac{\sin 4 x}{ \sin 7x} \cdot \frac{\cos 7x}{1}\right]$$
$$=\lim_{x \longrightarrow 0}\left[\frac{\frac{\sin 4 x}{1}}{\frac{\sin 7x}{1}} \cdot \cos 7x\right] = \lim_{x \longrightarrow 0}\left[\frac{\frac{4x}{4x}\cdot\frac{\sin 4 x}{1}}{\frac{7x}{7x}\cdot\frac{\sin 7x}{1}} \cdot \cos 7x\right]$$
$$=\lim_{x \longrightarrow 0}\left[\frac{4x\cdot\frac{\sin 4 x}{4x}}{7x\cdot\frac{\sin 7x}{7x}} \cdot \cos 7x\right] = \lim_{x \longrightarrow 0}\left[\frac{4x}{7x}\cdot\frac{\frac{\sin 4 x}{4x}}{\frac{\sin 7x}{7x}} \cdot \cos 7x\right]$$
$$= \lim_{x \longrightarrow 0}\left[\frac{4}{7}\cdot\frac{\frac{\sin 4 x}{4x}}{\frac{\sin 7x}{7x}} \cdot \cos 7x\right] = \frac{4}{7}\cdot\lim_{x \longrightarrow 0}\left[\frac{\frac{\sin 4 x}{4x}}{\frac{\sin 7x}{7x}} \cdot \cos 7x\right]$$
$$= \frac{4}{7}\cdot\frac{\displaystyle\lim_{x \longrightarrow 0}\frac{\sin 4 x}{4x}}{\displaystyle\lim_{x \longrightarrow 0}\frac{\sin 7x}{7x}} \cdot \lim_{x \longrightarrow 0}\cos 7x = \frac{4}{7}\cdot \frac{1}{1}\cdot 1 = \frac{4}{7}\,.$$
Boy, that was quite a bit of work! Let's just use the magic "fact" to save time. The point of writing that in excruiciating detail is to show what is happening behind the scenes. It is very basic and fundamental but certainly not magic.
I know "crossing out" $\sin x$ seems easier but you must swear off of it now for the sake of all that is sacred.