or
subash neupane asked a question

Hello Subash!

Here is the solution for the question you are asking for, I solved it in procedural way but if you are among the one who prefer OOP style then you can still ask it for me cause I have solved it from both methods but here I am just going to leave procedural one....

//author:Manish Acharya

import java.util.Scanner;

import java.util.*;


public class idgenerator {


public static void main(String[] args) {

String small_name="", long_name="", new_small_name="", new_long_name="";

char lr='a',...

6 Thanks
2 Answers
Bijaya Rajbhandari asked a question

Aksionov is the protagonist of the story "god sees the truth but waits" written by Leo Tolstoy. He is a young merchant. He is a handsome, fair-haired, curly-headed fellow, full of fun and very fond of singing. He used to drink much before marriage but later on, he changed himself and became a good man. He had virtuous qualities such as faith, forgiveness, freedom, and acceptance. His comfortable life is disrupted when he is framed for a murder he didn't commit and was sent to a...

0 Thanks
2 Answers
Arya Jha asked a question

Here, f(x)=x2 -6 logx-3=0

f(2)=4-6 log2-3=-0.806

f(3)=9-6 log3-3=3.1373

f(2).f(3)=-0.806*3.1373=-2.529422 which is negative.

Hence, the root lies between 2 and 3

c0 =(2+3)/2=2.5

f(2.5)=6.25-6 log 2.5-3=0.8623

Now

n
a(-ve)
b(+ve)
cn
f(cn)
0
2
3
2.5
0.8623
1
2
2.5
2.25
-0.050595
2
2.25
2.5
2.375
0.38664
3
2.25
2.375
2.3125
0.1631658
4
2.25
2.3125
2.28125
0.05506
5
2.25
2.28125
2.265625
0.001925

From the table,

f(2.265625)=0.001928<10-2

Therefore, the...

0 Thanks
2 Answers
Bijaya Rajbhandari asked a question

Makar disclosed that he had killed the merchant because he realized his mistake and Aksionov's suffering and now he wanted to make Aksionov release from the prison.

1 Thanks
2 Answers
Mattrab Community - SXC asked a question

Log2aa=x    then, a=(2a) ......(1)

Log3a2a=y    then,2a=(3a)y ......(2)

Log4a 3a=z  then, 3a=(4a)z ......(3)

So, 

a=(2a)x  [from (1)]

Or, a=(3a)xy    [from(2)]

Or, a=(4a)xyz     [from(3)]

Multiplying both sides by 4a,

4a.a=4a.(4a)xyz  

Or,(2a)² =(4a)xyz + 1 

Or,(3a)2y =(4a)xyz+1 

Or,(4a)2yz =(4a)xyz+1 

Or, 2yz = xyz+1 .proved.



9 Thanks
2 Answers

Mattrab Community

Create, share and learn from the unlimited notes, photos and videos and ask your questions, answer your friends all over Nepal and grow. Create, share and learn.

Ask Mattrab is changing soon

We are excited for you to try new features. What are you excited about?

Close Open App