blob: a6c7aa5f8b7b46795a24b31fa03b020eec02cd87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc,clear
//Example 6.17
//to express an equation in polar coordinates
RHS=9 ;
//Note that LHS is basically an equation of circle
//But at any instant , it is numberically same as 9
LHS_numerically=RHS ;
r=sqrt(LHS_numerically) ;
printf('The equation in terms of polar coordinates is : r =%.0f',r)
|