The value of k is 1.5.
What is ratio?
Ratio, in math, is a term that is used to compare two or more numbers.
Let the cost of the ruler be x.
According to the given question.
Cost of pens = 30p
Cost of pencils = 18p
Also,
Ratio of cost of a pencil to the cost of a ruler = 2:5
⇒[tex]\frac{18p}{x} = \frac{2}{5}[/tex]
⇒ [tex]x = \frac{(5)(18p)}{2}[/tex]
⇒ [tex]x = 5(9p)[/tex]
⇒ [tex]x = 45p[/tex]
Ratio of the cost of pen to the cost of ruler = 1:k
⇒ [tex]\frac{30p}{45p} = \frac{1}{k}[/tex]
⇒ [tex]\frac{2}{3}= \frac{1}{k}[/tex]
⇒ [tex]k = \frac{3}{2}[/tex]
⇒[tex]k = 1.5[/tex]
Hence, the value of k is 1.5.
Find out more information about ratio here:
https://brainly.com/question/13419413
#SPJ2