1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 6: Microwave Diodes"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.1: Tuning_range_of_circuit.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// Exa 6.1\n",
"clc;\n",
"clear;\n",
"close;\n",
"// Given data\n",
"C1_min= 5;// in pF\n",
"C1_max= 50;// in pF\n",
"C2_min= 5;// in pF\n",
"C2_max= 50;// in pF\n",
"C1_min=C1_min*10^-12;// in F\n",
"C2_min=C2_min*10^-12;// in F\n",
"C1_max=C1_max*10^-12;// in F\n",
"C2_max=C2_max*10^-12;// in F\n",
"L = 10;// in mH\n",
"L = L * 10^-3;// in H\n",
"C_T_min = (C1_min*C2_min)/(C2_min+C2_min);// in F\n",
"f_o_max = 1/( 2*%pi*(sqrt(L*C_T_min)) );//in Hz \n",
"f_o_max = f_o_max * 10^-6;// in MHz\n",
"C_T_max = (C1_max*C2_max)/(C2_max+C2_max);// in F\n",
"f_o_min = 1/( 2*%pi*(sqrt(L*C_T_max)) );//in Hz \n",
"f_o_min = f_o_min * 10^-3;// in kHz\n",
"disp('The tuning range for circuit will be : '+string(round(f_o_min))+' kHz to '+string(round(f_o_max))+' MHz')"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Scilab",
"language": "scilab",
"name": "scilab"
},
"language_info": {
"file_extension": ".sce",
"help_links": [
{
"text": "MetaKernel Magics",
"url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
}
],
"mimetype": "text/x-octave",
"name": "scilab",
"version": "0.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|