Find the value of this expression:
1*22+2*32+3*42+..........+2023*20242
-------------------------------------
12*2+22*3+32*4+..........+20232*2024
clearvars
b1=sym(1:2023); b2=sym(2:2024);
num=sum(b1.*b2.^2);
den=sum(b2.*b1.^2);
rat=num/den
finds
>> ratioExpressionEvaluation
rat =
3037/3035
>>
|
Posted by Charlie
on 2023-10-19 17:07:16 |