Computer Science, asked by mbasu5872, 9 months ago

wap in physics to print the value of S. S= 1+4+9+16+25+36+49+64

Answers

Answered by nishi312
0

Answer:

hi mate

Explanation:

See.. there are two solution for this question…

First one:—

(1×1)=1

(2×2)=4

(3×3)=9

(4×4)=16

(5×5)=25

(6×6)=36

(7×7)=49

(8×8)=64

(9×9)=81

(10×10)=100…. So as you saw that the pattern above is the square of consecutive numbers from 1 to 7… nd the rest are the square of 8..9 nd 10…

Bow second method…

The series above is…

1…4…9…16…25…36…49

Here…

4-1=3

9-4=5

16-9=7

25-16=9

36-25=11

49-36=13…

So u can see that the difference between each term is a prime number ….and they form a series itself…

Series of odd no…..u can call it in Airthmetic progression too…

3..5..7..9..11..13.. nd the next odd no. Are 15..17 nd 19….

So the next 3 no. In the pattern are…

49+15=64

64+17=81

81+19=100

hope it helps

mark me as brainliest

and

follow me

Answered by SASHANKSAHIL
0

Explanation:

a=1

S=0

for i in range(0,9):

s+=a**2

a+=1

print(S,"is the total sum of square from 1 to 8")

Hope It may Help

Similar questions