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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c884488042e49d1af09500aec31307a83f12f27b | c2362ea8126f9c7e56db025d6b174fd2827e8f02 | /projects/01/Mux4Way16.tst | 8465d8cfef43e6b275b6f72792c35c8023c5c7a1 | [] | no_license | itotallyrock/nand2tetris | d22a7280064ba6f72364d4e03a2dd98bb788ea45 | 034c11a5bb05d518a00834dddf3c48e2d2866ba6 | refs/heads/master | 2020-03-28T04:54:28.807199 | 2018-11-30T05:35:22 | 2018-11-30T05:35:22 | 147,743,945 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | tst | Mux4Way16.tst |
load Mux4Way16.hdl,
output-file Mux4Way16.out,
compare-to Mux4Way16.cmp,
output-list a%B3.16.3 b%B3.16.3 c%B3.16.3 d%B3.16.3 sel%B3.2.3 out%B3.16.3;
// Used these four test cases because it there were over 256 possibilities
set a %B0000000000000000,
set b %B1111111111111111,
set c %B1010101010101010,
set d %B01010... |
aafb4a7770febfbba0c3ccaf5891dfd8ce69ccc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH2/EX2.2/Ex2_2.sce | e6331fde7eb71c6408854e68c6e52c86347a21cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | Ex2_2.sce | // Calculation of fraction of atoms with energy equal to or greater than 1eV at temperatures
clc
E = 1 // energy in electron volt
e = 1.6e-19 // charge on electron
k = 1.38e-23 // constant
t1 = 300 // temperature in K
t2 = 1500 // temperature in K
printf("\n Example 2.2")
printf("\n\n Part A:")
n_N = exp(-(e/(... |
c158fb0d936bad2febc247334b52cc3c2fe9f455 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH9/EX9.6/6.sce | 6a5c26b591b8ee08d0a64cc5778d93d394c8ae42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 6.sce | clc
NPSH=5; // m
p_v=18*10^3; // N/m^2
p_l=0.94*101.3*10^3; // N/m^2
rho=970; // kg/m^3
g=9.81; // m/s^2
z_s=3; // m
H_L=0.5; // m
d=3; // m
h=2.5; // m
Q=5; // m^3/h
z1=NPSH+(p_v-p_l)/rho/g + z_s + H_L;
V=%pi/4*d^2*(h-z1);
t=V/Q;
disp("Quantity of liquid delivered =")
disp(V)
disp("m^3")
disp("... |
2825ae7bc52d83ae9b737ea0c93cebf8e47f3a31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.6/EX8_6.sce | 5a8e688be9645c041e442ebe2c755debbb1c9717 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX8_6.sce | //EXAMPLE 8-7 PG NO-519
Ro=100;
Fc2=5000;
Fc1=500;
L1=Ro/[2*%pi*(Fc2-Fc1)];
disp('ii) INDUCTANCE (L1/2) is = '+string ([L1/2]) +' H ')
C1=(Fc2-Fc1)/(2*%pi*Ro*Fc1*Fc2)
disp('ii) CAPACITOR (2*C1) is = '+string ([2*C1]) +' F ')
L2=[Ro*(Fc2-Fc1)]/(4*%pi*Fc1*Fc2);
disp('ii) INDUCTA... |
bab5a1a5a6042262dd748afa839f95aed5e3a20e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introduction_To_Mechanical_Engineering_S._Chandra_And_O._Singh__2267.zip/Introduction_To_Mechanical_Engineering_S._Chandra_And_O._Singh__2267/CH2/EX2.1/Ex2_1.sce | 846a755216ef1fefa2ca5ce5a26511462242d867 | [] | 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 | 287 | sce | Ex2_1.sce | errcatch(-1,"stop");mode(2);//Part A Chapter 2 Example 1
;
;
format('v',6);
cp=2.286;//kJ/kgK
cv=1.768;//kJ/kgK
Rbar=8.3143;//universal gas constant
R=cp-cv;//kJ/kgK
M=Rbar/R;//kg/kg.mol.(Molecular weight)
disp("Molecular weight of gas = "+string(M)+" kg/kg.mol.");
exit();
|
9e511e9cceb61f54d9dc308da0319bdba1a4335d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH10/EX10.1/Ex10_1.sce | 24ef24b9101de1d7dc3a37f77469d360d994b7ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ex10_1.sce | //Example 10.1, page 370
clc
E3p=-3//in ev
E3s=-5.1//in ev
E=E3p-E3s
E_Joule=E*1.6*10^-19//in Joule
h=6.6*10^-34//in J-s
c=3*10^8//in m/s
disp('Part a')
lambda=(h*c)/E_Joule
printf("\n The wavelength is %e m",lambda)
//Part b
disp('Part b')
d_lambda=(h*c*E_Joule)/(E_Joule)^2
printf("\n The magnitude of seperation is ... |
43799d1f31a696c50d27be656798b4d5814e36d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH9/EX9.5/ex9_5.sce | 1d2e2212489a39dff4566cba54fbbfa0cfa386ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | ex9_5.sce | clc;
warning("off");
printf("\n\n example9.5 - pg 393");
// given
n=[0.5 0.6 0.7 0.8 0.9 1.0];
D2=3.806;
D1=0.25;
R=D2/D1;
N1=690;
N2=N1*((D1/D2)^n);
P1=9.33*10^-3; //[hp]
P2=P1*R^(5-3*n);
printf("\n\n n N,rpm P,hp");
for i=1:6
printf("\n %f %f ... |
712e8683fd22e00b6359d486e88024d8edeba71f | dabaa151dd30205dd92a6844c0cd61cf046fb8fe | /Add16CLA/Add16CLA.tst | 3f72bdab3d3e8258745680bff6176629451726d8 | [] | no_license | hakesh729/Project_hack | 627ef8260f81dbc971bb5371839523daac4a2646 | a1ea76fa612bbe4515863495922167bb4c65c418 | refs/heads/main | 2023-01-13T13:37:09.828021 | 2020-11-27T06:05:39 | 2020-11-27T06:05:39 | 316,411,714 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,187 | tst | Add16CLA.tst | /*
* Test file for Add16CLA ( 4-bit CLA based 16-bit adder using higher-level propagate and generate terms )
*
* All the test cases mentined in the mail are covered
*/
load Add16CLA.hdl,
output-file Add16CLA.out,
output-list x%B1.16.1 y%B1.16.1 S%B1.1.1 cb%B1.1.1 z%B1.16.1 OF%B1.1.1;
// A pair of unsigned i... |
f5f3610fd7fb6c30695d75967031c7028958d15e | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH16/EX16.2/Ch16Ex2.sci | cd4cd4f305daecb255ce7d7fc599624e4a676523 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch16Ex2.sci | // Scilab Code Ex16.2 Diamagnetic susceptibility of copper: Page-512 (2010)
e = 1.6e-019; // Charge on an electron, C
m = 9.1e-031; // Mass of an electron, kg
mu_0 = 4*%pi*1e-07; // Magnetic permeability of free space, henry/metre
Z = 1; // Number of electrons contributing to the magnetic moment
r = 1e... |
8c18844093d822aa41636f59c8f100a4d6d2d7a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH2/EX2.5/Ex2_5.sce | 7797115bcc6ff00d9866d16d923a0235af98bc0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Ex2_5.sce |
clc
//Variable declaration
a=3.615
r=1.278
h=1
k=1
l=1
//Calculations
a=(4*r)/sqrt(2)
d=a/(sqrt(h**2+k**2+l**2))
//Result
printf('a =%0.3fAngstroms\n',(a))
printf('d =%0.3fAngstroms\n',(d))
|
fc491895aff5d14c36a7518b065a1bedc31ac921 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH2/EX2.11/2_11.sce | 8bcdadac66e8f1bbe3ff297deb36dd2055f5c6d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | 2_11.sce | clear; clc; close;
E = 8; //volts
Vled = 2; //volts
I = 20*10^(-3); //amperes
R = (E-Vled)/I;
disp(R,'resistance value is : ')
|
9b02fc66e4669137afcf44e4f694aee6ac7bcd78 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Presentations/ISU 2011.SCI | 47fe960c7ba00c7adcdfb4d102c24773cf457009 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 8,521 | sci | ISU 2011.SCI | codeblock readtextfile(ScriptDir+"\presentations\_presentation.sci");
showall=true;
SetAnimation("None");
Slide(" ");
skipy(1);
indent(0.1);
text("\textbf{Z-Flux:}","size":3);
text("\textbf{an introduction}","size":3);
Click;
########################################################################################... |
bcb5b71cdbdd8cfbbb74735d31b12a569f61225c | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.5.8/Ch04Exa4_5_8.sci | 933e199f4011198390a12b7b5416a99259c95307 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | Ch04Exa4_5_8.sci | // Scilab code Exa4.5.8: To determine the threshold energy for given reaction : P.no. 185 (2011)
// Na(11,23)+ n > F(9,20)+ He(2,4) is the reaction
M_Na_23 = 22.99097; // Mass of Na-23, amu
M_n_1 =1.00866 ; // Mass of n-1, amu
Q = -5.4; // Q-value, MeV
E_th = -Q*(M_Na_23+M_n_1)/M_Na_23; // Threshold energy, M... |
26e05f28b05e40109faca29b28ea36e90c1209ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.28/Exa_1_28.sce | e58d60cf826372bb072aac87c39426a60cdfb853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Exa_1_28.sce | //Exa 1.28
clc;
clear;
close;
format('v',7);
//Given Data :
V1=2;//m^3
V2=4;//m^3
W=integrate('10^5*(V^2+6*V)','V',V1,V2);//Nm or J
W=W/1000;//KJ
disp(W,"Work done in KJ : ");
|
d1ab856c63f8d8984aced4815f957d199887dad3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_5.tst | 78ab54658818a938342fc968582c32278cd418d9 | [] | 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 | 4,094 | tst | bow.15_5.tst | 15 3:0.06451612903225806 16:0.5 44:0.25 56:2.0 71:1.0 73:0.2 142:1.0 175:1.0 264:2.0 319:1.0 442:1.0
15 1:0.041666666666666664 68:0.5 85:1.0 92:1.0 162:1.0 175:1.0 246:1.0 308:0.16666666666666666 351:0.5 972:1.0 1216:1.0 1371:1.0
15 1:0.041666666666666664 11:1.0 14:0.25 16:2.0 21:1.0 32:0.1111111111111111 57:0.16666666... |
fc1338289fc5532f3144f3707e3a1b59328084e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH13/EX13.1/Ex13_1.sce | 2979fd6dc2ddcd52473a9322cfde7ee43b501563 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,193 | sce | Ex13_1.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 13 Example 1")
To=(27+273);//stagnation temperature in K
P=0.4*10^5;//static pressure in pa
m=3000/3600;//air flowing rate in kg/s
d=80*10^-3;//diameter of duct... |
35a5d81ce9917f39d8de3f71c425b35b9aaae3d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH21/EX21.17/EX21_17.sce | e9768bb958992771a32b4197ccc634026c0817b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,746 | sce | EX21_17.sce | clc;funcprot(0);//EXAMPLE 21.17
// Initialisation of Variables
t1=293;............//Temperature of inlet air into low pressure compressor in K
p1=1.05;.........//Pressure of inlet air into low pressure compressor in bar
t3=300;...........//Temperature of air after passing it through intercooler in K
t6=1023;......... |
b15de51c2a5ba638aac254938726a4b342b1a3b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH7/EX7.6/ex7_6.sce | 2ebedfe36b32658a34d6d9275df8d22f1f25c46b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | ex7_6.sce | // Exa 7.6
clc;
clear;
close;
// Given data
h_f1 = 2584;// in kJ/kg
h_fg1 = 2392;// in kJ/kg
H2 = 192;// in kJ/kg
x = 0.2;
H1 = round(h_f1- (x*h_fg1));// in kJ/kg
x1 = 0.8;
Vs = 14.67;// in m^3
V1 = x1*Vs;// in m^3/kg
A = 0.45;// in m^2
C1 = V1/A;// in m/s
Q = 5;// kJ/s
C2 = 0;
W = 0;
Q_desh = W-H1 - ... |
5de2b8868f00e84e7c145768974661361cf61a05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH10/EX10.4/Ex10_4.sce | 9a1ca8516f96010dc1b627e27a61ceb9281453ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_4.sce |
clear//
//Variable Declaration
Le=7 //Effective Length in m
N=2 //Factor of Safety
h_max=400 //Maximum depth in mm
E=200 //Youngs Modulus in GPa
sigma_yp=250 //Maximum stress in yielding in MPa
P1=400 //Load 1 in kN
P2=900 //Load 2 in kN
x1=75 //Distance in mm
x2=125 //Distance in mm
//Calculations
e=(... |
f285e0aa9df906b6276ae315895366e959264a6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.20/ex1_20.sce | 574f931592fe27addc6d0c6e34632bb1bb8598eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex1_20.sce | // Exa 1.20
clc;
clear;
close;
// Given data
V_S = 5;// in V
V_D = 0.7;// in V
R1 = 1.2 * 10^3;// in ohm
R2 = 2.2 * 10^3;// in ohm
I_T = (V_S-V_D)/(R1+R2);
I_T = I_T * 10^3;// in mA
disp(I_T,"The total circuit current in mA is");
|
e6235b3ba785dfe0479acbb6aa445611b57ac2b0 | b784b8fa78daac389ae5c7edeadc00786135b8f1 | /archive/engine-n2o-20180724.sci | bbc24dbef0cc3bf8e103282185cd1036c2bacf18 | [] | no_license | TheMagicNacho/artemis-engine-design | 70b0bc798a8509fdad304916063d469acdad8347 | 10b427e732ae7f6571725034a4d746c68c3cbb4b | refs/heads/master | 2020-03-20T06:58:58.972222 | 2019-01-20T12:22:16 | 2019-01-20T12:22:16 | 137,267,385 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,644 | sci | engine-n2o-20180724.sci | //---NOTES---
// Dt = Density of Gas at Throat
// Acof = Area of Exhaust / Area of Throat
// Reff. Development of Hydrogen Peroxide Monopropellant Rocket by Cervone et al
// Reff. https://www.grc.nasa.gov/www/K-12/airplane/isentrop.html
// assumes an hydrogen peroxide & heximine combustion
//---VARIABLES---
h = 4686... |
a82c5d0e97b8f3158242766310483864ad7a9b76 | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/fir1.sci | e3ff152d510c843780470408b8fdaad2dc56dcf8 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sci | fir1.sci | function B = fir1(N, W, varargin)
funcprot(0);
rhs = argn(2)
if(rhs<2 | rhs>5)
error("Wrong number of input arguments.");
end
select(rhs)
case 2 then
B = callOctave("fir1", N, W);
case 3 then
B = callOctave("fir1", N, W, varargin(1));
case 4 then
B = callOctave("fir1", N, W, varargin(1), varargin(2... |
6750b7ead03556b7e9521f4983d27221213544e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.29/Ex7_29.sce | d863e904fb40bb95149585a31255b0026f00ffc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,782 | sce | Ex7_29.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 29
clc;
disp("CHAPTER 7");
disp("EXAMPLE 29");
//20kVA 4000/1000 V single phase transformer
//VARIABLE INITIALIZATION
va=200000; //apparent power
v1=4000; //primary voltage in Volts
v2=1000; ... |
7ada076062774fc598aa14516b86ca937a3e0a8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH13/EX13.7/Example13_7.sce | 857db46b724c74085ab4862edd8ab603e3a2c6ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | Example13_7.sce | //chapter13,Example13_7,pg 394
m=10*10^3
N=6.023*10^23
Eperfi=200*10^6//energy per fission
E=Eperfi*1.6*10^-19//energy in joules
A=235
T=24*60*60
P=((m*N)/A)*(E/T)
printf("power output\n")
printf("P=%.2f watt",P) |
e0f783e25f67ceca443474df980bf6391506126e | 207c864c3f938783d617dca78232e70445ae21e6 | /Ch12_II.sce | 838560898498ff34c6baa613056f498a05a90ab6 | [] | no_license | raresica/CalculNumeric | a211a57fd4851e546c0b5eb866b3b228534a982c | 5564822ff9f5dab745208898ef9162322b28bff2 | refs/heads/master | 2021-02-11T05:03:13.720791 | 2020-04-15T10:42:58 | 2020-04-15T10:42:58 | 244,457,154 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | Ch12_II.sce | t=0:9
exec('D:\Scoala Sem 2\CN-VladMonescu\GaussNewton.sci',-1)
y=2*exp(-t.*t)
|
66f5d9fbc109970e82b2175ed29e9621e90c6dda | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/while.man.tst | 773e9ab6244c7df375651dc11c81a4f4947f51f6 | [
"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 | 83 | tst | while.man.tst | clear;lines(0);
e=1; a=1; k=1;
while norm(a-(a+e),1) > %eps, e=e/2; k=k+1; end
e,k
|
2a70a5e8be5eeae7f7d327a85f186f524ba13695 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.1_16.tst | ae7125cb26f4f70b527f96759c737ce8212ca2cd | [] | 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 | 699,650 | tst | 5.1_16.tst | 1 54:1 127:1 337:1 402:1 421:2 594:2 651:1 804:1 853:1 883:1 921:2 1006:1 1262:1 1394:1 1528:1 1559:1 1583:1 1724:1 2212:1 2696:1 2855:1 2955:1 3401:1 3680:1 3920:1 3989:1 4077:1 4111:1 4195:1 4209:1 4336:1 4417:1 4562:1 4892:1 4983:1 5041:1 5082:1 5190:1 5221:1 5579:1 5979:1 6235:1 6366:1 6734:1 7043:1 7202:1 7892:1 8... |
4420be6ed0ef71997e478f1fa18c204b6789d258 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/scilab_consts_runme.sci | d33b45743a42743e693e3d0f920d6ed5eb7eb653 | [
"Apache-2.0",
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 1,385 | sci | scilab_consts_runme.sci | exec("swigtest.start", -1);
checkequal(ICONST0_get(), 42, "ICONST0_get()");
checkequal(FCONST0_get(), 2.1828, "FCONST0_get()");
checkequal(CCONST0_get(), "x", "CCONST0_get()");
//checkequal(CCONST0_2_get(), "\n", "CCONST0_2_get()");
checkequal(SCONST0_get(), "Hello World", "SCONST0_get()");
checkequal(SCONST0_2_get(),... |
46261b5551587c5fabfc7169c248c52b8140672d | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /Models/ExclusionProcess/exclusionprocess.sce | f88230784dc5025c5a099f061933e7433edd4894 | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 1,090 | sce | exclusionprocess.sce |
L = 10;
N = 5;
p = 0.5;
Niter = 1000;
histogram = zeros(1,L);
currentJ = zeros(1,L);
global chain;
chain = zeros(1,L);
chain_new = zeros(1,L);
function genstate()
global chain;
chain = zeros(1,L);
// Generation of new particles
pos = int(rand()*L)+1;
chain(pos) = 1;
for j = 2:N
whi... |
08e8ad57e346406af5241053911776240e643cf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH7/EX7.12/Example_7_12.sce | d6270351ee015e66ca47875034998514d5b7a710 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | Example_7_12.sce | //Example 7.12
clear;
clc;
//Given
R=8.314;//gas constant in J K^-1 mol^-1
Tb=353.1;//Boiling temperature in K
delHvap=30.67;//heat of vapourization of benzene in kJ mol^-1
M1=78;//molecular mass of benzene in gm
//To determine the molal boiling point elevation constant of benzene
Kb=(R*(Tb^2)*M1)/(10^6*de... |
5cc8ac51e55fbc0e1c7949913792e5668641723b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH5/EX5.34/ex5_34.sce | 3ef6bd9b1a128fc89093b1ab27aa0a6bb8a18225 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | ex5_34.sce | //Page Number: 5.41
//Example 5.34
clc;
//Given,
fs=8000; //Hz
m=24;
n=8;
//(a) Duration of each bit
t1=1/fs;
t2=(m*n)+1; // Extra bit for synchronization
Tb=t1/t2;
disp('seconds',Tb,'Duration of each bit');
//(b) Transmission Rate
Rb=1/Tb;
disp('b/s',Rb,'Transmission Rate');
//(c)Minimum transmissio... |
0a760321688d4a568fa717db218b4296df00c0d9 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/tp.sce | bd461b768fa84f2e05c5aa84ef5f8f07203ad6be | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15 | sce | tp.sce | plot2d3(5,1:-1) |
68696e3320e3b0e25c4f2a3fac7ac3ada7111f26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH9/EX9.15/Ex9_15.sce | d32daae25c0a253281a12fbee0a8c96a722f148b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ex9_15.sce | //Chapter 9
//page no 314
//given
clc;
clear all;
Tp=2; //in microsec
fB=0.529/Tp/10^-6; //channel bit rate
fBw=fB; //channel bandwidth = channel bitrate when zero ISI and RZ input data is modulated
printf(" \n Maximum operating bandwidth = %0.2f MHz",fBw*10^-6);
L=50; //in km... |
d82b19369687f0c9d7ae5ddd14e30e004ddc5389 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/polyval.sci | bcd5dfbc684072858cdf800a13f4dac04f656b59 | [] | 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 | 1,743 | sci | polyval.sci | function [y, delta] = polyval(p,x,S,mu)
// Check input is a vector
if ~(isvector(p) | isempty(p))
error(message('polyval:InvalidP'));
end
nc = length(p);
if isscalar(x) & (argn(2) < 3) & nc>0 & isfinite(x) & all(isfinite(p(:)))
// Make it scream for scalar x. Polynomial evaluation can be
// implemented a... |
ddfb89dad716f0e8731a31a90e093bc3d291c968 | e46eeada1bd3e461d9e4c2913bb12e406391f603 | /Labdig/P22019-1.sce | 7ed52f67fd4bb9b0f633f39e89b947c2a4c0991b | [] | no_license | JoseColombini/Poli | fcc73dcf863256055ff0eb5202617ebb3434fcf3 | c913de4597496164646b262fe2a66f1fdebc05b7 | refs/heads/master | 2023-03-11T21:49:04.619768 | 2023-03-04T20:41:46 | 2023-03-04T20:41:46 | 203,501,300 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | P22019-1.sce | clear
clc
vb = 380
sb = 4e4
zb = (vb*vb/sb)'
//potencia constante
s1 = 8e3 - 12e3*%i
s1b = s1/sb
z1 = (380*380/s1)'
z1b = z1/zb
s2 = 32e3 + %i*32e3/0.936*sqrt(1-0.936^2)
s2b = s2/sb
zl = 0.152346 + %i*0.309391
a = 1520/380
zlb = zl/zb
vcb = 1
for(i = 1:50),
vcb = 1 - (vcb/z1b + (s2b/vcb)' )*zlb
end
s1con... |
71110e6b2f7dadf4d1d5fc321f04127ecbc7f7a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH15/EX15.19/15_19.sce | 4311da66ca1251db1fd5f7fa7d5123e38cdf9022 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | 15_19.sce | //Problem 15.19: The current at resonance in a series L–C–R circuit is 100 μA. If the applied voltage is 2 mV at a frequency of 200 kHz, and the circuit inductance is 50 μH, find (a) the circuit resistance, and (b) the circuit capacitance.
//initializing the variables:
L = 0.05E-3; // in Henry
fr = 200000; // in H... |
dd04e0c9891d067a73e3a92e73deb9e8a7d4d893 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH1/EX1.A.7/1_A_7.sce | d087697e627993d04441e1e531e2e510831b2969 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | 1_A_7.sce | t=10/1000
v3=8*exp(-50*t)
p3=v3*(-3.6)
P=[230/1000*4.8; (-3.2)*1.45;p3]
disp("Power absorbed are respectively")
disp(P) |
2d929cf8e95f14c1d45313a6e9451433833feb8a | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0033.tst | db9b10a876fab90560adfb363713d575f3e7ca27 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 310 | tst | 0033.tst | SPlittEr B {}
FIlTER X { }
FiLtER m {NOT g or not T }
MYzmXEws bRanCh DCBo -> Q
groUPEr R {AgGREgATe Avg(CU.N) As PH }
UNGrOupER aP { }
GRouPFILtER mY {}
MERgEr a { MODule xf { BraNChes DJL RYRj ( 254.43.26.223 ) 184.253.188.96 << 100.128.232.134 NoT WZ ( ) AC:dd:4D:dB:6f:DB
= Y } ExPoRT ICGC } |
a1016855042c02209d8c845b35fb8a5e28aa74b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH2/EX2.5/5.sce | 012cbf572c85d2458a70868aad874b0350857954 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | 5.sce | clc
clear
//input
vc=25 //velocity of car
va=10 //velocity of wind
va1=15 //velocity of wind westward
//calculation
v1=vc+va//resultant velocity for a tail of wind
v2=vc-va//when wind blows westward at 10 m/s^resultant velocity
v3=vc-va1//resultant velocity when wind blows westward at 15m/s^2
//output
print... |
d7077c99d8205e2f5efda57806a7a2318d82e595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH1/EX1.5/ex1_5.sce | 7b6ab61d21fe490c12c777fe33c2013144ba1ef3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | ex1_5.sce | // Example 1.5, page no-54
clear
clc
millivolt_cor=2.585
pot_reading=30.511
corrected_millivolt=pot_reading+millivolt_cor
printf("Temperature correspond to %.3f mV from the table = 600°C",corrected_millivolt)
|
c24e5aa1404e0e0285361fb2616fdda3fb2551f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH5/EX5.13/5_13.sce | c56f6a7d227f4dc3d1a0808bbb2affdbe53272f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | 5_13.sce | clear//
//Variables
R1 = 5.0 //resistance (in ohm)
R2 = 2.0 //resistance (in ohm)
R3 = 3.0 //resistance (in ohm)
//Calculation
Req = R2 * R3 / (R2 + R3) //Equivalent resistance (in ohm)
RL = R1 + Req
//Result
printf("\n Load resistanc... |
46518de56a597257a40a251ad12a756668751ce4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.13/10_13.sce | 106e568e20a3cf40dcdf3331277fb1960bed08a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | 10_13.sce | V=220
Ra=1
Rse=0.4
Ia1=20
Ia2=sqrt(Ia1*Ia1*0.7*0.7*0.7)
Ea1=V-Ia1*(Ra+Rse)
Ea2=Ia2*0.7*Ea1/Ia1
Rext=(V-Ea2)/Ia2-Ra-Rse
disp(Rext)
|
71120f00d64d6ab3085fbdb85d5d37bacc30ee01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH5/EX5.3/5_3.sce | aa51646ea1cb2a8a06145f80c7ee322c5c36ea9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | 5_3.sce | //chapter 5
//example 5.3
//page 151
clear all;
clc ;
//given
R1=39;//kohm
hie=1.2;//input resistance in kohm
Rc=1.8;//collector resistor kohm
R2=47;//kohm
hoe=1.5;//microS
Rl=68;//load resistor kohm
hfe=80;
//Circuit input impedance
Zi=(R1*hie)/(R1+hie);
printf("\nCircuit input impedance=%.2f kohm",Zi);... |
a7ff1e36910b75015dc00f0bded7ddc357eac469 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH11/EX11.3/example_11_3.sce | 03cb79e2143bd8afc436461ac4dccc9234e25f90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | example_11_3.sce | //Scilab Code for Example 11.3 of Signals and systems by
//P.Ramakrishna Rao
//Hilbert Transform
clc;
clear xr n t x1 x2;
clear;
n=1;
for t=-1:0.01:1
xr(n)=exp(%i*2*%pi*t);
n=n+1;
end
//Computing Hilbertb Transform
x1=hilbert(real(xr));
x2=hilbert(imag(xr));
x=x1+x2;
t=-1:0.01:1;
plot(t,xr);
ti... |
2266c0105bcf470ce0a06efd4e18fd6df7737e7a | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Revisão P1/TesteMetodosJocabiGaussSeidel.sce | c65f95c8453aeb4ad9b8b723d891b4a0a4346532 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | TesteMetodosJocabiGaussSeidel.sce | A = [3 2 1 0 0 0 0 0;2 6 2 1 0 0 0 0;1 2 6 2 1 0 0 0;0 1 2 6 2 1 0 0;0 0 1 2 6 2 1 0;0 0 0 1 2 6 2 1;0 0 0 0 1 2 6 2;0 0 0 0 0 1 2 6]
b = [1 1 1 1 1 1 1 1]'
x1 = [0 0 0 0 0 0 0 0]'
[xj,dxj] = jacobi(A,b,x1,10^(-3),1000)
[xg,dxg] = gauss_seidel(A,b,x1,10^(-3),1000)
|
91a36f075b8fa29c648228fa856d95ece4ef6b25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH26/EX26.2/Example26_2.sce | fd75626e85089de8518593f8620b2174258e68fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,301 | sce | Example26_2.sce | clear ;
clc;
// Example 26.2
printf('Example 26.2\n\n');
//page no. 808
// Solution
// Given
// The main reaction is CO(g,1 atm,100 C) + (1/2)O2(g,1 atm,100 C) --> CO2(g,1at,T K) (A)
// Input compounds
m1_CO = 1; // Moles of CO input- [g mol]
m1_O2 = 1 ;// Moles of O2 input - [g mol]
m1... |
7817cd85bace69290bffae0e2511c771a7eb82f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.11/exa2_11.sce | 53b35ed6eb8d6f9b2a953e57feb9802aaaeed7fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | exa2_11.sce | //Example 2-11//
//Binary multiplication//
clc
//clears the console//
clear
//clears all existing variables//
x=bin2dec('1011')
y=bin2dec('101')
//binary to decimal conversion//
z=x*y;
//multiplication//
a=dec2bin(z)
//decimal to binary conversion//
disp(' multiplication of two binary numbers is: ')
disp(... |
d9f24c1a1c0ce6706b5e5924065aa002066a17d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH2/EX2.2/2_2.sce | a59952093b332039a6fe0ebf712cf9b0ab62e6ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 697 | sce | 2_2.sce | clear;
clc;
close;
disp("Example2.2")
t1=288; //inlet temperture in Kelvin
p1=100*10^3; //inlet pressure in Pa
p2=1*10^6 //exit pressure in Pa
gma=1.4; //gamma.
rg=287; //gas constant in J/kg.K
t2=t1*(p2/p1)^((gma-1)/gma); //exit temperature
disp(t2,"Exit temperature in K:")
//first method to find exit de... |
1f135df6852da92f0e470e28918220192426c675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.21/ex12_21.sce | b46f29ab8d04810cedea05417f19f9622b6b39d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | ex12_21.sce | //Chapter-12, Example 12.21, Page 368
//=============================================================================
clc
clear
//INPUT DATA
I=20;//current in A
B=1.2//magnetic flux density in Wb/m^2
Vh=60;//hall voltage in V
w=0.5;//thickness of strip in mm
q=1.6*10^-19;//charge in coulombs
//CALCULATIONS
n... |
6cf007618e2ddf5dbaaba83de5b73bd9b711247e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH27/EX27.8/27_8.sce | 1809803e5096076728dbc5ed4ed2a3fd4ac63069 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 27_8.sce | clear//
//Variables
a = 15.0 //Turns ratio
RL = 8.0 //Load resistance (in ohm)
//Calculation
R1L = a**2 * RL //Effective resistance (in ohm)
//Result
printf("\n The effective resistance is %0.3f kilo-ohm.",R1L * 10**-3)
|
5fe4c6b46006ba3e14f3115fa162420ea939d040 | 44dccf35d0d05580e3fc20af3b7697b3c638d82d | /macros/evaluateImageRetrieval.sci | a3a7c685d38bd6ae3a39777034ae160a78d16195 | [] | no_license | surirohit/Scilab-Image-Processing-Toolbox-Unclean | 213caacd69badd81ec0f99a800f44a2cf8f79b5d | 3a8057f8a8d05e7efd83704a0e732bdda23fa3a0 | refs/heads/master | 2020-04-09T07:31:20.042501 | 2016-06-28T09:33:57 | 2016-06-28T09:33:57 | 60,406,367 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,031 | sci | evaluateImageRetrieval.sci | function [varargout] = evaluateImageRetrieval(image, IndexImage, ExpectedID, varargin)
/// varargout(1) = average_precision
/// varargout(2) = index
/// varargout(3) = score
[ lhs rhs ] = argn(0)
if rhs > 7 then
error(msprintf("Too many input arguments"))
end
if lhs > 3 then
error(msprintf("Too many outpu... |
2c1c9dfce51ed4b1e477d5527a74a7429a4329bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH2/EX2.1/EX2_1.sce | a42fb2950740bc72c2a1797f11d0763cc2e12329 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | EX2_1.sce | //Chapter 2, Example 2.1, page 25
clc
//Initialisation
sig=0.005 //sigma
ur=1 //relative permeability
er=12 //relative permittivity
eo=8.85*10**-12 //permittivity of a free space
f1=10*1... |
f4364e12f6e07677a1a8a802bd382b8fbb965209 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testcomparaisonobsolete.sce | ff77141d20583f41ac3eac906e38775d1470032b | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | sce | testcomparaisonobsolete.sce | 1==3 // good comparison
1=3 // bad comparison
|
605a4724b3f914bfeb8992aeece5e6f06105838d | 30ba6879516968cd489bac5fe92e40cc50a39974 | /MovasimEchov0101/test/MOVASIM_TESTING_01070101_210720/MOVASIM_TESTING_01070101_210720.tst | 290292ea861ff1979c5da058bcd6967e9e4fa9d6 | [] | no_license | yodacdr/movasim | efc060bfb7136cd7fbc958e448698473fd62b73c | df86161651456061fc762f4c09bc8e5f20b824ba | refs/heads/main | 2023-06-29T21:48:33.883764 | 2021-07-28T22:07:12 | 2021-07-28T22:07:12 | 390,120,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 183,297 | tst | MOVASIM_TESTING_01070101_210720.tst | /*0107 0100*/
/*Personalisation Data*/
#Define %ADM_1% <30 30 30 30 30 30 30 30>
#Define %ADM_2% <30 30 30 30 30 30 30 30>
#Define %ADM_3% <30 30 30 30 30 30 30 30>
#Define %ADM_4% <30 30 30 30 30 30 30 30>
#Define %PIN1_ELECT% <30 30 30 30 FF FF FF FF>
#Define %PUK1_ELECT% <30 30 30 30 30 30 30 30>
#Define %PIN2_ELEC... |
83254286442f2eeb451eefed4fbe7b25e6999e07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH13/EX13.2/Ex13_2.sce | 921e37ed5863f0211f6eb81e7733e9a847af996a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | Ex13_2.sce | // chapter 13
// example 13.2
// Compute the required parameters snubber circuit
// page-809
clear;
clc;
// given
Em=380; // in V
dv_dt=50; // in V/us
L=0.1; // in mH
sigma=0.65; // assumption for damping factor as done in the book
// calculate
dv_dt=dv_dt/1E-6; // changing unit from V/us to V/s
L=L*1E-3; ... |
36d6f9c1593b7f179bbab76405411fa94925d165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH8/EX8.13/Example8_13.sce | 6a72a57d30d27dbd7041fa020dbefb5e8a13d34b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Example8_13.sce | //Chapter-8,Example8_13,pg 59
R1=1000
R2=1000
R3=119
R4=121
Rg=200
S1=1
E=5
Vth=E*((R4/(R3+R4))-(R1/(R1+R2)))
Req=(R1*R2/(R1+R2))+(R3*R4/(R3+R4))
Ig=Vth/(Rg+Req)
theta=S1*Ig*10^6//deflection of galvanometer(mm)
printf("deflection of galvanometer\n")
printf("theta=%.4f mm",theta)
|
bf0976e47622b92030e4bfdb22eaade3f5ac06ec | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/PD15MRC/ATWM1_Working_Memory_MEG_PD15MRC_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | 248f6cb2272b59573abc902bb614c2b981cc6f89 | [] | 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 | 48,408 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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_monit... |
2e1682ddb6890374aa5ec836e83cf16aa38a0ad2 | 8d952a06e3809a06825a3be7b067201f3652f16a | /debug/example/common/Scilab/constants.sce | 2a96b531a73f92946d905f863b4b522574b08dea | [
"GPL-3.0-only",
"MIT"
] | permissive | andyLaurito92/haikunet | b771eaf6bd91292485f0a49698ce123b9308d676 | db44623b248c56735c28a5f589c3239dc7e9855e | refs/heads/master | 2021-06-14T12:38:38.996450 | 2021-05-05T18:26:02 | 2021-05-05T18:26:02 | 75,564,849 | 2 | 1 | MIT | 2021-05-05T18:26:26 | 2016-12-04T21:12:31 | C++ | UTF-8 | Scilab | false | false | 1,780 | sce | constants.sce | // this file defines constants (just for readability)
// Distributions (Check matching in ParameterReader::DISTRIBUTION_PARAMETER enum)
DISTRIBUTION_CONSTANT = 0; // parameters: 'value'
DISTRIBUTION_EXPONENTIAL = 1; // parameters: 'mu'
DISTRIBUTION_PARETO = 2; // parameters: 'shape' and 'scale'
DISTRIBUT... |
6094a9bfc47d2200894830d01f309826777d463b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH6/EX6.7/Ex6_7.sce | 132668ccbbc00bb77b538a6c34f5e6568536bb55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex6_7.sce | //Example 6_7
clc();
clear;
//To calculate how large a forward push given to the rocket
m=1300 //units in Kgs
vf=50000 //units in meters/sec
v0=0 //units in meters/sec
F=((m*vf)-(m*v0)) //units in Newtons
printf("The Thrust is F=%d Newtons",F)
|
3d83ee75dab0ed800f78392c6cfe9d34c495c7fe | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/Flex-Sim/dll_builder.sce | 4612343f36bdfd0be8cf9d751fe0185e8e747363 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sce | dll_builder.sce | // Script to build the Flex-Sim dynamic library.
// Author: Dario Di Stefano, Evidence Srl.
//% vcupgrade.exe Flex-iSim.vcproj
if findmsvccompiler() == 'msvc100express'
VC_BUILD_EXE = 'vcvars32.bat && msbuild ';
VC_BUILD_OPT = '/t:rebuild ';
VC_BUILD_PROJ = get_absolute_file_path('dll_builder.sce') + 'F... |
5266d301bb7db0f2b2b37ee348007f0ee3903c3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.20/Ex5_20.sce | a37e96c4b40ad2efea31d390ac15b816a3079bc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_20.sce | //pagenumber 300 example 20
clear
freque=6*10^6;//hertz
hfe=50;
r1=500;//ohm
g=0.04
rbb=100;//ohm
c1=10*10^-12;//farad
r=1000;//ohm
rbe=hfe/g;
ce=g/(2*3.14*freque);
c1=ce+c1*(1+g*r);
hie=rbb+rbe;
resist=(r1+rbb)*rbe/(r1+rbb+rbe);
frequ2=1/(2*3.14*resist*c1);
curgai=-hfe*r1/(r1+hie);
volgai=(-hfe*r)/... |
32f71952dc907630fc7dfc3a20aa86f6502048ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH7/EX7.1/Ex7_1.sce | 55e6fcae9f2bf7ac8ed5a051151bf5c3213096d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Ex7_1.sce | //example 7.1
clc; funcprot(0);
sigmao=48;
phi1=30*%pi/180;
phi2=36*%pi/180;
Ka1=(tan(%pi/4-phi1/2))^2;
Ka2=(tan(%pi/4-phi2/2))^2;
sigmaa1=Ka1*sigmao;
disp(sigmaa1,"top soil pressure in kN/m^2");
sigmaa2=Ka2*sigmao;
disp(sigmaa2,"bottom soil pressure in kN/m^2");
Po=1/2*3*16+3*12.48+1/3*3*(19.65-12.48)+1/2*3... |
f3e909d5a66f6631cc14b94c5be90e3a35ead3b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.18/Exa1_18.sce | ceb51b61481e73adad95e0d7d0358f8993c091e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | Exa1_18.sce | //Exa 1.18
clc;
clear;
close;
//given data
Iload=20;//in uA
VBE=0.7;//in volts
VCC=10;//in Volts
IR=Iload;//in mA
R=(VCC-2*VBE)/(IR*10^-3);//in kohm
disp(R,"R in kohm is :") |
0a3ff7f975592559e752b8b6c9bb10759f115e49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH11/EX11.6/Example11_6.sce | 4300d0b23876d12d8726aa0296f62f556bde342c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Example11_6.sce | //density of ionic crystals
clear;
clc;
printf("\t Example 11.6\n");
Na=22.99;//mass of one atom of Na, amu
Cl=35.45;//mass of one atom of Cl, amu
NA=6.022*10^23;//avogadro no.
mass=4*(Na+Cl)/NA;//mass in a unit cell in grams
a=564*10^-10;//edge length, cm
V=a^3;//volume of unit cell, cc
d=mass/V;//dens... |
97260088d1b8ea48d72fde13d5e4fbf9de71ca19 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuits_D._A._Bell_1514.zip/Electronics_Devices_And_Circuits_D._A._Bell_1514/CH18/EX18.3/18_3.sce | b54f0f2488c09949dac2a9c6d5ec690a21a9e83b | [] | 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 | 332 | sce | 18_3.sce | errcatch(-1,"stop");mode(2);//chapter 18
//example 18.3
//page 569
all;
;
//given
E=30;
Vs=10;//supply voltage
Is=500;//ip current
Ih=1.5;//mA
Vf=1;//forward voltage drop
R1max=1000*(E-Vs)/Is;
R1min=(E-Vf)/Ih;
printf("\nmaximum and minimum values of R1 are %d kohm ,%.1f kohm respectively.",R1max,R1min);
... |
00cb160bccf3d3f285f0fd08d458df095e2addbc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%sslss.sci | 0bea64f07bcd82ef2406600c56d6bd50080c507e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 106 | sci | %sslss.sci | //<s>=%sslss(d1,s2)
//
//!
[a2,b2,c2,d2,x2,dom2]=s2(2:7),
s=list('lss',a2,b2,c2,d1-d2,x2,dom2),
//end
|
954665ec4d5d8ed78163d9c582b4e508a971804b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.53/Ex1_53.sce | 1c7dd39cfa6a2fbe9506db1104752c3a419fd7e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | Ex1_53.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 53
clc;
disp("CHAPTER 1");
disp("EXAMPLE 53");
//VARIABLE INITIALIZATION
v1=10; //LHS voltage source in Volts
v2=4; //RHS voltage source in Volts
r1=2; //LHS resistance in Oh... |
a5da30d3bf1be400a02081d3482a6482a1516485 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH13/EX13.10/EX13_10.sce | bcd9f0be079b0923f1537aa6c3cfb3c7722a9d4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX13_10.sce | //Example13.10 // Determine the frequency of the monostable multivibrator
clc;
clear;
close;
R1 = 5*10^3 ;
R2 =15*10^3 ;
C = 0.01*10^-6 ;
R = 12*10^3 ;
// the output of monostable multivibrator is defined as
f = 1/(R*C*(log(1+(R2/R1))));
disp('the output of monostable multivibrator is = ' +string(f)+ ' Hz'... |
79f43884bbce7db60e29f7d73b0e3e3156d8c3d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH5/EX5.6/Ex5_6.sce | 63838ea4f484ce92b837d5e96007d7d83273ba7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex5_6.sce |
//Calculate the Increase in Entropy at constant pressure
//Example 5.6
clc;
clear;
m=200; //Mass of water in g
M=18.02; //Molar mass of water in g mol^-1
n=m/M; //Number of moles of water present in mol
t1=10; //Initial temperature of water in degree Celius
T1=10+273; //Initial temperatu... |
82bc72a1a8c08836e62f2e5ca1a3db9d6d2d7b39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH13/EX13.19/Example_13_19.sce | 09dfa1409e35e8bd31c934777f77b6bfacd6652c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,536 | sce | Example_13_19.sce | //Chemical Engineering Thermodynamics
//Chapter 13
//Thermodynamics in Phase Equilibria
//Example 13.19
clear;
clc;
//Given
H_s_ex = 32.7;//experimental value of latent heat of the solution in KJ/mole
x1 = 0.536;//mole percent of toulene in the solution
x2 = 1-0.536;//mole percent of 1,1,1-trichloroethane ... |
7b1bd3f099ee747fc8cc8d043b7f0ac155490825 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%s_i_spb.sci | ceb338d1d6f35c80fe3b983d7a3f2e6d687d4afc | [
"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 | 241 | sci | %s_i_spb.sci | function M=%s_i_spb(varargin)
// Copyright INRIA
[lhs,rhs]=argn(0)
M=bool2s(varargin(rhs))
N=varargin(rhs-1)//inserted matrix
if rhs<=4 then
if rhs==3 then
M(varargin(1))=N
else
M(varargin(1),varargin(2))=N
end
return
end
|
0b354bfbdf1ce922736a4a14faab53a4132e1233 | 4b1558e166b13f0e90c889b11ee516e4925626ed | /aula7.sce | 8ec4cb6baae4dc57f3f2115545a87f4df1ebcf8d | [] | no_license | dalpendre/EI_matematica_discreta | a4712b5c7ea085eb5238a0e45c89733ba25a64b6 | 93cf0c75c41a231aadf919293089ce240695bf10 | refs/heads/master | 2022-08-09T18:27:37.572002 | 2020-05-21T13:00:22 | 2020-05-21T13:00:22 | 254,603,532 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,660 | sce | aula7.sce | //Aula 7 - 02 de abril
function NotaEuro
X=input('Insira o nº de série da nota: ','string')
letra=part(X,1);
if letra=='R'
Vletra=1;
elseif letra=='S'
Vletra=2;
elseif letra=='T'
Vletra=3;
elseif letra=='U'
Vletra=4;
elseif letra=='M'
Vletra... |
14375ad9849a222daf66de18bd06a942a6bcf8f5 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /src/projectionPers/projection3dPoint.sci | 23ffec97427026070ddc477dbb3a954b8cbf483d | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,894 | sci | projection3dPoint.sci |
//------------------------------------------------//
// PROJECTION 3D POINT
// author : Claire Dune
// date : 04/01/2010
//------------------------------------------------//
function x = projection3dPoint(wX,wMc);
// project a 3D point on a camera image plane
// return [] if the point id behind the view
... |
56e791da9eb86880222a5ad37ee3615e62b3d9e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH15/EX15.3/Ex15_3.sce | 048dc3129581a259cda4e27b2dd4d3ac290fc109 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 199 | sce | Ex15_3.sce | //chapter15
//example15.3
//page321
P=50 // W
R=8 // ohm
// since p=V^2/R we get
V=(P*R)^0.5
I=V/R
printf("ac output voltage = %.3f V \n",V)
printf("ac output current = %.3f A \n",I)
|
546a7af5e9fad342b960ea73cfb8c914f0b1a4fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH12/EX12.5.b/EX_12_5_b.sce | 40292945166535a87922e423d99c6dbd8aecb170 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | EX_12_5_b.sce | //Example 12.5.b // power factor
clc;
clear;
close;
w1=4.5;//first reading in kW
w2=-3;//second reading in kW , this value is given wrong in question
tw=w1+w2;//in kW
dw=w1-w2;//in kW
pfa=atand(sqrt(3)*(dw/tw));
pf=cosd(pfa);////power factor when second reading is obtained by reversing the connection
disp(pf,"power fac... |
dcfcf72635f7a240b1f62b936984bfde94e375ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH15/EX15.5/Ex15_5.sce | 593f62ad4194e8471b76cc9c641d7709472a02c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex15_5.sce | clc();
clear;
//Given :
n1 = 1.5025; // refractive index of core
n2 = 1.4975; // refractive index of cladding
L = 1; // length in m
F = 2*10^6; // frequency in Hz
c = 3*10^8;// light speed in m/s
delta_t = (n1*L/c)*((n1/n2)-1);// maximum delay in s;
f = 1/(2*delta_t); // bandwidth for 1 m propogation
L1 = 1/(... |
8a7b991bb8a976cd1a8a81defd1cb1fed94985e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.3a/eg5_3a.sce | e7880aab08e122d4130abfd80b5e9c8ab1ee30e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | eg5_3a.sce | function result= hyper(N, M, n, i)
result = factorial(N)*factorial(M)*factorial(n)*factorial(N+M-n)/(factorial(i)*factorial(N-i)*factorial(n-i)*factorial(M-n+i)*factorial(N+M));
endfunction
prob = hyper(15, 5,6, 4)+hyper(15, 5,6,5)+hyper(15,5,6,6);
disp(prob, "Probability that the system will be functional is... |
fbf2042743a865a47783f0594c83d18699264fd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH10/EX10.10/Ex10_10.sce | 1de0d5066cdc6e193f0e5a210faaf757f37c493c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex10_10.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
alphaF=0.99
alphaR=0.20
Ic=1//mA
IB=0.050//mA
Vcesat=k*T*log(((Ic*(1-alphaR)+IB)*alphaF)/((alphaF*IB-(1-alphaF)*Ic)*alphaR))
disp(Vcesat,"VCEsat in V is=")
|
367f11c920f478e58b03d48163bfeea51ccfea3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.13/13.sce | 1036fb9f271f8572be88ec72d8aef26b1027b1d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | 13.sce | clc
clear
//INPUT DATA
AW=63.5//atomic weight of copper in u
M=63.5*1.66*10^-27//mass of one copper atom in Kg
d=8.94*10^3//density of sodium in Kg/m^3
m=9.11*10^-31//mass of electon in Kg
h=6.625*10^-34//plank's constant in m^2 Kg/sec
e=1.6*10^-19//charge of electro in C
//CALCULATION
nc=(d)/M//number of e... |
28e25c595795b55261e27046fe0b853636accf43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH4/EX4.19/4_19.sce | 97c6bcd661e97a1987173959c26297499eaefc2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | 4_19.sce |
clc;
clear;
//Example 4.19
sigma=5.67*10^-8 //[W/sq m.K^4]
A1=0.5*1 //[sq m]
F12=0.285
T1=1273 ///[K]
T2=773 //[K]
Q=sigma*A1*F12*(T1^4-T2^4) //[W]
printf("\n Net radiant heat exchange between plates is %d W",Q);
|
eba3efb22a2a0aa626a3e047fb1e38053fc28709 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH9/EX9.4/Ex9_4.sce | 8467f27ab9b11fb8937bcdba3b94212c5e36011a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_4.sce | clear;
clc;
l = 16;// feet
F = 30;// tons
n = 8;// factor of safety
k = 0.8;//k = d/D
f_c = 36;// tons/in^2
a = 1/1600;
r = 0.25*%pi*(1-k^2);//r = A/D^2
P = n*F;// tons
D1 = sqrt(P/(f_c*r*2) +sqrt((P/(f_c*r))*((a/4)*(l*12)^2)/((1+k^2)/16) + (P/(f_c*r*2))^2));// inches
D = round(D1);// inches
d = k*D;// inch... |
2b7622353dda9e731c10ed864e306876423ae10d | ab0891df3df62a84b3bc60ee178e2d84b0d692c5 | /Geometry_Processing_Toolbox/src/cppmex/builder.sce | ce6fac15ed2dfd8147c5321c8f4df011d00eb186 | [
"MIT"
] | permissive | sidgairo18/SCILAB_MEX_TOOLBOX | 6b36c8b5dd21bb15d942a283ebfe2366a7ac02ec | fc679f6d226c03b992b632823a5e57abea05cefa | refs/heads/master | 2020-03-19T04:03:55.721880 | 2018-08-14T11:22:24 | 2018-08-14T11:22:24 | 135,791,680 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,004 | sce | builder.sce | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
//
// Copyright (C) 2018 - 2018 - Scilab Enterprises
// Copyright (C) 2018 - 2018 - GSoC 2018 - Siddhartha Gairola
//
// This file is hereby licensed under the terms of the GNU GPL v2.0,
// pursuant to article 5.3.4 of the CeCILL v.2.1.
// This file was... |
1712928957104d612681066af1affd1168905e02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH7/EX7.5/ex7_5.sce | 513c6bd11ac73a750ff07c0de61b0aab46a07ab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | ex7_5.sce | // Example 7.5, page no-271
clear
clc
g1=30 //gain of RF stage in dB
t1=20 //Noise temperature in K
g2=10 //down converter gain in dB
t2=360 //noise temperature in K
g3=15 //gain of IF stage in dB
t3=1000 //noise temperature in K
t=290 //reference temperat... |
5a7a33716fd500f7b040cf2965ee902261fbd3b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH23/EX23.9/23_9.sce | 3dbb4a7f32f84f8d0bdecbdec653cdbd03b1e39a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 23_9.sce | //Chapter 23, Problem 9
clc
pi=30.8e3 //input power to rotor
pi1=32e3 //stator input power
ns=0.35 //percent
l=0.75e3 //friction and windage losses
s=1-ns
cl=s*pi
P=pi-cl
Po=P-l
n=(Po/pi1)*100
printf("(a) Rotor copper loss = %.3f kW\... |
338fa5f5ca8b8bd36110f43bd7347b0c34b9d111 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH12/EX12.16/Example12_16.sce | 3bb7463ad6ef81f93eeade26db1a4624f08d0741 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | Example12_16.sce | clear;
clc;
// Example: 12.16
// Page: 501
printf("Example: 12.16 - Page: 501\n\n");
// Solution
//*****Data******//
// Reaction: CaCO3(s) = CaO(s) + CO2(g)
T = 1000;// [K]
deltaH_1000 = 1.7533*10^5;// [J]
deltaS_1000 = 150.3;// [J/mol K]
R = 8.314;// [J/mol K]
//****************//
deltaG_1000 = ... |
cca5c3ae3c767be02f2e79a869277055ec9261d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH11/EX11.1/Ex11_1.sce | 1f3c729943e49a3f45830f35dcfbb73c1e0da1d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex11_1.sce | //Example 11.1
A=50*(10^3)^2;//Surface area (m^2)
h=40;//Average depth (m)
rho=1*10^3;//Density of water (kg/m^3), See Table 11.1
V=A*h;//Volume (m^3)
m=rho*V;//Mass of water (kg)
printf('Mass of water behind the dam = %0.2e kg',m)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11... |
aa6299e8075cf064bcb7a7ea20012871ff37d906 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH5/EX5.11/Ex5_11.sce | 58ca4589fed1490fadcd637dd8b92a624063c9aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Ex5_11.sce | //Example number 5.11, Page number 89
clc;clear;
close;
//Variable declaration
me=9.1*10**-31; //mass(kg)
mp=1.6*10**-27; //mass(kg)
h=6.626*10**-34; //plank constant
c=3*10**10; //velocity of light(m/s)
//Calculation
lamda=h/sqrt(2*mp*me*c**2)*10**10; //de broglie wavelength(m)
//Result
printf("de brog... |
142b6ad39a1df2e55912cd5c58b7fd82e36a47d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.2.9/Ch03Exa3_2_9.sci | 01773cf1930055322ccc4516deebacd8a9218f65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sci | Ch03Exa3_2_9.sci | // Scilab code Exa3.2.9 : To calculate the activity of K-40 : Page no. 129 (2011)
N = 6.324e+020; // Number of atoms in 4.2e-05 kg of K-40
t_h = 1.31e+09*31536000; // Half life of K-40, s
D = 0.693/t_h; // Decay constant, s^-1
A = N*D/(3.7e+010)*10^6; // Activity of K-40, microCi
printf("\nThe activity of K-40 : %... |
252aaa5a1608024dc01393c230ea955f52ff95cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH14/EX14.4/14_4.sce | 02fa88c92b69c47b770cf62f76368054409e09ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | 14_4.sce | clc
//initialisation of variables
b= 4 //in
h= 9 //in
l= 6 //in
Mx= 600 //lb
My= 100 //lb
//CALCULATIONS
Zx= b*h^3/(12*h/2)
Zy= b^3*h/(12*b/2)
S1= Mx*l*12/Zx
S2= My*b*12/Zy
Sb= S1+S2
Sd= -S1-S2
//RESULTS
printf ('Maximum stress= %.1f psi (tension)',Sb)
printf (' \n Maximum stress=%.1f psi (compression)'... |
14a4608a3b21ba0bdc78c9f2c791db4085dd89f0 | 74084a1c6ef810ee05785941963c7dc1725783cf | /test/UR3.prev.tst | 77e506aee6d7daa92b285a9475da76f1410c6970 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/common | 338d245dc6a1ef093748fa577129ac30822ec70b | da1e36931decdbdfe201d88207d5a01c207f8c5a | refs/heads/master | 2022-03-21T14:56:42.582874 | 2022-02-07T10:39:22 | 2022-02-07T10:39:22 | 59,970,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,962 | tst | UR3.prev.tst | This is ftp.gnu.org, the FTP server of the the GNU project.
Comments, suggestions, problems and complaints should be reported via
email to 'gnu@gnu.org'.
gnu/ Contains GNU programs and documents that we develop for the GNU
system (or pointers on where to get the programs, if we don't
keep the files here). These... |
29d5211c9eb33bc2c5abf657a2c249c667f47a70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH4/EX4.3/ex_4_3.sce | 1412e878468c0d1ff9f54cbfb19676b8a22114d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | ex_4_3.sce | //Example 4.3 : resistance
clc;
clear;
close;
//given data :
W1=100;// in watt
E=110;// in volts
W2=60;// in watt
I1=W1/E;// current taken by 100 w lamp
I2=W2/E;// current taken by 60W lamp
I=I1-I2;
R=E/I;
disp(R,"resistance,R(ohm) = ")
|
a56d6afb5f00750fdaa6675b7055dabe2d12067d | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH12/EX12.3/Chap12_Ex3.sce | 8eec09dc64fbbf0c9ba46f1d8f2cf6ec4c901150 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,640 | sce | Chap12_Ex3.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-12, Example 3, Page 302
//Title: Bubbling Bed Reactor for Intermediate Sized Reactor
//==========================================================================================================
cle... |
0b191261c90632b0954d99f1cdb1eb4b938284ef | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/logical-index.tst | 181fd296cf1ef6b90e17627043eb465f0794d734 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,660 | tst | logical-index.tst | ## Copyright (C) 2006-2017 John W. Eaton
##
## This file is part of Octave.
##
## Octave is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or (at
## your option) any later vers... |
21fe9f689374538341e3147a28efbcfda1d2892d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.10/Ex1_10.sce | 2ab041e7c095a9f14784f50dcdea1cec72307216 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,176 | sce | Ex1_10.sce |
clc;
E1=250;// voltage on low tension side
E2=2500; // voltage on high tension side
k=E2/E1; //turns ratio
Z=380+230*%i; // given load connected to high tension side
Zl=Z/k^2; // load referred to low tension side
zl=0.2+0.7*%i; // leakage impedance of transformer
zt=Zl+zl; // total series impedance
ztm=abs(zt... |
50eed8f055ff81983588f0f0785eced389672352 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH2/EX2.4/SSA_Ex_2_4.sce | c5697e26ee2bd98a73f2db544d478c5731780a11 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | SSA_Ex_2_4.sce | clc
//Chapter 2:Small Signal Amplifiers
//example 2.4 page no 30
//given
VDS=15
IDSS=8*10^-3
gmo=4*10^-3
rd=13*10^3
ID=2*10^-3//drain current
Vs=0//source is grounded Vgs=Vg-Vs=Vi
RL=2*10^3//load resistance
R_L=(RL*rd)/(RL+rd)//equivalent load resistance
gm=gmo*sqrt(ID/IDSS)//transconductance
Av=-gm*R_L//v... |
2e817ca20b7545e7485ab27c15c1c38814dd454d | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH8/EX8.04/8_04.sce | eaa2ebbac0ed8ad74f5d62be1d568e0b314de57c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_04.sce | //Problem 8.04:
//initializing the variables:
T1 = 250; // in deg C
T2 = 260; // in deg C
T3 = 270; // in deg C
T4 = 280; // in deg C
T5 = 290; // in deg C
P1 = 22.01; // in atm
P2 = 24.66; // in atm
P3 = 27.13; // in atm
P4 = 29.79; // in atm
P5 = 32.42; // in atm
vl3 = 0.0408; // in ft3/lb
vg3 = 0.192;... |
c0ec38c80ac03469a2f6bf09f1c4f2cfd3ffd711 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/FL03.prev.tst | 5dbc7200109ad6d20419eb0caa886d91621657a5 | [
"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 | 13,403 | tst | FL03.prev.tst | [[0,-2,-2,1],[1,3,2,-1],[-2,-1,1,-1],[2,1,0,2]],fraction=1,det=1 is inverse of [[9,7,4,1],[-8,-6,-4,-1],[5,4,3,1],[-5,-4,-2,0]],det=1,identity = true
[[0,-2,1,-2],[-2,0,-2,1],[2,1,2,0],[1,2,0,2]],fraction=1,det=-1 is inverse of [[0,-2,-2,1],[-2,0,1,-2],[1,2,2,0],[2,1,0,2]],det=-1,identity = true
[[0,-2,-2,1],[-2,0,1,... |
14ff4248431ed4a23ccf23e1fe3c2f4b7272b39a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH13/EX13.3/Ex13_03.sce | 72979d4083a0fd80a5f8c16479d60125c0cc0671 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | Ex13_03.sce | // Scilab Code Ex13.3: Page-481(2014)
clc; clear;
u = 931.5; // Energy equivalent of 1 amu, MeV
M_He = 4.002603; // Mass of He-4 nucleus, u
M_N = 14.003074; // Mass of N-14 nucleus, u
M_H = 1.007825; // Mass of hydrogen nucleus, u
M_O = 16.999132; // Mass of O-16 nucleus, u
K_alpha = 7.7; // Th... |
bc461d76e07f8bcecd1826667ca604f70e70a76e | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/4_3_2.sci | 31de19ab553d46623a37331808e605287482946f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | sci | 4_3_2.sci | basis=100 //mol
FinalBasis=1250 //lb-moles/h |
d1aa0ec4b20b634e3755ae16b80b96461f0c36ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH13/EX13.4/example4_sce.sce | b9ebcc44a739964e7b9ada08798874363b924682 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | example4_sce.sce | //chapter 13
//example 13.4
//page 554
printf("\n")
printf("given")
Zb=1*10^3;hoe=1/(85*10^3);Av=58000;Rf2=220;Rf1=16.2*10^3;R1=120*10^3;R2=39*10^3;R7=12*10^3;
B=Rf2/(Rf2+Rf1)
disp("voltage gain")
Acl=Av/(1+Av*B)
Zi=Zb*(1+Av*B)
Zin=(Zi*R1*R2)/(Zi*R1+R2*R1+R2*Zi)
Zo=(1/hoe)/(1+Av*B)
Zout=(R7*Zo)/(R7+Zo)
pri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.