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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
058c112808efd5a86799cde09fa99735ea57356a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.4/Ex1_4.sce | a3f805dc5621e790fbd21e5fd08573f8eae60d76 | [] | 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,248 | sce | Ex1_4.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 4
clc;
disp("CHAPTER 1");
disp("EXAMPLE 4");
//VARIABLE INITIALIZATION
r1=1; //LHS resistance in Ohms
r2=2; //in Ohms
r3=3; //in Ohms
r4=4; //in Ohms
r5=5;... |
93dfdf92536aa3671954e731c81c907f8c6fd6bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH7/EX7.15/example7_15.sce | 8900dea35fd837ba32586d4c82b82a9c93e5ce38 | [] | 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 | 245 | sce | example7_15.sce | //clc()
T = 379.2;//K
P = 101.3;//kPa
Ps = 70;//kPa
Molality = 5;
Pws = exp(16.26205 - 3799.887/(T - 46.854));
k = P / Pws;
Pws1 = Ps / k;
T1 = 3799.887 / (16.26205 - log( Pws1)) + 46.854;
disp("K",T1,"Boiling point of the solution = ") |
8d17def5ce6efd58f02af4b13c178fe493c1b509 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/P20.prev.tst | 5f1cee256e46909395c33aa82c002b83b9c4eb9b | [
"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 | 148 | tst | P20.prev.tst | 5*x
; vgcd=5; gcd=5; isZero=false; hasVariable=true; isBiased=true; mergeVariables=5*x_y_z; relation=EQ_0
; evaluate=failure biased
/01;5 -> 5*x
|
8f92a257227a52453ed436db1b01872c325d54e5 | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP6/simp_comp.sci | b0762c16a0f32ab47b6cceb7edefdf3190675e28 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sci | simp_comp.sci | function s = simp_comp(f,a,b,M)
//intervalos equiespaciados
h=(b-a)/M;
sump=0;
sumi=0;
//sumatorias
for (i=1:M-1)
//calculamos el valor de f(xi)
y=f(a+(i*h));
//verificamos si i es par o impar
r=modulo(i,2);
if (r==0) then
//par
... |
2df9dbe3b4c953c2dff84636c347a5696516ab24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH6/EX6.14/c6_14.sce | 3f701fc4a523486c001252326791af67bc4ebd44 | [] | 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 | 786 | sce | c6_14.sce | //(6.14) For the compressor of the heat pump system in Example 6.8, determine the power, in kW, and the isentropic efficiency using (a) data from property tables, (b) Interactive Thermodynamics: IT.
//solution
//part(a)
//from table A-9
h1 = 249.75 //in kj/kg
h... |
03b0f0ec2ecd28dc728d2aadb8323ccc8f21e03b | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.9/example8_9.sce | 3452e92b624b3764d0dcdfb39552924fa2a2eca5 | [] | 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 | 493 | sce | example8_9.sce | //clc()
T = 300;//K
T1 = 285;//K
Pwater = 3.56;//kPa
Pwater1 = 1.4;//kPa
V = 1;//m^3 ( Basis )
Vstp = 22.4143;//m^3/kmol
N = V / Vstp;
Pstp = 101.3;//kPa
Y = Pwater / (Pstp - Pwater);
Y1 = Pwater1 / (Pstp - Pwater1);
Nremoved = Y - Y1;
Ndryair = N * 1 / (1 + Y);
mremoved = Ndryair * Nremoved * 18.016;
dis... |
7fb9a15a262cda86bbe8e65c2bf357d1473e45bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH6/EX6.6/ex6_6.sci | 522ca9a056291af122cf198a18c6ccbe943ea026 | [] | 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 | 518 | sci | ex6_6.sci | //Ex6.6,Pg6.8
clc;
V=230 //Supply voltage
Il=40 //Current in amperes
Ra=0.5 //Armature winding
Rf=115 //Resistance in ohms
//Generator operation
disp("Generator operation")
Il=40 //Load current in amperes
If=V/Rf
printf("\n If=%.0f A \n",If)
Ia=Il+If
printf("\n Ia=%.0f A \n",Ia)
Eg=V+(Ia*Ra)
printf("\n Eg... |
c639bb5be96ace95c366cbe0591d46ca3eed3322 | 717ddeb7e700373742c617a95e25a2376565112c | /830/CH8/EX8.3.05/IIR_Butter_Transformation_HPF.sce | 3bc739635fc419728254f50bfe01f2fba735994b | [] | 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 | 694 | sce | IIR_Butter_Transformation_HPF.sce | //Graphical//
//Example 8.3.05
//First Order Butterworth Filter
//High Pass Filter
//Table 8.13: Using Digital Filter Transformation
clear;
clc;
close;
s = poly(0,'s');
Omegac = 0.2*%pi;
H = Omegac/(s+Omegac);
T =1;//Sampling period T = 1 Second
z = poly(0,'z');
Hz_LPF = horner(H,(2/T)*((z-1)/(z+1)));
al... |
9c84ec65b82a6a874e96a8daa27ece8f8bce2958 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Machine_Learning/demos/Missing values_Demo.sce | 0621ddb39a0106181fcd33aabd0d00a13092bfd0 | [
"BSD-2-Clause"
] | permissive | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | Missing values_Demo.sce | // Demo script for median
getd('../macros')
// Data preparation
M = csvRead('Datasets/titanic.csv')
x = M(:, [6, 8]);
x(:, 1) = missingMean(x(:, 1));
x(:, 2) = missingMedian(x(:, 2));
disp(x) |
d5d6449ec0346582741589b076d745549157fd02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.23/ch12_23.sce | 3cbeb1682b4a4d767541d3f852e5ef6d8d18eb57 | [] | 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 | sce | ch12_23.sce | clear;
clc;
Po=20000;
N=1440;
w_m=2*%pi*N/60;
T_e=Po/w_m;
f1=120;
P=4;
w_s=4*%pi*f1/P;
r2=.4;
x2=1.6;
f2=50;
Z1=r2+%i*x2*f1/f2;
Z=abs(Z1);
ph=3;
V_s=400;
s=(ph/w_s)*(V_s/(Z*sqrt(3)))^2*(r2/T_e);
N=w_s*f1/(4*%pi)*(1-s); printf("motor speed at rated laod=%.2f rpm",N);
s_m=r2/imag(Z1); printf("\nsl... |
386b42d0e3f8d4e0a548012a788a2a9fead66744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.22/Ex2_22.sce | 8ffef68235d8fb882142d3fd2b5db75ff8db4a9b | [] | 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 | 196 | sce | Ex2_22.sce | //Ex:2.22
clc;
clear;
close;
E_o=8.85*10^-12;
E_r=4.5;
n=6;//no. of plates
d=0.2*10^-3;//in meter
A=20*10^-4;//in sq.meter
C={(E_o*E_r*(n-1)*A)/d}*10^11;
printf("Capacitance = %d pF",C); |
a5f8977507351ade2b35d4d7f0e6bb1d9abc0f9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH13/EX13.1/13_1.sce | 75fa05ab0089ee91af78d883716a42b2a40a07ae | [] | 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 | 598 | sce | 13_1.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 13.1
//calculation of the force exerted by the water on the bottom
//given data
h=20*10^-2//height(in m) of the flask
r=10*10^-2//radius(in m) of the bottom of the flask
P0=1.01*10^5//atmospheric pressure(in Pa)
rho... |
b5a06272f97f805464a8790d86660835ad16738d | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_hrz_ind_d/~BivLCM-SR-bfas_oo_hrz_ind_d-PLin-VLin.tst | 1d39c2925b66805a515ca0fd375c224746b673c5 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oo_hrz_ind_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.274302D+00
... |
1e6d85775c5faed189a7df37394e154c7b111816 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH4/EX4.4/4.sce | aa221ed5a83c947c1a943e1a175e685bbb810266 | [] | 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,511 | sce | 4.sce | clc
clear
//input data
C1=100 //Air velocity into combustion chamber in m/s
P1=3 //Static Pressure at entry in bar
T1=318 //Static Temperature at entry in K
q=630 //The heat transferred per unit mass flow in kJ/kg
Cp=1.005 //Specific heat of dry air in kJ/kg-K
k=1.4 //Adiabatic constant
R=287 //Gas constant ... |
d454bb94c5d125a895e2f61bd7878610620b6a28 | 04227b0d1bb094503d6c9ca0b21de26102c7572c | /getmapping.sci | bf3d4d6736b089596c1b73727c61668b0e66503d | [] | no_license | C-ELAzouzi/Reconnaissance-facial-matlab | be48b496aab193ec07f7aaa95cae2915ea5badfa | ee8073c77bd5fd3f9647ddd18b0115b4a9d27ae3 | refs/heads/master | 2023-06-05T16:25:23.844539 | 2021-06-16T12:46:06 | 2021-06-16T12:46:06 | 377,476,453 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,502 | sci | getmapping.sci | //GETMAPPING returns a structure containing a mapping table for LBP codes.
// MAPPING = GETMAPPING(SAMPLES,MAPPINGTYPE) returns a
// structure containing a mapping table for
// LBP codes in a neighbourhood of SAMPLES sampling
// points. Possible values for MAPPINGTYPE are
// 'u2' for uniform LBP
// 'r... |
a018e4241ac551ef337d1cbd6214d1de6a720f5d | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /2dof_controller/c2d.sce | cb29e1afd61d93024c348d2bf2a11d1fc573d8d2 | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | c2d.sce | s=poly(0,'s'); //Defines s to be a polynomial variable
TFcont = syslin('c',[0.668/(75.013*s+1)]) //Creating cont-time transfer function
SScont = tf2ss(TFcont); //Converting cont-time transfer function to state-space model
Ts=1; //Sampling time
SSdisc=dscr(SScont,Ts); //Discretizing cont-time state-space model
TFdi... |
f7bb88eda69ef1c837f0842065c33d88954d519e | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH11/EX11.1.b/Example11_1_b.sce | 2c1a88d915951be436c3ea99c382b9f797cdf2ac | [] | 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 | Example11_1_b.sce | //Example 11.1 (b)
//Program to Calculate Impedance at Resonance of the given Circuit
clear;
clc ;
close ;
//Given Circuit Data
C=300*10^(-12); //F
L=220*10^(-6); //H
R=20; //Ohms
//Calculation
Rr=R;
//Displaying The Results in Command Window
printf("\n\t The Impedance at Resonance, Rr = %f Ohms .",Rr); |
346f07c95f68c0ac9ef889e64fd71002aba056be | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH10/EX10.9.1/Sampling_Rate_Conversion_Decimation_Interpolation.sce | 13b45645eff7769857011cd0ce9a2cbbeeca1ce4 | [] | 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,391 | sce | Sampling_Rate_Conversion_Decimation_Interpolation.sce | //Graphical//
//Example 10.9.1
//Multistage Implementation of Sampling Rate Conversion
//Decimation factor D = 100
//D = D1xD2, D1 = 50, D2 =2
//Interpolation factor I = 100
//I = I1xI2, I1 = 2, I2 =50
clear;
clc;
close;
Fs = 8000; //Sampling Frequency = 8000Hz
Fpc = 75; //Passband Frequency
Fsc = 80; //... |
4990b6908aa942aced3d00554a312b48c1f17aa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH9/EX9.13/Ex9_13.sce | b9e7bc8ae36a39129f78e59913d89bcd63abf9aa | [] | 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 | Ex9_13.sce | //Example number 9.13, Page number 208
clc;clear;
close;
//Variable declaration
sigmae=2.2*10**-4; //conductivity(ohm/m)
mew_e=125*10**-3; //electron mobility(m**2/Vs)
e=1.602*10**-19; //charge(c)
//Calculation
ne=sigmae/(e*mew_e); //concentration(per m**3)
//Result
printf("concentration is %.1e p... |
a0c27507535634d1c6005379c4c011335ada2de7 | 959e1fabeee80160b75037eedcd42474b4cbbd32 | /week9/Pk.sci | 2ee53d20eab62adece5112bc52dbd911d7ab72e1 | [] | no_license | catchmrbharath/compmeth | 935c84ce97812a9fe639e3a7467baafcd4414afc | a4fc350aa12e1a28e6880a6bcb32dff8d897f3d0 | refs/heads/master | 2016-09-09T20:20:29.138169 | 2011-11-25T01:35:19 | 2011-11-25T01:35:19 | 2,180,615 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sci | Pk.sci | function M=Pk(n,k,v)
u = householder(v);
M = eye() - 2*u*u';
endfunction
function M = P(n,k,a)
M = eye(n,n);
M(k:n,k:n)=Pk(n,k,A(k:n,k))
endfunction
function A= p2z(R,theta)
A = R*exp(%i*%pi*theta/180.0);
endfunction
A = eye(8,8)
for i=1:8
for j=1:8
A(i,j)=cos((i-1)*(j-1)*%... |
b50449aea9ccf1253d778a48180fb66195f3757a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH3/EX3.17/Ex3_17.sce | 1ea0b2ab9ec34ce6992129b95c008e048cf87a50 | [] | 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 | 156 | sce | Ex3_17.sce | clc;
//ex3.17
Vin=20; //volt
Vz=9.1; //volt
Rs=2200; //ohm
I=(Vin-Vz)/Rs; //Ampere
disp('mA',I*1000,"I="); //The answers vary due to round off error
|
0e5e7af438a35e1403faac4912a1464068a9647c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.20.1/Ex6_20.sce | 182d4b26db4ab03b9401c94c098a39ef435e1e3d | [] | 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 | 328 | sce | Ex6_20.sce | clc
clear
T3=1000+273; //in K
T1=27+273; //in K
G=1.25;
r=(T3/T1)^G;
printf('Compression Ratio: %2.1f ',r);
printf('\n');
T2=sqrt(T1*T3);
T4=T2;
printf('T2=T4= %2.0f K',T2);
printf('\n');
Cv=0.718;
W=Cv*[(sqrt(T3))-(sqrt(T1))]^2;
printf('Maximum Work Done: %2.0f kJ/kg',W);
printf(... |
6f2440307b581b99af8ce3c6fb7cc32caf902a6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.11/ex2_11.sce | 3dfdc4ac37d44bda1e3606cff7f05438586b8da8 | [] | 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 | 264 | sce | ex2_11.sce | //chapter 2
//Hphi=Im*dl*sin(theta)/(2*lamda*r);
//for Hertzian Dipole
printf("\n");
Hphi=5*10^-6;
lamda=1;//assume
dl=0.04;
Im=(5*10^-6)*2*(2*10^3)/(0.04);
Irms=Im/(sqrt(2));
Prad=80*(%pi)^2*(0.04)^2*(Irms)^2;
printf("the radiated Power is %gW",Prad);
|
678b6959c13b76354b810fd057a9c85da8211fdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.1/Chapter4_Example1.sce | 6bdc7de8edbd4ba4f9f496b45a0759338ee898b6 | [] | 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 | 483 | sce | Chapter4_Example1.sce | clc
clear
//INPUT
t=273;//temperture of the oxygen molecule in K
m=32;//molecular mass of the gas in gm
r=8.32*10^7;//molar gas constant in ergs per mole
v2=33200;//velocity of the gas in cm/sec
//CALCULATIONS
v1=((3*r*t)/m)^(1/2);//rms velocity of the molecule in cm/s
T=((v2*v2*m)/(3*r));//temperature of ... |
a0c1dfa1fb391440d1c178fe3b6ad3946f6564ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH21/EX21.1/Ex21_1.sce | 69d2153c182747c7dd16dcd01e3a8afe4420bc6d | [] | 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 | 129 | sce | Ex21_1.sce | clc;
Vout=0.000010;
Vin=5;
linein=Vout/Vin;
disp('uV/V',linein*1000000,"linein=");//The answers vary due to round off error
|
52500eb94e0f451b21a3e7dd3c05068fe09c4be0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH7/EX7.2.d/EX7_2_D.sce | 2264d412bebead7f22c4ed4eed14a8ce5866f75d | [] | 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 | 138 | sce | EX7_2_D.sce | //Example 7.2.D
clc;
syms a z n;
x=(0.5)^(n);
X=symsum(x*(z^-n),n,0,%inf);
d=0.8^(n);
D=symsum(d*(z^-n),n,-(%inf),-1);
disp(D+X,'X(z)=');
|
3ccf81d3f4b192fbb6199e46bc2119684291135e | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH8/EX8.a.5/exaA_8_5.sce | 8991af9397c61edcbfe21aea7639a8abb433103f | [] | 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 | exaA_8_5.sce | // Example A-8-5
// PID design
clear; clc;
xdel(winsid()); //close all windows
mode(0);
// please edit the path
// cd "";
// exec("plotresp.sci");
// exec("stepch.sci");
s = %s;
zeta = 0.5 // dominant pole charecteristics
wn = 4
sigma = zeta*wn;
ts = 4 /(zeta*wn);
disp(ts,'settling time approximate (ts) =');
... |
441587de258d5eb4fc300ea80c9e1e1f5a6062c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH1/EX1.1/Exa1_1.sce | 8c35656b997ec6c69fbf2121360b368b25fd8766 | [] | 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 | 412 | sce | Exa1_1.sce | //Exa 1.1
clc;
clear;
close;
//Given data :
format('v',6);
R=4;//in ohm
XL=3;//in ohm
VL=400;//in volt
Vph=VL/sqrt(3);//in volt
Zph=sqrt(R^2+XL^2);//in ohm
Iph=Vph/Zph;//in Ampere
//In star connected IL=Iph
IL=Iph;//in Ampere
disp(IL,"Line Current (in A) :");
cosfi=R/Zph;//unitless
PowerConsumed=sqrt(3... |
5ebcfdacc5d041a547999c643db3fc882a13b8b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH4/EX4.2/Ex4_2.sce | 90c83ebdd3b59207fba3ea3bb52f1845e0863fa6 | [] | 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 | 242 | sce | Ex4_2.sce | clc
T1=400 //K
T2=300 //K
N=1.04*10^19 //cm^-3
k=8.617*10^-5 //eV/K
Nv=N*(T1/T2)^(3/2)
disp(Nv,'Nv=%f cm^-3\n\n')
a=k*T2*(T1/T2)
disp(a,'kT=%f eV\n\n')
//p0=Nv*exp(-(Ef-Ev)/kT)
p0=Nv*exp(-0.27/a)
disp(p0,'p0=%f cm^-3 \n')
|
2f0cf7ca7a411955f7c5e3ddf89fb432bc16aaef | fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c | /TP6/vdp.sci | 54523994d118ad59fb7c7d483e4dee5f9e7c6d77 | [] | no_license | 1saac-W/MT09-Analyse-Num-rique | 05b509981dfa00e3b7b550716b1487cbbf0a3fed | 0853f8053254f5dd23179073187ada3d936aff84 | refs/heads/master | 2020-09-27T04:34:36.549125 | 2020-01-05T16:02:18 | 2020-01-05T16:02:18 | 226,431,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sci | vdp.sci | function [Y] = vdp(t, x)
Y = zeros(2,1);
Y(1) = x(2);
Y(2) = 0.4*(1-x(1)^2)*x(2)-x(1);
endfunction
|
d46783d5b6b2cb2a0150bb28c4caf1cee571ba4a | efd8a524f4cb26e7523ef0e7211ba3ea3b60177d | /tests/test-tab-noskip.tst | 326dfb43283ba4d6c37611a109770d372220c97a | [
"Apache-2.0"
] | permissive | archiecobbs/csvprintf | 2788ee5c236d0e3ea329c927f15464c09ecef118 | 270286b352559219b26127775238331e052150ec | refs/heads/master | 2023-08-03T18:32:23.588637 | 2023-07-31T21:45:54 | 2023-07-31T21:45:54 | 34,139,639 | 38 | 4 | null | 2015-12-05T20:53:45 | 2015-04-17T20:53:56 | C | UTF-8 | Scilab | false | false | 96 | tst | test-tab-noskip.tst | FLAGS='-nj -s \t'
STDIN='aaa\tbbb\tccc\n\t\t\n'
STDOUT='\x1e["","",""]\n'
STDERR=''
EXITVAL='0'
|
3d34fbca327b7a68e4ca81d1fcd21224ce0f7eeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH4/EX4.2/Ex4_2.sce | a9242328d86770b380c702ebc7314f149e6f2c9b | [] | 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 | 645 | sce | Ex4_2.sce | clc
Nd=2*10^17
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of donor concentration.
Er=11.9
disp("Er = "+string(Er)) //initializing value of relative dielectric constant.
e=1.6*10^-19
disp("e = "+string(e)+"columns") //initializing value of charge of electrons.
Eo=8.854*10^-14
disp("eo = "+string(Eo)) ... |
38f73239503187916c5ea8af70aaedd52968ba59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH11/EX11.21/Example11_21.sce | a94cc819814572abf49cdbbd4aee4e4b5dd6e7d7 | [] | 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,868 | sce | Example11_21.sce | ///Chapter No 11 Steam Boilers
////Example 11.21 Page No 254
///Find Mass of gas fowing throgh the chimney
//Input data
clc;
clear;
mf=8000; //Average coal consumption in m
ma=18; //Fuel gases formed ccoal fired in m
Tg=270+273; //Average temp of the chimney of water... |
6c8e3a7e4f4602136bd26d61b44d70f28906934b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH6/EX6.19/example6_19.sce | f5c45da59d49fe028c67c82946c89b4bc6e62e47 | [] | 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 | 681 | sce | example6_19.sce | clear;
clc;
// Stoichiometry
// Chapter 6
// Stoichiometry and Unit Operations
// Example 6.19
// Page 391
printf("Example 6.19, Page 391 \n \n");
// solution
// basis 4000 kg/h of NaOH produced
Cl2p = 35.5*2*4000/80 // kg/h
Mcl2 = Cl2p/71 // kmol/h
P = 101.325 // kPa
Pw = 2.0624 // kPa
moist = ... |
3b6ed96c4353735eb391771cf56f7021d4b99306 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH3/EX3.11/ex_3_11.sce | fdf0b3b7ca01683c356a32f69ffa81ef03f0be62 | [] | 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 | ex_3_11.sce | //example no.3.11
//caption: Inverse using LU decomposition
A=[3 2 1;2 3 2;1 2 2]
[U,L]=LandU(A,3) // call LandU function to evaluate U,L of A,
//since A=L*U ,
// inv(A)=inv(U)*inv(L)
// let inv(A)=AI
AI=U^-1*L^-1 |
4e3d29f754fe406a4e3a8c1bb3f68219fbfdfc03 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%r_o_s.sci | a834ae14c8c605fd12cef3c68cd7ddd68986989d | [
"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 | 196 | sci | %r_o_s.sci | function r=%r_o_s(l1,l2)
//%r_o_s(l1,l2) <=> l1==l2 with l1 rational
//and l2 constant
//!
// Copyright INRIA
r=degree(l1(2))==0°ree(l1(3))==0
if r then r=coeff(l1(2))./coeff(l1(3))==l2,end
|
b6e1ddef61fa166af1c8eb5670cf3362403d5cef | 872b5ff8852c926ca1261037de07449db7ac51db | /area-03/cap12/un_encontre_coeficientes.sce | 8848144b3195aad8731a5aba14098a99aaa95b5b | [] | 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 | 465 | sce | un_encontre_coeficientes.sce | // Os x sao os pontos onde a f(x) e' calculada
// Usa quando Un+1 = Un + H [ C1Fn+0 + C2Fn-1 + C3Fn-2]
// ^ ^ ^
x(1) = 0; // 0 e' do c1*fn+0
x(2) = -1; // -1 e' do c1*fn-1
x(3) = -2; // -2 e' do c1*fn-2
// Daqui pra baixo nao muda pra esse padrao de Un+1...
b(1) = 1;
b(2) ... |
0d67da5737d80d1eae38041eefd7dcc7c34bc31d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH18/EX18.2/Ex18_2.sce | 0f0408181a09ac4253f311e17753f350c64c7cc7 | [] | 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 | 306 | sce | Ex18_2.sce | clear
// Variable declaration
T_1=22// °C
T_2=1// °C
C_p=3.1// The specific heat capacity of meat in kJ/kg.K
m=8*10**3// The mass of meat in kg
t=14*3600// The time available for cooling in s
// Calculation
Q=(m*((C_p*(T_1-T_2))))/t// The cooling load in kW
printf("\n The cooling load,Q=%2.1f kW.",Q)
|
485ee3446cafc976248481b231a0fd9326c673de | b59f38fb8e181f5a207854c050b30c5175333276 | /functions/Draw.sci | 1ced540d459c08ed46234ba333d6059a4fe6c09a | [
"MIT"
] | permissive | Matii96/sand-simulation | da9ce8a6de5b50a606af4781f1e011096a8cc2f5 | e2ef4e63b7425cf8e15c414a4b497630ba844db9 | refs/heads/master | 2020-12-10T18:55:58.231143 | 2020-01-19T12:51:29 | 2020-01-19T12:51:29 | 233,679,584 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | Draw.sci | function Draw(matrix)
// Yellow sand
matrix = matrix .* 37;
// White background
matrix = matrix - 5;
Matplot(matrix);
endfunction |
f03e87b563c52c95767aa23ce2ec38c00e887fe4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH3/EX3.5/Example3_5.sce | 95b05b6be5ea6a402c34185fcccb6e22cc353be5 | [] | 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 | 785 | sce | Example3_5.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 3: DC Dynamo Voltage Relations - DC Generators
// Example 3-5
clear; clc; close; // Clear the work space and console.
// Given data
V = 125; // Rated voltage of the shunt generator in V
R_a = 0.1... |
0a097c2af4a80e29214be71fc15edc23a2769cec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.4/ex18_4.sce | f2e03ea0e6277fdf5e84b46501cc11b4c373cb8b | [] | 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 | 288 | sce | ex18_4.sce | clc;
clear all;
ue=0.13;//electon mobility in m^2/V*s
uh=0.05;//hole mobility in m^2/V*s
ni=1.5e16;//intrisic carrier concentration in m^-3
e=1.6e-19;//charge of electron
sigma=ni*e*(ue+uh);//conductivity of germanium
disp('ohm^-1 m^-1',sigma,'conductivity of semiconductor is:')
|
2a21512d7ae7bb259cd249c17c930a0638547e74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.36/ex_6_36.sce | 674a427496b3fd2e8fae95990229a172a83bfc77 | [] | 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 | 565 | sce | ex_6_36.sce | clear;
clc;
close;
wLPF=-3:0.1:3;
wc=1;
for i=1:length(wLPF)
if wLPF(i)>-wc & wLPF(i)<wc then
HwLPF(i)=1;
else
HwLPF(i)=0;
end
end
subplot(2,1,1)
plot(wLPF,HwLPF)
a=gca()
poly1=a.children.children;
poly1.thickness=3;
poly1.foreground=2;
title("low pass filter")
disp("given... |
4e2f343c47ca0e3f672e4f677a441b7eab86afb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH11/EX11.5/Ex11_5.sce | 6c8f7bf70163e87fb3c3bbd09ffe31333c73c58b | [] | 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 | 391 | sce | Ex11_5.sce | //Initilization of variables
//Simplification constants
a=90
b=30
c=60
//Calculations
//Allowing for only the cos and sin terms to be zero after simplification
theta1=atand(a/(b+2*c)) //degrees
theta2=atand(a/(b+c)) //degrees
theta3=atand(a/b) //degrees
//Result
clc
printf('The values of theta1,theta2 and t... |
bd55db7a50d8908a9c699c10f8bfa44ca900b486 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/hrmt.man.tst | 51a7fad00623e55110bfe4d0e213d94fef7cb55a | [
"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 | 115 | tst | hrmt.man.tst | clear;lines(0);
x=poly(0,'x');
v=[x*(x+1),x^2*(x+1),(x-2)*(x+1),(3*x^2+2)*(x+1)];
[pg,U]=hrmt(v);U=clean(U)
det(U)
|
c1504d736b4ce546fe3f3a3a6c3e04f7914fc431 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH4/EX4.15/Exp4_15.sce | b275f92c04d56ec7941548c0ca01176c5154f5fd | [] | 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 | 785 | sce | Exp4_15.sce | //Example 4.15
clc
disp("V_ph = 550 V, 55 kVA, R_a = 0.2 ohm")
disp("I_f = 10 A, I_ssc = 200 A, V_oc = 450 V")
za=450/200
format(5)
disp(za,"Therefore, Z_s(in ohm) = V_oc / I_ssc |same I_f =")
xs=sqrt((2.25^2)-(0.2^2))
format(7)
disp(xs,"(a) X_s(in ohm) = sqrt(Z_a^2 - R_a^2) =")
iph=(55*10^3)/550
disp("... |
5152d372ec2d6c94526c5a6cb55d73399e980016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.4.1/Ch03Exa3_4_1.sci | 8191390e9402d73b5abbe8215f298e7b162c3f99 | [] | 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,438 | sci | Ch03Exa3_4_1.sci | // Finding atomic No. and mass No. of daughter nuclei in the given reactions : Page No. 133(2011)
// Declare cell (for given reaction)
R1 = cell(5,4);
// Enter data for cell (Reaction-I)
R1(1,1).entries = "A";
R1(1,2).entries = 90;
R1(1,3).entries = 238;
R1(1,4).entries = "Alpha";
R1(2,1).entries = 'B';
R1(2,4).entrie... |
b9add4de0c6e3e243bad8ea3880997b54619344b | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/specialprops.tst | b43fc973cdae1775e570e70530fc70db469a6d8d | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,771 | tst | specialprops.tst | units SI
LiquidPhases = 2
Prop-101 = Properties.SpecialProps()
$ThermoCase = VirtualMaterials.Advanced_Peng-Robinson
/ -> $ThermoCase
ThermoCase + METHANE
ThermoCase + ETHANE
ThermoCase + PROPANE
ThermoCase + n-BUTANE
ThermoCase + ISOBUTANE
ThermoCase + n-PENTANE
ThermoCase + ISOPENTANE
ThermoCase + WATER
Prop-101.In.... |
16681a02666519e503b8f8ea0d5b96e1c8ee04f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.3.1/Example1_3.sce | ad9152a24705c5c898068551a086108516423338 | [] | 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 | 573 | sce | Example1_3.sce | //Chapter-1,Example1_3_1,pg 1-21
N=10 //no of dark fringes
d=1.2 //distance between consecutive fringes
B_air=d/N //fringe width in air
a=(40/3600)*(%pi/180) ... |
1b5afa034b3c99f04a970f782da7cf840c82d41a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH8/EX8.10/8_10.sce | b621224b9e5fdf0484b795ac471c4f25901c68d4 | [] | 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 | 165 | sce | 8_10.sce | //clc();
clear;
//To calculate numerical aperture
theta0=26.80; //acceptance angle in degrees
NA=sind(theta0);
printf("numerical aperture is %f",NA);
|
32486415372045860c73ef32b001f4579c576a4f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/lex_sort.man.tst | abc242dc64e01c04049a2c98630068c07afe5e9e | [
"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 | 107 | tst | lex_sort.man.tst | clear;lines(0);
M=round(2*rand(20,3));
lex_sort(M)
lex_sort(M,'unique')
[N,k]=lex_sort(M,[1 3],'unique')
|
02164ddb1f26e30cfb8847e3e943a972ace8e527 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Tabledata.sci | 621f6256fbbefa5d361a501b54fe7733f7349e81 | [] | 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 | 2,870 | sci | Tabledata.sci | // 09.11.26
// 09.12.06
// 09.12.25
// 10.01.12
// 10.01.13
// 10.03.28
// 10.03.30
// 13.05.03 Domain can be omitted
function Out=Tabledata(varargin)
// 2013.05.01 Domain is optional.
Eps=0.001;
Tmp=varargin(1); // 130502 from
if type(Tmp)==1
Domain=varargin(1);
VL=varargin(2);
HL=varargin(3);
... |
b87d47a4fbe9be093ed047b302903421e456fc4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.29/Ch2_2_29.sce | 0c08b8c416e4c612c34b5b758e0312dc8eceea93 | [] | 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 | 585 | sce | Ch2_2_29.sce | clc
disp("Example 2.29")
printf("\n")
disp("Calculate Average output voltage,avg load current,frequency of output waveform,dc power output")
printf("Given\n")
Vm=141.42
Rf=0 //Ideal diodes
RL=100
f=50
//Average output voltage
Vdc=(((2*Vm)/(%pi))/(1+(2*Rf/RL)))
//Average load current
Idc=Vdc/RL
//frequen... |
c696f3fc46074a254242df2ae0edfb5fbdd2767a | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH7/EX7.2/Example7_2.sce | 4e5ddf68c6922a9d787acd5c167b54d642677ca0 | [] | 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 | 676 | sce | Example7_2.sce | clear;
clc;
// Example: 7.2
// Page: 257
printf("Example: 7.2 - Page: 257\n\n");
// Solution
//*****Data******//
d1 = 0.2;// [m]
d2 = 0.15;// [m]
d3 = 0.1;// [m]
U1 = 3;// [m/s]
U2 = 2.5;// [m/s]
//**************//
// From Fig. 7.3 (Pg: 257)
// For pipe I:
A1 = (%pi/4)*d1^2;// [square m]
Q1 = ... |
a734cbbb88f44ce4a321706802d9aa6bbb2816b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH4/EX4.2/ex_2.sce | 8d8a0b908aec5f4a5873ef32821d2cde3c91747f | [] | 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 | 314 | sce | ex_2.sce | // Chapter 4_Carrier Transport Phenomenon
//Caption_Carrier drift
//Ex_2//page 143
T=300
sig=16 //CONDUCTIVITY IN (OHM-CM)^-1
Na=10^16 //acceptor doping concentration
e=1.6*(10^-19)
// sig=e*muN*(Nd-Na)
//By trial and error
printf('Doping concentration is 3.5*10^17 cm^-3 and mobilityis 400 cm^2/V-S') |
f80e6396446381b977e50c8b35f83f110c283809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.34/ex5_34.sce | 5363f5cc949323147b7137faee8fe5fb1859ceb0 | [] | 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 | 374 | sce | ex5_34.sce | // Exa 5.34
clc;
clear;
close;
format('v',8)
// Given data
R2 = 200;// in k ohm
R2 = R2 * 10^3;// in ohm
R1 = R2;// in ohm
C2 = 250;// in pF
C2 = C2 * 10^-12;// in F
C1 = C2;// in F
R = R2;// in ohm
C = C2;// in F
// Frequency of oscillations,
f = 1/(2*%pi*R*C);// in Hz
disp(f,"The frequency in Hz is");... |
fe550a69a7a7fab43538b564cf339883d5580caa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH7/EX7.6/Chapter7_Exampl6.sce | 029754fbf26f5358c830b4d5186b563e4b2ab3c7 | [] | 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 | 797 | sce | Chapter7_Exampl6.sce | clc
clear
//INPUT DATA
t=35;//dry bulb temperature in Degree c
td=15;//dew point temperature in Degree c
p=760;//pressure in mm of Hg
pv1=0.017051*10^5;//saturation pressure
ps1=0.05628 *10^5;//saturation pressure
cp=1.005;//specific pressure
cpv=1.88;//specific volume
hfg=2500;//Specific enthalpy in kJ/kgw.v... |
68986049e089e556ee5b48107beacd69e76ccaa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.3/12_3.sce | 306ab5344f55a61b2e17bacfc75cd6e3cfe5f1af | [] | 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 | 115 | sce | 12_3.sce | clear; clc; close;
Rl_dash = 10*10^(3);
Rl = 8;
N1_N2 = sqrt(Rl_dash/Rl);
disp(N1_N2,'Turns ratio = ');
|
a77fa034015a89d725b1c54f4ed8565acd745a0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.51/Ex1_51.sce | c38726f5e6bda85fec2073cc20b8958d683447a2 | [] | 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 | Ex1_51.sce | //Example 1_51
clc();
clear;
//To find the refraactive index of the liquid
D12air=1.45 //units in cm
D12liq=1.25 //units in cm
u=(D12air)^2/(D12liq)^2
printf("Refractive index of the liquid is %.4f",u)
|
2a5b99fa488cbbdce44d3fa96292b30f96b09f3e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%p_o_r.sci | eddd5ea0ebd1067c05f68abb49d9755ae29259f5 | [
"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 | 183 | sci | %p_o_r.sci | function [r]=%p_o_r(l1,l2)
//r=%p_o_r(l1,l2) <=> r=(l1==l2) l1 polynomial l2 rational
//!
// Copyright INRIA
r=degree(l2('den'))==0
if r then r=l2('num')./coeff(l2('den'))==l1,end
|
204325f43736af2ec92ee31d1dfa6089b8b880b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.42/EX6_42.sce | 071876e1322b541670e59a8a4cff1cb959bab586 | [] | 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 | 432 | sce | EX6_42.sce | //Example6_42 // determine the time constant of an integrator
clc;
clear;
close;
Vo = 10 ; // at t= 1 m sec
t = 1 ; // m sec
// the output of integrator
//Vo = t/RC ; when t is from 0 to 1
RC = t/Vo ;
disp(' At t = 1 msec the time constant RC is = '+string(RC)+ ' m sec');
disp (' if C = 0.01 uF then R ... |
d1185cf31f851d7a4203a39d2fb1be0eca050c9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.7.1/Ch06Exa6_7_1.sci | 0e3768859be275c01e3606eeb114170fd29476f3 | [] | 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 | 903 | sci | Ch06Exa6_7_1.sci | // Scilab code Exa6.7.1 : To calculate the maximum energy, oscillator frequency and number of revolutions of proton accelerated in a cyclotron. Page 270(2011)
V = 20e+03; // Potential difference across the dees, V
r = 0.28; // Radius of the dees, m
B = 1.1; // Magnetic field, tesla
q = 1.6e-019; // Charge of the p... |
21ab81e453b539d2a1e8c527feb484b8afd05884 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH9/EX9.6/Example9_6.sce | 4089599f4fb5ac1831556303a29cb2b3aa683f85 | [] | 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 | 206 | sce | Example9_6.sce | //chapter9,Example9_6,pg 239
a=3.615*10^-10
d111=a/sqrt(1+1+1)//for 111 plane
theta=21.7*(%pi/180)//converting into radian
lam=2*d111*sin(theta)
printf("wavelength of X-rays\n")
disp(lam) |
81b4f1fc9ff44ca57fae6ddad7ac77275b5532f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH10/EX10.11/ex10_11.sce | d4f6ae857fed2b70551969cc1a97379d0917078b | [] | 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 | 324 | sce | ex10_11.sce | //Page Number: 10.28
//Example 10.11
clc;
//Given
Rb=1D+6; //b/s
T=1D-5;
N0=2*0.5D-7; //W/Hz
//From table for Q(z)=10^-5
z=4.25;
//As z=sqrt(A*A*T/2*N0)
x=((z^2)*2*N0)/T;
A=sqrt(x);
disp(A,'Required value of A:');
//(b) Bandwidth
//B=1/(2*(T/2))
//Therefore B=1/T
B=(1/T);
disp('Hz',B,'Bandwidth:'... |
a9f7e4b0fc3a18ab156f94587bea806162874015 | 280a6ba512debfe9018f27b12c6777807f321b28 | /Método de Newton.sci | 656bc915960a8bc6c220d14dcbf4605f605ae483 | [] | no_license | remullo/Computational-Mathematical-Modeling-Projects-for-Scientific-Approaches | 326381bbbeb4933ccb3ad2e9455a894018130393 | f902df127645a158c9f4bdc37a59652e0e71a845 | refs/heads/master | 2023-04-12T08:08:32.288263 | 2021-07-26T22:22:06 | 2021-07-26T22:22:06 | 54,357,173 | 2 | 0 | null | 2021-07-26T22:22:07 | 2016-03-21T03:29:15 | Scilab | UTF-8 | Scilab | false | false | 869 | sci | Método de Newton.sci | function y = f(x);
y = x^3-5*x+1; //função a ser utilizada
endfunction
function dy = df(x);
dy= 3*x^2-5; //derivada da função
endfunction
x = [0:0.01:0.3]; //valores de x para checar a função no gráfico
//plot da função
plot(x,f(x), '-o');
xgrid;
x0 = 0.19; //chute inicial
erro = 1; //erro inicial para rod... |
65358178ba138309f1cea0de8552d236aa44a2d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH5/EX5.1/5_1.sce | 5068d7e6b1f89c37035f52703d519008c84f9a1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | 5_1.sce | clc
//initialisation of variables
F= -10 //KN
x1= 1 //m
x2= 2 //m
x3= 3 //m
//CALCULATIONS
alpha= atand(x1/x3)
beta= atand(x1/x2)
Tca= -F*cosd(beta)
Tcb= Tca*cosd(alpha)/cosd(beta)
Rav= -F*x2/(x2+x3)
Rbv= -F-Rav
Rah= Rav*x3/x1
Rbh= Rah
Tca= sqrt(Rav^2+Rah^2)
Tcb= sqrt(Rbv^2+Rbh^2)
//RESULTS
printf ('T... |
f604f7b09addd6c5b957358b5f7cfbb2ca3a467c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH6/EX6.3/exa6_3.sce | 46ccd29940379667a61e02f9e89ee73f4edfa91b | [] | 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 | 685 | sce | exa6_3.sce | // Example 6.3
// Parallel Network with an AC Voltage Source
v_m=30; // Magnitude of voltage phasor
omega=4000; // radian frequency
phase_v=20; // Phase angle in degree
Z_r= 5; // Impedance of Resistance
C= 25*10^-6; // Capacitance
Z_c= 1/(%i*omega*C);// Impedance of Capacitance
i_r=v_m/Z_r; // Ohm's Law in Pha... |
1374214419e605d0994ab2f34708f624d2c6d916 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_diff_3_b.tst | bfffbd0d6a38fc9f465483c927b056d9d0e513a3 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 12 | tst | test_diff_3_b.tst | y0
y1
a
f
g
|
54d71028418e3558273a47ae6b70690b1d7eab94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH1/EX1.14/Ex1_14.sce | bd064f64a26df61fd1641b2829e82c2333009972 | [] | 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 | 863 | sce | Ex1_14.sce |
clc
clear
//Input data
O=1000//Combined output of two units in MW
//Two coal generating units P and Q have the incremental heat rate defined by
//(IR)P=0.4818*10^-7.LP^4 - 0.9089*10^-4.LP^3 + 0.6842*10^-1.LP^2 - 0.2106*10.LP + 9860
//(IR)R=0.9592*10^-7.LQ^4 - 0.7811*10^-4.LQ^3 + 0.2625*10^-1.LQ^2 - 0.2189*10.LQ ... |
d4a020fbcf337696d4293846910df33b4058bfe3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH4/EX4.19/ex_19.sce | c9f25dad32b69ca533a9ba756b7a8082aaa5034d | [] | 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 | 86 | sce | ex_19.sce | //Example(4.11) (pg no.191)
B=[1 2 0;2 1 0;0 0 -1]
lam = spec(B)
|
3628a95091fa38861619e7ba377129132e97c7db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH11/EX11.5/115.sce | a370d96bc42a347bf54341acb74a7f2260bffbf3 | [] | 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 | 267 | sce | 115.sce | clc
//Example 11.5
//Page no. 116
printf("Example 11.5-Page no.1 116\n\n")
//given
//specific volume(V),temperature(T),pressure(P)
V=12.084//ft^3/lb
T=70//degree F
P=1//atm
R=0.73
T=T+460//rankin
Mw=(R*T)/(P*V)
printf("molecular weight of gas Mw=%f",Mw)
|
1180544da1c6d200ed39531c5c395350a2cebd62 | 843ddfc1f1137ace0ddbffdc051fb2b2a3e2ba6b | /P2/P207.sce | 703e169faaf0af06062d925ed4a6ba384a3b9e71 | [] | no_license | aguadix/SIMCON | 8169169577fc5e69257f6dc91558b7b320974161 | 5f83003937740a730c4593c241309c9da7693ddf | refs/heads/master | 2022-10-27T00:34:29.074871 | 2022-10-24T11:24:08 | 2022-10-24T11:24:08 | 53,549,792 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | P207.sce | clear; clc;
// P205.sce
s = syslin('c',%s,1);
K = 1; Tn = 8; T1 = 4; T2 = 1; // Sistema de segundo orden subamortiguado
G = K*(Tn*s+1)/((T1*s+1)*(T2*s+1))
polos = roots(G.den)
ceros = roots(G.num)
scf(1); clf(1);
plzr(G); // Gráfico de polos y ceros
xtitle('','','');
a1 = gca;
a1.x_location = 'origin';
a1.y_locat... |
1385843f98c3acdc738d51dec12113421b8d5037 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.10/ex4_10.sce | b18ce22d5594e07f25f49ce1595a479d16122795 | [] | 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 | 455 | sce | ex4_10.sce | //Page Number: 199
//Example 4.10
clc;
//Given
a=3;//cm
a1=a/100;//m
d=10;//cm
d1=d/100;//m
df=2.5D+6;
er=2.25;
p11=1.841;
c=3D+8; //m/s
//Resonant frequency
fr=(c/2)*(sqrt((p11/a1)^2+(%pi/d1)^2));//hz
disp('Ghz',fr/10^9,'Resonant frequency:');
//Q without dielectric
q0=fr/df;
disp(q0,'Q wirhout di... |
d01a74adeb87d463676bc438f68983b9caffa9f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH10/EX10.6/Ex10_6.sce | 5189dc05bdfae72e99aebdef92c3b0c509514a13 | [] | 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 | 121 | sce | Ex10_6.sce | clc;
close();
clear();
//page no 356
//prob no. 10.6
R=1; //Mb/s
Bt=R/2; //MHz
mprintf('Bt= %i kHz',Bt*10^3);
|
56172a98b0a1df0fe1555f45052d644db59c3a0a | 78af7b72430b25944d1f352816a7ae083704ee0f | /cfiber/Makefile.tst | b71cf2f5bf522f4cef7c453e6b51e5005729b9c2 | [] | no_license | tmasood/Grating-Analysis | 8386f185e08a5dbfb2d66e6501663a98e8e086ca | 22e1b251108d9351711c199f2b643254bd2692d4 | refs/heads/master | 2021-01-17T01:14:59.401329 | 2017-09-24T05:34:43 | 2017-09-24T05:34:43 | 41,981,136 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,816 | tst | Makefile.tst | CC=gcc
CFLAGS=-Wall -g -pipe -pedantic
INC = -I /usr/include
LIBS = -L /home/tmasood/
LDFLAGS = -lg2c -lm
OBJS= tst.o gamma.o r9lgmc.o gamlim.o csevl.o inits.o \
alngam.o asyjy.o jairy.o cshch.o ckscl.o cs1s2.o cacai.o \
cairy.o cuni1.o cuni2.o cbuni.o cunhj.o cuchk.o crati.o \
cbknu.o cunik.o casyi.o cmlri.o cser... |
95e5aab65643ade406b133a8ced2d53e45c730c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH6/EX6.6/6_6.sce | 498315489b1688c6bf47db2250da187e04080a66 | [] | 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 | 270 | sce | 6_6.sce | clc
//initialisation of variables
F= 20//lb
L1= 6 //in
L2= 12 //in
L3= 24 //in
mus= 0.60
//CALCULATIONS
A=[(1),(-exp(mus*%pi));(L1+L2),(L1)]
b=[0;F*(L1+L2+L3)]
c= A\b
TL= c(1,1)
Ts= c(2,1)
//RESULTS
printf ('TL= %.2f lb',TL)
printf (' \n Ts=%.2f lb',Ts)
|
d8c3225f08debca4956da1447b097d3b3dda40e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.56/ch1_ex_56.sce | 3ec8eff3ec4449f3fdee77146e08d75641095204 | [] | 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 | 513 | sce | ch1_ex_56.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 56
disp("CHAPTER 1");
disp("EXAMPLE 56");
//VARIABLE INITIALIZATION
r=1; //this is an assumption
r1=r*1; //in Ohms
r2=r*2; //in Ohms
r3=r*3; //i... |
2e5e235dd8e61708ffccbc42d09b11a86b07eae7 | a1acede6da5ff7110f6ee393f9186b6fafb74076 | /inittab.tst | 6b24663262d5fd4b38e4902ac223721248bee89d | [] | no_license | sourcejedi/sysvinit | e0dd9c52aea73c90da220f1587b527062c8af20f | 7807b553a4e11354e4a2f15a96da56ad8fd8752b | refs/heads/master | 2020-04-26T14:22:34.765765 | 2004-02-26T02:16:18 | 2019-03-03T18:16:36 | 173,611,738 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,267 | tst | inittab.tst | #
# A sample of the new, SYSV compatible inittab.
#
# (This one runs on my machine every day)
#
# Level to run in. Set to 5 or 6 to allow serial port logins.
# If you comment this out, the system will ask you for a runlevel
# when it is booted.
#
#id:4:initdefault:
#
# Sysinit: takes place only once, right after system... |
d2f8c33db07df216869d20a5226bc629d2400b78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH4/EX4.6/exm4_6.sce | 983b89596cac92e281ced7ae5a08e215cea21131 | [] | 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 | exm4_6.sce | // Example 4.6
// Reading of strings using %wc and %ws.
//scanf() can only read one character at a time and return it to name1, therefore
//mscanf() is used that can read more than one character
printf("Enter serial number and name one:");
[n,no,name1]=mscanf("%d %15c");
printf("%d %15s\n",no,na... |
1217f69b6b8f69cbbf3cc89868570f37a67e374e | 3073307fa4b6da9371518f0718c199501b8c5c71 | /trazCubicoNat.sci | 6e19f5d6c5b4e3edf009afa76e21903647e67bf3 | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,002 | sci | trazCubicoNat.sci | //Realiza la interpolación con un trazador cubico natural
// x : Puntos donde se tiene la función
// y : Valor de la función en esos puntos
//
// Cada trazador S_j se define en [x_j , x_j+1]
// S_j = a_j + b_j(x - x_j) + c_j(x - x_j)^2 + d_j(x-x_j)^3
// a = a_j de 0 a n
// b = b_j de 0 a n-1
// c = c_j de 0 a n-1
// d ... |
a0c873802266f2effc073fa9c5492f473dd8c0e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH1/EX1.6/Ex1_6.sce | 79ccf1a45b7916c7700c8a7e1eea2d7351755d4b | [] | 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 | 324 | sce | Ex1_6.sce | //Ex1_6
//given
//page no 12
clc;
clear;
disp('Solution (i) is ');
l=720; //wavelength in nm
n=1.5; //refractive index
lm=l/n;
disp('nm',lm,'Wavelenth is'); //result
disp('Solution (ii) is ');
c=3*10^8; //in m/s speed of light
u=c/n;
disp('m/s',u,'Velocity is'); //resu... |
c798c50ad8c345bb2ec222c01bb64f74bdb025de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH11/EX11.7/Ex11_7.sce | 674c1dac80c137dee85cef3112e53433402f70ef | [] | 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 | 508 | sce | Ex11_7.sce | clc
//initialization of new variables
clear
w=1000 //RPM
r1=0.05 //m
r2=0.10 //m
bet=0 //degrees
eta=0.9
r=1000 //kg/m^3
//calculations
bet=bet*%pi/180
U2=r2*w*2*%pi/60
Cth2=U2
dp=r*eta*U2*Cth2
U1=r1*w*2*%pi/60
beta1=50 //degrees
beta1=90-beta1
beta1=beta1*%pi/180
c1=U1*tan(beta1)
m=r*c1*%pi*r1^2
P=... |
4a9af7b57433d89d7561130d9b8b0cb82d913c80 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/vmmwta.sci | d5dcd0e84f09dd6c707e8570376e088171d58172 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 3,017 | sci | vmmwta.sci | function [x,y,typ]=vmmwta(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then standard_draw(arg1);
case 'getinputs' then [x,y,typ]=standard_inputs(arg1);
case 'getoutputs' then [x,y,typ]=standard_outputs(arg1);
case 'getorigin' then [x,y]=standard_origin(arg1);
case 'set' then
... |
5c9c63733223f28a832a0e53f46c74d01ef080a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH6/EX6.4/Ex6_4.sce | 1a1205a991a7eb6fc42472681b61bfc656d56428 | [] | 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 | 519 | sce | Ex6_4.sce | //Example 6.4// speed
clc;
clear;
close;
//given data :
format('v',6)
fi=0.02// flux in Wb
P=4;// number of poles
A=2;//constant
Z=151*A;//turns
V=200;// in volts
Rsh=50;//shunt resistance in ohm
Ra=0.01;// armature resistance in ohm
Pr=40000;//power required in Watts
Il=Pr/V;//load current in amperes
Ish=V/Rsh;//sh... |
5cc1e99ef074bc7bf53a784595b7ba9572e6492f | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.car-10-1tra/result3s0.tst | 029a223a6e5d2b5aa3662d1505ac91f0d2c34f76 | [] | 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,228 | tst | result3s0.tst | @relation car
@attribute Buying{vhigh,high,med,low}
@attribute Maint{vhigh,high,med,low}
@attribute Doors{2,3,4,5more}
@attribute Persons{2,4,more}
@attribute Lug_boot{small,med,big}
@attribute Safety{low,med,high}
@attribute Acceptability{unacc,acc,vgood,good}
@inputs Buying,Maint,Doors,Persons,Lug_boot,Safety
@outpu... |
a59998d8f6c270f80ec8ba21e175a8d1362c0cae | ef9a2839953f3586e66c1cf824c9de199f52d088 | /mcc_generated_files/X2CCode/gen_inputs.sci | b6e10a95e9f99c438b387dc5b7fd939302f4d833 | [] | no_license | MCHP-X2Cdemos/mc_foc_sl_fip_dsPIC33ck_mclv2.x | 72f1e06eb18738796d59938474c6d533bd07bb1e | d77e18983439d895b83b6d63fdaad4c8fdb028e7 | refs/heads/master | 2023-03-20T10:54:54.157111 | 2021-03-11T22:01:12 | 2021-03-11T22:01:12 | 288,478,027 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,472 | sci | gen_inputs.sci | simulation_time = 5;
//// timeing for omega
//tw1 = 0.7;
//tw2 = 0.3;
//tw3 = 2.5;
//tw4 = 0.3;
//tw5 = 0.1;
//tw6 = 0.05;
//
//// omega steps
//w1 = 0.2;
//w2 = 0.4;
//w3 = 0.6;
//
//// timinig for load
//tl1 = 0.3;
//tl2 = 0.7;
//tl3 = 2.0;
//tl4 = 0.3;
//tl5 = 1.0;
//tl6 = 0.3;
//
//// load steps
//l1 = 0.0;
//l2 = ... |
1e41ae3390a22b61987914cca187fff475bb7732 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH11/EX11.5/5.sce | 03c454d26c9dbe36bdb8659bcffe434d0c06dd10 | [] | 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 | 480 | sce | 5.sce | clc
M_He=1.8;
y_He=5/3;
y_air=1.4;
p2=30; // kPa
// (A/At)=(1+(y-1)/2*M^2)^((y+1)/(y-1))/M^2*(2/(y+1))^((y+1)/(y-1))
// = (1+1/3*1.8^2)^(4)/1.8^(2)*(3/4)^(4) = 1.828 for helium
// = (1+0.2*M^2)^6/M^2*1/1.2^6 for air
// Hence by trial
M1=1.715;
disp("Mach number before the shock =")
disp(M... |
5821812bb0fa06aba2166fa3e56edd96992e1fd2 | b4a9402556825c5c39b955ef15a6e37b8f331947 | /ejercicios 3 acontrol avanzado/PREGUNTA 1-10.sce | 997f0fa42f1c0df4d0d857e641a163b1081e0d66 | [] | no_license | Rodson123/Carro-Pendulo-Invertido | 6b6031292144ce4394c68f260656c4f7d7a56dd1 | 2039cc76e17940ddd20d540bb237f0cb873b1549 | refs/heads/master | 2022-12-04T20:00:22.304161 | 2020-08-21T16:12:30 | 2020-08-21T16:12:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,428 | sce | PREGUNTA 1-10.sce | //Codigo Basado en el ejemplo del Prof. Rodriguez
//Pertenece a Rodson Jeffrey Bejarano Torres
// Docente: Prof. Dr. Juan C. Cutipa Luque
//Lista de Ejercicios 3
//Adaptado para caaro pendulo invertido
clf(); // close current figure
clear // clear all pasta variables
xdel(winsid()) // close a... |
64bb2cac3805e286ac65078190f5ec9fe2e357bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.43/Ch03Ex43.sce | e91147f0c06c1b1d6b2b54683b56259a9bb24330 | [] | 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 | 689 | sce | Ch03Ex43.sce | // Scilab Code EX3.43:: Page-3.57 (2009)
clc;clear;
lambda1 = 5890e-008; // Wavelength of sodium D1 line, cm
lambda2 = 5896e-008; // Wavelength of sodium D2 line, cm
d_lambda = lambda2-lambda1; // Wavelength difference, cm
n = 3; // Order of diffraction
P = 2500; // Number of lines per unit length of grating
/... |
31f66c631ec0c1138e5f0066f2bd2c7a9da4958a | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_6/code1.sce | ddc63f17451b21a6c2d621902d72ae3c0a0f1600 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | code1.sce | clc
N = 1
j = 1
d = zeros(1, 23)
while(j<23)
d(j) = floor(N*2)
N = N*2 - floor(N*2)
j = j + 1
end
disp(d)
|
07f78267eb02a0980e150ea01d16018388bf5e89 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/B04.prev.tst | 6980c94d525f0518ea34da66d8424d240726a67c | [
"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 | 812 | tst | B04.prev.tst | [0/1.0] x^4 - y^4 - z^2
x0 y0 z0: 4*x_0^4-4*y_0^4-z_0^2; success 0
{x=0, y=0, z=0} - trivial SOLUTION
x1 y0 z0: 1+8*x_0+24*x_0^2+32*x_0^3+16*x_0^4-16*y_0^4-4*z_0^2; failure constant=1, vgcd=4 ?
x0 y1 z0: -1+16*x_0^4-8*y_0-24*y_0^2-32*y_0^3-16*y_0^4-4*z_0^2; failure constant=-1, vgcd=4 ?
x1 y1 z0: 2*x_0+6*x_0^2+8*x_0^3+... |
cfc8edf8b29577abaa0a89914a4dbd2a127d1f37 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/ChanFlow_m8_Flowrate.tst | 5d860785b9bf82761874e1031d043d9fafa11510 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 875 | tst | ChanFlow_m8_Flowrate.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Channel Flow P=8, flowrate driven</description>
<executable>IncNavierStokesSolver</executable>
<parameters>ChanFlow_m8_Flowrate.xml</parameters>
<files>
<file description="Session File">ChanFlow_m8_Flowrate.xml</file>
</files>
<... |
8fe5c75e3f5fd4136b97154e69ab41f5f9ad9f29 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/firpmord/firpmord4.sce | c4989bd426b9fb25cfc4a8093d29d8d349639408 | [] | 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 | 457 | sce | firpmord4.sce | //input arg f is of type char
f = ['a' 'b' 'c'];
a = [1 0];
dev = [0.01 0.1];
fs = 8000;
[n,fo,ao,w] = firpmord(f,a,dev);
disp(n);
disp(fo);
disp(ao);
disp(w);
//output
//--error 53
//firpmord: Wron... |
89387fbca84748b3ac8355f66c3a334def081dbd | fe33c0b16926678447c084c04df084926a9ca29a | /astroid1.sce | 8e1a8468be0a05df693e3eb2537bb0e10c4b520d | [] | no_license | askmrsinh/SEM2_AM | bbcf34ce205abe763cb5c85df5f01544cdcdfca5 | da613da5c22f20ab1a814f28315e34b0c2c59a13 | refs/heads/master | 2021-09-28T03:09:19.415553 | 2016-08-18T15:14:23 | 2016-08-18T15:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | astroid1.sce | // x^(2/3) +y^(2/3)=a^(2/3) (ASTROID)
a=1;
x=[-0.5:0.001:0.5]';
y1=((a^(2/3))-(x^(2/3)))^(3/2)
plot(x,y1);
y2=-((a^(2/3))-(x^(2/3)))^(3/2)
plot(x,y2);
legend('x^(2/3) +y^(2/3)=a^(2/3)')
|
6b4c433e1c30978c7ffd8a72b3f7de8ac7e5339c | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH1/EX1.8/ex1_8.sce | cf5f5778f7c3119afc1c8613e056a23d65e93d00 | [] | 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 | 342 | sce | ex1_8.sce | R1=5; //Assigning values to the parameters
R2=7;
R3=8;
Req=R1+R2+R3; // Calculating equivalent resistance
V=100;
I=V/Req;
V1=I*R1;
V2=I*R2;
V3=I*R3;
disp("Volts",V1,"Voltage across 5 Ohm resistor");
disp("Volts",V2,"Voltage across 7 Ohm resistor");
disp("Volts",V3,"Voltage ac... |
76263842a12edd4788f9b2f29f9d26844e6f50c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH16/EX16.12/ex16_12.sce | 54fcd0b7282b07ff4c237300dda09c1ea1bd005f | [] | 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 | 516 | sce | ex16_12.sce | clc
//Example 16.12
disp('Given')
disp('Bandwidth = 1M Hz and high frequency cutoff = 1.1M Hz')
B=10^6;fH=1.1*10^6
//B=fH-fL
fL=fH-B
printf("Low frequency cutoff fL= %d kHz \n",fL*10^-3);
wL=2*%pi*fL
printf("wL= %3.2f krad/s \n",wL*10^-3);
wH=2*%pi*fH
printf("wH= %3.3f Mrad/s \n",wH*10^-6);
//Now we need to... |
87cf174603afe62e07a48fce4ef0ff673bfb23cc | d5bd4b5a4760efd0a3d16d7c39c7b495c5874d28 | /AnalogDigtitalCommunication/fmdemod.sci | 0021e82a7cf3a75018d695bb914cd5e45e199b0d | [] | no_license | APU-PhasedArrayBeamForming/Array-Based-Beam-Forming | 27a61bc3cf93e544364121e508dc4d140b7e0cb1 | 4cde46b7aa3f4e995297ac72fc5038fa0cdf083d | refs/heads/master | 2021-01-25T08:01:17.468481 | 2017-06-15T18:47:40 | 2017-06-15T18:47:40 | 93,699,808 | 1 | 1 | null | 2017-06-15T18:47:40 | 2017-06-08T02:36:01 | Scilab | UTF-8 | Scilab | false | false | 944 | sci | fmdemod.sci | function[y] = fmdemod(x,Vc,Em,Ec,fc,fs)
//x - FM modulated signal
//Vc- carrier amplitude signal
//Em - Message signal amplitude in volts
//Ec - Carrier signal amplitude in volts
//fc - Carrier signal frequency in Hz
//fs - Sampling frequency in samples/sec
Xdiff = diff(x); //Converting the ... |
541a06a100dade0cf72b1a1585a647d690d96885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH15/EX15.3/Ch15Ex3.sci | c07746ea69e9cd0666a9397af940f7657ed83d83 | [] | 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 | 474 | sci | Ch15Ex3.sci | // Scilab Code Ex15.3: Page-323 (2010)
k = 1.38e-023; // Boltzmann constant, J/K
h = 6.626e-034; // Planck's constant, Js
theta_E = 1990; // Einstein temperature of Cu, K
f_E = k*theta_E/h; // Einstein frequency for Cu, K
printf("\nThe Einstein frequency for Cu = %4.2e Hz", f_E);
printf("\nThe frequen... |
2f355d65e265ea07a6b9411600f7d7bb42536ef2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.4/2_4.sce | 9217f5ab238dc64b013b7a32871029338f486a28 | [] | 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 | 2_4.sce | function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
v=150
Req=1000*parallel(parallel(10,5),4)
i1=v/(2000+0.2*1000+Req)
v1=i1*0.2*1000
VReq=Req*i1
i2=VReq/4000
disp(v1)
disp(i2)
|
389baf3465e078bf21d79bed2ee02997f0b77106 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.28/2_28.sce | 704b9f7f3c801815c51618829e8f4a30b9582806 | [] | 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 | 431 | sce | 2_28.sce | //2,28
clc;
Vm=2^0.5*400/3^0.5;
Vdc=3*3^0.5*Vm/%pi*cos(%pi/3);
Idc=150;
Pdc=Vdc*Idc;
printf("Output Power = %.1f W", Pdc)
Iavg_thy=Idc/3;
printf("\nAverage thyristor current = %.0f A", Iavg_thy)
Irms_thy=Idc*(2/6)^0.5;
printf("\nRMS value of thyristor current = %.1f A", Irms_thy)
Ip_thy=Idc;
printf("\nPeak ... |
56c3949f6148650df31e9c6dcac0aa9b7e8e15dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH18/EX18.9/18_9.sce | 34d9ab9799e92984fa3642bf24e112ac48edae45 | [] | 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 | 529 | sce | 18_9.sce | ////
//Variable Declaration
Ea = 42.e3 //Activation energy for reaction, J/mol
A = 1.e12 //Pre-exponential factor for reaction, 1/s
T = 298.0 //Temeprature, K
Kc = 1.0e4 //Equilibrium constant for reaction
R = 8.314 //Ideal gas constant, J/(mol.K)
//Calculations
kB = A*exp(-Ea/(R*T))... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.