All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Ratio Expression Evaluation (Posted on 2023-10-19) Difficulty: 3 of 5
Find the value of this expression:
1*22+2*32+3*42+..........+2023*20242
-------------------------------------
12*2+22*3+32*4+..........+20232*2024

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution short computer solution Comment 4 of 4 |
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
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information