A. If the focal length of the convex lens is supposed to be 5 cm, and if the image is formed 7 cm from the lens, find the distance, p, from the lens to the object. (It’s not necessary to simplify your answer.)

Equation: 1/p + 1/q = 1/f

1/5=1/7+1/p

7p=5p+35
can you take it from here? Wondering where you got the idea this is calculus.this is hardly prealgebra.

Yeah, its on my AP Calculus homework actually, in reality its just a small part of a very very long question, I just wanted to make sure I did my work right because the first step is the most important in this problem because if I get part A wrong then I will end up getting all the rest wrong as well.

To find the distance, p, from the lens to the object, we can use the lens formula equation:

1/p + 1/q = 1/f

Where:
p = distance from the lens to the object
q = distance from the lens to the image
f = focal length of the lens

Given:
f = 5 cm
q = 7 cm

Substituting the given values into the equation:

1/p + 1/7 = 1/5

To find the value of p, we need to solve this equation for p.

Now, to do that, we can multiply both sides of the equation by 5p to eliminate the denominators:

5p * (1/p + 1/7) = 5p * (1/5)

5 + 5p/7 = p

Now, we can simplify the equation:

35 + 5p = 7p

Rearranging the equation to isolate p:

7p - 5p = 35

2p = 35

Dividing both sides of the equation by 2:

p = 35/2

p = 17.5 cm

Therefore, the distance, p, from the lens to the object is 17.5 cm.