Example 1:
% syms p x r
% solve(p*sin(x) == r) chooses 'x' as the unknown and returns
%
% ans =
% asin(r/p)
% pi - asin(r/p)
%
% Example 2:
% syms x y
% [Sx,Sy] = solve(x^2 + x*y + y == 3,x^2 - 4*x + 3 == 0) returns
%
% Sx =
% 1
% 3
%
% Sy =
% 1
% -3/2
%
% Example 3:
% syms x y
% S = solve(x^2*y^2 - 2*x - 1 == 0,x^2 - y^2 - 1 == 0) returns
% the solutions in a structure.
%
% S =
% x: [8x1 sym]
% y: [8x1 sym]
%
% Example 4:
% syms a u v
% [Su,Sv] = solve(a*u^2 + v^2 == 0,u - v == 1) regards 'a' as a
% parameter and solves the two equations for u and v.
%
% Example 5:
% syms a u v w
% S = solve(a*u^2 + v^2,u - v == 1,a,u) regards 'v' as a