clc; clear; close all;

syms s
syms v i d
syms R L C Vg
syms Gvd

eqn1 = s*L*i == d*Vg - v;
eqn2 = s*C*v == i - v/R;
eqn3 = Gvd == v/d;

results = solve(eqn1, eqn2, eqn3, [v i Gvd]);

Gvd = simplify(results.Gvd)
