TutorMe homepage
Subjects
PRICING
COURSES
Start Free Trial
Zachary I.
Computer Science Student at the University of Southern California
Tutor Satisfaction Guarantee
Pre-Calculus
TutorMe
Question:

Find \$\$ (f∘g)(x)\$\$ : \$\$ f(x)=x^{2}+2 \$\$ \$\$ g(x)=6x \$\$

Zachary I.

\$\$ (f∘g)(x) = 36x^{2} + 2\$\$

Computer Science (General)
TutorMe
Question:

What are the big O notation for the following functions: (a) - \$\$ 3n^{2} \$\$ (b) - \$\$ 8\log_{10}(n)\$\$ (c) - \$\$ 3n^{2} * n!\$\$

Zachary I.

(a) - \$\$ O(n^{2}) \$\$ (b) - \$\$ O(log(n)) \$\$ (b) - \$\$ O(n!) \$\$

C++ Programming
TutorMe
Question:

What does this program do? #include <iostream> using namespace std; void func(int&a, int &b){ a = a*b; b = b*4 + a; } int main(int argc, char* argv[]){ int x, y; cin >> x >> y; func(x,y); cout << x << " " << y << endl; return 0; }

Zachary I.

If you enter two numbers, x and y, it will output two numbers: 1. x*y and 2. 4y + xy.

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