Computer Science, asked by gayathriganga52, 1 month ago

k) What is the output of the following snippet?
def fun (n):
if (n > 100):
return n - 5
return fun (fun (n+11))
print (fun (45))





please explaintoo​

Answers

Answered by rameshbhatt0001
2

Answer:

please mark me as brainliest bro please

Explanation:

Given :

Area of Rhombus is 32 cm² .Length of one diagonal is 8 cm .

To Find :

Length of other Diagonal .

Solution :

\longmapsto\tt{{d}_{1}=8\:cm}⟼d1=8cm

Using Formula :

\longmapsto\tt\boxed{Area\:of\:Rhombus=\dfrac{1}{2}\times{{d}_{1}}\times{{d}_{2}}}⟼AreaofRhombus=21×d1×d2

Putting Values :

\longmapsto\tt{32=\dfrac{1}{{\not{2}}}\times{{\not{8}}}\times{{d}_{2}}}⟼32=21×8×d2

\longmapsto\tt{32=4\:{d}_{2}}⟼32=4d2

\longmapsto\tt{{d}_{2}=\cancel\dfrac{32}{4}}⟼d2=432

\longmapsto\tt\bf{{d}_{2}=8\:cm}⟼d2=8cm

So , The Length of other diagonal of the Rhombus is 8 cm .

____________________

VERIFICATION :

\longmapsto\tt{32=\dfrac{1}{2}\times{{d}_{1}}\times{{d}_{2}}}⟼32=21×d1×d2

\longmapsto\tt\boxed{32=\dfrac{1}{2}\times{8}\times{8}}⟼32=21×8×8

\longmapsto\tt{32=\cancel\dfrac{64}{2}}⟼32=264

\longmapsto\tt\bf{32=32}⟼32=32

HENCE VERIFIED

Similar questions