Enable contrast version

# Tutor profile: Imran J.

Inactive
Imran J.
Incoming Software Engineer at Salesforce
Tutor Satisfaction Guarantee

## Questions

### Subject:Python Programming

TutorMe
Question:

write a recursive function for fibonacci in python.

Inactive
Imran J.

def fib(n): if n == 1: return 1 elif n == 0: return 0 else: return fib(n-1) + fib(n-2)

### Subject:Java Programming

TutorMe
Question:

Given a String of an integer in java, how would you turn that String into an integer type? ex: String one = "1";

Inactive
Imran J.

In order to do this, we would need to use the built in function from the Integer class and call Integer.parseInt(one) in order to retrieve an int type object of the variable "one".

### Subject:Algebra

TutorMe
Question:

Solve: \$\$ 2x^2 - 32 = 0 \$\$

Inactive
Imran J.

In order to solve the above equation we can first divide each term by 2 in order to simplify the \$\$x^2\$\$ term. This leaves us with: \$\$ x^2 - 16 = 0\$\$ Thus, now we can express the above equation in the following form \$\$ (x - 4) (x + 4) = 0\$\$ We can now see that the above equation is easily solved with the values \$\$ x = 4, -4\$\$

## Contact tutor

Send a message explaining your
needs and Imran will reply soon.
Contact Imran