NEW PUZZLE for Sajha Intellects Day 2 - Sajha Mobile
SAJHA MOBILE
NEW PUZZLE for Sajha Intellects Day 2
Posts 50 · Viewed 30165 · Likes 1 · Go to Last Post
helpjava11
· Snapshot 0
Like · Likedby · 0
Lets start with an easy one.

Q. What do you always break by saying it's name?
Load Previous
1SAJHA
· Snapshot 789
Like · Liked by · 0
Helpjava11 bro so mero answer mileko raicha ta asti... Point aayena ta malai lol.... I answered 679
helpjava11
· Snapshot 761
Like · Liked by · 0
NAS bro: here is the code i wrote to find the ans...
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Test{

public static void main(String[] args) {
int persistence=1;
int total=10;
List digits = new ArrayList();



for(int i=77;i<1000;i++){
total= persistence(i);
persistence++;
// System.out.println(total);
while( total>9)
{
persistence++;
total= persistence(total);
if(persistence==5){

System.out.println("found the persistence of 5: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" );
}
}

System.out.println("persistent "+persistence);
// System.out.println(";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;");
System.out.println();
persistence=0;
}

}




public static int persistence(int i){
/*
* because we are using list and using modulus we will get the digits in reverse order.
* to get the digits in right order we need to insert into list again print.
*/
int multip =1;
List digits = new ArrayList();
while(i > 0) {
digits.add(i % 10);
i /= 10;
}
System.out.println(digits);

for (int j=0;j multip = multip * digits.get(j);

}
// System.out.println(multip);
return multip;
}
}
imperfect harmony
· Snapshot 809
Like · Liked by · 0
dang Nas bro timi ni tyo 2058 sal ko quiz competition ma thiyou ki k ho...:D
helpjava11
· Snapshot 831
Like · Liked by · 0
1SAJHA Bro ko answer ७७९ thyo, its 779 in english bro... 679 in nepali is ६७९ ..haha
Anyway 1SAJHA bro (+1)..
1SAJHA
· Snapshot 849
Like · Liked by · 0
I started multyplying backwards ..
1SAJHA
· Snapshot 849
Like · Liked by · 0
I never answered 779 lol in english or nepali helpjava bro
helpjava11
· Snapshot 868
Like · Liked by · 0
oh ! nevermind that was Punter bro...
mercynova
· Snapshot 791
Like · Liked by · 0
9 lai ulto parera garna milcha? LOL
helpjava11
· Snapshot 875
Like · Liked by · 0
Kiddo bro, timro question ko solution ta cha ni?
im getting infinity while solving the equations...
prankster
· Snapshot 920
Like · Liked by · 0
Kiddo bro ko problem ko no solution re, http://onlinemschool.com/math/assistance/equation/gaus/ le bhanya,
Solution:

Rewrite the system in matrix form and solve it by Gaussian Elimination (Gauss-Jordan elimination)
7 5 3 26
2 1 3 5
8 6 2 44

devide the 1-th row by 7
1 5/7 3/7 26/7
2 1 3 5
8 6 2 44

from 2; 3 rows we subtract the 1-th row, multiplied respectively by 2; 8
1 5/7 3/7 26/7
0 -3/7 15/7 -17/7
0 2/7 -10/7 100/7

devide the 2-th row by -3/7
1 5/7 3/7 26/7
0 1 -5 17/3
0 2/7 -10/7 100/7

from 1; 3 rows we subtract the 2-th row, multiplied respectively by 5/7; 2/7
1 0 4 -1/3
0 1 -5 17/3
0 0 0 38/3
Answer:
The system of equations has no solution because: 0 ≠ 38/3
Last edited: 02-Jun-14 12:06 PM
Kiddo
· Snapshot 926
Like · Liked by · 0
Solution chha bro.
f(7,5,3)=26
f(2,1,3)=5
f(8,6,2)=44
f(4,9,5)=?
Kiddo
· Snapshot 956
Like · Liked by · 0
Maybe you can envision it better with a diagram? Perhaps:


helpjava11
· Snapshot 1020
Like · Liked by · 0
yo question pass gardiye Kiddo bro... give the answer..
mercynova
· Snapshot 1020
Like · Liked by · 0
NAsie : was thinking more of 6*6-6 = 30 lol

Only u could have thought abt more then just 6 or 9 :P
coolbuddy
· Snapshot 1025
Like · Liked by · 0
i am guessing, it should be 29.
coolbuddy
· Snapshot 1036
Like · Liked by · 0
My interpretation for this was :

the highest two numbers - the square of the smallest number.

i.e, 7*5 - 3^2 = 26
3*2 - 1^2 = 5
8*6 - 2^2 = 44
9*5 - 4^2 = 29
Kiddo
· Snapshot 1052
Like · Liked by · 0
Coolbuddy got it right. लौ HelpJava ब्रो, एक पोइन्ट मेरो तर्फ बाट Coolbuddy को नाउमा पाउँ.
helpjava11
· Snapshot 1089
Like · Liked by · 0
लौ यस्तो सजिलो problem रहिछ . के के न 4 way equation solve गर्दै बसिरा म पनि . दिमाग खराब ..
ल coolbuddy (+1) .

अरु प्रोब्लेम हरु छ भने post गरौ है सथिहो . मा संग त कुनै छैन आइले.
ne0
· Snapshot 1097
Like · Liked by · 1
This is an old question but it can still be fun for those who haven't heard it or solved it. If you know the answer please give a like :) If you are seeing for the first time then please give your reasoning :)

Three people check into a hotel.

They pay $30 to the manager and go to their room.

The manager suddenly remembers that the room rate is $25 and gives $5 to the bellboy to return to the people.

On the way to the room the bellboy reasons that $5 would be difficult to share among three people so he pockets $2 and gives $1 to each person.

Now each person paid $10 and got back $1.

So they paid $9 each, totalling $27. The bellboy has $2, totalling $29.

Where is the missing $1?
Last edited: 02-Jun-14 02:34 PM
helpjava11
· Snapshot 1151
Like · Liked by · 0
the 2 dollar paid to the kid is already included in the $27 so we cannot add it again. so 27+3 = 30..
Good question though..
Please log in to reply to this post

You can also log in using your Facebook
View in Desktop
What people are reading
You might like these other discussions...
· Posts 4 · Viewed 258
· Posts 6 · Viewed 387
· Posts 8 · Viewed 1255 · Likes 3
· Posts 9 · Viewed 490
· Posts 1 · Viewed 149
· Posts 12 · Viewed 923 · Likes 1
· Posts 1 · Viewed 75
· Posts 1 · Viewed 83
· Posts 9 · Viewed 1083
· Posts 1 · Viewed 118



Your Banner Here
Travel Partners
Travel House Nepal