//============================================================= //Chapter 5 example 29 clc; clear all; //variable declaration V1 = 1000; //potential of vane in volts //calculations //v = VA-VB mprintf("theta 10 S D"); mprintf("\ntheta praportional to Tt praportional to 2*V1*V") mprintf("\n10 praportional to 2 praportional to 1000"); mprintf("\ndividing above expressions ") v = (10/25)*(2500/2000); //result mprintf("v = %3.2f volt",v);