blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c3cf5ece413c3aee3f2219621460a5be4f9bf54f | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH25/EX25.10/ex25_10.sce | ccea4348e685af0ce7b7cd0a350cdaf0dd3ec189 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | ex25_10.sce | clc;
clear;
//example 25.10
//binary division
format('v',8);//changing the default precision to 8
a=11001;//first number
b=100;//second number
A=bin21dec(a);//converting a in to decimal number
B=bin21dec(b);//converting b in to decimal number
S=A/B; //multiply the two decimal numbers
temp=dec21bin... |
ddabba8f010c5089a89f4c8d1e85b76d5f3b497f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/U02.prev.tst | 894e2de585a13d7b7595cc30657153c70b33febb | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | tst | U02.prev.tst | 2.718281828459045235360287471
35266249775724709369995957496696762772407
663035354759457138217852516642742746639193200305992181741360027482234
93348905414085151150263440892702877807403983408368897113419263142110356543
|
55ce4ebba1fb2ab0737dd3bbbbc6ed1c2c51485a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH1/EX1.14/Ex1_14.sce | ba128fbc1b9a00243f3a68ea1721672d75c2df6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Ex1_14.sce | clc
x=%inf
disp("x intercept = "+string(x)) //initializing value of X intercept.
y=1
disp("y intercept = "+string(y)) //initializing value of Y intercept.
z=1
disp("z intercept = "+string(z)) //initializing value of Z intercept.
h=[1/x]
disp("miller indices,h=[1/x] = "+string(h))//calculation
k=[1/y]
disp("k=... |
6db2243fd8763510bd196b4dbec103f22066ecb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH5/EX5.5/ex5_5.sce | a5e8e766a0c9980d0123b77b0046fe67f99c3aa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | ex5_5.sce | clc;
ue=1.553;//given ue
u0=1.544;//given uo
lamda=500*1e-9;//in meter
t=lamda/(4*(ue-u0));//The thickness of quarter wave plate
disp(+'meter',t,'The thickness of quarter wave plate =')
|
702dba88864683db4b7919def513aa44aa07616b | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.23/ex_1_23.sce | 2eafa8ae595f44f4c8d22ea80678db38440f93e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | ex_1_23.sce | //ex_23 product of discrete signal and unit step function
clear;
clc;
close;
t=-3:3;
x=[3 2 1 0 1 2 3];
//u[1-n]
for i=1:length(t);
if t(i)<=1 then
u1(i)=1;
else
u1(i)=0;
end
end
y=x.*u1';
figure
a=gca();
plot2d3(t,y)
plot(t,y,'r.')
xtitle('y[n]','n')
a.y_location='origin... |
baf6c9c36ad60da70cab9960b7d05e5bdd48e9ee | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/vpcCommandAnswer.sci | ecaa84423462d516d7afab6dedea1fcc669e7a4a | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sci | vpcCommandAnswer.sci | function strAnswer = hrtCommandAnswer(strFrame,strMensage,strDescri)
iniFrame = hrtFrameIni(strFrame);
if hrtFrameType(strFrame) == 1 then
str = hrtFramePreamble(strFrame)+' 86 '+part(strFrame,iniFrame+3:iniFrame+20)+strMensage;
else
str = hrtFramePreamble(strFrame)+' 06 '+part(strFrame,iniF... |
dcd875b3b3892bd3a9331aa93227c6bf69725604 | 301e9d438dd3db74649f76f443198289378472e2 | /problems_of_the_week/NewYork/test4.out | a93fab0048b2ea3e3d8bcc2f9e87fbb25568aea6 | [] | no_license | glebmk/eth-algolab-2018 | d709919adb5691e965c04c7293c426b5e843f98b | 73ef7660740842da804c4693d3361c79c561d708 | refs/heads/master | 2020-04-19T18:43:53.441984 | 2019-01-31T18:04:39 | 2019-01-31T18:04:39 | 168,370,767 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,996,989 | out | test4.out | 7405 8730 66590
15 35 60 78 91 182 209 310 330 378 379 441 472 519 532 560 591 626 660 710 818 845 859 867 939 976 1035 1065 1187 1206 1220 1229 1254 1288 1486 1510 1517 1616 1680 1708 1792 1922 1936 1953 1993 2068 2095 2269 2283 2338 2506 2508 2528 2544 2601 2636 2645 2664 2676 2731 2872 2933 2986 3031 3044 3053 3074... |
e484602764c76cc65aed88ead0f0ff9f49b18ee0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH11/EX11.33/ex11_33.sce | e5a9854c7ec7c74a11257e481b2e9f618d0745b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 978 | sce | ex11_33.sce | //Page Number: 11.32
//Example 11.33
clc;
//Given
//(a)Efficiency of code
Px=[0.2 0.2 0.2 0.2 0.2];
na=[2 2 2 3 3];
//As H(X)=-Sum of[P(ai)log2P(ai)]
//Where i=0 to n;
HofX=0;
for i=1:5
HofX=HofX+(Px(i)*log2(Px(i)));
end
//Average Code length
//L=Summation(P(xi)ni)
La=0;
for i=1:5
La=La+(P... |
0b62de884d0796f9cdd53570cd82bee9b3aeb4ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.4/3_4.sce | 5f13b312bc9ec3a34894c3476b7ee27bad04a780 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | 3_4.sce | clc,clear
printf('Example 3.4\n\n')
W1=9.1 //Tension on tight side
W2=0.8 //Tension on slack side
I=10 //Total_current
V=110 //Supply voltage
R=7.5/100 //Radius of p-ulley in metres
N=1320 //speed in r.p.m
T_sh=(W1-W2)*9.81*R //9.81 is the accelration due to gravity
omega=(2*%pi*N/60)
P_out=T... |
feb3e4eedba2aaabf728474eec0f264adcda4143 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH6/EX6.4.c/Ex_6_4_c.sce | b8c77446674ebdfe0f1af1ac1830a7b8a07db7b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Ex_6_4_c.sce | // Example 6.4.c //optical loss
clc;
clear;
close;
NA=0.2;//numerical aperture
n=1.4;//refractive index
nc=(NA)^2;//coupling efficiency
pe=0.012;//
pc1=pe*nc;//
Loss=round(-(10*log10(pc1)));//optical loss in dB
disp(Loss,"optical loss in dB is")
//answer is wrong in the text book
|
4339e02915675f15ea1bb9223bcf6af45be4c255 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH10/EX10.5/10_5.sce | b282a45e0caa95ed2ec34c6ab34aed4634e26fd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | 10_5.sce | clear//
//Variables
ni = 1.41 * 10**16 //intrinsic concentration (in per cubic-metre)
un = 0.145 //mobility of electrons in germanium (in metre-square/volt-second)
up = 0.05 //mobility of holes in germanium (in metre-square/volt-second)
... |
53f316ea26900286a79d2bdaa8b0c46eaafcaaf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.20/example2_20.sce | b68b30242fab4728b2cffa236564de1f371f7e2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,162 | sce | example2_20.sce |
clear;
clc;
printf("\t Example 2.20\n");
//this is the case of equimolar counter diffusion as the latent heat of vaporisation are very close to each other
T=(360); //temperature in kelvin
pt=372.4/760; //total pressure in atm
R=82.06; ... |
8f45e0d20d6f475f47c7e816af5b6f0c0df919d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.23/Ex3_23.sce | b662a2d131b822095db9ac2adc115633d90806f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex3_23.sce | //Ex 3.23
clc;clear;close;
format('v',6);
f0=100;//Hz(3-dB frequency)
Ri_inf=100;//kohm(High frequency input resistance)
Tinf=1;//high frequency gain
R1=Ri_inf;//kohm
R2=Tinf*R1;//kohm
C=1/(2*%pi*f0*R2*1000)*10^9;//nF
disp("Design values are :");
disp(R2,"Resistance R1=R2 in kohm : ");
disp(C,"Capacitance C(... |
b1efaedae88f3ba3752ccc69b6874dd8e242a0e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH6/EX6.3/6_03.sce | b938d35021652384bc5b6c7ee55d5ee3727afdc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,453 | sce | 6_03.sce | clear
clc
CAo=[2;5;6;6;11;14;16;24];//mmol/m3
CA=[0.5;3;1;2;6;10;8;4];//mmol/m3
t=[30;1;50;8;4;20;20;4];//min
vo=0.1;//m3/min
for i=1:8
inv_rA(i)=t(i)/(CAo(i)-CA(i));
end
//Sorting CA and accordingly changing -1/rA for plotting graph between CA and -1/rA
for i=1:8
for j=i:8
if CA(i)>CA(j)
... |
5aeffa78e65152249b9521b65b39db50faeb97f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH11/EX11.11/11_11.sce | 15a092da254c319602a9e81228a5f2358dbc850b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | 11_11.sce | clc
//ex11.11
A_d=1000; //differential gain
V_d_peak=1*10^-3; //peak value of differential input signal
V_o_peak=A_d*V_d_peak; //peak output signal
V_cm=100;
V_o_cm=0.01*V_o_peak; //common mode contribution is 1% or less
A_cm=V_o_cm/V_cm; //common mode gain
CMRR=20*log(A_d/A_cm)/2.30258... |
208a002e9792e44f01e32b6958f5953346eca80f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH7/EX7.8/EXP7_8.sce | 0500469ddf4d37e88b1c4afd37bff9465b62f75e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 622 | sce | EXP7_8.sce | clc;funcprot(0);//EXAMPLE 7.8
// Initialisation of Variables
m=9;.........//Weibull modulus of an ceramic
sigma1=250;.......//The flexural strength in MPa
F1=0.4;.......//probability of failure
F2=0.1;.......//Expected the probability of failure
//CALCULATIONS
sigma2=exp(log(sigma1)-(log(log(1/(1-F1)))/m ));..... |
24e9546edb042b6dca2b2477ce0d799135651053 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH32/EX32.8/328.sce | 418971ff5b854b369f85ef2a8868521eec389032 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 706 | sce | 328.sce | clc;
//Example 32.8
//page no 514
printf("Example 32.8 page no 514\n\n");
//a filter press is in operation
//we have to determine the appraisal value of the press
i=0.03375//intrest on fund
n=9//time,year
SFDF=i/((1+i)^n -1)//sinking fund depreciation factor
P=60000//cost of filter press,$
L=500//salvage valu... |
ccc1ed6b4a07d4801565819984705f3091267ec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH14/EX14.17/Ex14_17.sce | 99b41db0e9a1d581b381436d282f609cbe899d59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 840 | sce | Ex14_17.sce |
function[r,theta]=rect2pol(A)
x=real(A)
y=imag(A)
r=sqrt(x^2+y^2)
theta=atand(y/x)
endfunction
function[z]=pol2rect(r,theta)
x=r*cos(theta*%pi/180)
y=r*sin(theta*%pi/180)
z=x+y*%i
endfunction
j=%i
I=pol2rect(300,-acosd(.8))//total load to be shared by transformers A and B at ... |
00b6b027996d0f472159b4c6796262754b540531 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH4/EX4.8/Ch04Ex8.sci | 3834fa17bb48d700ef2cbc44e4fe3a49369e165f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 646 | sci | Ch04Ex8.sci | // Scilab Code Ex4.8 : Page-93 (2010)
lambda = 550e-09; // Wavelength of light, m
D = 3.2e-02; // Diameter of circular lens, m
f = 24e-02; // Focal length of the lens, m
theta_min = 1.22*lambda/D; // Minimum angle of resolution provided by the lens, rad
// As delta_x/f = theta_min, solving for delt... |
a0528dd8d221fa98336a20fbb9dfc07fbf1afa77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH15/EX15.8/15_8.sci | f8aedb3a64280c7f458d5ae07174231c7355df1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sci | 15_8.sci | //The ac Motor Control//
//Example 15.8//
f1a=50;//intial input frequency in hertz//
Ta=2000;//developing torque in induction motor in watts//
Tb=1500;//new value of torque reduced to in watts//
f1b=f1a*sqrt(Ta/Tb);//value of stator frequency increased to in hertz//
printf('value of stator frequency increased to ... |
fd71c94e3bc5c15129f24df836ed4fc03bf95f08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH5/EX5.6/5_6.sce | 8bb05df3f1b0f04c57be8cec8eaf2a3b71b78b34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 52 | sce | 5_6.sce | w0=1000
w2=1050
wb=2*(w2-w0)
Q0=w0/wb
disp(Q0) |
8602859ca54b782df640b6a1e8dd76f99493f8ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH12/EX12.1/Example12_1.sce | 08cbacac9132fc296078cbefa9f7160821ac122a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Example12_1.sce | //chapter12,Example12_1,pg 357
n1=1.53//refractive index
n2=1.5
lam=1*10^-6//wavelength
a=50*10^-6
NA=sqrt((n1^2)-(n2^2))
V=((2*%pi*a)*NA)/lam
printf("normalised frequency\n")
printf("V=%.2f ",V)
M=(V^2)/2
printf("\ntotal no. of guided mode\n")
printf("M=%.2f",M) |
98b6c9b98b9fac510f3e1f2c533897a09a154f47 | efd8a524f4cb26e7523ef0e7211ba3ea3b60177d | /tests/test-cflag-xml.tst | 7182ee5a617f57331cb00459df4fcd648b79ae98 | [
"Apache-2.0"
] | permissive | archiecobbs/csvprintf | 2788ee5c236d0e3ea329c927f15464c09ecef118 | 270286b352559219b26127775238331e052150ec | refs/heads/master | 2023-08-03T18:32:23.588637 | 2023-07-31T21:45:54 | 2023-07-31T21:45:54 | 34,139,639 | 38 | 4 | null | 2015-12-05T20:53:45 | 2015-04-17T20:53:56 | C | UTF-8 | Scilab | false | false | 235 | tst | test-cflag-xml.tst | FLAGS='-X -c bbb'
STDIN='aaa,bbb,ccc\n"a1","b1","c1"\n"a2","b2","c2"\n'
STDOUT='<?xml version="1.0" encoding="UTF-8"?>\n<csv>\n <row>\n <bbb>b1</bbb>\n </row>\n <row>\n <bbb>b2</bbb>\n </row>\n</csv>\n'
STDERR=''
EXITVAL='0'
|
ae8afaedc5d707d96bf737e502e8af9d57f2990d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH1/EX1.5/ex1_5.sce | e2ea17376b2af39bd9591ce09a382c2e54c30ab6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | ex1_5.sce | //Page Number: 15
//Example 1.5
clc;
//Given
l=1.2;//mH
r=8;//ohm
c=200D-12;//F
//(i) Resonant frequency
f0=(1/(2*%pi))*sqrt(1/(l*c));//hz
disp('hz',f0,'Resonant frequency:');
//(ii) Impedance of circuit
disp('ohm',r,'Impedance of circuit:');
//(iii)Q factor of the circuit
q=1/(2*%pi*f0*c*r);
disp(q... |
5b875e5e683517c23eae243dfb4a3a05f1d8c340 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/BCK/Scripts/starglobe.SCI | ed15ce0fc94da5c1b68dd7ea1bdc2ec84c3aef85 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 5,776 | sci | starglobe.SCI |
codeblock readtextfile(ScriptDir+"\TOOLS.sci");
codeblock readtextfile(ScriptDir+"\SSYS.sci");
lattit=51/180*Pi;
ssysframe=ssys_create;
ssys_createearth(200);
ssys_showstarback(false);
#Create dialog controls
dialogframe=T_createdialogframe;
chk_showhorizon=dialogframe.add("CheckControl","Size":0.03,"Position":po... |
0dbddc7daee843f824a6a63d47619c97dbd9a958 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH16/EX16.6/16_6.sce | 2d887cfdb77ad61119a8b9a3bce9745230e8492b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | 16_6.sce | //chapter 16
//example 16.6
//page 485
clear;
clc ;
//given
Zzr=7;//dynamic impedance of 1N753
Vs=15;//dc supply
R1=150;
Vo=6.2;
Ilmax=55;
deltaVs=10/100*Vs;
deltaVo=1000*deltaVs*Zzr/(R1+Zzr);
//line regulation
lineR=(deltaVo*100/Vo)/1000;
printf("\nline regulation=%d%% ",lineR)
deltaIl=Ilmax;
deltaV... |
bb2a96c88710ab91cde876646fd79697e1e279fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH32/EX32.4/Ex32_4.sce | b3fbcde9ea67a87a70948abb57c4870c436f49cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | Ex32_4.sce | //Example 32.4
m=235.04;//Mass of one mole of 235 U (g)
mol=1000/m;//Number of moles in 1 kg (mol)
atoms=mol*6.02*10^23;//Number of atoms in 1kg of 235 U
E=atoms*200*1.6*10^-13;//Total energy released (J)
printf('Total energy released = %0.2e J',E)
//The answer varies due to round off error
//Openstax - College ... |
64cab39889427f2a31222cea6eaf7316a032ab9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.4.7/Ch1Exa1_4_7.sci | 14d1a0cfd2e23de54e9f5903155e4365f78fc75c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sci | Ch1Exa1_4_7.sci | // Scilab code Exa1.4.7 : Determination of radius of Pb-208 : Page 36 (2011)
A = 208; // Mass number of Pb-208
r0 = 1.2e-015; // Distance of closest approach, m
r = r0*((A)^(1/3)); // Radius of Pb-208, m
printf("\nThe radius of Pb-208 : %4.2e m", r)
// Result
// The radius of Pb-208 : 7.11e-015 m |
1009695eecc37c4bcda634ab1fea5f0c3cbda14a | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH2/EX2.01.03/2_01_03.sci | 663a9aeb1cbdf7a624ca5832006eaff6c2c80b59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 76 | sci | 2_01_03.sci | //laplace//
syms t s;
y=laplace('2*t-3*%e^(-t)',t,s);
disp(y,"ans=")
|
bb9772f83fbb676aa30ee39dba1ee98fc6dd2229 | b79e0fd93c470367a3688a1f83788d5d3ccf9d75 | /trouver_message.sci | fda0b97be5a8b98b91944c781a0e8a828820f33d | [] | no_license | gumsak/steganography | 7bfd59789ad8f284377002db3cab008af5a76421 | c6e5f178524db08367a1cbe054aedc037aed341b | refs/heads/master | 2020-11-29T15:28:46.885950 | 2017-07-15T16:45:44 | 2017-07-15T16:45:44 | 87,479,222 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 991 | sci | trouver_message.sci | function trouver_message(image2)
im2=imread(image2);
[ligne,colonne]=size(im2);
count2=0;
for o=1:ligne
for p=1:colonne
//récupérer la taille de la chaine
if o==1 & p==1 then
k4=uint8(floor(im2(o,p,2)*16));//msb de la taille
k5=floor(im2(o,p,3)*16... |
0d7bb8a860c6acfe288242fde59ca1c84710b126 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH8/EX8.2/Example_2.sce | f6a1b02442fcdf78a8587bcf877de9d743256864 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Example_2.sce | //Chapter-8,Example 2,Page 195
clc();
close();
H=20*0.1/1000 //as 20 ml of 0.1M HCl
pH=-log10(H)
pOH=14-pH
OH=10^(-pOH)
printf(' the [H+] = %.4f mole/l',H)
printf('\n the [OH-] =')
disp(OH)
printf(' mole/l')
printf('\n the pH = %.f ',pH)
|
a765700c2f8c11b46d29b4bc4ded061157737b73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH1/EX1.7/Ex1_7.sce | 12fff5c7875cf2b3a1d2672cc1ca2c67d244242e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Ex1_7.sce | clc
Vnl=27.3 //no load voltage in volts
Vfl1=24 //full load voltage at power factor 1 in volts
mprintf("(Vnl-Vfl/Vfl)=%f\n",(Vnl-Vfl1)/Vfl1) //ans may vary due to roundoff error
Vfl2=22.1 //full load voltage at power factor 0.7 in volts
mprintf("Voltage Regulation=%f",(Vnl-Vfl2)/Vfl1)
|
57227e1cf45bbf6b37a5c9e64be04d398ff80e4a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.6_2.tst | 883825c4183f811ed1c0b8411c7636943e28d38d | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,208 | tst | bow.6_2.tst | 6 3:1.0 12:0.05 50:0.16666666666666666 71:1.0 91:0.5 95:0.5 120:0.14285714285714285 126:1.0 155:0.3333333333333333 170:1.0 194:1.0 661:1.0 872:1.0
6 3:1.0 6:1.0 9:1.0 12:0.1 16:0.016666666666666666 23:0.125 27:0.3333333333333333 41:0.25 50:0.3333333333333333 62:1.0 64:0.5 75:1.0 76:0.5 89:1.0 141:0.2 148:0.333333333333... |
7b17b6644896c0a1e5abbd3cac3926001178f03e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH3/EX3.18/Ex3_18.sce | d7d829e8a6ed0e725413763334f7daf2af1c14d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,629 | sce | Ex3_18.sce | clear;
clc;
printf("\t\t\tProblem Number 3.18\n\n\n");
// Chapter 3 : The First Law Of Thermodynamics
// Problem 3.18 (page no. 119)
// Solution
h1=1220 //Unit:Btu/LBm //Inlet enthalpy
h2=1100 //Unit:Btu/LBm //Outlet enthalpy
//Z1=Inlet position //Unit:m
//V1=Inlet velocity //Unit:m/s
//Z2=Outlet posi... |
32ce7ef7150545818a75ea061502b6ce73125e17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.4/Example5_4.sce | 34d519f41f4e2c6cc0c9451bcce44d5ba873442f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,086 | sce | Example5_4.sce | //Example 5.4
clc
disp("Let us consider D for Door, I for ignition, L for Light. Then conditions to activate the alarm are:")
disp("1. The headlights are ON while the ignition is OFF.")
disp(" i.e. L = 1, I = 0 and D may be anything.")
disp("2. The ddor is open while the ignition is ON")
disp(" i.e. D = 1, I ... |
60027bd8d38709efbb226c4805337638e1a7835c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH12/EX12.4/Ex12_4.sce | 9966405fef6bb883da46f423f6adff8099d89694 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | Ex12_4.sce | errcatch(-1,"stop");mode(2);//Ex:12.4
;
;
prf=50;
C=100*10^-9;
R=0.72/(prf*C);//in ohms
printf("R= %d kohm",R/1000);
exit();
|
436e33b9e2a19eca457bcdf8b479505f5f2e08f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH6/EX6.11/Ex6_11.sce | fea489f478236167979003b4b36194c4b56b38ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 761 | sce | Ex6_11.sce | clear;
clc;
//page no. 203
r1 = 5;//ft
r2 = 3.5;//ft
beta1 = 60;//degrees
beta2 = 150;//degrees
t = 1;//ft
alpha1 = 15;//degree
Q = 333;//cfs
gam = 0.434;
V_r1 = Q/(2*%pi*r1);
V_r2 = Q/(2*%pi*r2);
V_t1 = V_r1*(1/tan(alpha1*%pi/180));
u1 = V_t1 - V_r1*tan((90-beta1)*%pi/180);
omega = u1/r1;
u2 = om... |
2289ca614d2767e6cc988c6029aefee820f28d9b | cea88917b1a7177608e003c8c7c60943569bbd95 | /Scilab Files/Z408.sce | c1a4e78dbe17610ad226a22aff973a01cec1b960 | [] | no_license | seanpoyner/Zodiac | 0dc763e8e512cbcd9d0411b0da3ec9a8f4680094 | 3808665632d90f71740350dcdbd0e72a6b04e634 | refs/heads/master | 2021-01-01T06:45:40.358770 | 2012-01-05T13:40:04 | 2012-01-05T13:40:04 | 3,059,564 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,289 | sce | Z408.sce | Z = [ 1 2 3 4 5 4 6 7 2 8 9 10 11 12 13 11 7 ;
14 15 16 17 18 19 20 21 1 22 3 23 24 25 26 19 17 ;
27 28 19 29 6 30 8 31 26 32 33 34 35 19 36 37 38 ;
39 40 4 1 2 7 3 9 10 41 6 2 42 10 43 26 44 ;
8 29 45 27 5 28 46 47 48 12 20 22 15 14 17 31 19 ;
23 16 26 18 36 1 24 30 38 21 26 13 49 37 50 39 40 ;
10 34 33 30 19 44 43 9 ... |
bd81b8d9d07ad901e612534c37b4c86f48d38536 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH2/EX2.4/2_4.sce | 8d47ff5f41b4f04455a3eb58c04f08fd9d527dcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | 2_4.sce | clc;
disp("Example 2.4")
m=0.2
// thickness in cm
mew=1 // viscosity in poise
w= 10
// width of the plate in cm
density=1 // density in gm/cc
g=981 // acceleration due to gravity in cm/s^2
//Q is the liquid flow rate
Q=(density*g*m*m*m*w)/(3*mew)
disp(" The flow rate is ")
disp(Q)
disp(" gm/cc")
|
bdfc36bb7720e5f1d43e8a2b84bb022194004799 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH15/EX15.7/Ex15_7.sce | 5ec3c1f1876bc225b6b11d23f0470c80d0ef6a30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | Ex15_7.sce | clc;
Rf=100000;
Rin=10000;
AcL=Rf/Rin;
Zin=Rin;
Acm=0.001;
CMRR=AcL/Acm;
Vin=1;
Vout=AcL*Vin;
slewrate=500000;
Vpk=5;
fmax=slewrate/(2*3.14*Vpk);
disp(' ',AcL,"AcL=");//The answers vary due to round off error
disp(' ',CMRR,"CMRR=");//The answers vary due to round off error
disp('Vpp',Vout,"Vout=");//T... |
4ee88dccb5ed93b57bbed5f9ca2cc751bf62a9b8 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/iirpowcomp/test_2.sce | e24eea82326e4868b8f3079f60525710a2dd1219 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | test_2.sce | // Test #2 : Excess Input Arguments
exec('./iirpowcomp.sci',-1);
[b,p]=iirpowcomp(3.33,0.444,90,9);
//!--error 10000
//2/3 input arguments allowed
//at line 33 of function iirpowcomp called by :
//[b,p]=iirpowcomp(3.33,0.444,90,9)
|
a793713ba0cafd705ff2a019c11c1467437699d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /509/CH11/EX11.1/11_1.sci | eb781669e122471762044764edc1894dc379c5a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,000 | sci | 11_1.sci | // Chapter 11 Example 1//
clc
clear
// number of units=n,voltage across topmost unit=v1,voltage across second unit=v2//
n=4;
m=10;// capacitance ratio is 10 (given)//
v1=1;//let v1=1 for our conveniance//
v2=v1*(1+1/m);
//voltage across third and fourth units from top =v3,v4 respectively//
v3=v1*(1+(3/m)+(1/m^... |
b113be4a2cc0e198ce55f29cd521d6714f18f330 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /[Template] Tracking.sce | 19c49dafe276437c49234cfc2811791c30494cd0 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,963 | sce | [Template] Tracking.sce | Name=[Template] Tracking
PlayerCharacters=Template Player
BotCharacters=Template Target.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=Template Player
AddedBots=Template Target.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=ascended_v120deg_h100deg.map
MapScale=1.0
BlockProjectilePredictors=true... |
824a81e1be6656d9d89dc209159f8740df0885fd | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/demos/icse/icsvisu.sci | c25a8f6b5acb9c780adf036e96cbf65ab462301f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sci | icsvisu.sci | function [yobt,yob]=icsvisu(vue)
//Visualisation de l'observation de l'etat
//Syntaxe
//[yobt,yob]=icsvisu(vue)
//variables d'entree :
//vue : vecteur des indices des composantes a visualiser
//variables de sortie :
//yobt : observation de l'etat a tous les instants
//yob : idem, aux instants d'observation
//!
//
// ... |
99c0bbaba1c2dfb78b563ab09d25ac8e8c8f662d | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH2/EX2.6/example_2_6.sce | d5f456b1bb04075561a3f7b5394f404bf37acaf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | example_2_6.sce | //given d^2/dt(y(t)) + 6*d/dt(y(t)) + 8*y(t)
s=%s;
F= 16/((s+1)*(s^2+6*s+8));
syms t s;
y=ilaplace(F,s,t);
disp(y,"f(t)=") |
2d987c3e3c651fc857f2c4ba36c3e08ca908bfa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH7/EX7.2/Ex7_2.sce | c5652c2c9d658c238b44ba0d60ef81878636a686 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Ex7_2.sce | // Exa 7.2
clc;
clear;
// Given
l = 50; // length of potentiometer in mm
R = 5000; // Total resistance of potentiometer in Ohms
Rt = 1850; // Resistance of potentiometer in Ohms
// Solution
R_length = R/l ; // Resistance per unit length
R_normal = R/(l*10^-3*0.5);
printf(' Resistance of normal posit... |
1830de129783861c7c112cdd43170e46bc49009d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.14/ex18_14.sce | 124b32036d7e56160826a6573019381d61d41015 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | ex18_14.sce | clc;
clear all;
Eg=0.3;//fermi level in eV
//Ni300=Nc*exp(Ec-Ef300/k*T) so..
//Ni300=Nc*exp(-Eg*1.6e-19/k*T)
//and //Ni330=Nc*exp(-(Ec-Ef300)/k*T) so..
//exp(Ec-Ef300/k*T)=exp(-(Ec-Ef300)/k*T) so..
//let Ec-Ef300=x
x=Eg*330/300;//fermi energy lies at
disp('eV',x,'fermi energy lies at:')
|
2758736efca3263861a5159df3364967b8815495 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH8/EX8.14/Example8_14.sce | 5d01bb9bd662dc01be9e38d77aeeaf4dc2283fab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Example8_14.sce | //Example 8.14
clear;
clc;
A0=1;
brecmin=5;
Rc=3*10^3;
Rf=Rc*(brecmin-1);
GBP=20*10^6;
fx=(1/brecmin)*GBP;
Cc=brecmin/(%pi*Rc*fx);
printf("(a) Rc=%.f kohms",Rc*10^(-3));
printf("\n Rf=%.f kohms",Rf*10^(-3));
printf("\n Cc=%.f pF",Cc*10^12);
printf("\n\n(b) A(jf)=1/[1+jf/(%.f... |
bd48c55e8badc9b940c81d6665a140b973e1b6ac | 8236d6101d21f50dda499c4ead7862c922885aee | /Scilab/Echo2.sce | 8e240ae17a5a601b01982761d16a949f3d0e2eb4 | [
"MIT"
] | permissive | manasdas17/NightcoreThis | fdd498dc39ad870b7439e3bdaf63fa3e4fa97b56 | fce141ad69f159e4cd4d9e741c6603761d882411 | refs/heads/master | 2021-01-22T09:04:10.071096 | 2016-01-30T11:27:52 | 2016-01-30T11:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | Echo2.sce | //binnenhalen van de WAV-file
[testsign,Fs,bits]=wavread("F:\scilab-5.5.2\modules\sound\demos\BART4.wav");
samplespeed = Fs;
delay = 500; // choose the echo time of the sound (ms)
echotime = [delay/1000] * samplespeed;
//for loop voor de lengte van het audio-signaal
for n=1:length(testsign),
if n + echotime < leng... |
dcd468ad92c73c50ea02ad6eff4ebfda62f13e71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.29/Ex5_29.sce | c8ea4d5afdd6f37c20d2f82f1ee703aa54b492cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex5_29.sce | //pagenumber 307 example 29
clear
beta1=500;
ib=20*10^-6;//ampere
re=100;//ohm
ic=beta1*ib;
vc=ic*0.47*10^3;//voltage drop across collector resistance
v1=(10-vc);
vb=v1-0.6;
rb=vc/ib;
disp("base resistance = "+string((rb))+"ohm");
ve=re*ic;
disp("base resistance with re");
b=0.6+0.1;
rb=(v1-b)/ib;
di... |
4f35be464bb3e9ad8075bdebd8bd52e35eff2bdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH3/EX3.4/ex3_4.sce | c2f8db43d1bc18fd22b219be9eecdcdafa23fb2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | ex3_4.sce | Z0=50; //define 50 Ohm characteristic impedance
Z=[50 48.5 75+%i*25 10-%i*5]; //define impedances for this example
Gamma=(Z-Z0)./(Z+Z0) //compute corresponding reflection coefficients
SWR=(1+abs(Gamma))./(1-abs(Gamma)); //find the SWRs
a=0:0.01:2*%pi;
for n=1:length(Z)
plot(abs(Gamma(n))*cos(a),abs(Gamma(n))*si... |
cd828c1ecd50d7c69497d87ceeafa9489cee4b47 | c88f425345e1bef1a882d37f1759c2d438113204 | /2d_conflict.sci | 7b21130693134ff27a9316d6dd13398567cc5aa7 | [] | no_license | NnataKha/Fire-Water-Model | fb2550e59d41bac5f0bab70659f49e11694ec4d9 | ecfb61b9593583678991c22dac7da11857f4c4ae | refs/heads/master | 2020-03-16T18:42:15.863932 | 2018-05-10T10:47:21 | 2018-05-10T10:47:21 | 132,883,725 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,441 | sci | 2d_conflict.sci | clear;
n = 5; // # of cells in a row
m = 200; // # of steps
x = linspace(0,9,n);// initial values
y = linspace(0,9,n);// initial values
for i=1:n
for j=1:n
p(i,j)=n-i//abs(cos(j));
r(i,j)=1//abs(sin(i)*cos(j));
end
end
sp = sum(p);
sr = sum(r);
for i=1:n
for j=1:n
p0(i... |
282cbb4f4db6454972a880cc72e815790f0e5fc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH8/EX8.6/Ex8_6.sce | 0cde7e4e7c0596a58109c033764239b082ba6740 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,343 | sce | Ex8_6.sce | clc
mu_n=6000
disp("mu_n = "+string(mu_n)+"cm^2(Vs)^-1") //initializing value of channel mobility
phi_b=0.8
disp("phi_b = "+string(phi_b)+"V") //initializing value of Schottky barrier height
kBT=0.026
disp("kBT = "+string(kBT)+"eV") //initializing value of multiplication of boltzmann constant and 300K temperatur... |
4991ad1a83210f45a35eec762df3b95efecabc8a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH2/EX2.32/ex2_32.sce | d730d7ee6c4b6c0895ad5a7bd2c9c1a230f80188 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | ex2_32.sce | errcatch(-1,"stop");mode(2);// Example 2.32, page no-49
theta=20//in degrees
d=2*10^-10//m
n=1
h=6.626*10^-34
m=1.67*10^-27//kg
e=1.6*10^-19//C
lam=2*d*sin(theta*%pi/180)/n
E=(1/(2*m))*(h/lam)^(2)
printf("\nThe deBroglie wavelength of the neutron is %.3f *10^-10\nthe energy of the neutron is %.4f eV",lam*1... |
7d990f33473c22fb4cadabdbfd7f966004b0593f | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.19/19.sce | 4b5c65c319be8ec9733cf5c20d990bf99040a6d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | 19.sce | clc
P1=0.124*10^5; //N/m^2
T1=433; //K
T2=323; //K
h_f1=687; //kJ/kg
h2=2760; //kJ/kg
h3=2160; //kJ/kg
h_f4=209; //kJ/kg
Q1=h2-h_f1;
Q2=h_f4-h3;
disp("Let A=ΣdQ/T")
A=Q1/T1+Q2/T2;
disp(A)
disp("A<0. Hence classius inequality is verified") |
441409a9aa3f2cdece269852392db80ee8fac2cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH4/EX4.2/EX4_2.sce | 4bb10b8c9ad08299fca801710e85869c154af77e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | EX4_2.sce | clear;
clc;
printf("\nEx4.2\n");
//page no.-156
//given
b=2.898*10^-3;.......//constant in m*K
T=2000;...............//temperature in kelvin
lambda=b/T.............//wavelength in m, relation by Wein's Law
printf("\nwavelength is 1.449 micron\n");
printf("\nWe know visible region is 0.4 micron to 0.8 micro... |
cc0cf22a75d6f4a9ab10743934abb806c07599cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.2/Chapter2_Example2.sce | daaf157319f617d168d991d3b1cefd2752b01267 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 851 | sce | Chapter2_Example2.sce | //Chapter-2, Example 2.2, Page 2.5
//=============================================================================
clc
clear
//INPUT DATA
N1=400;//Number of turns in the primary
N2=30;//Number of turns in the secondary
Q=20000;//Rating of the transformer in VA
V1=2000;//Primary voltage in V
f=50;//Power supp... |
ca21e1ebb5c8c3dcf251ed951d3ec32c381cdeee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH6/EX6.15/Ex6_15.sce | 428ac058df8f0173f8d5d5885956996ee76bbc53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | Ex6_15.sce | clc
//initialization of variables
clear
// linked to 6_14
D=10 //cm
d= 1 //cm
n=20
P=60 //kg
G=8*10^5 //kg/cm^2
// calculations
m=D/d
fs=8*P*D/(d^3*%pi)
fs1=fs*(1+0.615/m+3/(4*m-4))
// results
printf('The shear stress with and without correction facor are \n respectively %d, %d kg/cm^2',fs,fs1)
|
04de676efe2677ddb9c2286486202008e50a0bd9 | 8cc387cf0e2071c9e13b8622b974634f2ef1536b | /AlgoritmoCriptoDES.sce | 4c3597ffb06d8dc3c8fe7a0e68e7ff8e50d8415b | [] | no_license | Diego233/AlgoritmoDES | 7de0583e6c61072b15d46311062e573f9d394784 | fbacf045d81f7709eed165cfd159bf7b7859ea03 | refs/heads/master | 2020-03-15T11:55:06.282240 | 2018-05-08T13:22:36 | 2018-05-08T13:22:36 | 132,132,132 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,673 | sce | AlgoritmoCriptoDES.sce | //==============================================================================
//= Desarrollo del algoritmo de encriptado DES en Scilab
//= El programa se realiza para el curso de Seguridad en redes Inalambricas
//= de la Escuela de Ingenieria en Telecomunicaciones de la UNSA
//= Creditos:
//= Editor: Chacon Cadi... |
a5ca46c8bbae1e051d343265f6d483dad82479fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH4/EX4.12/4_12.sce | 1d2bc106161a8267682d1c42e1ac685b2e592da0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 497 | sce | 4_12.sce | P=10^6;//pressure of gas in dyn per cm^2//
p=0.00333;//density of gas in gram per cm^3//
C2=3*P/p;//mean square velocity of gas in (cm/sec)^2//
Crms=sqrt(C2);//Root mean square velocity of Oxygen in cm/sec//
printf('Root mean square velocity of Gas=Crms=%fcm/sec',Crms);
Cm=Crms/1.085;//mean velocity of Gas in cm/s... |
9f3978b23e4d221b190c454f268e0a50a0c7f108 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/san.tst | 164042be35377746db767670707e65eea583a668 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 328,295 | tst | san.tst | वेणु वेणुभ्याम् N;DAT;DU
वेणु वेणुभ्यः N;DAT;PL
वेणु वेण्वोः N;LOC;DU
वेणु वेणुभिः N;INS;PL
वेणु वेण्वोः N;GEN;DU
वेणु वेणुः N;NOM;SG
वेणु वेणवः N;NOM;PL
वेणु वेणुना N;INS;SG
वेणु वेणवे N;DAT;SG
वेणु वेणोः N;GEN;SG
वेणु वेणूनाम् N;GEN;PL
वेणु वेणू N;NOM;DU
वेणु वेणू N;VOC;DU
वेणु वेणुभ्याम् N;INS;DU
वेणु वेणुषु N;LOC;P... |
86c98d8f49d44e7e96837ea7d54fe08d2bd84f80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH1/EX1.12/1_12.sce | 835e08967e720fca8280ba10b02e434fc0f33b39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sce | 1_12.sce | clear;
clc;
//Example - 1.12
//Page number - 30
printf("Example - 1.12 and Page number - 30\n\n");
//Given
Y = 1.4;//molar heat capacities ratio for air
R = 8.314;// [J/mol*K] - Universal gas constant
Cv_0 = R/(Y-1);// [J/mol*K]
Cp_0 = Y*Cv_0;// [J/mol*K]
printf(" The molar heat capacity at constant vol... |
0b9e45472a109b3ff37671db80cfeee00b9c24cd | 5d0ddbd6f42843ded4d5ba18966dc130725607d2 | /c13.code/uintah/branches/pearls/src/orderAccuracy/test_config_files/ICE/cavityFlow_res.tst | 4cc259c5f418b64b799b411a034eea956923d90f | [
"MIT"
] | permissive | alvarodlg/lotsofcoresbook2code | b93ad62e015d205e4f550028ceb54254023021ee | a2dbeb306fa29ae6663ae29b2c4c132608375cf0 | refs/heads/master | 2020-12-31T03:02:22.579614 | 2015-09-02T15:23:18 | 2015-09-02T15:23:18 | 54,509,919 | 2 | 1 | null | 2016-03-22T21:27:56 | 2016-03-22T21:27:56 | null | UTF-8 | Scilab | false | false | 1,909 | tst | cavityFlow_res.tst | <start>
<upsFile>cavityFlow_dx.ups</upsFile>
<gnuplot>
<script>plotScript.gp</script>s
<title>ICE:Cavity Flow Res</title>
<ylabel>Error</ylabel>
<xlabel>Resolution</xlabel>
</gnuplot>
<AllTests>
<replace_lines>
<maxTime> 20 </maxTime>
</replace_lines>
<replace_values>
/Uintah_specifica... |
2d88c8f84d9c6c619ff95a4aebe4be19038b5404 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH1/EX1.3/1_3.sce | d0fbe7497eb45f6edd9939bcdd1df2ff5822f579 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | 1_3.sce | clc
clear
//Initialization of variables
vis=2.5/10 //N s/m^2
D=15 //cm
N=180
dy=0.0001 //m
l=0.15 //m
b=0.25 //m
r=0.152 //m
//calculations
dv=%pi *D*N/60/100
Tau=vis*dv/dy
Tor=Tau*%pi*l*b*r/2
P=Tor*2*%pi*N/60
//results
printf("Power required = %d W",P)
disp("The answer is a bit different due to round... |
796949a7bdf63f791ec96a16c485c35a305b0a99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/4_20data.sci | c0667382fb6843ab1c0e72542b25f7226ddbc083 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sci | 4_20data.sci | Me=2; //mach no in test section at standard sea level condition
//following are the standard sea level conditions desired at the exit of nozzle:
Pe=1.01*10^5;//static pressure,N/m^2
Te=288.16; //static temperature in Kelvin
y=1.4; //specific heat ratio for air
A=1+(y-1)*Me^2/2
|
da45ee71e21c0bcf1ec6bb19933102018ab7c15c | 4483ff664b4d01c53114a7fc535625c197c8f989 | /green routing/anirudh1.sce | 7d44832fdff3d988abd310547519ec4aa8173d0f | [] | no_license | winash1618/myproject | be9b77d4a405edce7e625a999803016b50ab99d0 | 2132e76e6a996bee19f356a2b68af827fa6c621b | refs/heads/master | 2022-12-06T06:09:06.487979 | 2020-08-20T02:00:54 | 2020-08-20T02:00:54 | 288,880,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,508 | sce | anirudh1.sce | clc
clear
a=[5 12 6.8 7.4 23 15 18 48 12 14 23 22 29 15 9.3 15 13 16 22 19 35 30 35 33 30 35;
13 20 14 16 15 8.1 11 50 5.1 5.5 16 15 22 5.6 5.3 11 18 19 23 20 36 31 36 34 22 39;
23 34 29 24 8.6 4.9 4.1 4.1 14 8.5 3.1 2.4 7.4 12 13 13 22 23 15 18 20 17 18 19 9.3 23;
16 27 23 14 23 13 14 14 17 11 7.4 8.1 13 6.3 9.8 4.2 ... |
ca6f4f2a18e5738421cd37ec93595f67af8d2dee | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.11/10_11.sce | 5d7e126f369167e43876585b00caa8c6eaf4e0a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | 10_11.sce | V=300
Ea=V
n1=1200
n2=1100
Kaphi=Ea/2/%pi/n1*60
T=350
Ia=T/Kaphi
Ea=V*n2/n1
Ra=(V-Ea)/Ia
Kaphi=Kaphi/2
n=Ea/Kaphi*60/2/%pi
Pm=Ea*Ia
T=Kaphi*Ia
disp(T)
disp(Pm)
disp(n)
|
1e63195775d86953c66bfc771652c92a82a705aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH5/EX5.9/5Ex9.sce | 0fa537452a3c756428c1dacca0b8e5e4f404fc62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | 5Ex9.sce | //chapter 5 Ex 9
clc;
clear;
close;
//let the value to be found out be x
x=sqrt(.289/.00121);
mprintf("x=%.2f",x);
|
98a61e75bbd47151575779daf2599a1c53bd9d26 | e806e966b06a53388fb300d89534354b222c2cad | /macros/trainCascadeObjectDetector.sci | eb5369a10b803f223c7653b5cb3f1cb18844643a | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,936 | sci | trainCascadeObjectDetector.sci | function trainCascadeObjectDetector(outputFolder,positiveInstances,negativeImages,varargin)
// It creates trained cascade XML file
//
// Calling Sequence
// trainCascadeObjectDetector(outputFolder,positiveInstances,"negativeImages")
//
// Parameters
// outputFolder: Folder name to store trained cascade (cascade.xml) ... |
965e96a3753a9b28ab243e6220dbb0954581616e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH2/EX2.7/Ex2_7.sce | 4de784cbb59a9172593170114a29fe23cebc0556 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,447 | sce | Ex2_7.sce | clc
//the code below uses userdefined complexstring function
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
VLB=2400 //line to base voltage in volts
... |
dd86c863e1d521246435edf2df506fd08c91a5de | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-3/question3.sce | f8d178cf2c231cefe8c41502a6bbf4a9797e6190 | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,875 | sce | question3.sce | k=1;
noe = zeros(1,12);
noc_r=zeros(1,12);
noc_f=zeros(1,12);
noc_a=zeros(1,5);
noc_d=zeros(1,5);
noc_s = zeros(1,5);
nocs_r=zeros(1,12);
nocs_f=zeros(1,5);
nocs_a=zeros(1,5);
nocs_d=zeros(1,5);
nocs_s=zeros(1,5);
nocb_r=zeros(1,12);
nocb_f=zeros(1,50);
nocb_a=zeros(1,50);
nocb_d=zeros(1,50);
nocb_s=zeros(1,50);
noc... |
48968392f5e432b87fa6e433cab24efb6c508442 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH8/EX8.3/Ex8_3.sce | 849184c853a02e7a1d226008403ef97d912952b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | sce | Ex8_3.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
Jp=5 //A/cm^2
Jn=20 //A/cm^2
Va=0.65 //V
ni=1.5*10**10 //cm^-3
Dn=25 //cm^2/s
Dp=10 //cm^2/s
taup0=5*10^-7 //s
taun0=5*10^-7 //s
//Jn=(e*Dn*np0/Ln)*[exp(e*Va/k*T)-1]==e*sqrt(Dn/taun0)*(ni^2/Na)*[exp(e*Va/k*T)-1]
Na=e*sqrt(Dn/taun0)*(ni^2/Jn)*[(exp(... |
5e1f3be0fa3daee8b9c06f4ba6daa076f088a415 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH2/EX2.10/ex2_10.sce | 29a1bd74df26e0d1cbb9c0be4c290f2ba429ab36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | ex2_10.sce | //Page Number:
//Example 2.10
clc;
//Given,
c=3D+8; //m/s
a=3; //cm
a1=a/100; //m
b=2; //cm
b1=b/100; //m
f=7.5D+9; //HZ
p=5D+3; //W
mu=%pi*4D-7;
w=2*%pi*f;
bet=sqrt(((w/c)^2)-((%pi/a1)^2));
//Charecteristic impedance
z0=w*mu*2*b/(bet*a);
disp('ohm',z0,'Charecteristic impedance:');
//Peak electr... |
3b54643b66560f3ef2a6a5d11231a92286d107c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.12/Ex13_12.sce | 7da0db31319011b32676777324ada5aeba741f0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sce | Ex13_12.sce | // chapter 13
// example 13.12
// Determine the value of thermal resistance, heat sink and temperature at base
// page-840
clear;
clc;
// given
Pa=30; // in W (power loss)
Tc=125; // in degree C (junction temperature)
Ta=40; // in degree C (ambient temperature)
theta_CJ=0.7; // in degree C/W (junction to heat... |
8d1a5c52d2e5d6d4c89cdc9a0af7168340c61331 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH11/EX11.2/ex_11_2.sce | 6d1b8af61219e9b9bc1e216410c4815819772828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | ex_11_2.sce | //Example 11.2: Sag
clc;
clear;
close;
//given data :
format('v',5)
l=30;// in meter
w=0.72;// weight per meter in kg
E=640;// in kg/cm^2
d=1;// diameter in cm
T=E*(%pi/4)*d^2;
del=((w*l^2)/(2*T))*100;
disp(del,"sag(cm) = ")
|
43ea0c637f038d84b1e4bfc829c9ef058a4bfb18 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH3/EX3.16/Ex3_16.sce | 613dbedcbcd628fbd21b91283905042767b3157b | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | Ex3_16.sce | errcatch(-1,"stop");mode(2);//Ex:3.16
;
;
V_s=5;//in volts
V_c=0.8647*V_s;
printf("Inductor voltage = %f V",V_c);
exit();
|
4228f65d87a124b9cffc1170c4e33ded6c400fa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.4/2_4.sci | 5377287f2aec5600a31f67955760adb195c58e10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sci | 2_4.sci | // 2.4
clc;
T=100;
G=80*10^9;
d=2*15*10^-3;
th=16*T/(%pi*G*d^3)
printf("Angle of twist= %.6f rad",th) |
71f57dd30d53067514c26a207a87f1214cc2fe67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.22/Ch02Ex22.sce | 2d8e2e5a880d1a3eb5880cfd3f10bf43560ad3a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | Ch02Ex22.sce | // Scilab Code Ex2.22:: Page-2.19 (2009)
clc; clear;
t = 3.2e-04; // Thickness of the glass sheet, cm
lambda = 5500e-008; // Wavelength of light used, cm
n = 5; // Order of interference fringes
// As path difference (mu - 1)*t = n*lambda
mu = n*lambda/t + 1; // Refractive indexof the glass sheet
... |
3ad43eb0bc106d3076fcc8a8cc4ca22d56deb9f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH12/EX12.3/Chap12_Ex3.sce | 074ef4db6dac62efd9232882106e7c95cb0c5a79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,864 | sce | Chap12_Ex3.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-12,Example 3,Page 430
//Title: P-x-y data using the Margules parameters
//================================================================================================================
clear
clc
//INPUT
//... |
5924db94417350228e8cdf676a1ebba397dce61e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/sci_nnz.sci | d62b76206dcd2936702f6e509c539b9721956b61 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sci | sci_nnz.sci | function [stk,txt,top]=sci_nnz()
// Copyright INRIA
txt=[]
stk=list('nnz('+stk(top)(1)+')','0','1','1','1')
|
fdf3a916e5e42e8bad6429ce421d9a7aba0ca091 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.44/ex1_44.sce | 0d0c9e39a4b81598ec8ea7bc65ec61ba5afc4c21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | ex1_44.sce | //Chapter-1, Example 1.44, Page 51
//=============================================================================
clc;
clear;
//INPUT DATA
V=200;//supply voltage in volts
I=25;//total current in A
P1=1500;//power dissipated in watts
//CALCULATIONS
R1=(V)^2/(P1);//Resistance R1 in Ohms
Reff=(V)/(I);//total e... |
d8d9b379db9c5a41872f155735b1118bbc1d2bd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH12/EX50.1/50.sce | a041d9449b5a8f740e5999496ca8f44b932a3c1e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | 50.sce | clc
//initialisation of variables
alf=30//degree
v=500//m/sec
g=9.8//sec
a=60//degre
//CALCULATIONS
T=2*v*sind(alf)/g//sec
L=((v^2)/(g))*sind(a)//km
//RESULTS
printf('the time of flight is=% f km',L)
|
bce5049c103f84d59949d353ec3ff5c9e0a71adf | 9b3a82b71b55170a9d272048e2f4dc6858ff106c | /control-system/step_response3.sce | 75dc71e04f846eb6c6abab83205dfcb381a50c4b | [] | no_license | omrastogi/Digital-Signal-Processing | afcee58a1decbd9949e0bfcda47b62bbf19c935f | 68b4f85ec5b9dbf7840a0857ee388f9d660bbb2e | refs/heads/main | 2023-01-03T13:54:45.554127 | 2020-11-02T05:40:13 | 2020-11-02T05:40:13 | 309,267,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | step_response3.sce | clc;
clf;
clear all;
s = poly(0,"s");
num1=s+3;
num2=1;
den2=s+1;
s1=syslin('c',num2,den2);
s2=num1*s1;
s6=.5;
s3=s2/.s6;
s7=1;
s4=s3/.s7;
disp(s4)
t=0:0.001:100;
s8=csim('impulse',t,s4);
plot(t,s8);
xlabel("amplitude")
ylabel("time")
title("response plot by Om")
|
1909fb9477c6fabdb4b33b51da94c0d4a22a3e88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH2/EX2.14/2_14.sce | e9a7fe19f09dab6c1884f49f1a4674cdc2f94d42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | 2_14.sce | clc
//Initialization of variables
r1=920 //kg/m^3
r2=1030 //kg/m^3
//calculations
VtbyV2=r2/r1
V1byV2=VtbyV2-1
V1byVt=1/(1+1/V1byV2)
//results
printf("fraction = %.3f ",V1byVt)
|
c2f045a5ff172c4d2fe6550fa6adea549bd44d6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH3/EX3.a.15/Example_a_3_15.sce | f3a811bae41697d3c16aa7f4785c4b555784eb1c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | Example_a_3_15.sce | //Example_a_3_15 page no:144
clc;
I=10;
R1=1;
R2=2;
R3=3;
R=3;
I3=10*(2/(2+3));
V=I3*R;
disp(V,"the voltage in first method is (in V)");
R=2;
I2=10*(3/5);
V=I2*R;
disp(V,"the voltage in second method is (in V)");
disp("In both cases, the ratio of current to voltage is the same")
ratio=0.833;
disp(ratio,... |
fad46b3448dc98d327052a879596902ab16cc556 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH23/EX23.4/C23P4.sce | 6d43af06d027224b3ff043dc5b4f08b132468bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | C23P4.sce | clear
clc
//to find work done by three different paths
//Given:
//refer to figure 23-17 from page no. 529
//final volume
vf = 1.0//in m^3
//initial volume
vi = 4.0//in m^3
//final pressure
pf = 40//in Pa
//initialvolume
pi = 10//in Pa
//Solution:
//applying laws of thermodynamics
//work done by const... |
43df0913317a4b0b570e111b3b8fae2e39a70263 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH2/EX2.7/2_7.sce | 3e358c8e68a7e02316a8501774e4eee737a418cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,210 | sce | 2_7.sce | // example:-2.7.page no.-50.
// program to plot the reflection coefficients for parallel and perpendicular polarized plane waves incident from free space on to a dielectric region with Er=2.55,versus incidence angle.
Er=2.55; // relaitve permittivity of dielectric medium.
N1=377; // intrinsic impedence
N2=N1/sqrt... |
feded861c26882c796f06090b317d3e504c3e026 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH2/EX2.5/Ex2_5.sce | 26f62ef6b534297bd661287508a15c0d78a2a40e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | Ex2_5.sce | // Problem no 2.5,Page no.33
clc;clear;
close;
//Notifications has been changed as per requirement
h=8 //cm //height of triangle
b=8 //cm //breadth of triangle or diameter semicircle
d=4 //cm //diameter of circle enclosed
//Calculations
I_1=b*h**3*12**-1 //cm //moment of inertia of the triangle ABC about the ax... |
6c8219da568147c339f8f0058cde6a31078e601c | 5ca327712aa983f063501296e094fd872b2c082a | /program/func2.sci | c52450ea8f81672a874c6fa44dc16af372d96060 | [] | no_license | hepTsukubaKT/program_und_study | e9e3b11e7ed1ef6f36cd57848f116ee7541f4032 | 96340b304436869b30e48e48c874e7e490e166a9 | refs/heads/master | 2020-03-28T14:02:08.373600 | 2018-12-04T08:33:03 | 2018-12-04T08:33:03 | 148,452,888 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sci | func2.sci | clear;
// *** データの作成 ***
X = linspace(-180,180,360);
//Y = log(X);
// *** 解くべき関数の定義 ***
function y = func(x)
y = log(x) - yp;
endfunction
// *** 非線形方程式ソルバ ***
yp = 1; // yp = f(x)
x0 = 1; // ソルバ―の初期値
// 非線形方程式を解く
xp = fsolve(x0, func)
// 誤差
err = abs(xp - exp(yp))
// *** グラフのプロット ***
plot(X, Y, '-b');
plot(... |
66264226db667af2634a85d3e318ab170ea1afbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH7/EX7.8.2/7_8_2.sce | 15981a1065d25401f9f176ac2313fa1f8fa81860 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | 7_8_2.sce | clc
//initialisation of variables
Pb= 1800//h.p
d1= 0.002378 //slug/ft^3
d= 10 //ft
U= 352 //ft/km hr
//CALCULATIONS
r= Pb*550/(2*d1*%pi*(d/2)^2*U^3)
p= (1-r)*100
//CALCULATIONS
printf (' ideal efficiency = %.f ',p+1.1)
|
5b52e476e6c18883578e05f0b779b8b028c4ed5d | da207569fa9aed2805e4deb68f9fa187bde74ccf | /S wave equation 1.sce | aa0bd79dad019c3474b4084450649853e2ff18c1 | [] | no_license | vishu-byte/Schrodinger-Equation-usinf-finite-difference-method-and-vector-spaces | 2707ec4478e684283c5bbf751552ce71209cdf20 | b927c379c1737d41f4201b6de00a830275c98900 | refs/heads/main | 2022-12-19T18:30:09.094509 | 2020-10-09T15:23:13 | 2020-10-09T15:23:13 | 302,677,969 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,957 | sce | S wave equation 1.sce | //TO SOLVE SPHERICAL WAVE SCHRODINGER EQUATION USING VECTOR SPACES AND FINITE DIFFERENCE METHOD
//BY VISHU SAINI
//7 OCT. 2020
//GIVEN WAVE EQUATION IS OF THE FORM
/*
y''= A(r)y(r)
y(0)=0
y(n)=0 lim n-->inf
*/
/* We write the above equation in form:
H|y> = E|y> ... |
d0c4683e69b6f74dd8cef0fde29604363fdc2b79 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.7_10.tst | 0112040dc3c617f720db522cbdc8aa7a8db84f19 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 25,491 | tst | bow.7_10.tst | 7 4:0.07692307692307693 12:0.3333333333333333 13:0.25 18:0.5 22:0.3333333333333333 26:0.3333333333333333 27:1.0 30:1.0 32:0.3333333333333333 44:1.0 49:0.2 52:1.0 65:0.14285714285714285 66:0.5 78:0.2222222222222222 86:0.5 143:0.2 145:1.0 198:1.0 241:1.0 242:0.05714285714285714 249:0.4 260:1.0 286:2.0 296:0.5 679:1.0 686... |
db0584e5a54d8f954962779d2dd6a9c25ec8193b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.24/Ex3_24.sce | 9b8226759f33c9830780c6bec21fd867e2a7218a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Ex3_24.sce | clc
//to calculate orders
eplusd=1/4000
lambda1=5*10^-5
//wavelengh in cm
lambda2=7.5*10^-5
nmax1=eplusd/lambda1
nmax2=eplusd/lambda2
disp("orders will be observed by a grating ,if it is illuminated by light of wavelength of 5000 angstrom is nmax1="+string(nmax1)+"unitless ")
disp("or... |
11552aec3cf74eb2df1b5bbff72421146b65e539 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.30/Ex18_30.sce | fc56fa0ce2b58a7bce55583d4e6dc08800df4323 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex18_30.sce | //Initilization of variables
mb=0.06 //kg
ms=50 //kg
h=0.03 //m
g=9.8 //m/s^2
//Calculations
//Speed of bag+bullet
v2=sqrt(2*g*h) //m/s
//Applying conservation of momentum
v1=((mb+ms)*v2)/mb //m/s
//Result
clc
printf('The speed of bullet as it entered the bag was %f m/s',v1)
|
dcb285f408624cca147f11d8cc36aa9982bcb9bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH6/EX6.7/Example_6_3.sce | 26169b05d8393b87642332f99e5c428b5c6aa7f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 939 | sce | Example_6_3.sce | // Solving Using Shooting Method
// u''-(1-x/5)uu'=x, u(1)=2, u(3)=-1)
function ydot=f(t, y),
ydot=[y(2);
t+y(1)*y(2)*(1-t/5);]
endfunction
y0=[2,-1.5]';t0=1;t=1:0.2:3;
y=ode(['rkf'],y0,t0,t,f)
y1=[2,-3]'
U=ode(['rkf'],y1,t0,t,f)
y2=[2,-2.2137]'
V=ode(['rkf'],y2,t0,t,f)
y11=[2,-1.9460]'
U1... |
559c39f5a7aef0149e18aab5d2fd11d1b2db5d44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1823/CH4/EX4.11/SolEx4_11.sce | 36be2d9df101a77669fb70e8957135cab8390e61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | SolEx4_11.sce | //Find (a) VGSQ; ðbÞ IDQ, and (c) VDSQ.
//Solved Example Ex4.11 page no 121
clear
clc
Vt=4//V
R1=50//k ohm
R2=0.4//M ohm
Rs=0
Rd=2 //k ohm
Vdd=15//V
Vgsq=(R1/(R1+R2*10^3))*Vdd
printf("\n Vgsq = %0.2f V",Vgsq)
Idon=10//*10^-3
Idq=Idon*((1-(Vgsq/Vt))^2)
printf("\n Idq = %0.2f mA",Idq)
Vdsq=Vdd-(Idq*R... |
2aaef7e6ef38facaaec5461cbfa2304bfed7ca43 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/Hypergeometric/hygestat.tst | 3aafb8545985d5240bacf15c02cdc6884b6a14b3 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | tst | hygestat.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-... |
04b598453bd924304309ec315f3dd8ddbb30feea | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.23/Ch5_5_23.sce | bcf5efe1c503a01140159ce4a099629fd31e80e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | Ch5_5_23.sce | clc
disp("Example 5.23")
printf("\n")
disp("calculate closed-loop gain for the negative feedback amplifier")
printf("Given\n")
//voltage gain without feedback
Av=100000
//feedback factor
B=1/100
//voltage gain with feedback
Acl=Av/(1+(B*Av))
//when Av is changed by 50%
Av1=50*100000/100
Av2=Av+Av1
//volta... |
c5b5906a44e1a857dec5e286e848bf7fe66e302f | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.1/P6_1.sce | 7c939d8e309d3e12082a91bf987000c386f15618 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | P6_1.sce | //EXAMPLE 6.1
//Z-Transform of causal sequence
clc;
clear;
syms n a z;
x = a^n;
X = nusum(x*(1/z)^n,n,0,%inf);
limit(X);
disp(' X = ',X);
disp(' ROC = |z|>|a| ') |
5195b8bf44fbb8ad9d6a8f07e24a83a82b7f27c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH16/EX16.3/PS_3.sce | 499d03d302a4ea8b9156ba0ca33e993ef80fe71f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | PS_3.sce | // sum 16-3
clc;
clear;
d=30;
W=5*10^3;
p=5;
rm=45/2;
u1=0.15/cosd(14.5);
u2=0.15;
dm=d-(p/2);
alpha=atan(p/(%pi*dm));
phi=atan(u1);
Tr1=W*((dm*tan(alpha+phi)/2)+(u2*rm));
Tr1=Tr1*10^-3;
n1=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm));
T1=W*((dm*tan(phi-alpha)/2)+(u2*rm));
T1=T1*10^-3;
n2=dm/2*tan(alp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.