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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38d515576121c33da37118bfa76cc98bbc11491a | 449d555969bfd7befe906877abab098c6e63a0e8 | /116/CH12/EX12.4/exa12_4.sce | 7ddacf8878ab57df4f24288b21d5629319dd85b1 | [] | 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 | 479 | sce | exa12_4.sce |
//Example 12.4
//Page 529
disp('The Traffic intensity of system is,')
A=1*2
disp('The raffic intensity carried by i active ckt is exactly i erlangs. Hence the traffic carried by 1st 5 ckt is,')
P1=[(1*2^1)/(1)]
P2=[(2*2^2)/(1*2)]
P3=[(3*2^3)/(1*2*3)]
P4=[(4*2^4)/(1*2*3*4)]
P5=[(5*2^5)/(1*2*3*4*5)]
A5={... |
363563e480aa4dc76a7720475030bce84d7b5758 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH2/EX2.11/EX_2_11.sce | a34eba2a2279e05c954da0d06da06f95a994df72 | [] | 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 | 375 | sce | EX_2_11.sce | // Example 2.11:diameter
clc;
clear;
close;
v1=1.2;//
v2=2.4;//
h=0.85;//in micro meter
n1=1.5;//refrative index
d1=0.015;//
a1=((v1*h)/(2*%pi*n1*sqrt(2*d1)));//in micro meter
d2=0.0015;//
a2=((v2*h)/(2*%pi*n1*sqrt(2*d2)));//in micro meter
disp(2*a1,"diameter (case 1) in micro meters is")
disp(2*a2,"diameter (case 2) i... |
7b2c7aa68758c250518d109c49bf114d137006c9 | 44dccf35d0d05580e3fc20af3b7697b3c638d82d | /testcases/detectMinEigenFeatures/9.sce | 8ff3d5bb9b0bea65dfc941d5c173ed0d13ca25a2 | [] | no_license | surirohit/Scilab-Image-Processing-Toolbox-Unclean | 213caacd69badd81ec0f99a800f44a2cf8f79b5d | 3a8057f8a8d05e7efd83704a0e732bdda23fa3a0 | refs/heads/master | 2020-04-09T07:31:20.042501 | 2016-06-28T09:33:57 | 2016-06-28T09:33:57 | 60,406,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | 9.sce | i = imread('test3.jpg');
corners = detectHarrisFeatures(i,'FilterSize',5,'MinQuality',0.5);
disp(corners);
|
dcbf0effcd5f7dcf58e7d1e2010313cbbc218dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH19/EX19.3/19_03.sce | 2701720d422f669d1a4cda7df43d1fa938981f0b | [] | 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 | 297 | sce | 19_03.sce | //Chapter 19, Problem 3
clc;
Av=120; //open-loop voltage gain
Vi=3; //input voltage
Vo=24*10^-3; //output voltage
Ac=Vo/Vi; //common mode gain
cmrr=20*log10(Av/Ac); //CMRR
printf("CMRR = %.2f dB",cmrr);
|
ea39be0143e866648aefaf753f258c32556d1caa | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH2/EX2.5/5.sce | 03c23ebf3958790c79d59df42a3b4bd762af4d97 | [] | 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 | 753 | sce | 5.sce | clc
//calc pressuer at different heights considering on density change in air
p_atm=14.7;//psia
g=9.81;//m/s^2
//P2=P1*[1-(acc. due to gravity)*(mass of air)*(height)/(univ. gas const.)/(temp.)]
T=289;//K
R=8314//N.m^2/Kmol/K
//for height of 1000ft=304.8m
h=304.8//m
p_1000=p_atm*[1-g*29*h/R/T];
disp("pressure... |
5fb563096570b4025d1a759cc71ae31cd779aeda | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH9/EX9.10/9_10.sce | 9f3ca911ff64ad4a427f9a5470be0fd164f34203 | [] | 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 | 419 | sce | 9_10.sce | clc;
clear;
D=0.1;//mm
sg=2.3;
vis=1.12*(10^(-3));//N*s/(m^2)
//by free body diagram and assuming CD=24/Re
U=(sg-1)*999*9.81*((D/1000)^2)/(18*vis);
disp("m/sec",U,"The velocity of the particle through still water =")
dia=0:0.001:0.1;
count=1;
for i=0:0.001:0.1
u(count)=(sg-1)*999*9.81*((i/1000)^2)/(18*vi... |
c43ee62edb998bfec9b74b5ed634695d826bdaa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH12/EX12.15/Ex12_15.sce | 417082dfbda6d3d09e121290124ae36c86620b2e | [] | 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 | 828 | sce | Ex12_15.sce | //Example 12_15
clc;clear;
//Properties
k=1.4;
C_p=1.005;// kJ/kg*K
R=0.287;// kJ/kg*K
// given values
D=0.15;// m
V_1=80;// m/s
T_1=550;// K
P_1=480;// kPa
HV=42000;// kJ/kg
AF=40;
//Calculation
rho_1=P_1/(R*T_1);// kg/m^3
A=%pi*D^2*V_1;// m^2
m_air=rho_1*A*V_1; // kg/s
m_f=m_air/AF;// kg/s
Q=m_f*H... |
e20460231f86425640d3d00cac7cd8e443f17ca5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH8/EX8.7/8_7.sce | 5dd2fdddeae620d60c0e75c9d59cb51806d808cd | [] | 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 | 375 | sce | 8_7.sce | clc
//initialisation of variables
R= 8.314 //J/mol K
M= 29 //gms
T= 400 //K
p2= 1.6 //bar
p1= 1 //bar
Tenvir= 300 //K
//CALCULATIONS
q= R*T*log(p2/p1)/M
S= -R*log(p2/p1)/M
Senvir= q/Tenvir
//RESULTS
printf (' heat = %.1f kJ/kg',q)
printf (' \n change in entropy of system= %.4f kJ/kg K',S)
printf (' \n ch... |
32c0e08e4db650f434361dcdf839acd95c83086a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH3/EX3.6/Ex3_6.sce | 919be2b0cadc8a36dc56c7645727ba293113d695 | [] | 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 | 540 | sce | Ex3_6.sce | clc;
clear all;
//chapter 3
//page no 89
//example 3.6
A=1 //arbitrary value provided
Tau=10^-3 //in seconds
fc=30*10^6; //centre frequency in Hz
//plot for amplitude spectum
f=-3/Tau:3/Tau;
Vf=[]
for i=1:length(f)
if f(i)==0 then
Vf=[Vf A*Tau]; //according to L'Hopitals rule sin(x)/x... |
073d4685c1a2628b1cb643e73b38636a33146e56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.37/Exa_5_37.sce | 34501a77fa18bc6f420ca9d3c26fd97869e94dc1 | [] | 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 | 229 | sce | Exa_5_37.sce | //Example No. 5.37
clc;
clear;
close;
format('v',9);
//Given Data :
V1=230;//V
N1=870;//rpm
Ia=100;//A
Ra=0.05;//ohm
T=400;//N-m
Eb=V1-Ia*Ra;//V
Vgen=V1+Ia*Ra;//V
N2=N1*Vgen/Eb;//rpm
disp(N2,"Speed in rpm : ");
|
5530568b9a0bd5ed8460e883f2de9426b39a4179 | 81bc38e545039d5e4d0b8c7a1e9e0be1460711c6 | /Wind Analysis/C1/INITPLW.TST | 5c25b480e3cc32e2a42b6063f7081dd41b2e10c0 | [] | no_license | HeshamEbrahim/LabVIEW-Codes | e27b59c6777403a31b231706ca4cc19b75a54f1e | ea5272a9d70055c1e7889cd2bd77734fb99e1d61 | refs/heads/master | 2023-01-27T23:47:22.245133 | 2023-01-10T23:44:22 | 2023-01-10T23:44:22 | 181,206,780 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | tst | INITPLW.TST | ! Set active HYSCAN nodes
active_nodes 12
! Copy initialization batch file to the nodes
send_to nodes ?:\OUT\SETUP\PLW\INITNDPL.BAT C:\BAT\INITNDPL.BAT
! Execute initialization batch file on the nodes
exebat nodes C:\BAT\INITNDPL.BAT
delay 150
! Copy TUNNEL.CTL file to the nodes
send_to nodes ?:\OUT\INPUTS\TUNNEL.C... |
425534d51d425b64c0c0dc168439d5719e23a650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH8/EX8.15/Chapter8_example15.sce | 9f9d42290ab2e57542b73e02b261be20e942cb54 | [] | 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 | 611 | sce | Chapter8_example15.sce | clc
clear
//Input data
CO=17//Percentage composition by volume
H2=53.4//Percentage composition by volume
CH2=28.8//Percentage composition by volume
O2=0.8//Percentage composition by volume
ea=30//Percentage of excess air
v=1//Volume in m^3
//Calculations
ta=((100/21)*((CO/100)/2+(H2/100)/2+(CH2/100)*2-(O2/1... |
18963ca21d657dc817c77b021b9c565f00d1d7d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.20/Ex24_20.sce | b0856b16feab34ca24321e6d9c980afbffed5fb8 | [] | 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,762 | sce | Ex24_20.sce | // Example 24_20
clc;funcprot(0);
//Given data
P=5;// Power plant capacity in MW
T_1=15+273;// K
p_1=1;// bar
T_4=750+273;// K
p_r=6;// Pressure ratio
p_3=2.24;// bar
e=0.75;// The effectiveness of heat exchanger
n_c=0.8;// Isentropic efficiency of compressor
n_t=0.85;// Isentropic efficiency of both turbin... |
3ef0c2728b6d0d3afa7954c6e0ea2535a636dec0 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 03/Tarefa2ItemeCond7.sce | 26b20850681073a63631c0aa54fe2da615cb1754 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | Tarefa2ItemeCond7.sce | //Tarefa 2 - Flavius
//Condições iniciais
pi=%pi
g=9.8 //Gravidade em m/s
r=1e-3 //Raio da esfera
ro=7850 //Densidade da esfera
vol=(4/3)*pi*r^3 //Volume da esfera
m=ro*vol //Massa da esfera
R=1 //Raio do tubo (m)
//Item a
//Espaço de estados
function [y_dot]=deriva(t,y0)
k=y0(1,:)
kdot=y0(2,:)
dk_dt=kdot... |
b2b9682fcb84692e81d2e679ff0e17fe86bd21a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH3/EX3.18/ex3_18.sce | 2bd6c1fab10bd553b8d693580e9d9e1f5fdef491 | [] | 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 | 491 | sce | ex3_18.sce | // Exa 3.18 (Miss printed as example 3.15)
clc;
clear;
close;
format('v',5)
// Given data
P_Cmax = 125;// in mW
P_D = P_Cmax;// in mW
T_A = 25;// in degree C
Tj = 150;// in degree C
// Tj-T_A = theta*P_D;
theta = (Tj-T_A)/P_D;// in degree C/mW
disp(theta,"The thermal resistance for a transistor ... |
108b40e131ca333ce6aace809dfc254bebe7dadf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.14/1_14.sce | 5350955dd83bf901fd5e63b903539877c73fa860 | [] | 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 | 423 | sce | 1_14.sce | //Chapter-1,Example 1_14,Page 1-41
clc()
//Given Data:
n=4 //4th dark ring
m=12 //m=n+p
D4=0.4*10^-2 //Diameter of 4th ring
D12=0.7*10^-2 //Diameter of 12th ring
//Calculations:
//(Dn+p)^2-Dn^2=4*p*lam*R
//Solving, (D12^2-D4^2)/(D20^2-D4^2)
//We get above value =1/2. Hence
D... |
91415ce9d0c96cfcf6423cbcf1644f1dcf9ab6b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH2/EX2.5/example_2_5.sce | 36a580d16d0c07932d524389a646d7c80c603966 | [] | 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 | 144 | sce | example_2_5.sce | clear;
clc;
disp("--------------Example 2.5---------------")
disp("753 - A 16-bit port address represented as one single decimal number.")
|
908fd7de40be5d087ecefaf368ca997c87e33279 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH8/EX8.10/Ex8_10.sce | 35bd63586137d7de935571c650066ea2fc06fd9b | [] | 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,143 | sce | Ex8_10.sce | //Example 8.10, Page Number 390
//Material dispersion for a laser and LED source
clc;
clf();
//Fig 8.26 Page No 390
X=[0.5,0.75,1,1.25,1.4,1.5,1.75,2,2.5]//Values as observed from graph
V=[0.07,0.04,0.02,0.0,-0.01,-0.02,-0.03,-0.04,-0.06]//Values as observed from graph
plot(X,V);
xlabel("Wavelength (um)")
ylab... |
084d6d1da3f5ff91051673041647d561b5ec7fb6 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0096.tst | 35589c9dfd1d2e0947b3d5d98bc712b255c1883e | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 814 | tst | 0096.tst | sPlITtEr ggj {}
FiltER NCL { NOT 9 = BITaNd ( Ca:bB:Ae:EA:fA:c5
, ) OR HtG ( ) }
fIlteR a {d }
g -> SyO
GroUpeR wZV {mOdUlE C{ N = C L > sd RDelta 115 } AggrEgAtE biTanD(dL) As v }
uNgrOupER Y { }
gROUPfiltER Fq {Not ::a:d56:F:5.3.44.250 >> 253.201.134.4 oR nOt sMw ( ) not BitAnd ( ) Or bITAnd ( 177.2.... |
2fc4b5ed07c035183ec28a1da3cfb575e746af3c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.1_9.tst | 5adc70ddae4cc6873cc9f35efd6474446b63a5aa | [] | 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 | 28,214 | tst | bow.1_9.tst | 1 12:0.014084507042253521 13:0.2 27:0.06666666666666667 36:0.09090909090909091 41:0.42857142857142855 50:1.0 58:0.25 67:0.6 70:0.11764705882352941 82:0.125 85:0.3333333333333333 98:1.0 109:0.5 113:0.5 176:0.5 197:0.09090909090909091 230:2.0 341:0.3333333333333333 381:1.0 405:1.0 438:1.0 473:1.0 497:1.0 500:1.0 506:1.0 ... |
7903fc4ce0da2a9d793167bde38ab268cbdf471b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH9/EX9.1/ch9_1.sce | 9a276cc91f3e3180d4f78f1707793899001b84b8 | [] | 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 | 395 | sce | ch9_1.sce | clear;
clc;
V_s=230;
V_m=sqrt(2)*V_s;
a=45;
V_or=(V_m/2)*sqrt(1/%pi*((2*%pi-a*%pi/180)+sind(2*a)/2)); printf("rms value of o/p voltage=%.3f V",V_or);
R=20;
I_or=V_or/R;
P_o=I_or^2*R; printf("\nload power=%.1f W",P_o);
I_s=I_or;
VA=V_s*I_s;
pf=P_o/VA; printf("\ni/p pf=%.4f",pf);
V_o=sqrt(2)*V_s/(2... |
34d30c917cd602c90e085be8c908e0ec5e8eff36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH1/EX1.1/example1_1.sce | b67aa722cb0d6c89ab920ccef75320675e866a2a | [] | 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 | 68 | sce | example1_1.sce | ft=3.67;
m=ft*0.3048;
disp("the given length (in m) is"); disp(m); |
14ef0a19c89335623806a944af0e2d41b29d4345 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH15/EX15.8/example15_8.sce | 591bfaa3467c2e842d2793570cd3661f39f9ee0d | [] | 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 | 351 | sce | example15_8.sce | r1=3.3;
r2=4.7;
vp=36;
disp("Part a");
vt=vp/(2*sqrt(2));
rt=r1+r2;
i=vt/rt;
disp("the reading of a series-connected ammeter (in mA) is"); disp(i);
disp("Part b");
v=vt*r2/(r1+r2);
disp("voltage (in V) across the 4.7 kΩ resistor is"); disp(v);
disp("Part c");
p=i^2*r1;
disp("power dissipated (in mW) in he ... |
d12c104e049979a2705a8cbcb14494ca72e584a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.9/Ex2_9.sce | a2a012ff7e481f76fd978896ddefd5a6c8f338a9 | [] | 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 | 669 | sce | Ex2_9.sce | //Example 2_9
clc;funcprot(0);
// Given values
A=250*10^6;// Catchment area in m^2
Ar=1.25;// Annual rainfall in m
H=60;// Average head in m
P_w=70;// Percentage of water in the dam
n_t=0.9// Turbine efficiency
n_g=0.95// Generator efficiency
g=9.81;// The acceleration due to gravity in m/s^2
//Calculation
... |
5193b5939728b41152c11fe791e345c87b26d0db | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH3/EX3.3/3_3.sce | 31a932b63d021e5ccce0b23581ff26a224b31bf4 | [] | 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 | 631 | sce | 3_3.sce | pathname=get_absolute_file_path('3_3.sce')
filename=pathname+filesep()+'3_3_data.sci'
exec(filename)
//For Process 1 and 2
//Compression Ratio
r=(p2/p1)^(1/y)
//Efficiency
n=1-((1/r)^(y-1))
//Final Temperature (in kelvin)
t2=(p2*t1)/(p1*r)
//For Process 2 and 3
t3=(p3 /p2)*t2
//Heat Supplied
qs=Cv*(t3 -... |
3b221555fbd2854d0fa102fcc568d9d18d598859 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1207.sce | e7fe02391e7094e5742c2a2f6e8df9324028f2d4 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,460 | sce | map1207.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1207" Width="13" Height="11" CellSize="40" BackgroundSize="1" Background="9plus.png">
<Cell Name="南瓜" X="5" Y="1" />
<Cell Name="十字架" X="6" Y="1" />
<Cell Name="南瓜" X="7" Y="1" />
<Cell Name="十字架" X="9" Y="1" />
<Cell Name="盔甲怪" X="10" Y="1" arg0="24" />
<C... |
149164146c75b4c5d329058b9c1d1b67cd37cd07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.18/Exa2_18.sce | 4739e0046e287f8859d5a22347e5d2a6777b644f | [] | 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 | 909 | sce | Exa2_18.sce | //Exa2.18
clc;
clear;
close;
disp("Let the temperature coefficient of resistance of platinum at 0 degree C be alpha0 and resistance of platinum coil at 0 degree C be R0,then");
disp("Resistance at 40 degree C, R1 = R0 * (1+40*alpha0) (i)");
disp("Resistance at 100 degree C, R2 = R0 * (1+100*alpha0)... |
527793bb0a729848e3db0b57e1c9d764d46f40ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH4/EX4.5/ex4_5.sce | 4b62db5f0745bfe06a8f6a5c51849f13c231eed0 | [] | 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 | ex4_5.sce | //find dc current gain in common emitter configuration
clear;
clc;
//soltion
//given
a=0.98;//dc current gain in common base configuration
B=a/(1-a);
printf("The dc current gain in common emitter configuration is %.0f",B);
|
75a1f567109eb5c637b323d0a3af16ea04e8c0df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH12/EX12.9/Chapter12_Example9.sce | 15f945c7d35f130fc20ee0aabe7f56040ec979ee | [] | 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 | 240 | sce | Chapter12_Example9.sce | clc
clear
//INPUT
n=17000;//luminosity of star compared to sun
t=6000;//temperature of the sun in K
//CALCULATIONS
t1=(n*t^4)^(1/4);//temperature of the star in K
//OUTPUT
mprintf('the temperature of the star is %3.2f K',t1)
|
6e4a66fe90c18aee7f1292f863b03d95a023f7eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2975/CH26/EX26.4w/Ex26_4w.sce | 9c3e17e22e20689f9050c52c4e496fdd955e0c4f | [] | 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 | 815 | sce | Ex26_4w.sce | //developed in windows 8 operating system 64bit
//platform Scilab 5.4.1
//example 26_4w
clc;clear;
//Given Data
mole=1; //Number of moles of helium gas (Unit:mole)
area=8.5*10^-4; //Area of the piston (Unit : m^2)
temp_rise=2; //Temperature rise (Unit : degree centigrade)
atm_press=100*10^3; ... |
f3605f42b125f2f1f44426aa8898298afb6f07b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH12/EX12.4/Example12_4.sce | 2e95dc68a80e91566d0c81b58ab2568de6bbeda7 | [] | 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 | 235 | sce | Example12_4.sce | //chapter-12,Example12_4,pg 508
V=1.3//excitation voltage
Vgrad=10^5//potential gradient
//10^5 V/mm*thickness in mm=excitation voltage
l=(V/Vgrad)//thickness of LCD
printf("thickness of LCD\n")
printf("l=%.8f m\n",l) |
f66c364d1b549341c7ade89b5159b9f9fb662fcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH15/EX15.2/15_2.sce | c156c4516c756eca21d0e151378663789d350baa | [] | 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 | 15_2.sce | clc
//initialisation of variables
clear
M= 0.1 //molal
Tf= 0.345 //C
k= -9.702*10^-3
k1= -5.2*10^-6
//CALCULATIONS
a= %e^(k*Tf+k1*Tf^2)
//RESULTS
printf ('activity = %.4f ',a)
|
7055a8f2a295e110333ecbecef0b1a3be7a02cea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH8/EX8.9/Ex8_9.sce | 593479d62b72a7f3b2dba585e818454930b023e4 | [] | 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,393 | sce | Ex8_9.sce | // Example 8.9
clear all;
clc;
// Using the data from Example 8.8
s = 0.6; // Pitch of square lattice in inches
d = 0.42; // Diameter of the fuel rod in inches
b = 0.024; // Thickness of Zircaloy-4 clad in inches
a ... |
df93bb939d9897b744b4ff11b860bd8a77cc582b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH2/EX2.5/Ex2_5.sce | 91e467bc5235504b5ae0a4d950332fa31ab51d81 | [] | 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,317 | sce | Ex2_5.sce |
// Example 2.5
// From the diagram 2.14
rp=(1/20)+(1/10)+(1/20); // Parallel resistance
Rp=1/rp; // The resistance Rp
Rs=15; // Series resistance
Rab=Rs+Rp; // Effective resistance between A & B... |
07e292054564bf910b9545345e93b2139fb8b93b | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.48/ques48.sce | d24dccc2dc2b0d5281fe187fb6e9c9213ab631fc | [] | 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 | 298 | sce | ques48.sce | //ques48
disp('centre of curvature of given cycloid ');
syms a t
x=a*(t-sin(t));
y=a*(1-cos(t));
y1=diff(y,t,1);
y2=diff(y,t,2);
xx=x-y1*(1+y1)^2/y2;
yy=y+(1+y1^2)/y2;
disp('the coordinates x,y are resp :');
disp(xx);
disp(yy);
disp('which another parametric equation of cycloid ');
|
46aceb3ea6c81258549107464eea0dd48f956406 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH2/EX2.15/Ex2_15.sce | cbfe0d3d1e9f8b231c3f5127682bd15432d1ff64 | [] | 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 | 348 | sce | Ex2_15.sce | clc
n=1*10^5
disp("n = "+string(n)+" /cm^3") //initializing value of electrons and hole per cm^3.
p=1*10^19
disp("p = "+string(p)+" /cm^3") //initializing value of number of hole per cm^3
no=sqrt(n*p)
disp("Value of intrinsic concentration,no=sqrt(n*p))= "+string(no)+" /cm^3")//calculation
//this is solved... |
1b9d88216b7384b7777bee94cd89b670104c7491 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.25/example_3_25.sce | 50befb7b56aa69f3b1e6ab7a492f403b85245adb | [] | 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 | 936 | sce | example_3_25.sce | clear;
clc;
disp("--------------Example 3.25---------------")
printf("Another example of broadband transmission is the digital cellular telephone. For better reception, digital cellular phones convert the analog\nvoice signal to a digital signal.Although the bandwidth allocated to a company providing digital cellula... |
a70295411e7040342e59c8e0a0de49e5352c9cb5 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Iranian/pus.tst | 21c37662eadcdba2c62a94e2da03125274dbb617 | [] | 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 | 31,303 | tst | pus.tst | ژېړ ADJ;NOM;FEM;SG
ژېړ ADJ;non{NOM};MASC;PL
ژېړ ADJ;non{NOM};FEM;PL
ژېړ ADJ;NOM;MASC;PL
ژېړ ADJ;VOC;FEM;PL
ژېړ ADJ;VOC;MASC;SG
ژېړ ADJ;VOC;FEM;SG
ژېړ ADJ;NOM;MASC;SG
ژېړ ADJ;NOM;FEM;PL
ژېړ ADJ;non{NOM};MASC;SG
ژېړ ADJ;non{NOM};FEM;SG
ژېړ ADJ;VOC;MASC;PL
کتاب N;NOM;PL
کتاب N;VOC;PL
کتاب N;non{NOM};SG
کتاب N;VOC;SG
کتاب ... |
6d20dcc0066f8ef84c401e78f56583c9164a1e32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH5/EX5.7/ex_5_7.sce | ea91dabfc46e2d3a6ae126ed0b743149c47bd2cd | [] | 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 | 212 | sce | ex_5_7.sce | // Example 5.7: mobility of electrons
clc, clear
// given :
format('v',8)
e=1.602*10^-19; // in C
m=9.1*10^-31; // in kg
t=10^-14; // time in sec
mu=(e*t)/m;
disp(mu,"mobility of electrons,mu(m^2/volts.sec) = ")
|
b437c0d0909acf375840409b0a1278c99f18f82f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH2/EX2.1/Ex2_1.sce | 91f0cbc73c4cd1ea40c98cc04fee026e580ce173 | [] | 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 | 215 | sce | Ex2_1.sce | clc
lambda=0.708*10^-8// cm
h=6.625*10^-34// J*s Plank's constant
c=3*10^10// cm/s
e=1.6*10^-19// eV
E=h*c/lambda// E=hv=hc/lambda
disp(E,"the value of E in J is")
E=E/e
disp(E,"the value of E in eV is")
|
e53f844aa23ab4f9602ee703f0c1834afb459f2f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/algebre/epsfin.sci | 8a91ce23610390c5c11987f513f50769237f1ff1 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 408 | sci | epsfin.sci | function [Er,Ar,Q,Z]=epsfin(E,A)
// Returns the epsilon + finite part of the pencil sE-A
// Z right subspace associated with epsilon and finite part
// For a regular pencil Z spans the right finite eigenspace
// FD & RN (see fineta macro)
[LHS,RHS]=argn(0)
if RHS==1 then [E,A]=pen2ea(E);end
E=pertrans(E);A=pertrans(A);... |
91c12864bf8a63ef02951d4201a89835f18326f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH12/EX12.1/example12_1.sce | c6af8f7c6d27f4c18b0acd0e235ce6c377b9079d | [] | 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 | 612 | sce | example12_1.sce | //clc()
N = 100;//mol gas mixture burned
//CO(g) + 1/2 O2(g) = CO2 - Hr1 = - 282.91kJ/mol
//H2(g) + 1/2 O2(g) = H2O - Hr2 = - 241.83kJ/mol
Hr1 = - 282.91;//kJ/mol
Hr2 = - 241.83;//kJ/mol
Nco1 = 20;
Nh21 = 30;
Nn21 = 50;
Htotal = Nco1*Hr1 + Nh21*Hr2;
disp("kJ",-Htotal,"the... |
b40f939f4a860f81b648cb2665604ba1659ea02f | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/correctMatches.sci | 7dfc2daf8db6f9267fab4fc123cc2a59706599f0 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 2,367 | sci | correctMatches.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// 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_... |
3d910f777315336e1592af462ee0f231cb59a848 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/eqtflength/eqtflength5.sce | 9a5a46b2f7607ccfaec259140dc8cfd93ed83861 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | eqtflength5.sce | num=[1 0.5 50 5];
den=[0 0 0 0];
[b,a]=eqtflength(num,den);
disp(b);
disp(a);
//output
//!--error 10000
//Division by zero not allowed
//at line 24 of function eqtflength called by :
//[b,a]=eqtflength(num,den);
//at line 3 of exec file called by :
//length5.sce', -1
|
507df8c2c0ff36cd93f5645926e8c12336462f97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH10/EX10.9/ex10_9.sce | 1375cd7292de216b89fead66307c0d686497290b | [] | 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 | 332 | sce | ex10_9.sce | // Example 10.9
format('v',5)
clc;
clear;
close;
// given data
I_Csat= 109*10^-3;// in A
bita_dc= 200;
R_B= 1*10^3;// in Ω
V_BE1= 0.7;// in V
V_BE2= 1.6;// in V
// The base current,
I_Bsat= I_Csat/bita_dc;// in A
// The input voltage
Vin= I_Bsat*R_B+V_BE1+V_BE2;// in V
disp(Vin,"The input voltage in volt... |
eca7055ef119f041e94b600b70d4fe791b03109e | 83caec5f041d643475c35ab7519e1f982277583a | /tracerPolygone.sce | 754766e1c4d79dff0b7be8f49df47ce326edb553 | [] | no_license | madox35/Maths-Multimedia | 356cab6180621742a480f693642c580e07cb0b78 | f5ae15c7a85a7932453b5e482df2ef392fc782e9 | refs/heads/master | 2021-08-08T00:41:34.725667 | 2017-11-09T07:27:15 | 2017-11-09T07:27:15 | 110,081,459 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | tracerPolygone.sce | function [x,y] = TracerPolygone()
clf()
plot2d(0,0,rect=[0 0 3 3])
xgrid(1)
ibutton = 0
while ibutton<>5
[ibutton, xcoord, ycoord] = xclick()
x($+1)=xcoord
y($+1)=ycoord
plot(x,y,'-o')
end
endfunction
|
1ca30d1a967b8471ecb8970e2a6c2d3ee1e79ec2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.4/Ex3_4.sce | a6a3972d695cdba0dfbec85c265d3c178eca6780 | [] | 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,208 | sce | Ex3_4.sce |
// Examle 3.4
C1=0.05; // Capacitor 1 ( in Micro )
C2=0.1; // Capacitor 2 ( in Micro )
C3=0.2; // Capacitor 3 ( in Micro )
C4=0.05; // Capacitor 4 ( in Micro )
C=(1/C1... |
9907d5b8841b05ed30ca7811227c84d9622f1385 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH13/EX13.9/ques9.sce | e197441f6c72ece6ad024a38acad14ea92015000 | [] | 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 | 316 | sce | ques9.sce | //ques9
clc
disp('solution of the given linear differential equation is given by : ');
m=poly(0,'m');
disp('y=1/(D(D+1))[x^2+2x+4] can be written as (1-D+D^2)/D[x^2+2x+4] which is combination of differentiation and integration ');
g=x^2+2*x+4;
f=g-diff(g,x)+diff(g,x,2);
y=integ(f,x);
disp('y=');
disp(y); |
1db32855fd3e323136638bdd67f9d09c586029c8 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/initCameraMatrix2D/test5.sce | b96e5494060f46726628f11202374685a995cbae | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | test5.sce | //Checking if error message pops up when width length is negativr
a = [14 11.0;
217.0 83.4;
22.0 33.3;
211.0 321];
in1 = list(a)
b = [1.0 21.0 15;
25.0 13.0 23;
223.0 26.0 2;
179.0 52.0 13];
in2 = list(b)
width = -1280;
[output1] = initCameraMatrix2D(1,in2,in1,width,1024,0);
//output->
// ... |
c893bed93b3563b2000c2bc63e07511ea442f585 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.abalone-10-1tra/result4.tst | 95c4ee9188955db296d613c862b9d0613837410a | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,597 | tst | result4.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
b0f2dac4ff11e493fe6098b27990e59325bdaee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH13/EX13.7/13_7.sce | f20820d43aab0aab5cfd7be9ab341b3b775fd0f4 | [] | 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 | 641 | sce | 13_7.sce | clear
clc
xd=.2
x1=.4
x2=.4
Pi=1.5
E=1.2
V=1
X=xd +((x1*x2)/(x1+x2))
pe=E*V/X
d0 = asin(Pi/pe)
X2=xd+x1
pe2=E*V/X2
d1 = asin(Pi/pe2)
dm=%pi- d1
A1=((Pi * d1)+ ( pe2 * cos(d1)))- ((Pi * d0)+ ( pe2 * cos(d0)))
A2=((Pi * dm)+ ( pe2 * cos(dm)))- ((Pi * d1)+ ( pe2 * cos(d1)))
if abs(A1)<abs(A2)... |
e99dd5f6c58770e58072379007ca506a3d959fae | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Samples/CSG1.SCI | dedb17145b8147b4d24c8b7085f3dbe0e25f658b | [
"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 | 777 | sci | CSG1.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
sss.ambientlightcolor=color(0.15,0.15,0.15);
refframe=sss.addsubframe("refframe");
sf1=sss.addsubframe("sf1");
tf=Transformation.rotate(vector(0,0,1),Pi/5);
s=Bar(point(0,-1,0),vector(2,1,1));
s.subsample(0.5);
s2=Sphere(point(1,0,0.... |
88df378c60b82a7de9627b264d1714bf01e77ab8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH10/EX10.3/10_3.sce | b0680120fbc434e9264fcd522a34b6303e6c2a6c | [] | 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 | 920 | sce | 10_3.sce | //All the quantities are expressed in Si units
area_ratio = 2; //exit to throat area ratio
p0 = 1; //reservoir pressure in atm
T0 = 288; //reservoir temperature
pe = 0.973; //exit pressure... |
b934b596e43d354ef4d11f3bbb49bc9f3a87eb70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH12/EX12.5/12_5.sce | a07a990852a5f955455ad8837a4d06aeb0d278d0 | [] | 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 | 815 | sce | 12_5.sce | h1 = 3230.9; s1 = 6.9212; s2 = s1; s3 = s1;
h2 = 2796; sf = 0.6493; sfg = 7.5009;
x3 = (s3-sf)/sfg;
h3 = 191.83 + x3*2392.8;
h4 = 191.83; h5 = h4;
h6 = 640.23; h7 = h6;
m = (h6-h5)/(h2-h5);
Wt = (h1-h2)+(1-m)*(h2-h3);
Q1 = h1-h6;
n_cycle = 100*Wt/Q1;
sr = 3600/Wt;
s7 = 1.8607; s4 = 0.6493;
Tm = (h1-h7)/(s1-... |
571b5973d4746607ea11d72fe21abb3b1b363f9f | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH21/EX21.1/ex_21_1.sce | 066814e1259c1c4cd939628fc45337d9c9c997e9 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 952 | sce | ex_21_1.sce | //edsig chain dirve
clc
//soltuion
//given
RP=15000//W//rated power
N1=1000//rpm
N2=350//rpm
VR=N1/N2
//ref table 21.5,numbr of teeth on smaller sprocket is T1=25
T1=25
T2=T1*N1/N2
K1=1.5//load factor
K2=1//lubricaiton factor
K3=1.25//rating factor
Ks=K1*K2*K3//service factor
DP=Ks*RP//design power
//fr... |
3c7cc9bfe8d81bd29f5034c23a31ec0b23d49c7f | c2362ea8126f9c7e56db025d6b174fd2827e8f02 | /projects/01/Not16.tst | cdf4b1e2fff6b1343bd986ca3723c351c2a8c72a | [] | no_license | itotallyrock/nand2tetris | d22a7280064ba6f72364d4e03a2dd98bb788ea45 | 034c11a5bb05d518a00834dddf3c48e2d2866ba6 | refs/heads/master | 2020-03-28T04:54:28.807199 | 2018-11-30T05:35:22 | 2018-11-30T05:35:22 | 147,743,945 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 363 | tst | Not16.tst |
load Not16.hdl,
output-file Not16.out,
compare-to Not16.cmp,
output-list in%B3.16.3 out%B3.16.3;
// Used these four test cases because it there were over 256 possibilities
set in %B0000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output;
set in %B1010101010101010,
eval,
output;
set... |
6f5949605c9b502d68d159807ee408418e839cf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.48/Ex4_48.sce | 2fcdb5218d3108b1a571b6305930238a709ba930 | [] | 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 | 815 | sce | Ex4_48.sce | clc;
v=230; // rated voltage of dc shunt motor
ra=0.4; // armature circuit resistance
rf=115; // field resistance
n1=800; // initial speed
n2=1000; // final speed
ia1=20; // armature current at n=800 rpm
// torque at both speed is same therefore f1*ia1=f2*ia2 where f=field flux therefore
Ea1=v-ia1*ra; // count... |
822c409e39ec6339dbe095e9d3891135bcd7ed12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH3/EX3.4/3_4.sce | 5d6e3a8590638c943637377ef4428c6051e40eab | [] | 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 | 831 | sce | 3_4.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 3.4
//calculation of average velocity of the tip of minute hand in a table clock
//given data
R=4; //length(in cm) of the minute hand = radius(in cm) of the circle representing the clock
t1=1800; //time(in second) ela... |
8fa6e734ea087ad133eb8c7d24762ddec5f0f848 | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH8/EX8.5.1/8_5_1.sce | 387dab6623c12087289308e49e0a1dca566a5b93 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 696 | sce | 8_5_1.sce | // CAPTION: UP-Converter_parametric_Amplifier
//chapter_no.-8, page_no.-346
//Example_no.8-5-1
clc;
//(a)Calculate_the_power_gain
R=25;//R=f0/fs ,ratio_of_output_frequency_over_signal_frequency
rQ=10;//figure_of_merit
x=((rQ)^2)/R;
PG=(R*x)/((1+sqrt(1+x))^2);
PG=10*log10(PG);//calculating_in_dB
disp(PG,'Up... |
19f93bbdc33debae6631b7e83d677cbd5e65895b | 4c888070ef0e5ac657898d54a469c6587077d0f9 | /tests/error/L-in-name.tst | b79f4c37e9d0ad9bfd18e4b7748f44b66a6cdb0c | [] | no_license | Vezyr68/Tests4lemin | 047babbbdd269de9841cfda1f0bd229e9761838f | 426cf85358a1879c039f06d2de595451126d746e | refs/heads/master | 2023-01-06T19:39:28.329496 | 2020-11-10T12:28:17 | 2020-11-10T12:28:17 | 310,910,849 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | tst | L-in-name.tst | 12
#rooms
r1 0 0
Lr2 0 1
r3 0 2
##start
s 1 1
##end
e 2 2
#links
e-s
r1-s
r1-e
r1-Lr2
r1-r3
Lr2-r3
r3-e
|
c4dc4b3ae558948a10b01964d16595451e6a1a87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.2/ex1_2.sce | ff6984d56ba2506a6625217b24c41581083ae637 | [] | 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 | 184 | sce | ex1_2.sce | //Exam:1.2
clc;
clear;
close;
a=1;
b=1;
c=-30;
w_m=(-b+sqrt((b^2)-4*a*c))/(2*a);//speed of the drive
t_l=0.5*(w_m^2);//motoring torqe
disp(t_l,w_m,'stable operating point='); |
b5f157bd17526bc920a2328b35e8045616c1b509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH10/EX10.7/ques7.sce | 13e9b311ddae4802f0a73378cbe65434c83f9c4a | [] | 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 | 462 | sce | ques7.sce | //ques1
clc
disp('finding the fourier series of given function');
syms x
ao=2/%pi*(integ(cos(x),x,0,%pi/2)+integ(-cos(x),x,%pi/2,%pi));
s=ao/2;
n=input('enter the no of terms upto each of sin or cos terms in the expansion : ');
for i=1:n
ai=2/%pi*(integ(cos(x)*cos(i*x),x,0,%pi/2)+integ(-cos(x)*cos(i*x),x,%p... |
19ae4c3e69b7ce813e26186488fceae8d5e11965 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH7/EX7.12/example12.sce | 88982695f4018cbb8183c99cd010404366e2670e | [] | 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 | example12.sce | Syms t,s
//on applying KVL we get the laplace transformed current as
disp(' the laplace transformed current equation is i(s)=s^2+6s+5/(s*(s^2+4s+5))')
//by partial fraction method
[A]=pfss(s^2+6*s+5/((s)*(s^2+4*s+5)))
b=ilt(A (1),s,t)
c=ilt(A(2),s,t)
d=b+c
disp('the time domain expression is')
disp(d)
|
adb0beb3e4c6fcd81d2f0c9953d6bd25c420e07f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH4/EX4.2/ex4_2.sce | 59a479ca58e1341d8795604c53ea78573a569959 | [] | 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 | 265 | sce | ex4_2.sce | // Example 4.2, page no-209
clear
clc
//(a)
Cc=1.0
C=0.7*Cc
m=0.005
k=50
w=sqrt((k/m)-(C/(2*m))^2)
printf("(a)\nw=%.1f rad/s",w)
//(b)
w1=250
theta=C*w1/(k-m*w1^2)
printf("\ntheta=%f",theta)
fi=atan(-theta)
fi=fi*180/%pi
printf("\nfi = %d°",fi)
|
b7fa29ceb75ba9651ffb6c3ea53c3fc71c4b8535 | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH1/EX1.1/Exa1_1.sci | 980fd4acec9be700ca92175be5b80ef4132035df | [] | 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 | 630 | sci | Exa1_1.sci | //Determine the first four terms in the Fourier series for a rectangular waveform
f = 1e+3;
T = 1/f;
pw = 500e-6;
A = 10;
p = pw/T;
ft1 = (A*p);
ft2 = ( (2*A*p) * sin(%pi*p)/(%pi*p) * cos(2e+3*%pi*p) );
ft3 = ( (2*A*p) * sin(%pi)/(%pi) * cos(4e+3*%pi*p) );
ft4 = ( (2*A*p) * sin(1.5*%pi)/(1.5*%pi) * cos(6e+3*... |
6e6c9f465d35dd75b11ed864844726ce008ab1bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH2/EX2.13/2_13.sce | d7da6071a80cdcecd34faae561e5cc9faedf9ee2 | [] | 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 | sce | 2_13.sce | clear
clc
disp('Exa-2.13');
E=10.51; mc2=0.511; //all the values are in MeV
p=sqrt(E^2-mc2^2); //momentum of the electron
printf('The momentum of electron is %.1f MeV/c\n',p);
v=sqrt(1-(mc2/E)^2); //velocity in terms of c
printf('The velocity of electron is %.4f c',v); |
38af71ca740c75c1b1c418a3f95ad9e173a6fe14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH17/EX17.4/ex4.sce | 614a6ff9820440272f7304161cfcae048eb2669d | [] | 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 | 266 | sce | ex4.sce | //ques4
//Critical Temperature and Pressure in Gas Flow
clear
clc
k=1.289;
T0=473;//Temp at in K
Tx=T0*2/(k+1);//Temp in K
P0=1400//pressure in kPa
Px=P0*(2/(k+1))^(k/(k-1));//Pressure in kPa
printf('T* = %.0f K \n',Tx);
printf(' P* = %.0f kPa \n',Px);
|
bb679527594201fa1ad4674bcac096e647178eaa | b37ac7105c45cf46c3d4a422d28ad4977fa8f380 | /gradient-descent/creating-XOR-gradient-descent.sce | 2b1e221020ee56d011e3935b055fe17435a5dc61 | [] | no_license | svrealtime/publecture-ai-smalldata | d0045ed9852d03e29c829ba7aa6eb7611201e57c | 7479f2eaaef60d2e425828229e3b1f3648418168 | refs/heads/master | 2020-07-17T13:50:41.277701 | 2017-06-14T10:43:51 | 2017-06-14T10:43:51 | 94,319,589 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,653 | sce | creating-XOR-gradient-descent.sce | // given 4 input-outputs of the boolean XOR function
// determine the parameters of the best fitting function
// i.e. f(x,y) = axy + bx + cy + d
// via gradient descent
// x y | x AND y
// -----+------------
// 0 0 | 0
// 0 1 | 1
// 1 0 | 1
// 1 1 | 0
xx = [0,1,0,1];
yy = [0,0,1,1];
xxyy = xx.*yy;
zz... |
0c35b315d3800d4a04cb39bf212d0bd8ec14e7a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.36/EX2_36.sce | 5c552b85650a41b17e02834ca89b5fe7a087ed88 | [] | 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 | 503 | sce | EX2_36.sce | clear;
clc;
printf("\nEx2.36\n");
//page no.-84
//given
theta=45;................//angle in degrees
_lambda=0.022*10^-10;.....//wavelength in m
h=6.6*10^-34;..........//planck's constant in J-sec
m=9.1*10^-31;.........//mass of electron
c=3*10^8;..............//speed of light in m/s
//acc. to compton exp.,_l... |
6e6eead779cd0c3c138ad35335d21318b9d32ce5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH12/EX12.13/Ex12_13.sce | 08a3d0b84226f5b6552d151392f88ed832f8239c | [] | 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 | 536 | sce | Ex12_13.sce |
clc
//initialisation of variables
h=44.10//Btu/lbm
hf=-51688 //Btu/lb mole
Hr=-948087 //Btu/lb mole
Hr1=-872347//Btu/lb mole
Hr2=-955099 //Btu/lb mole
Hr3=-879359//Btu/lb mole
//CALCULATIONS
hRp=Hr/h//Btu/lbm
hRp1=Hr1/h//Btu/lbm
hRp2=Hr2/h //btu/lbm
hRp3=Hr3/h //Btu/lbm
//RESULTS
printf('Liquid propane ... |
9d15879a0f932b18b83e0f1688b0b9b8bf290507 | d47ef89d1d0330681dd97a1ca4cb131d64b6d609 | /code/vecino_mas_cercano.sci | 99af1e2ed3456d5c53b527a4249c179198c6195f | [] | no_license | jere1882/TSP_Heuristics | a035a28bc786a19d0d5fd17364f81d46d70d9c17 | ca58cb77b986d03b4a92d86161ce812df8d85b17 | refs/heads/master | 2022-11-25T05:35:45.053166 | 2020-08-02T23:45:28 | 2020-08-02T23:45:28 | 284,557,182 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,314 | sci | vecino_mas_cercano.sci | function [tour, valor] = vecino_mas_cercano(A, v1)
// Ejecuta el algoritmo del Vecino más cercano sobre la instancia TSP dada
// Entrada:
// A = matríz de distancias de la instancia TSP
// v1 = vértice inicial
// Salida:
// tour = vector con los vértices a ser recoridos por el tour
// valor = valor del tour generad... |
a65cc84b742cefaa670bd32a96033f0e97543baf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH7/EX7.1/Ex7_1.sce | 6e708707768470578b6fb54bfe4ba503d85c94fe | [] | 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 | 502 | sce | Ex7_1.sce | clc//
//
//
//Variable declaration
rho_s=10.5*10^3; //density(kg/m^3)
NA=6.02*10^26; //avagadro number(per k mol)
MA=107.9; //atomic mass
sigma=6.8*10^7; //conductance(ohm-1 m-1)
e=1.6*10^-19; //charge(coulomb)
//Calculation
n=rho_s*NA/MA; //density of electrons
mew=sigma/(n*e)... |
6e3a272117e16d8245597d85f9229b00777cb39d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH2/EX2.11/Ex2_11.sce | 1cd45a7d116688c264f4d2cafc35c695956341fa | [] | 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 | 287 | sce | Ex2_11.sce | clc
//Chapter2
//Ex_2.11
//Given
u=1.58*10^6 //in m/s
N=8.5*10^28 //m^-3
e=1.6*10^-19 // in coulombs
me=9.1*10^-31 //in Kg
N_I=0.01*N
l_I=N_I^(-1/3)
t_I=l_I/u
p=me/(e^2*N*t_I)
disp(p," worst case resistivity in ohm*m")
//slight change in answer due to computational method
|
56f30095f6cb7fd633b27d48cdab05f3190e2423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH4/EX4.3/Exa4_3.sce | 10711c0a6cae9ae506b36e38840e58810dff686c | [] | 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,355 | sce | Exa4_3.sce | //Exa 4.3
clc;
clear;
close;
//given data :
disp("For a two elements arrayy the total field is given by : ");
disp("E=2*Eo*cos(psi/2)");
disp("(i) It is a case of braod side array : so, delta = 0");
disp("psi = Beta*d*cos(theta)+delta")
disp("d=3*lambda/2");
disp("Beta*d = (2*%pi/lambda)*(3*lambda/2) = 3*%pi"... |
59ea48b5443bd4268edde18827fd06997c25cb20 | 3fb2b65e8ef9208e822aad35c618441282e08a30 | /MetodeNumerik/test.sci | d29234e0f477eb4eeca5f2bf0f86f3fbe162e42c | [] | no_license | Lukmannudin/TugasKuliah | 33031fb4f6ff0ab7a5849cda3ea15330e2527c3f | 19738c858dea539f0a5569f27be68b1a56c2aa89 | refs/heads/master | 2020-03-07T15:49:59.414761 | 2018-06-09T07:41:39 | 2018-06-09T07:41:39 | 127,565,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sci | test.sci |
function test()
for i=5:-1:1
disp(i);
end
endfunction
|
fc62c5eebe4812a5ed375b4a6fe27b76822fde91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH8/EX8.8/Ex8_8.sce | 80119562f3d3645c3d4c1e598a62012063a7e155 | [] | 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,265 | sce | Ex8_8.sce | // Example 8.8
clear all;
clc;
// Given data
d = 0.42; // Diameter of the fuel rod in inches
b = 0.024; // Thickness of Zircaloy-4 clad in inches
v = 15.6*3600; // Speed of fluid in feet/hour
a = (d/2)+b; ... |
4aea7212795d3c3ae2cc6421d19640b67bef4910 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GFS-GCCL-C/results/GFS-GCCL-C.led7digit-10-1tra/result9s0.tst | 5008e84b60c215b48f3c642082966593ef253cfa | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | result9s0.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@output... |
834a2b5d9ed3e2f8410d1bb0e2b635345cb4d942 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.6_16.tst | f42f8976480a7480d38b787663abbe532e528d81 | [] | 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 | 787,262 | tst | 5.6_16.tst | 6 193:1 287:1 1119:1 1145:2 1168:1 1265:1 1582:1 1856:1 1938:1 1942:1 2076:1 2191:1 2501:1 2760:1 2789:1 2799:1 2821:1 2825:1 3232:1 3318:1 3321:1 3332:1 3546:1 3579:1 4204:1 4251:1 4327:1 4591:2 4645:2 4686:1 4802:1 4830:1 4876:1 5088:1 5240:1 5243:1 5297:1 5572:1 6153:1 6675:1 6881:1 6976:1 7056:1 7071:1 7222:1 7346:... |
369c7518482836ca575d79cbe13d40a82c0678a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH1/EX1.3/exa_1_3.sce | 84622ac2fdabb9b4a7886f342b375db04c132e2b | [] | 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 | 226 | sce | exa_1_3.sce | //Exa 1.3
clc;
clear;
close
// given data
t_f=30;// in degree C
t_s=400;// in degree C
d=0.04;//in m
h=20;// in W/m^2K
l=1;//in meter
A=%pi*d*l;
q=h*A*(t_s-t_f);// in W
disp(q,"Rate of heat loss in watt is : ")
|
87aa2fd09f8b150f9fda30663de7381dc67b243b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Electric_Drives_V._Singhal_2231.zip/Introduction_To_Electric_Drives_V._Singhal_2231/CH1/EX1.2/Ex_1_2.sce | 5cd345de57edcc704665baad79deceb0e742c906 | [] | 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 | 200 | sce | Ex_1_2.sce | errcatch(-1,"stop");mode(2);//Example 1_2
;
;
//Given data
dv_dt=190;//V/µs
IC=8*10^-3;//A
//Solution :
C=IC/(dv_dt/10^-6);//F
disp(C,"Capacitance of depletion layer in F : ");
exit();
|
d9d64c0a06ad5039758775ac8fda7ee99a358505 | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH7/EX7.3/ex3.sce | f7f3dbdeb1ad5e71efa0d1c40fb392df92c95123 | [] | 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,353 | sce | ex3.sce | //CHAPTER 7_ Flow Measurement
//Caption : Gross volume flow rate(venturi)
// Example 3// Page 438
dp=0.02 //('entering the diameter of the line in which water is flowing=:')
dt=0.01 //('entering the diameter of venturi=:')
B=0.5; // given
// The discharge coefficients remains in the flat portion of the c... |
0133d8ca49de50868084199095a196cb2bc42f6c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH7/EX7.2/Ex7_2.sce | c43b5c52014a9cd2bb6d3f9fe61344f293fd4d9f | [] | 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 | 225 | sce | Ex7_2.sce | errcatch(-1,"stop");mode(2);//Ex:7.2
;
;
A_v_max=35;
A_v_cutoff=0.707*A_v_max;
printf(" Mid-band Volt gain = %f ",A_v_cutoff);
printf("\n upper freq = 590Hz & lower freq = 57Hz");
exit();
|
613685f4f4b1f5f9d382da9ab2fb12176770c191 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.12/Ex4_12.sce | 10bb78ca1265da11223549ba06114bf69ab182b4 | [] | 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 | 806 | sce | Ex4_12.sce | clc
//Variable Initialisation
V=440//Input Voltage of motor in volts
Rf=100//Field resistance in ohm
Il=50//Load Current in Ampere
N1=900//Rated Speed of Motor in rpm
N2=300//Rated Speed of Motor in rpm
N3=400//Rated Speed of Motor in rpm
N4=600//Rated Speed of Motor in rpm
Ra=0.3//Armature resistance in ohm
... |
3f5e27269db97b256b94533fd60fd6bbf17dcb02 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/besself.sci | 65fffe4cbe32aaf706839004024d68fb5ebf76a6 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,410 | sci | besself.sci | <<<<<<< HEAD
// Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// 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/Li... |
03f3931b24db0152172ebe78d7cc77d079f82bf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.11.b/solution8_11.sce | 7b575cc8eaa64f37cada09f42278189d62e9a8ec | [] | 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,198 | sce | solution8_11.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution8_11.sce')
//Obtain path of data file
datapath = path + filesep() + 'data8_11.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the x-coordinate of the C.G. of the three welds, origin being at G3 on weld3, xbar (mm)
x... |
ef64e37cf473df3a8bf6fa6013301cb58dbdb61a | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH9/EX9.11/11.sci | 8de29035c7d6a41c14ce8d98ab63644f5b60fc3f | [] | 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 | 445 | sci | 11.sci | clc;
clear all;
disp("heat transfer rate")
L=0.5;//m
b=1;//m
ts=30;// degree C
rho=980.3;//kg/m^3
k=66.4*10^(-2);//W/m.C
mu=434*10^(-6);// kg/ms
hfg=2257*10^3;// J/kg
g=9.81;// m/s
tsat=100;// degree C
ts=30;// degree C
h=0.943*(rho^2*k^3*g*hfg/(mu*L*(tsat-ts)))^0.25;
Q=h*L*b*(tsat-ts)*3600/1000;
disp("k... |
e77867436b598f660e8c5a9d3f37b761b4b14441 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH13/EX13.1/Ex13_1.sce | 90d8b85a7af02f829f325d1aa71fbb7c4bf47396 | [] | 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 | 323 | sce | Ex13_1.sce |
clc
//initialisation of variables
T1=25//C
T2=25//C
g=0//ft^3/lbm
v=0.00712//ft^3/lbm
vd=0.00456//Btu/lb mole-R
Bt=3.0*10^-6//atm^-1
Bd=0.16*10^-6//atm^-1
G=(1233/12)*(778/14.7*144)//Btu/lb mole-R
//CALCULATIONS
Gd=(v-vd)-(v*Bt-vd*Bd)//Btu/lb mole-R
P=15500//atm
//RESULTS
printf('The pressure=% f atm',P... |
74a7bc517999c39115802bcd975dedcef89ff493 | c22c8dd61032718b3204a62b85d86b8fb0a72d49 | /Practs_ (1).sce | ef7c43e030bad6285f93b19a171f743891ebce39 | [] | no_license | DhavalRavat/SS_Scilab_Submission | 8f107dac2aaf95bd4f4a7c3dadf7ee2b352bca11 | 2af97e9e26d183eb35cff0b5ea7c3fbc5f13d0b2 | refs/heads/main | 2023-01-24T00:23:22.516846 | 2020-11-25T18:10:54 | 2020-11-25T18:10:54 | 316,017,998 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Practs_ (1).sce | clc;
clear all;
close;
//
figure;
t2=0:0.1:10
x2=exp(t2);
plot(t2,x2);
xlabel("Time");
ylabel("exponential");
figure;
t3=-10:0.01:6;
r=t3.*(t3>=0);
plot(t3,r);
xlabel("Time");
ylabel("Ramp");
figure;
t4=0:4;
x4=ones(1,5);
plot(t4,x4);
figure;
t5=0:0.1:10;
x5=sin(t5);
plot(t5,x5);
|
e2a285959f4bf5634b07add41103f6313d0766d4 | 940067908a620ecf3af07168e750cd30769047e4 | /IntegrationRombergDecroissante.sce | b92c75eb6a4f8d088d32e4ea65d68128e0455952 | [
"MIT"
] | permissive | davidfotsa/Numerical_Methods_With_Scilab | 9bada60e6feba012fa7a52ce0e0ea85a40afd0d4 | a3c731888b8a7a77f0d851210bc62e00e348ace9 | refs/heads/main | 2023-08-01T13:11:14.528993 | 2021-09-28T04:19:38 | 2021-09-28T04:19:38 | 407,939,339 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sce | IntegrationRombergDecroissante.sce | //Integration par la méthode de Romberg decroissante
function y=f(x)
y=exp(1+x.^2);
endfunction;
function I=IntTrap(f,a,b,h)
I=(f(a)+f(b))/2;
//h=(b-a)/n;
x=a:h:b;
n=length(x);
if n>2 then
I=I+sum(f(x(2:n-1)));
end
I=I*h;
endfunction
function r=g(X,Y,x)
//A=s... |
ac961b4b41716318a316db8028d0e6d9d547f326 | 61e39cdb9efce4bc7bc35be444b193c1066f1bf2 | /runge2nd.sce | 0ef870a547aecb649b8c5933105eb45cf9a4fda9 | [] | no_license | nancyanand2807/SCILAB-CODES | 866c1c99754975f9f0deb271d3844c854db1645c | 69bf72606e8cd62aae3d1302c734f425d381a121 | refs/heads/master | 2020-06-02T00:39:27.236873 | 2019-06-09T11:26:55 | 2019-06-09T11:26:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | runge2nd.sce | deff('g=f(x,y)','g=2*y+x')
xo=input("Enter initial value of xo: ")
yo=input("Enter the value of yo: ")
h=input("Enter value of h: ")
xn=input("Enter Final value of xn: ")
n=(xn-xo)/h
for i=1:n
k1=h*f(xo,yo)
k2=h*f(xo+h,yo+k1)
y1=yo+(1/2)*(k1+k2)
xo=xo+h
disp([xo y1])
yo=y1
end
|
a84b259c5a3fe0db7589daa9dc5b81a4d04109ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH3/EX3.1/3_1.sce | e1c29cfc8e3cca075e3e1857529a2cdd52baed6b | [] | 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 | 280 | sce | 3_1.sce | clc
//initialisation of variables
T2w= 100 //F
T1w= 75 //F
cw= 1 //Btu/lb F
T2i= 100 //F
T1i= 500 //F
ci= 0.12 //Btu/lb F
mi= 1
//CALCULATIONS
Mw= -mi*ci*(T2i-T1i)/(cw*(T2w-T1w))
//RESULTS
printf ('Pounds of water needed per pound of iron= %.2f lb water/lb iron',Mw)
|
be75c74493e55c93751d6005e074a1032a748c48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH4/EX4.8/Example4_8.sce | 2f3f136d9a197f1cee619e2f9d123196f6bb19d2 | [] | 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 | 210 | sce | Example4_8.sce | //Example 4.8
//Program to find the DFT of a Sequence x[n]=[1,2,3,4,4,3,2,1]
//using DIF Algorithm.
clear;
clc ;
close ;
x = [1,2,3,4,4,3,2,1];
//FFT Computation
X = fft (x , -1);
disp(X,'X(z) = ');
|
3175ec77b2ba1ebd1eeb9e3f5d310a99ab42b49f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH15/EX15.13/15_13.sce | 77116a4152293b9aeaad5cf306d32f5d4151622a | [] | 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 | 617 | sce | 15_13.sce |
clc
//initialisation of variables
t=120//F
p=0.2//percent
p1=0.622//ft
p2=0.6//percent
h=0.0111//ft
q=14.7//ft
s=1.6924//ft
w=0.3385//lb per
h1=0.0185//lb per
m=0.24//ft
w1=1061.0//ft
w2=0.445//ft
//CALCULATIONS
V=p2*h1//psia
H=p1*(h/(q-h))//lb per lb dry air
P1=p*s//psia
H1=p1*(P1/(q-h1))//lb per ... |
971f8c19b1770df6fd3ab51f038c7f3cdce7dfbc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/binary.tst | e5e8a209188200c881b94bdf50891a308c299c13 | [
"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 | 3,350 | tst | binary.tst | //---------------- first test
filen = 'test.bin';
mopen(filen,'wb');
mput(1996,'l');mput(1996,'i');mput(1996,'s');mput(98,'c');
mput(1996,'ul');mput(1996,'ui');mput(1996,'us');mput(98,'uc');
mput(1996,'d');mput(1996,'f');
// force little-endian
mput(1996,'ll');mput(1996,'il');mput(1996,'sl');mput(98,'cl')... |
a8e82088dafd49fad0e33d4b49f5bd48a6f921ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH5/EX5.3/3.sce | 8fdd2b78f2fd280c0f5d798353ef08a2294389ca | [] | 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 | 554 | sce | 3.sce | clc
d1=0.1; //m
rho_Hg=13600; //kg/m^3
rho=1000; //kg/m^3
g=9.81; //m/s^2
H=0.8; //m
Cd=0.96;
Q=0.025; //m^3/s
a=%pi*d1^2/4;
dp=(rho_Hg-rho)*g*H;
B=((2*dp/(rho*((Q/Cd/a)^2)))+1)^(1/4);
d2=d1/B;
disp("Throat diameter =")
disp(d2)
disp("m")
// The shortest possible overall length of venturi is ther... |
4737892d1c707f9eca3c3c5e16b5951ea48cc74a | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH12/EX12.2/Example_12_2.sce | d8ee5f923092177718eb77cb7d6cdf05d61757b7 | [] | 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,531 | sce | Example_12_2.sce | //clear//
clear;
clc;
//Example 12.2
//Given
Tb1 = 141; //[F]
Tb2 = 79; //[F]/
Tw1 = 65; //[F]
Tw2 = 75; //[F]
Vb_bar = 5; //[ft/s]
rho_b = 53.1; //[lb/ft^3]
mu_b = 1.16; //[lb/ft-h], Form Appendix 9
k_b = 0.089; //[Btu/ft-h-F], From Appendix 13
Cp_b = 0.435; //[Btu/lb-F], From Appendix 16
//Using Appnd... |
0d878d7bf75143709cc3be148f59eadcf72105e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH9/EX9.2/ex9_2.sce | 2bef1d9285bb386911841205fe909bfa0c6b8edc | [] | 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 | 550 | sce | ex9_2.sce | //Ex 9.2
//Band Stop Filter Design
//a
clc;
w1=1200;
w2=2000;
s=%s;
w=poly(0,'w');
St=poly(0,'St');
wc=1; //For normalised Prototype
wd1t=poly(0,'wd1t');
wt1=2500;
wx1=(wt1*(w2-w1)*wd1t)/(-wt1^2+w2*w1);
wt2=400;
wx2=(wt2*(w2-w1)*wd1t)/(-wt2^2+w2*w1);
disp(w);
wx=wx1; // required attenuation to less
... |
e8c84ca226494df8d84c631b31e52a20e579434c | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /rbs/idinput.sci | 87dc90eb755938509a1b4637bfb13f12aa2d1009 | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 6,314 | sci | idinput.sci | function[u]=idinput(N,types,band,levels)
//generates random binary input signal
//
//Calling Seqence
//u=idinput(N);
//u=idinput([n,nu])
//u=idinput([n,nu,m])
//u=idinput(__,type)
//u=idinput(__,type,band)
//u=idinput(__,type,band,levels)
//
//Parameters
//N : no o... |
c1fbdbef789a9af778a71b3ca17d438b455a10ee | 0da073fabc0aa37d8557e87cb7eb35be1ad4947b | /2°Bimestre/Trabalho 2/numerico.sce | 881c60fa1f938ff4c452f960ae0bd1faa7dbecbb | [] | no_license | BrokenArrowIGU/Numerico | 13015511bde6d2ef9215b45750a617ca5189e5f3 | 1aa88f446042839a43b5e5e4fb51f6a48a132dc2 | refs/heads/master | 2023-07-27T06:49:53.163112 | 2021-09-21T00:31:45 | 2021-09-21T00:31:45 | 395,048,997 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | numerico.sce | //------------------------------------ Método de Newton-Raphson -------------------------------
// code for SciLab
// This find zeros of the function using approximit of derivate of function
// Author : Daniel Marques
//====================== Initial Definitions ===========================
xn = 0
Er = 1
e = 0.01/10... |
ae1de3d9102f6bcf795527738e97492c76ec570d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH2/EX2.10/Ex2_10.sce | d389af35fd82c62dffd1eb64ecef7b173d0edd5a | [] | 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 | 409 | sce | Ex2_10.sce | clc;
//ex2.10
Vss=10; //volt
Vf=0.7; //volt
R=100; //ohm
//total current through the circuit by using kirchhoff's voltage law
If=(Vss-Vf)/R; //Ampere
//power dissipation form diode for Vf and If
Pf=Vf*If; //Watt
PDmax=(20/100)*Pf+Pf; //Watt//forward power dissipation that is 20% greater than value of Pf
disp(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.