Câu 2a

x(3)=41
y(3)=65

Câu 2b.

Code:

#include<conio.h>
#include<stdio.h>
#include<iostream.h>
long int y(int n);
long int x(int n){
    if(n==0)
        return 1;
    else
        return 2*x(n-1)+3*y(n-1);
}
long int y(int n){
    if(n==0)
        return 1;
    else
        return x(n-1)*y(n-1);
}
void main(){
    clrscr;
    int n;
    cout<<"n=";
    cin>>n;
    cout <<"x("<<n<<")="<<x(n);
    cout <<"y"<<n<<")="<<y(n);
    getch();
}