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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68420491469cf5f99af01b1e14a751e0d81321c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH5/EX5.3/Ex5_3.sce | e841027b50c6f6915f21c74744761cc253c74396 | [] | 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 | 568 | sce | Ex5_3.sce | //Ex 5.3
clc;clear;close;
format('v',5);
N1=1000;//no. of turns in primary
N2=200;//no. of turns in secondary
I0=3;//A
pf0=0.2;//lagging power factor
I2=280;//A(2ndary current)
pf2=0.8;//lagging power factor
I2dash=I2*N2/N1;//A
cosfi0=pf0;cosfi2=pf2;sinfi0=sqrt(1-cosfi0^2);sinfi2=sqrt(1-cosfi2^2);
I1_cosfi1=... |
e93286b165984d24973cec6a83099e9761603fa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH3/EX3.6/6.sci | b95cbc9e22f42657d109803d760f9e59501c0687 | [] | 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 | sci | 6.sci | clc;
clear all;
disp("heat transfer rate, temperature")
r1=0.600/2;// m
r2=0.18/2;//m
D=1.8;//m
L=90;//m
tp1=180;// degree C
tp2=12;// degree C
k=0.45;// W/(m*C)
Sfc=2*3.1416*L/(acosh((D^2-r1^2-r2^2)/(2*r1*r2)));
Sfc
Q=k*Sfc*(tp1-tp2);
disp("W",Q,"Heat loss per meter length, Q =")
|
2043c57c18359e3b56321a362f99fe61674574c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH7/EX7.14/7_14.sce | bd02e99ae7d7438bd967b46b87e88b9308ccb6e0 | [] | 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 | 195 | sce | 7_14.sce | c=0.1;//concentration of the solution//
a=1.332*10^-2;//Ionization constant//
Ka=(c*a^2)/(1-a);
printf('CH3COOH = CH3COO- + H+');
printf('\nKa value for the reaction=Ka=%f=1.799*10^-5',Ka);
|
bea9e85c2e9aa3b810ea1cba5825a6c41b49c47c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH2/EX2.20/ex2_20.sce | adfe31e63b0ee21996f02b0c64071fd21b0defcf | [] | 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 | ex2_20.sce | // Exa 2.20
clc;
clear;
close;
// Given data
Sigma = 5.8*10^7;// in mho/m
l = 1;// in m
d = 1;// in cm
d = d * 10^-2;// in m
W = 1;// in mm
W = W*10^-3;// in m
I = 1;// in Amp
B = 1;// in Tesla
V_H = 0.074*10^-6;// in Volts
A = 10^-2 * 10^-3;// in m^2
R_H = (V_H*A)/(B*I*d);// in m^3/c
disp(R_H,"Hall co... |
b2a7722282766e25700c5e9ab2605ac823818718 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/penlaur.man.tst | 3374f786e4d72de6dab5fbad55b9d52f3e98456b | [
"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 | 165 | tst | penlaur.man.tst | clear;lines(0);
F=randpencil([],[1,2],[1,2,3],[]);
F=rand(6,6)*F*rand(6,6);[E,A]=pen2ea(F);
[Si,Pi,Di]=penlaur(F);
[Bfs,Bis,chis]=glever(F);
norm(coeff(Bis,1)-Di,1)
|
4e6922c525ea8f28a71bab9d5a79d2054698485f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH8/EX8.1/Ch08Ex1.sce | cf1be04dcf062cf1cb6a9f18739dfcde3e2af2f6 | [] | 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 | 433 | sce | Ch08Ex1.sce | // Scilab Code Ex8.1:: Page-8.8 (2009)
clc; clear;
lambda = 31235; // Wavelength of prominent emission of laser, aangstrom
E = 12400/lambda; // Energy difference between the two levels, eV
printf("\nThe difference between upper and lower energy levels for the most prominent wavelength = %5.3f eV", E);
// ... |
a08e6e9484f082ba202967485fe7c8bbf00f6ca1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH9/EX9.12/ex12.sce | 7da4a7e60179851cc120abd6ad63b4fc5d6591d9 | [] | 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 | 535 | sce | ex12.sce | //example 12
//required work input
clear
clc
Pe=150 //final pressure of air in kPa
Pi=100 //initial presure of air in kPa
k=1.4
Ti=300 //initial temperature of air in kelvis
Tes=Ti*(Pe/Pi)^((k-1)/k) //from second law
ws=1.004*(Ti-Tes) //from first law of isentropic process
n=0.7 //efficiency of automotive sup... |
94ea956d9c08a04e5adf96faba7c330bb57bf714 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/CDO_Pricer/scilab/interface.sci | 29f7427928651edb7eb20de641957994f38b98cb | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sci | interface.sci | try
type(cdo_factor);
delmenu('CDO');
catch
// exec builder.sce;
exec loader.sce;
end;
addmenu('CDO',['Product';'Model';'Computation';'Last computation';'Numdef';'Losses']);
CDO=['exec(''product.sci'',-1)';'exec(''model.sci'',-1)';'exec(''computation.sci'',-1)';'exec(''last_computation.sci'',-1)';'exec... |
26f23fea25eac5cb837fb76eea7e1a14712a6e25 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2lp/test_2.sce | 2adba129be5a56d834bd66688030555545d53fd0 | [] | 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 | 149 | sce | test_2.sce | // Test # 2 : Excess Input Arguments
exec('./allpasslp2lp.sci',-1);
[n,d]=allpasslp2lp(0.1,0.2,0.9);
//!--error 58
//Wrong number of input arguments
|
f993c759fa54dbb5fbd0c5af6d694dc4b7057950 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.26/ex2_26.sce | c9c34173442c29e71c384dd90ddbda1cd7f73df2 | [] | 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 | 927 | sce | ex2_26.sce | //Caption:Determine the speed when armature current is 75 Amp and the excitation is increased by 15 %
//Exam:2.26
clc;
clear;
close;
V=220;//supply voltage(in V)
R_a=0.03;//armature resistance(in Ohm)
R_se=0.07;//field resistance(in Ohm)
I_a1=40;//armature current in first case(in Amp)
N_1=900;//motor running ... |
15a512449807d33f04fc200d086a63891232a97a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH2/EX2.13/13.sce | 3fc0fcdf1549a16750456be40addfa3308de31f6 | [] | 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 | 227 | sce | 13.sce | clc
clear
//input
m1=1
v1=25
m2=2
v2=0
//calculation
v=(m1*v1)+(m2*v2)//applying princilpe of conservation of linear momentum
v4=v/(m1+m2)
//output
printf("the velocity with which both will move is %3.3f ms^-1",v4)
|
02342bd52432759225b70d9329fe03d3dd062d57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH5/EX5.23/Ex5_23.sce | 20c5b476ae8801051f2e65abba161084c3894f34 | [] | 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 | 371 | sce | Ex5_23.sce |
// Ex5_23
clc;
// Given:
f=8.6*10^6;// in Hz
q1=1.6*10^-19;
q2=6*1.6*10^-19;
m1=1.66*10^-27;
m2=14*1.66*10^-27;
// Solution:
// for proton
B1=2*3.14*f*m1/q1;
printf("\n The magnetic field needed to accelerate protons is = %f T",B1)
// for N(14) ions
B2=2*3.14*f*m2/q2;
printf("\n The magnetic field... |
a7b0dc041d4b07ab65ddba6fa8583cec3dd2c385 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH5/EX5.11/Ex5_11.sce | 6f0c4ed72d677026216a1a503eff48392ffa13a0 | [] | 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 | 621 | sce | Ex5_11.sce | //EX5_11 PG-5.26
clc
//for base bias take the figure as shown the Example5.1
Beta=100;
S=1+Beta;//stability factor
printf("\n For base bias: stability factor=%.0f \n",S)
//for collector to base bias the figure as shown the Example5.3
Beta=100;
Rc=10e3;
Rb=100e3
S=(1+Beta)/(1+Beta*(Rc/(Rc+Rb)));
printf("\n Fo... |
56dbc63ad1833b3be0821ecd99538dc149d3e081 | c4dc71508b28a2e15187e1b742173168eda9ab86 | /fatt_lu.sce | 29fc92eb3ba4519875b79ae4b79657d666d80b33 | [] | no_license | ximarx/calcolo-numerico | 103fc59093a2688e8d6224ecdf21d0ce9f3768e3 | bca493091417b8f27131a59a2b3a20c30e31b90f | refs/heads/master | 2020-06-06T05:34:35.065166 | 2012-06-23T06:39:27 | 2012-06-23T06:39:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,640 | sce | fatt_lu.sce | function [L,U]=fatt_lu(A)
// fattorizzazione LU: prende in input matrice
// quadrata e ritorna LU matrici triangolari fattori di A
[m,n] = size(A) // m numero righe, n numero colonne
// controllo che la matrice sia quadrata
if m~=n, error("La matrice in input deve essere quadrata")
end
// inizializ... |
c0ed898e25211f6f51ef8ca736c85f7643089a53 | 717ddeb7e700373742c617a95e25a2376565112c | /866/CH14/EX14.1/14_1.sce | 7ead5d32e6701fa4581ac4ef3b1f288f3d6241b9 | [] | 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 | 507 | sce | 14_1.sce | clc
//initialisation of variables
d= 2 //m
t= 20 //mm
p= 1.5 //N/mm^2
load= 2500 //KN
alpha= 60 //degrees
//CALCULATIONS
Cs= (p*d*10^3)/(2*t)
Ls= (p*d*10^3)/(4*t)
Ds= (load*10^3)/(%pi*d*t*10^3)
Ts= Ls+Ds
sigman= (Ts*t*(cosd(90-alpha))^2+Cs*t*(cosd(alpha))^2)/t
tab= Ts*sind(alpha)*cosd(alpha)-Cs*sind(alpha)... |
f9167db4707a7cf58fdf6c7de8c5981d968e4b8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH6/EX6.m.11/ex_m_6_11.sce | d40d541d80a01c2dd42e4ea96bb38bfa12a351d0 | [] | 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 | 305 | sce | ex_m_6_11.sce | // Exa Misc. 6.11
clc;
clear;
close;
format('v',6)
// Given data
R1 = 10;// in k ohm
R2 = 20;// in k ohm
R3 = 10;// in k ohm
R_F = 20;// in k ohm
Vin1 = 2;// in V
Vin2 = 1;// in V
// The output voltage,
Vo = ((-R_F/R1)*Vin1) - ((R_F/R2)*Vin2);// in V
disp(Vo,"The output voltage in V is");
|
c601981f575ba4f693e9c94345f2c5b38b4bc735 | f1275bcc58e973ff76ca7292f9105d658455170c | /scilab/rei3-2.sce | 191088acc7cae911ffcd51db542267b850256c63 | [] | no_license | MasahiroAraki/SpeechRecognition | 5987f03ea4629e56c88851321cff60847ec9feb7 | d095897fb77f1051396c72d2c6454e9589b5bc4a | refs/heads/master | 2023-08-31T01:26:01.624052 | 2023-08-16T23:23:08 | 2023-08-16T23:23:08 | 212,271,685 | 17 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | rei3-2.sce | clear;
X=[3, 2; 3, 4; 5, 4; 5, 6]; // 元データ
// 元データの表示
subplot(1, 2, 1); title('original data');
plot2d(X(:, 1), X(:, 2), style=-9, rect=[-8,-8,8,8], axesflag=4);
// 標準化計算 (SX = wcenter(X, 'r') としてもよい)
[n, d] = size(X);
SX = (X - repmat(mean(X, 'r'), n, 1)) * diag(1 ./ stdev(X, 'r'));
// 標準化後のデータの表示
subplot(1, 2, 2); ... |
9d8f84d55dd2f11fb700e75eebde5af2b8da85ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH8/EX8.6/8_6.sce | 8bcc89eedadaee91ce0a1fcdfc930cf0d823821d | [] | 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 | 261 | sce | 8_6.sce | clc
//initialisation of variables
d= 2 //in
v1= 50 //ft/sec
v2= 20 //ft/sec
W= 62.4 //lbs/ft^3
g= 32.2 //ft/sec^2
//CALCULATIONS
vr= v1-v2
P= W*vr*v1*%pi*(d/2)^2/(g*4)
W= P*v2
KE= 2*vr*v2*100/v1^2
//RESULTS
printf ('Efficiency= %.f per cent',KE)
|
4abae8b922bd2ed0f2c3aec16b3de5d2cbdeaf82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.47/Ex4_47.sce | 655110f0b6bce27ae69aa64a316e0935a4436e09 | [] | 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 | 805 | sce | Ex4_47.sce | clc
//Variable Initialisation
Ea=230//Input Voltage of motor in volts
d1=0.4//Duty Ratio
Ia1=86//Armature Current in Ampere
Ra=0.25//Armature resistance in ohm
N1=850//Rated Speed of Motor in rpm
N4=1300//Rated Speed of Motor in rpm
Eb1=220//Average Value of Back EMF
//Solution
E01=d1*Ea
Eb2=E01+(Ia1*Ra)
N2... |
5296723e2ae9011911d0002a110e8174d50d13ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH16/EX16.1/ex_16_1.sce | aa37927f5b4d0b4154aaf35acd0cab27246c5e8a | [] | 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 | 378 | sce | ex_16_1.sce | //Example 16.1 //de-broglie wavelength
clc;
clear;
//given data :
h=6.62D-34;// plank's constant in joules-sec
m=9.1D-31;// mass of electron in Kg
V=1.25D3;// Potential difference in kV
E=V*1.6D-19;// energy associated to potential in joule
lamda=h/sqrt(2*m*E);// formula to calculate
disp(lamda,"de broglie wa... |
f6a35a650bdb27d80a5b7c7cc9d631490c6ac0d9 | 98187bfe7a07f2d387b0cc75137b39b9eb012d00 | /epaississement.sce | ca2ee479f360325743d397795023870d5731ec8c | [] | no_license | Minial/Squelette | a50b9ec88f135d1392bf336478a7854973c25009 | 6356c7e1f52d45ff153335565b7049ff2f297b7b | refs/heads/master | 2020-04-19T11:41:10.640079 | 2019-02-03T16:40:38 | 2019-02-03T16:40:38 | 168,173,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | epaississement.sce | function retour= epaississement(Img, mat)
[x,y]=size(Img)
retour=Img;
faire = 1;
for i= 2:x-1
for j = 2:y-1
matX=1;
matY=1;
faire = 1;
for k = i-1:i+1
for l = j-1:j+1
if(Img(k,l)== mat(matX,matY))then
... |
d1a45855457d20b1ce1a620d14b0ba41c8324298 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH8/EX8.1/Example8_1.sce | 25d7c9dcf6d34cd726cc09239aba2f5ae6828d61 | [] | 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,819 | sce | Example8_1.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 8: AC DYNAMO TORQUE RELATIONS - SYNCHRONOUS MOTORS
// Example 8-1
clear; clc; close; // Clear the work space and console.
// Given data
// 3- phase Y-connected synchronous motor
P = 20 ; // No. o... |
7b62a3d5a8cc8d87227b5c7a3a5b21a69dbfba97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH18/EX18.3/Ex18_3.sce | bf3eabb7c949e77173ed6038bcbba3ffbfd10f93 | [] | 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 | 684 | sce | Ex18_3.sce | //Ex18_3 Pg-946
clc
disp("Average wavelength of visible radiation = 550 nm")
disp(" E1 - E2 = hc/lamda")
h=6.6*10^(-34) //planck constant
c=3*10^(8) //speed of light in sec
lamda= 550*10^(-9) //wavelength in m
E=h*c/lamda //difference in energy levels in Joules
e=1.6*10^(-19) //electron charge in eV
E_e... |
e547172c90ce8239b184aac0c1481d9af9fd450c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH3/EX3.14/Chapter3_Example14.sce | 89e42aba6406f16e19cdd43183a1d0b5e4f28ba9 | [] | 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,907 | sce | Chapter3_Example14.sce | clc
clear
//Input data
E=100;//The amount of excess air in percent
T=298;//The temperature of reactants in K
nc=1;//Number of moles of propane
//Calculations
hfch=-103.85;//Enthalpy of formation for propane in MJ/kmol fuel
HR=nc*hfch;//Total enthalpy on the reactants side in MJ/kmol fuel
hfc=-393.52;//Enthal... |
8b0804bc2bd821810067a4c2e81c0a69ee647099 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH1/EX1.3/ex1_3.sce | 8da3eac87e05dc081669cd52006bbb4f6bfcd87a | [] | 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 | 408 | sce | ex1_3.sce | // Exa 1.3
clc;
clear;
close;
// Given data
a = 5.3;// in Å
a= a * 10^-10;// in m
N_A = 6.023*10^23;
At_Si = 28;// atomic weight of Si
n = 4;
m = At_Si/N_A;// in gm
m= m*10^-3;// in kg
V = a^3;// in m^3
Rho = (m*n)/V;// in kg/m^3
disp(Rho,"Density of silicon crystal in kg/m^3 is");
// Note: There is ca... |
f3128247191af0d13cdc6f5e48eb401a53bb6d49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH4/EX4.29/ex4_29.sce | 00c86ae20bfdd3f8d2593d4f70b4ca518b67902e | [] | 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 | 347 | sce | ex4_29.sce | //Page Number: 4.25
//Example 4.29
clc;
//Given,
f1=108; //MHz
f2=157; //MHz
//(a) Image frequency overlaps RF band
fIF=12; //MHz
fL01=f1-fIF;
disp('MHz',fL01,'fL01');
fim1=fL01-fIF;
disp('MHz',fim1,'fim1');
fL02=f2-fIF;
disp('MHz',fL02,'fL02');
fim2=fL02-fIF;
disp('MHz',fim2,'fim2');
//Clearly ... |
a7d3d7facfd4fa9fe52f0bf941f2398d4ea10ef5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH3/EX3.13/Ex_3_13.sce | 4c078803171c2ed1e69e10a2dc077274eac18c33 | [] | 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 | 989 | sce | Ex_3_13.sce | // Exa 3.13
format('v',5);
clc;
clear;
close;
// Given data
V_B= 0;// in V
V_EB= 0.7;// in V
bita=100;
V_EC= 0.2;// in V
V_E= V_EB+V_B;// in V
V_CC= 5;// in V
R_C= 1;// in kΩ
R_C=R_C*10^3;// in Ω
R_B= 10;// in kΩ
R_B= R_B*10^3;// in Ω
// V_E= V_B+V_EB (i)
// V_C= V_E-V_EC= V_B+V_EB-V_EC (ii... |
2f5412ffaaa7d06252724c22941b9388e29a7a57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH6/EX6.6/6_6.sce | a3e0ca70719ce80b41dcc4ea58b3a6901a2bc736 | [] | 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 | 234 | sce | 6_6.sce | clear all; clc;
disp("Ex 6_6")
disp("Figure 6-17a shows exposed internal force in member CF")
//Summing moments about O and equating to zero
a1=45
a=a1*%pi/180
F_CF=((3*8)-(4.75*4))/(sin(a)*12)
printf('\n\n F_CF = %0.3f kN (C)',F_CF)
|
9184189202c7f9259be251823582ab5d9f8b6bf3 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA14.prev.tst | 58554933a8175cff58d1fb3c7e5844300f0d5bf4 | [
"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 | 252 | tst | MA14.prev.tst | -chain [[0,1,3,-3],[2,2,0,-1],[1,0,-3,3],[2,2,-1,0]] [3,4,5,6] 3 1
[[0,1,3,-3],[2,2,0,-1],[1,0,-3,3],[2,2,-1,0]],det=-1 [3,4,5,6], chain 8 => [1,8,6,9] => [-1,9,10,12] => [3,4,5,6] => [1,8,6,9] => [-1,9,10,12] => [3,4,5,6] => [1,8,6,9] => [-1,9,10,12]
|
3b99018060dace39f711858a22bc5f0fafd5c72d | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Ajuste_Potencial.sci | 30baf891f7ecd52615e0b040be298d35c1b97309 | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sci | Ajuste_Potencial.sci | clear
close
clc
valor = 3
x = [1; 2; 3; 4; 5]
y = [15; 28.4; 45.3; 58.6; 77.4]
X = [size(x,1) sum(log(x)); sum(log(x)) sum(log(x)^2)]
Y = [sum(log(y)); sum(log(x).*log(y))]
A = X\Y
a = exp(A(1,1))
b = A(2,1)
resultado = a*valor^b
disp (resultado, "Resultado: ")
disp (b, "b: ", a, "a: ")
disp ("f(x) = a*x^b")
|
9cbfde83bb505d46b1db2cbc60adc215ccb03ad3 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Adv-MathematicalFunctions/FLBesselJ-NZ-01.tst | b36bf1f42508f9ccdacba3b419c3227aaf676c19 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,268 | tst | FLBesselJ-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
b0f986ea715f0f9944e54a7dd6ec7610b15ac77f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH7/EX7.19/Ex7_19.sce | 2dcebaec01a49df364959bc39ef377271162921f | [] | 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 | 866 | sce | Ex7_19.sce | // Scilab Code Ex7.19: Page-384 (2008)
clc; clear;
function [d, m] = deg2degmin(theta)
d = int(theta);
m = (theta-d)*60;
endfunction
h = 6.626e-034; // Planck's constant, Js
e = 1.6e-019; // The energy equivalent of 1 eV, J
c = 3e+008; // Speed of light in vacuum, m/s
V = 50e+003; // Operat... |
ec1a5e2f38d65c028d944d719cc626e29d963907 | 4fc46537df0a4e689bd3abc1d23bd40a7f365475 | /Profiler.sce | a100f068150451423ba8e59d5a3e6f8f07b8c894 | [] | no_license | Rui517/do_profile_superblock42 | 7bc1d7feea8bb3c2d2917094e72f68baccdaa2b2 | 6ac094f2a97f7a8049d9e6efe2726ab5e07dcaf4 | refs/heads/master | 2021-01-20T04:18:40.941849 | 2017-08-27T14:01:55 | 2017-08-27T14:01:55 | 101,386,082 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,022 | sce | Profiler.sce | function result = Profiler(xcosFile)
result = %f;
rhs = argn(2);
if(rhs == 1) then
//save hdf5 file with xcos filename, just change extension
[path,fname,extension] = fileparts(xcosFile);
h5File = TMPDIR + filesep() + fname + ".sod";
// open the file to check for p... |
e975b74cab19fd84bb3d1b0bb227ab3548f7521c | 30ad7dd5146dfff03b7639186330ec527bfc0524 | /Control Systems Programs/control.sci | d265f34891153b39f7d8a7b4e2e0450ec56e8121 | [] | no_license | boberae/Other-Small-Projects | fcc79d8fd69c6d39de68a8b83360b32b28216d73 | 63d668d2f2c022f653cf44f55992dd05420437e3 | refs/heads/master | 2020-06-11T10:07:44.474211 | 2016-12-06T06:42:33 | 2016-12-06T06:42:33 | 75,697,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,883 | sci | control.sci | // System component values
K = 0.036; // motor speed constant
R = 109; // motor resistance
J = .0000157837; // rotor inertia
// System state
theta0 = 2.45;// the initial position for the motor
omega0 = 0;
X=[theta0, omega0];
moving = 0;// the system is not in motion
// The controller definition
Cd = 252;// the setpoi... |
e060bde18089c32671e99ae223e8c3284e20763c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH10/EX10.2.i/I10_2.sce | b6dbf6183fd590685f7a1b193b67f1eb76ce3435 | [] | 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 | I10_2.sce | clc
//Initialization of variables
E=50*10^3 //J/mol
T1=25+273 //K
T2=37+273 //K
//calculations
ln=E/8.3145 *(1/T1-1/T2)
factor=%e^(ln)
//results
printf("kdash = %.2f k",factor)
|
1bae05a0323e6d24bb703ae155417792534faac1 | 608ce453a5e6495299d7099c28b04d167ac50a76 | /P4/div.tst | 71a04de506cc737c4b6b7fe2b4d7c22f266c1581 | [] | no_license | andreww-han/CSCE-312 | abad4364c0a6a9f406a8a409145ec94a6eb52b88 | c3d23e7f5a13df9413656bda76ec82ab8bdc3a1c | refs/heads/master | 2022-11-27T18:52:41.794118 | 2020-07-20T20:16:53 | 2020-07-20T20:16:53 | 281,214,854 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,023 | tst | div.tst | //Andrew Han
// Filename = div.tst
load Div.hack,
output-file Div.out,
compare-to Div.cmp,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2 RAM[2]%D2.6.2;
set RAM[0] 1, // Set test arguments
set RAM[1] 1,
set RAM[2] -1; // Test that program initialized product to 0
repeat 20 {
ticktock;
}
set RAM[0] 1, //... |
67a87e2cff0d9b88db9b263553c98a42c84e4a42 | 9948e5af5e885117135b1a9ef1e6988dba9a8643 | /test/java1.prev.tst | 9f07205c2385e8f953f982fdb065ec3acadd9de2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/xtrans | eabfbdeee4d0024dee72174566c5c9de003d94d8 | 95dce33e3241ca46ad95df7b86afe2297106f80d | refs/heads/master | 2022-02-11T06:09:40.393075 | 2022-01-28T14:37:52 | 2022-01-28T14:37:52 | 16,539,509 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 990 | tst | java1.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<program>
<ws m="nl" v="0"></ws><kw v="package"></kw><id v="org" s="1"></id><op v="."></op><id v="teherba"></id><op v="."></op><id v="xtrans"></id><op v="."></op><id v="general"></id><op v=";"></op>
<ws m="nl" v="1"></ws><kw v="package"></kw><id v="org" s="1"></id><op v="."></op><... |
17bfd3d98dbe681fe2d4715c6f00d3059995c389 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH9/EX9.10/9_10.sce | 3452e0ebc1a7292553b18e95de5dda5a6e2b458c | [] | 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 | 762 | sce | 9_10.sce | clc
clear
//Input data
D=0.15;//Diameter of the bore of a single stage single acting reciprocating air compressor in m
L=0.225;//Stroke length in m
P1=1;//Pressure of air received in bar
T1=308;//Temperature of initial air in K
P2=6.5;//Delivery pressure in bar
n=1.3;//Polytropic index
//Calculations
Vs=(3.... |
c6cb2004e2c976213275b9ae6afd7b82b22339b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH4/EX4.23/example_23.sce | a8c7ddc34ce17ad64ac2c2d327ae62b4b8de434b | [] | 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 | 384 | sce | example_23.sce | clc
clear
printf("example 4.23 page number 167\n\n")
//to find the power requirements
P=9807 //in Pa
density=1000 //in kg/m3
Q=250/(60*density)
head=25 //in m
w= head*Q*P; //in kW
power_delivered=w/0.65;
power_taken=power_delivered/0.9;
printf("power_delivered = %f kW",power_delivered/1000... |
3534b945967aba2e5977f126d66ba3d1c17a53ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH1/EX1.5/ex_5.sce | e34f2568304f58175ce780f9e77439722cfd2a25 | [] | 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 | 230 | sce | ex_5.sce | //Example 5 // maximum velocity and acceleration
clc;
clear;
close;
A=5;//cm
T=31.4//seconds
w=(2*%pi)/T;//sec^-1
um=w*A;//cm/s
am=w^2*A;//cm/s^2
disp(um,"maximum velocity is,(cm/s)=")
disp(am,"maximum acceleration is,(cm/s^2)=")
|
a1175b4b3e0410ed9d938be7303633042794f9ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH18/EX18.8/Ex18_8.sce | ece678b3f4074c0f5b301e6a6e63591a54ec6e90 | [] | 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 | 397 | sce | Ex18_8.sce | //Ex18_8 Pg-947
clc
L=100*10^(-6) //length of semiconductor in m
A=10^(-7) //area of semiconductor in cm^2
V=10 //applied voltage in V
mew_n=1350 //mobility of electrons
mew_p=480 //mobiltiy of protons
tp=10^(-6) //lifetime of protons in sec
tn=L/(mew_n*V) //lifetime of electrons in sec
Gain=tp/tn*(1+(m... |
363ab357c6b656ed8eda716e1e916f9fdf9d3d64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.17/example_5_17.sce | f79ff5d459cec723adf7a5e808a2f78526baf06a | [] | 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 | 333 | sce | example_5_17.sce | syms Ro Ra Rb Rc Rd
//shifting summing points to left of 1/Ra and 1/Rb and combining the summing points
a=((1/Ra)*Rc)/(1+(1/Ra)*Rc*1)
b=(Rd/Rb)/(1+(Rd/Rb))
//shift input summing points to the right and combine the three summing points
c=(1/Ro)/(1+(1/Ro)*(Ra*Rc/(Ra+Rc)))
d=c/(1-(b*Rb*c))
e=a-b
Y=e*d
disp(... |
20aaf27548a54b43d528779743c9a4dfa19fdb79 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825.zip/Electronic_Devices_And_Circuits_S._L._Kakani_And_K._C._Bhandari_2825/CH19/EX19.19/Ex19_19.sce | 123dda8a50e519a95e7bd27ddfb9db3b972aa584 | [] | 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 | 213 | sce | Ex19_19.sce | errcatch(-1,"stop");mode(2);//Ex19_19 Pg-965
hex='C5E2' //hexadecimal input
dec=hex2dec(hex) //decimal output
bin=dec2bin(dec) //binary output
disp("The binary equivalent of C5E2 is")
disp(bin)
exit();
|
0bfa42268d800e5011d282d03a8f1f8316028e2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH5/EX5.1/Ex5_1.sce | 0533e3f3e413c11bab484fc614d3bd8fc265dc3e | [] | 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,381 | sce | Ex5_1.sce | // Example no 5.1
// To compute received carrier frequency if mobile is moving a)towards the transmitter b)away from the transmitter c)in the direction perpendicular to arrival direction of transmitted signal
// Page no. 180
clc;
clear all;
// Given data
fc=1850*10^6; ... |
d4ff90c5378ae110d06d2255ddb232badba465af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.13/example12_13.sce | 99eeec323d3409e0af4d2ebc90a5b2103d6a1d0f | [] | 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 | 602 | sce | example12_13.sce |
clc
// Given that
m = 1 // initial mass of radium in gm
m_ = 0.0021 // final mass of radium in gm
t = 5 // time for decay from m to m_ in years
// Sample Problem 13 on page no. 12.36
printf("\n # PROBLEM 13 # \n")
printf("Standard formula used \n")
printf(" lambda = 0.693 / t_1/2 (Decay constant) \n N =N_0*e^(-la... |
9fc27b0e9257f0bcd00f8c7f863074e52250fa0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH7/EX7.11/Ex7_11.sce | 14ea03fd2ab3acef4ce698483e80fccaddf19361 | [] | 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,345 | sce | Ex7_11.sce | //Ex_7_11
clc;
clear;
close;
format('v',6);
//given data :
VBE=0.7;////V
Beta=100;///Current Gain
//Part (a)
VCC=6;////V
VEE=0;////V
VB=2;////V
RE=18;//kohm
RC=3;//kohm
VE=VB-VBE;//V
disp(VE,"(a) Emitter Voltage(V) : ");
IE=1;///mA
IC=IE*Beta/(1+Beta);///mA
VC=VCC-IC*RC;//V
if VC>VE then
disp("C... |
c79f3fc93b30a19d508364877fbd257862f14d5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH1/EX1.14/Ex1_14.sce | 4d1ec5efa914c4e1ca3780a6e1a8989baa2316b4 | [] | 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 | 577 | sce | Ex1_14.sce | //pagenumber 33 example 14
clear
up=1800;//centimetre square per velocity second
un=3800;//centimetre square per velocity second
//(1) resistivity is 45 ohm
q=1.6*10^-19;//coulomb
ni=2.5*10^13;
sigma1=(un+up)*q*ni;
resist=1/sigma1;
disp("resistivity = "+string((resist))+" ohm centimetre");
disp("resis... |
332d3dfe214ea215471e544dcfbc4853d67fe1ad | 816ccefab515b9e1fc5871beebf0913ecd2c8b94 | /regTests/cgtc/enclose_breakthrough.tst | d8b392885d0d902b7cb5861650dd9603a0c4ae4f | [] | no_license | CurtisHughey/ergo | 45dff870a6592cb29b9aa68c416bae1577f41452 | 634ea9eddbd23c917407e667a535be9dae32d55c | refs/heads/master | 2020-04-06T07:02:17.089864 | 2016-08-21T23:53:12 | 2016-08-21T23:53:12 | 58,999,319 | 8 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,196 | tst | enclose_breakthrough.tst | #------------------------------------------------------------------------------
# Enclose and Break Through
#
# Computer Go Test Collection http://www.cs.ualberta.ca/~games/go/
#
# $Source: /usr/cvsroot/project_cgtc/enclose_breakthrough.tst,v $
# $Id: enclose_breakthrough.tst,v 1.5 2004/05/15 04:07:45 mmueller Exp $
#-... |
c4e08e71eed3b1c6f13bf971589f8cabcde3f388 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH22/EX22.5/22_5.sce | bfc474112b1f33761b438044f718a0c82d3abbab | [] | 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 | 595 | sce | 22_5.sce | //Example 22.5
//RBF Network
//Page no. 773
clc;clear;close;
deff('y=f(x)','y=10*sin(x)')
printf('Input\t\tDesired\t\tNetwork\t\tError\n\t\t Output\t\t Output\n---------------------------------------------------------\n')
in=[0.7053,0.7060,0.7097,1.5056,1.5103,1.5377,2.2481,2.2514,2.2599,3.7076,3.7229,3.7364,5.... |
18abb5909b7e6bba3bd1e587d58f375e136f60fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH1/EX1.4/Ex1_4.sce | eb37291c539417acddd9e5c6f1ae9a24c485b472 | [] | 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 | 201 | sce | Ex1_4.sce | clear
//
//
//
//Variable declaration
e=1.6*10**-19 //charge(coulomb)
epsilon0=8.85*10**-12
r0=2.5*10**-10 //equilibrium distance(m)
//Calculation
PE=e**2/(4*e*%pi*epsilon0*r0)
//Result
|
6b923601d3912c705844d7cff48d8e9c6cc1e8db | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/V3/seguidor sem disturbio.sce | ea653e3487e910dd5e4b410c92a9a299e1d9b16d | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | seguidor sem disturbio.sce | Ar = [0,0,0,0;0,0,0,0;0,0,0,0;0,1,0,0]
F = A-Ar
Ke = inv(C*inv(A-B*Kc)*B)*C*inv(A-B*Kc)*F
lambda = [A-B*Kc B*(Kc-Ke);zeros(4,4) Ar]
t0 = 0 // Definição do intervalo de tempo
dt = 0.1
n = 1200
tf = t0 + dt*(n-1)
t = t0:dt:tf
x0 = [1;0;0;0;0;0.001;0;0] // Condições inicias
x1=[]
x2=[]
x3=[]
x4=[]
e1=[]
e2=[]
e3=[]
e4=[]
... |
9626bdf4bb8546de6ad1d45cedb20f37658dd5d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.44/EX2_44.sce | e76306cdf31d982a348f4ac5846a7e3d2a57003b | [] | 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 | 406 | sce | EX2_44.sce | //EXAMPLE 2-44 PG NO 91-92
R=20; //Resistance
V=125; //VOLTAGE
I=2.2; //CURRENT
Z=V/I; //IMPEDANCE
disp('i) Impedance is = '+string(Z)+' ');
F=50; //FREQUENCY
XC=53.18
C=1/[2*%pi*F*... |
ae8e2750a9d097ea44244f4d97e115beef4ac34e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH10/EX10.10/Ex10_10.sce | e67110c2c9002f9c29ef48ff1a077b1864636377 | [] | 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 | 382 | sce | Ex10_10.sce | //Example number 10.10, Page number 227
clc;clear;
close;
//Variable declaration
Hc=6*10**5; //critical magnetic field(A/m)
Tc=8.7; //critical temperature(K)
H0=3*10**6; //critical magnetic field(A/m)
//Calculation
T=Tc*sqrt(1-(Hc/H0)); //maximum critical temperature(K)
//Result
printf("maximum critical ... |
4972dfcb0fc500ba3df577af97158906625e8779 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH16/EX16.5/Ex16_5.sce | 4f5044cec9dda28d39a582a2fe44f1a292a2bcc5 | [] | 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 | 549 | sce | Ex16_5.sce | // Example 16_5
clc;funcprot(0);
// Given data
T=-20.0+273.15;// K
p=0.500;// atm
M=0.850;// The Mach number
k=1.40;// The specific heat ratio
R=286;// J/kg.K
g_c=1;// The gravitational constant
// Solution
V=M*sqrt(k*g_c*R*T);// m/s
T_os=T*(1+(((k-1)*M^2)/2));// K
T_os=T_os-273.15;// °C
p_os=p*(1+(((k-1... |
edade66dfab80252b943a84afc478cea459cf4d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH13/EX13.10/13_10.sce | 06f6223c26002f6e1fa9e9bf11a046d66f0f9958 | [] | 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 | 343 | sce | 13_10.sce |
clc
//initialisation of variables
P= 14.7 //lb/in^2
T= 15 //C
v= 350 //ft/sec
R= 0.714
//CALCULATIONS
P1= P*144
r= 3091*(273+T)
d1= P1/r
r1= r+(v^2/7)
P2= (r1*d1/(P1^R))^(1/(1-R))/144
dP= P2-P
T2= r1/3091
dT= T2-(273+T)
//RESULTS
printf ('rise in pressure = %.f lb/in^2 ',dP)
printf ('\n rise in tempe... |
6b89af6cf35f3e2168a9d1ef99e31849b56a0b40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.22/Chapter5_Example22.sce | cdf65f8290a53a357a2d94e291ba54a1732a54bf | [] | 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 | 335 | sce | Chapter5_Example22.sce | clc
clear
//Input data
n=2.25*10^-4;//The viscosity of the gas in dynes/cm^2
C=4.5*10^4;//The RMS velocity of the molecules in cm/s
d=10^-3;//The density of the gas in g/cc
//Calculations
L=(3*n)/(d*C);//The mean free path of the molecules in cm
//Output
printf('The mean free path of the molecules i... |
0dfbeb1a44b72930cd2e4f4c1051eb36f6ba587d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH11/EX11.5/Ex11_5.sce | be3f2e509ec812d1286a00d435e531f2dcc7a165 | [] | 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,134 | sce | Ex11_5.sce | // chapter 11
// example 11.5
// fig. 11.9
// Determine rms current of tyristor T1 and T2, rms current of Thyristor T3 and T4 and input power factor
// page-722-723
clear;
clc;
// given
e1=130; // in V
e2=130; // in V
Ep=260; // in V
E0=195; // in V
R=6; // in ohm
alpha=%pi/2; // in radian (firing angle)
// calculate
... |
5cf11db3cd75fede70e8e56a16d5b1f68dedef54 | a1e081ceabd043cf1506b917c7f2fb243be290d8 | /P2/step_feuler.sci | 5c2ac28a812bbbb3dd32e2a3d17298cb93b60117 | [] | no_license | pablospe/ssc | 2cd8e21e1843f246e2d7f565557f4f73368aa4b8 | 353fc62f18202e73b84bea4f2d83f64cdeb15723 | refs/heads/master | 2021-01-10T21:35:46.798450 | 2014-04-24T05:11:51 | 2014-04-24T05:11:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sci | step_feuler.sci | function xk_plus_1 = step_feuler(f, xk, tk, h)
xk_plus_1 = xk + h*f(xk,tk);
endfunction
|
07675f0823e445108304a256a9efaf8fc2fd21b5 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/xcorr2.sci | 688dc3ad4087b635061b89720886b28194e54585 | [] | 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 | 519 | sci | xcorr2.sci | function c = xcorr2 (a, b, biasflag)
//
//Calling Sequence
//c = xcorr2 (a)
//c = xcorr2 (a, b)
//c = xcorr2 (a, b, biasflag)
//Parameters
//a:
//b:
//biasflag:
//Description
//This is an Octave function.
//Examples
//xcorr2(5,0.8,'coeff')
//ans = 1
funcprot(0);
rhs = argn(2)
if(rhs<1 | rhs>3)
error("Wrong number ... |
6fc815f82cfad1e557c30b1b2289e606c8fe37d0 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Whac-A-Bot.sce | e4467a55e15bb60885796c0566b1e42d8352d0ff | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 43,963 | sce | Whac-A-Bot.sce | Name=Whac-A-Bot
PlayerCharacters=pistol Launchman
BotCharacters=crocbot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=pistol Launchman
AddedBots=crocbot.bot;crocbot.bot;crocbot.bot;crocbot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;2
MapName=whacmap.map
MapScale=1.0
BlockProje... |
1fc5802cd19997da50d583455c6de6cac188015c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.15_10.tst | c7d235b236f15a6f51ce12b8663ef941b61c0caf | [] | 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,679 | tst | bow.15_10.tst | 15 14:0.2 85:0.08333333333333333 190:1.0 845:1.0 1830:1.0 2807:1.0 2873:1.0 2874:2.0 4010:1.0 4017:1.0 5126:1.0
15 5:0.125 38:0.3333333333333333 39:0.16666666666666666 46:0.2 48:1.0 74:0.5 85:0.08333333333333333 111:1.0 199:0.3333333333333333 201:0.3333333333333333 323:0.2 372:1.0 503:0.25 1407:0.3333333333333333 1718:... |
224d7eeda20fdf8e6ff17c951c9fcc72460c87de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH7/EX7.22/7_22.sce | 2e11efa1867780cadf25e848a0125b49684cec23 | [] | 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 | 244 | sce | 7_22.sce | clc;
m_EtOH=46;
aof=1/m_EtOH;
m_a=28.96;
AF=8.957;
aoa=AF/m_a;
Total=aof+aoa;
p0=aof/Total;
//from table
t1=20;
t2=30;
p1=0.0584;
p2=0.1049;
t=t1+[(p0-p1)/(p2-p1)]*(t2-t1);
disp("C",t,"minimum temperature of the mix is:");
|
3ea7fae670c4ebddf1ec1abc6e217364c00cce92 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/controls/nz/sim_body_stab_comparison.sce | c81ced2e424861105f039b9b43b99d0132964fb8 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,873 | sce | sim_body_stab_comparison.sce | /*
* Checking accelerometer postion and NMP zero in load factor response
*/
clear
exec('eqm/params_f16.sci');
exec('eqm/stability_deriv.sci');
exec('eqm/stability_deriv_body.sci');
params = load_f16();
exec('controls/nz/trim_v502_alt0_xcg35_level.sce');
disp('Building state-space...');
controls_trim = controls;
X0_... |
948746c10bee844a3e371e86d0559655ac0bfe70 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/bohmanwin.sci | 183637ca0353c0f8ec204970f3ad0788494c0301 | [] | 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 | 611 | sci | bohmanwin.sci | function y = bohmanwin (m)
//This function returns the filter coefficients of a Bohman window.
//Calling Sequence
//y = bohmanwin (m)
//Parameters
//m: positive integer value
//y: output variable, vector of real numbers
//Description
//This is an Octave function.
//This function returns the filter coefficients of a ... |
8f3b98c7a96e69f0261f9da04cc61feb78d4ae3f | 256f0055d000d9c71c41cf0df7a7a750619fbfd0 | /letraA.sce | 4a7da48666f3bb39beb8ff0b172a5acab2ccb9fa | [] | no_license | ItaloOliveiraF/Sistema-de-Transmiss-o-de-Dados | efec24f05af567e24d5450d3e2513865b4ce5117 | dec4f2b2c1f4f9b701de1737a5efe2bbae465811 | refs/heads/master | 2020-04-05T09:29:00.397099 | 2018-12-21T20:36:15 | 2018-12-21T20:36:15 | 156,759,189 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,417 | sce | letraA.sce | clear;
clc;
load('C:\Users\italo\OneDrive\Documentos\UFRN\std\Sinais_STD\xa_3_1.sod')
x_ana=x_a;
load('C:\Users\italo\OneDrive\Documentos\UFRN\std\Sinais_STD\xa_23_1.sod')
x_italo=x_a;
load('C:\Users\italo\OneDrive\Documentos\UFRN\std\Sinais_STD\xa_28_1.sod')
x_lara=x_a;
load('C:\Users\italo\OneDrive\Document... |
c9f2fc13f090600b0fa25a0b00de8138fde24c5b | 8277b4cef8c96ff5b520fc43b2200dc67ea6b2ed | /exp4.sce | 8beaefd2c1bc70312a00333ec94b571aee2a6072 | [] | no_license | divyashah98/OST | 5f7f3acf268fb9ab7e4ae889229e87d9ad31e6be | 214ee78db4e98e6387fca13cbe889054f3d9c298 | refs/heads/master | 2020-03-24T20:12:02.774742 | 2018-09-25T05:08:32 | 2018-09-25T05:08:32 | 142,964,900 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | exp4.sce | // to find output of input sequence by overlap add method
clear all;
clc;
x=[3 -1 0 1 3 2 0 1 2 1];
h=[1 1 1];
lenx=length(x);
m=length(h);
N=4;
L=N-m+1;
B=floor(lenx/L);
if(m<N)
h=[h,zeros(1,(N-m))];
end
for k=0:B-1 // CIRCULAR CONVOLUTION
xk=x((k*L)+1:(k*L)+L... |
ec740716287fa5dad9ce68ae4fa538f701fa283f | 608ce453a5e6495299d7099c28b04d167ac50a76 | /Project1/COLATERAL/RPS.tst | 071e1d01ce3246f03f97f7a9bb9fd8d8a38a692f | [] | no_license | andreww-han/CSCE-312 | abad4364c0a6a9f406a8a409145ec94a6eb52b88 | c3d23e7f5a13df9413656bda76ec82ab8bdc3a1c | refs/heads/master | 2022-11-27T18:52:41.794118 | 2020-07-20T20:16:53 | 2020-07-20T20:16:53 | 281,214,854 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | tst | RPS.tst | //TST file for Rock Paper Scissors Chip
load RPS.hdl,
compare-to RPS.cmp,
output-file RPS.out,
output-list p1%B3.2.3 p2%B3.2.3 out%B3.1.3;
//Example
set p1 %B11,
set p2 %B10,
eval,
output;
|
9feaa25185c7b5eb85981b9bff5c84497fc371df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.6/Example11_6.sce | e54b0e2e421afd94c63a8f89aebf3d4779622dd8 | [] | 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 | Example11_6.sce | //Exa 11.6
clc;
clear;
close;
//Given data :
VL=10*1000;//Volt
Emax=23;//kV/cm
gmax=Emax*10^5;//V/m
d=2*VL/gmax;//m
disp(d*10^3,"Diameter of conductor(mm)");
D=%e*d;//m
disp(D*10^3,"Internal diameter of sheath(mm)");
|
969cd33667bcc69ee7fdb9ee53c3ce5b4c687582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH26/EX26.15/Ex26_15.sce | 4a3910c4fc77837d9d83e3ccfdec21e7d03f8b7c | [] | 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,369 | sce | Ex26_15.sce | // 1 APPENDIX. Ex no 15. Page no 652
// Initilization of variables
// Consider fig. 16. The co-ordinates of various points are
// Co-ordinates as matrices
// Some of the notations have been changed
f1=5 // kN
f2=7.5 // kN
f3=10 // kN
A=[0,0,0]
E=[0,1,0]
D=[0,0,2]
F=[3,1,0]
G=[3,1,2]
H=[0,1,2] // co-ordinat... |
34df13c3bdfe89df73eca7ba4eeca94e272e1e8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.38/38.sce | 0d979f9e2f7545e53b7a92ac6c0d1b0846739c6c | [] | 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 | 203 | sce | 38.sce | clc
h1=800; //kJ/kg
C1=5; //m/s
h2=2520; //kJ/kg
C2=50; //m/s
dZ=4; //m
g=9.81; //m/s^2
Q=2180; //kJ/kg
W=h1-h2+(C1^2 - C2^2)/2/1000 +dZ*g/1000+Q;
disp("Power developed = ")
disp(W)
disp("kW") |
c79580bea5cd6c8bcdf0964651d190e55a54b84a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.27/example15_27.sce | 3abe9bb89f3bc4112f66d625e8b20e4f5f3a43da | [] | 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 | 241 | sce | example15_27.sce | // Example 15.27
// To check whether the system is reachable or not
clear;clc
xdel(winsid());
mode(0);
A=[1 0;0 1]
B=[1;1]
Wc=[A*B B]
disp("The rank of Wc=(1*1-1*1)=0,and not equal to 2. Thus the given system is not reachable ")
|
f62b6d98b7ae4d7ee6474fd4abf98230dba90ce0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH21/EX21.12/21Ex12.sce | a1f1a10be9f27f61576e3f7cd730b33330f0fd8b | [] | 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 | 250 | sce | 21Ex12.sce | //chapter 21 Ex 12
clc;
clear;
close;
Sum=1550; rate1=8/100; rate2=6/100; total=106;
lent1=(total-(Sum*rate2))/(rate1-rate2);
lent2=Sum-lent1;
mprintf("Money lent at 8 percent is Rs.%.0f and that lent at 6 pecent is Rs.%.0f",lent1,lent2);
|
66b01d1afbd6c6c1e9a30421dce037b6d4cce578 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.22/EX5_22.sce | aa15e3aec57745efb1fb61da6c13762e4c24564a | [] | 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 | 320 | sce | EX5_22.sce | // Exa 5.22
format('v',6)
clc;
clear;
close;
// Given data
V_T = 1;// in V
k = 160*10^-6;// in A/V^2
I_DQ = 160*10^-6;// in A
V_GS = V_T + sqrt(I_DQ/k);// in V
V_DD = 5;// in V
V_DSQ = 3;// in V
R_D = (V_DD - V_DSQ)/(I_DQ);// in ohm
R_D = R_D * 10^-3;// in k ohm
disp(R_D,"The value of R_D in k ohm is");
|
dc735a435450d4f791177d01724fea382263e033 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH6/EX6.18/Exa_6_18.sce | 067c98f11b640181ff67991c86eb60d32dee9a66 | [] | 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 | 570 | sce | Exa_6_18.sce | //Exa 6.18
clc;
clear;
close;
format('v',7);
//Given Data :
V1=0.9;//m^3
p1=8;//bar
x1=0.9;//dry
p2=4;//bar
Vg1=0.24;//m^3/Kg(at 8 bar)
hf1=720.9;//KJ/Kg(at p=8 bar)
hfg1=2046.5;//KJ/Kg(at p=8 bar)
Vg2=0.462;//m^3/Kg(at 4 bar)
hf2=604.7;//KJ/Kg(at p=4 bar)
hfg2=2132.9;//KJ/Kg(at p=4 bar)
//h1=h2 : hf1... |
4b502e41ac4d38d1e4897d03543f5bae41f029a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH16/EX16.6/Ex16_6.sce | eafa0d2032ab1ea6dc6c7b385ca773098c993371 | [] | 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 | 799 | sce | Ex16_6.sce |
// Examle 16.6
p=60; // Power supply
v=200; // supply voltage
I1=p/v; // current through each lamp
Il=100*I1; // Shunt field Current (Il)
disp('Shunt field Current (Il) = '+string(Il)+' Amp');
Rsh=50; // Resistance
Ish=v/Rsh; ... |
9c309fc703e9715765210945be66def420d077ee | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Setobjscale.sci | 22f13c4dd1e77afcd31339638a60f45c8ff5bd81 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sci | Setobjscale.sci | // s : 2014.06.22
function Setobjscale(scale)
global OBJSCALE;
OBJSCALE=scale;
endfunction
|
7169771249e0dda34632e675dcf5e7a38cb8f668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH1/EX1.4/example1_4.sce | 1d7eb09a05fafa7891afd1d53968b542c80016bf | [] | 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,009 | sce | example1_4.sce | clear;
clc;
//Example1.4 (Electric Heating of a House at High Elevation)
//(a)
t1=10+273;//Initial temperature of house[K]
t2=20+273;//Temperature after turning on heater[K]
tavg=(t1+t2)/2;//Average temperature[K]
cp=1.007;//[kJ/kg.K]
cv=.720;//[kJ/kg.K]
disp("kJ/kg.K",cp,"and",cv,"K",tavg,"at the average ... |
b3892976f7f220f6ed77a8645b669710b857e684 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH16/EX16.a.9/Example_a_16_9.sce | 54b12fd2a2e748ef783f279c9379d38e3758cca9 | [] | 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 | 194 | sce | Example_a_16_9.sce | //Example_a_16_9 page no:787
clc;
Y11=6;
Y22=6;
Y21=4;
Y12=4;
Ys=1;
driv_pt_admt=((Y22*Ys)+(Y22*Y11)-(Y21*Y12))/(Ys+Y11);
disp(driv_pt_admt,"the driving point admittance is (in mho)");
|
ab00e2fc08d5346c25fae253bf4079624cabdd86 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Reflex Firework Flick - Variable.sce | 16386913b1b002e26e96e5a82e6708b97a150723 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 29,803 | sce | Reflex Firework Flick - Variable.sce | Name=Reflex Firework Flick - Variable
PlayerCharacters=player_char
BotCharacters=fireworks_target.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=player_char
AddedBots=fireworks_target.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=fireworks_flick.map
MapScale=10.0
BlockProjectilePred... |
047476af55b2b434bc0ac989badffe66a3f00f51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.16/ex10_16.sce | 35568d206bfeecd4bbfa7827bdd49324ef5359db | [] | 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 | ex10_16.sce | // Example 10.16, page no-278
clear
clc
e=1.6*10^-19//C
m=9.1*10^-31//kg
mm=0.31*m//kg
h=6.626*10^-34
k=1.38*10^-23
eg=1.1*e
T=300//K
ni=2*(2*%pi*mm*k*T/(h^(2)))^(1.5)
ni=ni*%e^(-eg/(2*k*T))
printf("The intrinsic concentration of Si at %d K is %.4f * 10^15 electrons per m^3",T,ni*10^-15)
|
a5e7fb02682775ed9d009fac359c04a0270e4317 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_isnumeric.sci | fe7df3eb4fa51926238c3ea5781736f474fb5a9f | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sci | moc_isnumeric.sci | function isnumeric=moc_isnumeric(A)
//checks if A is numeric datatype
// Calling Sequence
// isnumeric=moc_isnumeric(A)
// Parameters
// isnumeric: true for numeric variables
// A:vector or matrix
// Description
// moc_isnumeric checks if A is a numeric datatype
//
// Authors
// H. Nahrstaedt - 2014
isnumeric = or(typ... |
c43986a3a92ea9c7210cac793e7b9e254e71aa7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH3/EX3.3/Ex3_3.sce | df0a7590ce97c6f12c963ad544937345f5a16dc8 | [] | 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 | 181 | sce | Ex3_3.sce |
//find the inductance of the coil
N=1500;// number of turns
I=10;//amp...current in coil
F=.5*10^-3;//weber...flux
L=N*F/I;
disp('inductance of coil='+string(L)+'henry');
|
2c16b12d947164e9323b612e1d6a928473769366 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/islinphase/islinphase1.sce | f6648997bc7428b8f0c2f8d4efe26234cb19956e | [] | 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 | 277 | sce | islinphase1.sce | //
b=[0.7143 0.2857 1.0000];
flag = islinphase(b);
//output
//!--error 10000
//no. of columns must be 6
//at line 69 of function islinphase called by :
//flag = islinphase(b);
//at line 3 of exec file called by :
///islinphase1.sce', -1
//matlab
// 0
|
a630ec939ca3ac2debe98f165a68f87ece1b79ef | 872b5ff8852c926ca1261037de07449db7ac51db | /area-03/cap11/heun_numero_intervalos.sce | 117852fddb9f74972442311067436fbdaef9d902 | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,090 | sce | heun_numero_intervalos.sce | clear
/*************************************************
* NAO ESQUECER DE MUDAR A f(t,u) *
************************************************/
/**
* t_dado, u_dado: u dado -> u(t_dado) = u_dado
* t_final: tempo final -> u(t_final)
* n_intervalos: numero de intervalos
* com_grafico: plota grafico d... |
5441a8cdf87a7f7d0711998dbccaa1ff06c9f809 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/HE17PXC/ATWM1_Working_Memory_MEG_HE17PXC_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 9c05693d229b61ec8e1606d01cdab6110da9bccc | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,383 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
479d2604f96c3b4cb2d27ac75a66884d2a5db150 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH18/EX18.2/Ex18_2.sce | 7b14b1ffdcf1039ef7443be0fd2b08d74d5fa549 | [] | 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 | 642 | sce | Ex18_2.sce | clc
// Given that
W=250//in ton Weight of injection moulding machine
d=4.5//in inch diameter of spur gear
t=0.5//in inch thickness of spur gear
//Gears have a fine tooth profile
// Sample Problem on page no. 488
printf("\n # Injection Molding of Parts # \n")
//because of fine tooth profile pressure requi... |
ea22f966eb7604b9589e979ab63bec947eeba03e | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH2/EX2.8/2_8.sci | 0fc320930b55c24448a034f1f22c29463da62f7a | [] | 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 | 283 | sci | 2_8.sci | clc();
clear;
//To detrmine the lattice parameter
//free volume=a^3-[2*(4/3)*pi*r^3]
//for bcc a=4r/3^(1/3)
fv=61.72*(10^-30); //free volume
a=-[fv/(1-%pi*sqrt(3))/8]^1/3*10^31 //lattice parameter
printf("The lattice parameter is %f A",a);
|
61998291e7e5e0e334601f220b7bee3a405c6752 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.1/Ex9_1.sce | 9a3caaf4d86c941139e6e18693571c80aa7c7a86 | [] | 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 | 449 | sce | Ex9_1.sce | //Caption: Information Content
//Example 9.1
//page no 394
//Find Information Content of Each Symbol
clc;
clear;
px1=1/2;
px2=1/4;
px3=1/8;
px4=1/8;
//information content of each symbol
Ix1=log2(1/px1);
Ix2=log2(1/px2);
Ix3=log2(1/px3);
Ix4=log2(1/px4);
printf("Information Content \n\n \tI(x1) = %d bit ... |
dc44e408f87e2bd17a2f2fa994a406b72e2500f8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%lssis.sci | 422c04335c8c473a45e445be1e2d9d4271e3d97f | [
"MIT",
"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 | 386 | sci | %lssis.sci | //[s]=%lssis(i,j,s1,s2)
//%lssis(i,j,s1,s2) calcule l'insertion d'un sous systeme lineaire
// decrit par une representation d'etat dans un transfert statique
//Cette macro correspond a l'operation s2(i,j)=s1
//!
// origine s. steer inria 1992
//
[a1,b1,c1,d1,x1,dom1]=s1(2:7)
d2=s2;
[n1,n1]=size(a1);
b2(1:n1,j)=b1
c2... |
46fc8c2b9a792ddc15244f5c243c0919065cfde2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.5/Ex16_5.sce | 374a3307eb140d324f34e2505c300b73aa3e3975 | [] | 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 | Ex16_5.sce | //Initilization of variables
m=20 //kg
F1=40 //N
ro=0.6 //m
ri=0.45 //m
g=9.8 //m/s^2
//Calculations
//Moment of inertia
I=(2/5)*m*ro^2 //kg-m^2
//Applying Newtons Law and conservation of angular Momentum
//Solving by matrix method
A=[1,m;ro,-I/ro]
B=[F1;F1*ri]
C=inv(A)*B
//Storing answers in variables
F... |
6ce80e3adf5ed2c025ca71871641c8b44824a184 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/metanet/articul.sci | ddf6f510d80157cbc73960fa5567cc67f3317f30 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"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 | 468 | sci | articul.sci | function [nart]=articul(i,g)
[lhs,rhs]=argn(0)
n=g('node_number')
if rhs==1 then
g=i
i=1
elseif rhs==2 then
// check i
if (i<1|i>n) then
error(string(i)+' is not a node number')
end
else error(39)
end
// check g
check_graph(g)
// compute lp, la and ls
ma=prod(size(g('tail')))
[lp,la,ls]=m6ta2lpu(g('tail')... |
700a520e8585c4ba69b09e7b3badc3ba3cbd3e91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.23/Ex4_23.sce | 4ffbca00eeddf442a3a53dec486886a086f217ce | [] | 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,121 | sce | Ex4_23.sce | clear
//
//The section is divided into three simple figures viz., a triangle ABC, a rectangle ACDE and a semicircle.
//variable declaration
r=20.0 //radius of semicircle
A1=80.0*20.0/2 //Area of triangle ABC
A3=40.0*80.0 //Area of rectangle ACDE
A4=%pi*(r**2)/2 //Area o... |
f05b53daf53ec54b89af73dd09030467c0103991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH7/EX7.12/example7_12.sce | 440b0b7d13f95ade9cdbca6ee5072669d95bd5e3 | [] | 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,892 | sce | example7_12.sce | //clc()
xp = 0.25;
xnb = 0.4;
xnp = 0.35;
P = 1447.14;//kPa
//assuming temperatures 355.4 K and 366.5 K , corresponding Ki values are found from nomograph and total Ki value are 0.928 and 1.075 resp, thus bubble point temperature lies between, using interpolation bubble point temperature is found to be,
Tb = 361;... |
6f093afe0960e39129b1229b86e0e2fb48cddf91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH6/EX6.6/example6_6.sce | af5e0e75cd6e9899324c8cc90ab50e2507d93b41 | [] | 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 | 722 | sce | example6_6.sce | // Determine Vgs,Id,Vds,operating region
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 6-6 in page 276
clear; clc; close;
// Given data
Ids=16*10^-3; // Drain current in mA
Vp=-4; // Peak voltage in V
Vdd=18; // Drain voltage in V
Rd=500; /... |
fd327fd12436a61d8f44512c8384b5f5c073f2d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH9/EX9.6/Ex9_6.sce | c3affdfd54229d46c075c91d2d5195f83c68d276 | [] | 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 | 740 | sce | Ex9_6.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 9 Example 6")
T1=300;//minimum temperature in brayton cycle in K
T5=1200;//maximum temperature in brayton cycle in K
n_isen_c=0.85;//isentropic efficiency of com... |
4c4dff726d1b8cf74b0ac509b9627a8d0086516c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH3/EX1.3.25/Ex1_3_25.sce | 50b1a08f7ebda718b343b10c6dc32a3eec7ca998 | [] | 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 | 728 | sce | Ex1_3_25.sce | //Section-1,Example-8,Page no.AC-274
//To calculate the amount of lime and soda required for cold softening of given water sample.
clc;
A_1=66 //CO2(ppm)
A_2=264 //HCO3-(ppm)
A_3=36 //Mg2+(ppm)
A_4=95 //Ca2+(ppm)
A_5=10 //NaAlO2(ppm)
A_6=2 //H+(ppm)
A_7=34 //... |
d68dde8fc8bfbefe64cc1a0a36f8a55d7a913bfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH28/EX28.2/ex_28_2.sce | 1cbf8594fc66e0faf75aed694b6de61f17b2ba18 | [] | 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 | 383 | sce | ex_28_2.sce | //find
clc
//solution
//given
Np=600//rpm
vr=4//Tg/Tp=4
fop=84//N/mm^2
fog=105//N/mm^2
Tp=16;
Tg = Tp*4;
m=8//mm
b=90//mm
Dp=m*Tp/1000//m
v=%pi*Dp*Np/60//m/s
Cv=3/(3+v)
yp=0.154-(0.912/Tp)
yg=0.154-(0.912/Tg)
//fop*yp<fog*yg...therefore diseign="" is="" pinion="" based="" wt="fop*Cv*b*%pi*m*yp//N" p="Wt*v" printf("powe... |
0ae0d5fd3f35abc6ba16bfa7e4064904fedc4780 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.26/Ex5_26.sce | ea791bbff5f01b579e5032317707a8d172218805 | [] | 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,154 | sce | Ex5_26.sce | clear;
clc;
b = 10;// inches
d = 8;// inches
t1 = 1;// inch
t2 = 0.6;// inch
M = 500;// ton-inches
F = 25;// tons
I = (1/12)*(d*b^3 - (d-t2)*d^3);// in^4
//At the top
p = M*b/(2*I);// tons/in^2
q = 0;
p1 = p;// tons/in^2
p2 = 0;
printf('At the top, principal stresses are \n p1 = %.2f tons/in^2\n p2 = %d... |
71792348997f704fdb6dc10c01bc244a5d43bc7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH4/EX4.14/Ex4_14.sce | bd8fbc5413b7283402a9c5d30be73141a60a1019 | [] | 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 | Ex4_14.sce | clc,clear
//Example 4.14
//To find linear and angular speed of a moving object
t=0.5 //time in second
r= 3 //radius in m of the circle
theta = %pi/3 // central angle in radian
w = theta/t //angular speed in rad /sec
v=w*r//linear speed in m/sec
printf('Angular speed= %f radian/sec\n',w)
printf('Linear spee... |
ab265a584e63014649a57ca743aed7b8f94dd8ad | 37ae73a0d143e6fc539c6ff34ace9e46e0982654 | /Tutorial/TestEnv/Tutorial/build/2700397600/TEMPLATE_EXAMPLE/CSV2TST.tst | dc496b14e35556fe59992d441e5417ae47d8f6e6 | [] | no_license | vjtkmg/vcast-workarea | 7441ca0ac1eb05ab41c388b5c6fd502277fc4ac9 | 6ecfc99f4b1b68707e4debb8c5b213a467326c2c | refs/heads/main | 2023-08-23T13:26:38.279532 | 2021-11-04T09:12:34 | 2021-11-04T09:12:34 | 422,165,203 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,218 | tst | CSV2TST.tst | -- Test script generated from C:/Users/vjtkmg/Documents/GitLocal/VectorCAST/Tutorial/SourceCode/c/csv_test_data.csv
-- Using mapfile (MAP)Place_Order.001
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.