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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ca991430f9ef1de74a7f46166c8d817fd6de6b29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.17/Exa_1_17.sce | a3a2a3dd762676cd6a3bbe98d9ef2f21ef65a7d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Exa_1_17.sce | //Exa 1.17
clc;
clear;
close;
format('v',7);
//Given Data :
T1=0;//degree centigrade
K1=1.83;
T2=100;//degree centigrade
K2=6.78;
//T=a*log(K)+b
//solving for a and b by matrix
A=[log(K1) 1;log(K2) 1];
B=[T1;T2];
X=A^-1*B;
a=X(1);
b=X(2);
K=2.42;//bar
T=a*log(K)+b;//degree C
disp(T,"Temperature in ... |
476369c05a07fabea4c8564abb1f9d573df105de | bae098aa91588d492ec8bb4c76c274001c27cfe7 | /simple2.tst | cb459a63c7269b82eda453d1c75cd03f285b4576 | [] | no_license | i5-2/pentium-dual-core | 1e7abb217972ec468b54eee6fa077dc6eec1875d | e56c0a450666ddd15e99a351d9335952b29431e6 | refs/heads/master | 2020-04-20T21:55:34.594056 | 2019-02-26T16:52:19 | 2019-02-26T16:52:19 | 169,122,993 | 0 | 0 | null | 2019-02-25T18:36:58 | 2019-02-04T18:01:59 | Python | UTF-8 | Scilab | false | false | 139 | tst | simple2.tst | timelimit 1
boardsize 5
play b A1
play b A2
play b A3
play b A4
play w D1
play w D2
play w D3
play w D4
gogui-rules_board
genmove b
#?[A5] |
b7e9ba96d18be98d7351de5b248d05547d2a7bdd | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/signal_register.sci | 571c1b6d6d8105d5e76bba4112e7957ca03eb548 | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 215 | sci | signal_register.sci | function result = signal_register(id, signal_size)
result = call("sci_signal_register",..
id, 1, "i",..
signal_size, 2, "i",..
"out",..
[1, 1], 3, "i");
endfunction
|
0dba727f9ae9ee9ec205270dab4c35c0a2bc063e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH6/EX6.3/6_3.sce | 26a8866a21fc189fc3395445923313e790f3336a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 6_3.sce | //example 6.3
clc; funcprot(0);
// Initialization of Variable
Tc=492;
Th=530;//temperature
Qh=6e5;
Wcycle=(1-Tc/Th)*Qh;
disp(Wcycle,"Minimum Work input theoritical in Btu/day");
MTC=Wcycle/3413*0.08;
disp(MTC,"Minimum cost theoritical in $/day");
clear()
|
ed10a222bcd598b309625eafe8da34bf13bc4902 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH7/EX7.3/3.sce | eaefb17822425155333b503666bd88c5167ddfbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | 3.sce | clc
clear
//INPUT DATA
X=3.5*10^-3 // mobility of free electrons in copper in m^2 V^-1 s^-1
E=0.5 //elactric field strength of copper in V m^-1
//CALCULATION
V=X*E/10^-3//drift velocity of free electrons in copper in m s^-1 *10^-3
//OUTPUT
printf('The drift velocity of free electrons in copper is %3.2f*10^-... |
944a425e07b80bb5bd7c0450a61f32b7c6e684d8 | 72d7c10733e74eafb60961874dedea7fa2a43569 | /2.Basics/Step_function2.sce | e71da9ab8e60f4984e1b9d6e71cad1f34b9dd91d | [] | no_license | AkshayNachappa/Scilab-Workshop | 8dc448c41a2e768f3d93bbed928705445b9c007b | 056436f38a1f3aad7d1e3669595718839108c40e | refs/heads/master | 2023-01-02T00:20:19.968404 | 2020-10-20T17:04:44 | 2020-10-20T17:04:44 | 297,102,650 | 2 | 2 | null | 2020-10-20T17:04:46 | 2020-09-20T15:12:27 | Scilab | UTF-8 | Scilab | false | false | 265 | sce | Step_function2.sce | clear;
clc;
close;
t=0:0.01:6;
u=ones(t).*(t>=0);
plot(t,u);
xgrid(4,1,7);
xlabel("t");
ylabel("u(t)");
title("Unit step "," fontsize ",9); // just to adjust font size
//set(gca(),"data bounds",matrix([-6,6,-0.1,1.1],2,-1) ); // Range of axis
|
6b8410a8b5ad20aa8a55fe79d9d10c45780df1c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH4/EX4.7.10/Ex4_7_10.sce | 50032330c32cf5e7ec47d5db0a45852b12f71315 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | Ex4_7_10.sce | clear
clc
PA=300;//in torr
PB=800;//in torr
XA=0.60;//
XB=1-XA;//
P=(PA*XA)+(PB*XB);//pressure at which first bubble of vapour is formed
printf('P=%.1d torr',P)
YA=(XA*PA)/P;//mole fraction of components in first bubble of vapour
printf('\nYA=%.2f ',YA)
YB=(1-YA);//ole fraction of components in first bubble o... |
b2bc774549ddab4bcbce0dbbe4361126372511e2 | cd3baacb9aa523e8ac4f10406c5fb62c9c60998a | /gate/MyMux.tst | b8bfb0539b30270598302df45c75b7906a5d60d5 | [] | no_license | wangkekekexili/cuddly-octo-pancake | f8bbebc043417af9662712de610b390f062545f8 | 67b3d4c3d15c5877644221b6d987dd911101d013 | refs/heads/master | 2023-03-06T12:49:54.668374 | 2021-02-14T14:53:07 | 2021-02-14T14:53:07 | 338,038,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | tst | MyMux.tst | load MyMux.hdl,
output-file MyMux.out,
output-list a%B3.1.3 b%B3.1.3 sel%B3.1.3 out%B3.1.3;
set a 0, set b 0, set sel 0, eval, output;
set a 1, set b 0, set sel 0, eval, output;
set a 1, set b 1, set sel 0, eval, output;
set a 0, set b 1, set sel 0, eval, output;
set a 0, set b 0, set sel 1, eval, output;
set a 1, set ... |
274e9b354c154a41bc0e151efc875471d2061ebd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH6/EX6.3/6q3.sce | 4bd791ab6caccfb7dce606a6a2de8df35c50b63a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sce | 6q3.sce | clc
//initialisation of variables
do= 1570 //kg/m^3
mo= 0.545 //kg
M1= 7.59 //kg
M2= 4.78 //kg
M3= 3.007 //kg
w= 0.102 //
dmax= 19 //KN/m^3
//calculations
Ms= M1-M2
Mc= Ms-mo
Vh= Mc/do
Dc= M3/Vh
Du= Dc*9.81/1000
f= Du/(1+w)
Rc= f*100/dmax
//results
printf ('dry unit weight of compaction in the field =... |
0a6146c6bb6462e4aa65ddc4cadc323df56d1352 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH3/EX3.1/exp3_1.sce | c2d392d58be777f372d9e89a860c0e0dffec65b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,218 | sce | exp3_1.sce | //Example 3.1
clc
disp("The circuit is similar to the circuit shown in the fig 3.2. Assume that Q1 is OFF and Q2 is ON")
disp("Case i : Junction voltages of ON transistor are neglected")
disp("i.e. V_CE2 = 0 V and V_BE2 = 0 V")
disp("As emitter is grounded we can say,")
disp(" V_C2 = 0 V and V_B2 = 0")
disp("N... |
72400c7ddcab965f0c02e2dda0b1dae5df18b24f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH22/EX22.6/example_22_6.sce | da9a7ab3ee03aa189e90a8dc8dffd2010a23baac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,010 | sce | example_22_6.sce | clear;
clc;
disp("--------------Example 22.6----------------")
// display the example
printf("One utility that can be used to find the contents of a routing table for a host or router is netstat in UNIX or LINUX.\nThe following shows the list of the contents of a default server. Two options, r and n are used.\nThe ... |
38c643bd29d98d1565bff1b8609e4e87c6c0a7b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH2/EX2.13.1/2_13_1.sce | bda139f1f46c524c267f9c8d765f7670c669871f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_13_1.sce | clc;
//page no 74
//prob no. 2.13.1
//A rectangular pulse with h=3V and width=2ms across 10 ohm resistor
V=3;t=2*10^-3;R=10;
//Determination of average energy
P=(V^2)/R;//Instantaneous power
U=P*t;
disp('J',U,'The average energy is'); |
9739ade692f5e62fe2892b54935a9a6ea7538d1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH19/EX19.3/Ex19_3.sce | 70aeb18eb9850fd1c61fe83497bcc0da3ed25027 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 669 | sce | Ex19_3.sce | printf("\t example 19.3 \n");
Qr=1.5; // Qr=(QF2/QF1)
Cr=1.5; // Cr=(CR2/CR1)
Gr=140/125; // Gr=(G2/G1)
Qr1=0.38; // Qr1=(Q1/QF1)
printf("\t approxiate values are mentioned in the book \n");
a1=1.63; // a1=(G1*(CR1/27)^(1/2)), from eq 19.17
printf("\t a1 is : %.2f \n",a1);
a2=1.37*(a1); // a2=(G2*(CR2/27)^(1/2)... |
8cb70872977c18f05c3c607aa4c48fd41e3955f0 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fluid_Power_With_Applications_A._Esposito_788.zip/Fluid_Power_With_Applications_A._Esposito_788/CH9/EX9.1.a/9_1_data.sci | 23c3393bee118e1cc50669baa8b260f04ea701e6 | [] | 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 | 232 | sci | 9_1_data.sci | errcatch(-1,"stop");mode(2);// Aim:Refer Example 9-1 for Problem Description
// Given:
// cracking pressure of relief valve:
p=1000; //psi
// piston area:
Ap=25; //in^2
// rod area:
Ar=7; //in^2
// pump flow:
Qp=20; //gpm
exit();
|
ff7869a836baadc9fb936cb87fb9c91b44c22a97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH20/EX20.2/example2_sce.sce | cac6041d41a9d209eb397c89504e2121fc1e9703 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | example2_sce.sce | //chapter 20
//example 20.2
//page 905
printf("\n")
printf("given")
Vs=30;Vd1=.7;Vg=.8;Ig=200*10^-6;
Vspk=1.414*Vs
disp(" at 5 degree")
es=Vspk*.087// sin5=.087
disp(" at 90 degree")
es=Vspk
Vt=Vd1+Vg
disp(" to trigger at es=3.7V the R2 moving contact is at the top")
es=3.7;
Vr1=es-Vt
I1=1*10^-3;
R1=Vr... |
f05060fabffbdade7dfff11024f8c115aebac645 | 05d972abeab11d213913aa6124e6a2104d859132 | /etc/McpSelUser2.tst | bea03001f2270ea45862f0021dc4d15c91ba7705 | [] | no_license | LivTel/sdb_puller | 50ac8289d57c4927245ca70c4809cf2b9c807e82 | 9e573ee4d20035f846cb010a02099b9a25dc4e76 | refs/heads/master | 2022-06-24T04:59:10.771334 | 2019-12-18T19:10:47 | 2019-12-18T19:10:47 | 179,494,067 | 0 | 0 | null | 2020-07-01T23:30:44 | 2019-04-04T12:34:54 | C | UTF-8 | Scilab | false | false | 31 | tst | McpSelUser2.tst | sysreq, SYSREQ_REQ_SEL_USER_2
|
a43f37c2fc23c1e2b4ce85828be6d8ffb9391cf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.12/Ex9_12.sce | 6eb69e304c38205c60318a22ac29e7106ea8c7b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex9_12.sce | //Caption: rate of information
//Example 9.12
//page no 401
//Find Average rate of information
clc;
clear;
m=16;
pxi=1/16;
elements=2*10^6;
n=32
HX=0;
for(i=1:16)
HX=HX+(-(pxi*log2(pxi)));
end
r=elements*n;
R=r*HX
printf("Average rate of information\n \n \t R = %d Mbs",R/10^6);
|
6e7db7a3874d11d7600fa0f038afced4e26a15e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH2/EX2.2.3/Example2_2_3.sce | ed053d32d8ac437df557dfc562e6ff62aff3d15a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Example2_2_3.sce | //Example 2.2.3 page 2.6
clc;
clear;
z=8; //fibre length
p0= 120*10^-6; //power launched
pz= 3*10^-6;
alpha= 10*log10(p0/pz); // overall attenuation
printf("The overall attenuation is %.2fdB",alpha);
alpha = alpha/z; // attenuation per km
alpha_new= alpha *10; // attenuation for 10kms
total_atten... |
fec20f15bfeb0bccc4d08871217f6e230fc840ec | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/112.sci | c7b8bf0c76d1e865af501ad47e42c7bd5a7dcc57 | [] | 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 | 32 | sci | 112.sci | f1=600//N
f2=1500//N
u1=1//m/s |
de3439898589ff7752bc6c20eeb4da6f3bec321a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.26/26.sce | 1b5595a28d7a76005faee2c0e4020954767dc50f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | 26.sce | clc
// Given that
theta = 4.88e-6 // Separation between two stars in radian
lambda = 6000 // wavelength of light in angstrom
// Sample Problem 26 on page no. 172
printf("\n # PROBLEM 26 # \n")
printf(" Standard formula used \n")
printf(" theta = 1.22*lambda/a \n")
a = 1.22*lambda*1e-10/(theta) // calculation... |
6341660ccdda2eee9a598215e5d6cd74944226fe | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/UpdateGUI.sci | d2cb6dd7984239813b9f4fdf54f79400a0c9e730 | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,393 | sci | UpdateGUI.sci | function UpdateGUI()
// This program 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 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the h... |
8b7375af911078ad56eeb68e46b8e4d287573b49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH11/EX11.1/1.sce | 414dbfbfba48b13cddf69796f9f1f0aad24d1786 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1.sce | clc; funcprot(0);
//Example 11.1 Critical Velocity
// Initialisation of variables
V0 = 1.47*480; //Velocity in ft/sec
rho = 0.001267; //From table 4.1
P = (848.7/12)*13.75; // Pressure at 20,000 ft
gma = 1.4;
// Calculations
a0 = sqrt(gma*P/rho);
M0 = V0/a0;
Vcr = a0*sqrt(... |
9d02097341b191b20fd6bde1d144e462b90839b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.48/Ex1_48.sce | f0b27a94f6420a6c19faa7b426639870bb77f45f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,034 | sce | Ex1_48.sce | clc;
P=400000; // rated KVA of transformer
P1=11000; // rated primary voltage
S2=6600; // rated secondary voltage
v1=360; // voltage recorded during short circuit of l v winding for first transformer
p1=3025; // power dissipated during short circuit of l v winding for first transformer
v2=400; // voltage recorded... |
ccc89f4b96e63efd3b6518eaa4057e2e46914532 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.20/Ex4_20.sce | 8944998e5f7652cf95bcd53c44e5d28eaf641baa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | Ex4_20.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
LAT=15+12.0/60+40.0/3600;//latitude in degrees
Long=20+3.0/60;//longitude in degrees
GMN=5.0/60+10... |
3f0017777edf5a8c161f65c2409a33b9f137b427 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH8/EX8.6/ex8_6.sce | 4eb3cfa37a021cf7423f229c34da77a264850983 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | ex8_6.sce | //ex8.6
I_GSS=30*10^-9;
V_GS=10;
R_G=10*10^6;
R_IN_gate=V_GS/I_GSS;
R_in=(R_IN_gate*R_G)/(R_IN_gate+R_G); //parallel combination
disp(R_in,'Input resistance in ohms, as seen by signal source') |
97318d3495912e475854f49c426e5a81c7bc9ea8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.25/Ex5_25.sce | 660ccd79f563218200bd9404a3a07c3c4845d1b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 512 | sce | Ex5_25.sce | //Example 5_25
clc;
clear;
close;
format('v',7);
//given data :
I0=20;///micro A
VF=0.2;//V
t=27;//degree C
T=t+273;//K
VT=T/11600;//V(Thermal voltage)
Eta=1;//for Ge
I=I0*10^-6*[exp(VF/Eta/VT)-1]*1000;//mA
rdc=VT/(I0*10^-6)*exp(VF/Eta/VT)/10^6;//Mohm
disp(rdc,"Static Resistance(Mohm) : ");
//Note : Ans... |
95464cc489aeacb7ca30262233b9a9e4772501fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.21/EX_2_21.SCE | 70a762c9b4cdc570df12b67e2c2aac67abb43d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | EX_2_21.SCE | // Example 2.21: Quiescent , stability factor
clc;
clear;
close;
Vcc=10;// Colector voltage in volts
Beta=50;//Common emitter D.C. Current gain
Rc=2;// Collector resistance in killo ohms
Rb= 100;// in kilo ohms
Vbe=0;// Base to emitter voltage in volts
Ic= (Vcc-Vbe)/(Rc+(Rb/Beta)); //in milli amperes
Ib=Ic/Be... |
48353bba21d3d417e9096d97d61a23a5ed67d55c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH5/EX5.6.b/47ex5_b.sce | 18f06919989220c89487d4862cc4cc6f9b58c9a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 154 | sce | 47ex5_b.sce |
//evaluate 2*(3*n^2+5)-4 by removing brackets
clear;
clc;
close;
n=poly(0,'n');
p1=2*(3*n^2+5)-4;//removing braces
n=7;//given
val=2*(3*n^2+5)-4
|
1b158e1032ac7ed7842c94cbe96115bbdc27cbfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH18/EX18.10/Ex18_10.sce | 752bfc1c21ecefd7df592fb619fe977cee850520 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex18_10.sce |
// Examle 18.10
w=0.004; // width of the coil
l=0.005; // Length of the coil
A=w*l; // Area of the coil
B=0.1; // Megnetic flux density
n=80; // No.Of turns
tc=0.5*60*10^-6; // Controling torque
td=3*10^-3; //... |
3c32c0f860d48adfd457f44071534d6d41c06a16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH57/EX57.08/57_08.sce | da1c62d99482437f8751809cf301819d2592dafb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | 57_08.sce | clear;
clc;
z=.06*%i;
i=1+.6*%i;
vr=1;
vs=vr+(i*z);
q=.5*((abs(vs))^2-(abs(vr))^2)/abs(z);
q=q-.1;
a=atand(imag(vs)/real(vs))
mprintf("sending end voltage=%f/_%fV\nthe average reactive power flow=%fpu",abs(vs),a,q);
|
5e799590f7451da784b7a2636e101626e43a2a1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH5/EX5.15/exa_5_15.sce | 8b2fef9b5c1e7834e398fa822013de9b1bd6d604 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | exa_5_15.sce | // Exa 5.15
clc;
clear;
close;
// Given data
t=1/(2*10^6); // time of one cycle o 2MHz clock in sec
N=500;// number of cycle
t1= N*t;// time of 1 cycle by the electronic counter in sec
f= 1/t1;// in Hz
f=f*10^-3;// in kHz
disp(f,"Frequency of input signal in kHz")
|
28bee94294878f22ad4e1349f1cfa474a2fdc2e0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/auto/lqr.sci | 36c89c240d1c575f41785cef3f11944dbc0cf6e1 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,403 | sci | lqr.sci | function [K,X]=lqr(P12)
//lqr gain for full-state LQ problem
//(discrete or continuous)
// discrete continuous
// |I 0 0| | A 0 B | |I 0 0| | A 0 B |
// z|0 A' 0| - |-C'C I -S'| s |0 I 0| - |-C'C -A' -S' |
// |0 B' 0| | S ... |
ecfb8555e79f193eefeced506ba5cb6986f49d54 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Valorant Pistol Trainer Move 1 Bot.sce | 665db17880875d50b1fe1e4191a6c85010886787 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 332,233 | sce | Valorant Pistol Trainer Move 1 Bot.sce | Name=Valorant Pistol Trainer Move 1 Bot
PlayerCharacters=player_valorant_char
BotCharacters=enemy_valorant_normal.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=player_valorant_char
AddedBots=enemy_valorant_normal.bot
PlayerMaxLives=1
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=valorant_trainer_mid.map
MapScale=3.... |
956c040867cb0653e5798b0aa727ba6628caf178 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH13/EX13.3/example_13_3.sce | 2c73709c0d8934cf6f8143f64fdb8902da5e404c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | example_13_3.sce | //example 13.3
clc
clear
//bin(1,1) = input('Enter the first half string of binary number :');
//bin(1,2) = input('Enter the second half string of binary number :');
bin=['10110' '01101']; // given binry address
dec=bin2dec(bin); // finding decimal equivlent
hex=dec2hex(dec); //findin hexdecimal equivalent
dis... |
6fbebba3f538d06aa55e5870b39060f774678299 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH4/EX4.6/4_6.sce | 8816cb512faa634167161ff0ccd1aea99652d800 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | 4_6.sce | //example 4.6
clc; funcprot(0);
// Initialization of Variable
Tr1=793.0/647.3;
Pr1=22.0/22.09;
Rbar=8314.0;
M=18.02;
T1=793.0;
P1=20.0e6;
pr2=0.69;
v1=0.83*Rbar/M/P1*T1;
disp(v1,"Specific weight in m^3/kg");
vrdash=v1*22.09e6/Rbar*M/647.3;
Tr2=673/647.3;
P2=22.09e6*pr2;
disp(P2/10^6,"Pressure in Mpa");
... |
37532d937650310d439437a030e3a176d985c402 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.6/EX1_6.sce | df83eb521fe66d7026d47395f54c5a749365f257 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 447 | sce | EX1_6.sce | //EXAMPLE 1-6 PG NO-19-20
I=12; //CURRENT
V=230; //VOLTAGE
P=1000; //POWER
T=3; //TIME
S=3600;
E=(I*V/P)*T; //ENERGY USED
Q=I*T*S; //QUANTITY OF ELECTRICITY USED
IC=6.24*10^18;
N.C=IC*Q; //NUMBER OF ELECTRON
R=I*V; //RATE OF ENERGY
disp('i) ENERGY = '+string (E)+' KWh');
disp('ii) QUANTITY ... |
decbc5549b6177801e212832b7f8cc19e5d7e373 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH6/EX6.20/6_20.sce | 6d176fa3b31b7c7b185dfdb4e8d630ee27c02b90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | 6_20.sce | clear;
clc;
s=3.3;Zo=300;l=15;
ampK=round(((s-1)/(s+1))*100)/100;
Zr=Zo*(1+ampK)/(1-ampK);
printf("-Terminated impedance = %f ohms\n",fix(Zr));
lo=(2*2*%pi*l*(10^-2))/%pi; //lo=wavelength
f=300/lo;
printf("-Frequency = %f MHz",f);
|
7280b71db3c2f4e259e3fa1bac16585187ff05e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.15/Ex9_15.sce | 690c059c0b27a49838cfae5a16924b85d8efbade | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex9_15.sce | clear
//Given
q=1.6*10**-19 //c
B=2 //T
m=1.66*10**-27 //Kg
K=5*10**6
//Calculation
//
f=(q*B)/(2.0*%pi*m)
v=sqrt((2*K*q)/m)
r=(m*v)/(q*B)
//Result
printf("\n (i) The frequency needed for applied alternating voltage is %0.0f *10**7 H... |
477515dc86bda2ee90036a5ca93ac88491f8746b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH13/EX13.8/13_08.sce | e237fa146d5ce08ebce2556672cdfd6250160661 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,046 | sce | 13_08.sce | //Chapter 13, Problem 8, figure 13.39
clc;
E1=12; //e.m.f source
R1=1; //resistance in ohm
R3=4; //resistance in ohm
R2=5; //resistance in ohm
R=0.8; //resistance in ohm
I1=E1/(R1+R2+R3); ... |
0fa4a6322ed4bd3ab20426747ea19e7138a1bc72 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /BasisTrans/PIL_Gaunt_coff.sci | 2bd559b0fb26abe71e6abc020848a766c884421c | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sci | PIL_Gaunt_coff.sci | // **** Purpose ****
// This code calculates the Gaunt cofficients
// **** Variables ****
// [j1]: 1x1, integer or half-integer
// <= j1 parameter
// [m1]: 1x1, integer or half-integer
// <= m1 parameter
// [G_coff]: 1x1, real or complex
// => Gaunt co
// **** Version ****
// Mar/13/2014 First Built
// **** Comment ***... |
58174ba6696fe034782c873696c037db39a06bdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.61/example5_61.sce | 4d3d7906cdf764747db2538fd2befcf1611a414a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | example5_61.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.61
// Page 321
printf("Example 5.61, Page 321 \n \n");
// solution
// basis 100 kg of original acid
lv = 333.7 // kJ/kg
H = -lv-18*4.1868
HE = (-64277-H*312.63)/100 // kJ/kg
printf(" Heat of dilution = "+string(HE)+" kJ/k... |
e6d431a1150fb4951d9a830b8f6f416f97f9f3c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH9/EX9.2/Ex9_2.sce | 6b0ba6856ad246b665666255ecd816dec9bfb7cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | Ex9_2.sce |
clc
clear
//Input data
amr=226.095;//Atomic mass of radium in amu
AC=6.023*10^23;//Avogadro constant in molecules/g.mol
h=1620;//Half life of radium in years
//Calculations
D=(0.6931/(h*365*24*3600));//The decay constant in 1/s
Na=AC/amr;//Number of atoms per gram of radium
Ao=D*Na;//Initial activity in di... |
1ce910ceabcecd0a3dacffdf08a6834611448d41 | 4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf | /code/pev/select.sce | 2f2f9796eca4716f8583dd0eb0481f664cff94ad | [] | no_license | kiraboris/pyttools | d7bea20bd371b811f6fe86ab94dac3317b9e3679 | 7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe | refs/heads/master | 2021-05-31T01:17:35.354923 | 2016-02-03T10:12:09 | 2016-02-03T10:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,885 | sce | select.sce | // Procedures to select objects (make a decision, choose a selection). If you don't know where to start, type
// pevPrintResult( pevSelectF( filename ) );
// and then read comments below.
//===============
function sOut = lParseQualFun( sIn );
fScanBracket = %F;
sOut = "";
for(i=1:length(sIn))
i... |
975417d897e643b0113c1426c1110baab7205680 | ec137036bbd0b9a8f83ce1b09d94fd2f6fdcbfdf | /part2/nld.judgements.tst | f8aa03806342bb34286718d52b3e95f84f9526ce | [] | no_license | sigmorphon/2021Task0 | cef358c80898421a3b9dc966b17b3fe337690a14 | a8b31713b838bdb32a9bd84a866ee7d330a0badb | refs/heads/main | 2023-08-25T18:06:42.560860 | 2021-10-14T01:01:48 | 2021-10-14T01:01:48 | 339,821,394 | 21 | 10 | null | 2021-10-06T06:49:37 | 2021-02-17T18:40:57 | Scilab | UTF-8 | Scilab | false | false | 6,177 | tst | nld.judgements.tst | ɑ s ə ɑ s t ə V;PST;PL
ɑ s ə ɑ iː s ə V;PST;PL
b ə l ɛɪ z ə b ə l ɛɪ z d ə V;PST;PL
b ə l ɛɪ z ə b ə l eː z ə V;PST;PL
b ə r aː ɣ ə b ə r aː ɣ d ə V;PST;PL
b ə r aː ɣ ə b ə r iː ɣ ə V;PST;PL
b ə z eː l ə b ə z eː l d ə V;PST;PL
b ə z eː l ə b ə z aː l ə V;PST;PL
b ɛɪ ɣ ə b ɛɪ ɣ d ə V;PST;PL
b ɛɪ ɣ ə b eː ɣ ə V... |
9e047d2f5a9796ccdf7f43194d42b0e29b23ae48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH7/EX7.4/EXAMPLE7_4.SCE | b814f8ee65cd890fd178a358757998de99eb5206 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 861 | sce | EXAMPLE7_4.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//SAMPLING THEORY AND PULSE MODULATION
clear all;
clc;
printf("EXAMPLE 7.4(PAGENO 327)");
//given
//x(t) = 6*cos(50*%pi*t) + 20*sin(300*%pi*t) - 10*cos(100*%pi*t)
//by comparing with standard eqn x(t) = A_1*cos(w_1*t) + A_2*sin(w_2*t) + A... |
5476cf239d2ffc5e75266641c8e8cc1b4139f9ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH7/EX7.12/ex7_12.sce | febae2c6ee4307f944d89a5d19d0558cf02327c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | ex7_12.sce | //Part A Chapter 7 Example 12
clc;
clear;
close;
p=4;//MPa
T1=300//degree C
T2=50//degree C
h1=2886.2;//kJ/kg(at 4 MPa & 300 degree C)
s1=6.2285;//kJ/kg.K(at 4 MPa & 300 degree C)
hf=209.33;//kJ/kg(at 50 degree C)
sf=0.7038;//kJ/kg.K(at 50 degree C)
hfg=2382.7;//kJ/kg(at 50 degree C)
sfg=7.3725;//kJ/kg.K(at... |
0b3b9bf2790e1acad42c7faf1ac148ab6f18856d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/auto/svplot.sci | 92cab5c4291fb74badd2a6e76e5c145f235d535f | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 1,802 | sci | svplot.sci | function [svm] = svplot(Sl,w)
//SVPLOT singular-value sigma-plot.
// SVM = SVPLOT(SL,W) computes for the system
// SL=(A,B,C,D), the singular values of its transfer function matrix:
// -1
// G(jw) = C(jw*I-A) B+D
//
// or
// -1
/... |
a31d273d7aaf6b348a8d1257f7a96b8bf86fb6b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH11/EX11.4/Ex11_04.sce | 0e4c9a03215d791d1abdac6a4c8bfdae8818d37f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | Ex11_04.sce | // Scilab Code Ex11.4: Page-408 (2014)
clc; clear;
e = 1.602e-019; // Energy equivalent of 1 eV, J
k = 1.38e-023; // Boltzmann constant, J/K
T = 293; // Room temperature, K
V_f = 0.200; // Forward voltage, V
I_f = 50e-003; // Forward current, A
V_r = -0.200; // Reverse voltage, V
I_r = I_f*(ex... |
a07246564e31c8e2847711b7a30ade8c5b56e3ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH10/EX10.6/10_6.sce | 0267665e362f685d799c6647b207f21c6de9b8c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,062 | sce | 10_6.sce | //Example 10.6
//3 stage interpolation filter design
clc;
clear;
close;
Fs1=48000; //original signal sampling frequency
Fs2=3072000; //new sampling frequency
intf=64; //interpolation factor of filter
fp=20000; //pass band edge frequency
fs=... |
910ae2f2b37c9e0989abee3dc0f208248e602198 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH10/EX10.16/10_16.sce | 2cff5b647ce4f2042d60c005116ae1caf3516fc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | 10_16.sce | mo = 2; mn = 6;
muo = 32; mun = 28;
o = mo/muo;
n = mn/mun;
xo = o/(n+o);
xn = n/(n+o);
R = 8.314;
Ro = R/muo; Rn = R/mun;
dS = -mo*Ro*log(xo)-mn*Rn*log(xn);
disp("kJ/kg K",dS,"Increase in entropy is") |
75e50e8e15618327a771789546c96144849d12db | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/lang/exp2.tst | 21e18e272d896639e81e08e8e7d97d9594fd6ae6 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 664 | tst | exp2.tst | DECLARE INDVAR x y;
DECLARE INDPAR a;
DECLARE INDCONST alpha;
DECLARE PREDCONST P 1 [pre];
DECLARE PREDCONST R 2;
DECLARE FUNCONST f 1;
DECLARE FUNCONST f1 1 [pre = 500];
DECLARE FUNCONST g 2;
DECLARE FUNCONST g1 2 [inf = 400 405];
DECLARE FUNCONST g2 2 [inf = 605 600];
TERM g(f(x),y);
TERM a g1 f1 x g2 f1 y g1 alpha;... |
81649523329e5a2e70dccbad26cad153ed6e3c30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH14/EX14.1/EX14_1.sce | ddedaa42d08fefefdef8f995d88b665133c14968 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sce | EX14_1.sce | clc;funcprot(0);//EXAMPLE 14.1
//page 427
// Initialisation of Variables
d1=0.5;..........//Diameter of a steel Cable in in.
rhoy=70000;........//Yield Strength of Steel Cable in psi
rhoa1=36000;........//Yield Strength of Aluminum in psi
rhos=0.284;..........//Density of Steel in lb/in^3
rhoa2=0.097;.........//... |
3765204bbc3ed3fcc0b29d8d83950174906f3d56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH5/EX5.9/Example5_9.sce | 646749b7f7b9ce5358bf637f1fd86497becdbefd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_9.sce | //Example 5.9
clc
disp("The function can be implemented with a 8 to 1 multiplexer, as shown in fig. 5.22. Three variables A, B and C are applied to the select lines. The minterms to be included (1, 3, 5 and 6) are chosen by making their corresponding input lines equal to 1. Mintems 0, 2, 4 and 7 are not included by m... |
8ab8d6417ec151af0bdc7a946c74ed8ea5f8634b | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.2/2.sce | dcd8dac1a0e2389b2e32ec5ff96cc568ad1bd0bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | 2.sce | clc
cv=0.721; //kJ/kg K
cp=1.008; //kJ/kg K
m=0.5; //kg
n_th=0.5;
Q_isothermal=40; //kJ
p1=7*10^5; //Pa
V1=0.12; //m^3
R=287; //J/kg K
disp("(i) The maximum and minimum temperatures")
T1=p1*V1/m/R;
disp("Maximun temperature =")
disp(T1)
disp("K")
T2=(1-n_th)*T1;
disp("Minimum temperature =")
disp(T2... |
191fd6a51b9c57b5e2e1a16c6a9fcca9e24ce54a | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Menkakusi2.sci | 43eab74bce04fa44ef514af0431fdc25a911a4bd | [] | 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 | 3,962 | sci | Menkakusi2.sci | // 09.10.29
// 09.11.15
// 10.08.17 debug (line 66)
function Menkakusi2(Face,Nf,Ptype)
global THETA PHI EyePoint FocusPoint VELNO VELHI;
Eps0=10^(-6);
Eps=10^(-4);
Tmp1=Face(1)-Face(2);
Tmp2=Face(3)-Face(2);
if norm(Tmp1)<Eps | norm(Tmp2)<Eps
return;
end;
Vec=1/norm(Tmp1)/norm(Tmp2)*Crossprod(Tmp1... |
3dbe96e99f37c95030956f561abe858fda0908b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH10/EX10.17/EX17.sce | a2fa5b23675727a475dba8e16c7f29e1aa1bbb41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 403 | sce | EX17.sce | // Example 10.17: (b) a1, a2
clc, clear
RS=0.3e3; // in ohms
r_pi=2e3; // in ohms
RC=0.6; // in ohms
gm=0.1e-3; // in mho
C_pi=19.5e-12; // in farads
C_mu=0.5e-12; // in farads
R_pi=RS*r_pi/(RS+r_pi); // in ohms
a1=C_pi*R_pi+C_mu*(R_pi+RC+gm*R_pi*RC); // in seconds
a1=a1*1e9; // in nano-seconds
a2=C_pi*R_pi*... |
3649884568d0fe1c0138791aa171b3d654905145 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2288/CH3/EX3.21.19/ex3_21_19.sce | 97fb4b9b8c9bd57c7c388a7fc1d2e2c2d5e65033 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | sce | ex3_21_19.sce | // Exa 3.21.19
clc;
clear;
close;
// Given data
t_d = 3;// total depletion in µm
D = t_d/9;// in µm
disp(D,"Depletion width in µm is");
|
33916b0982e26f51118b2598ccaa4736e53c4c38 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/percent/%lssor.sci | e98594776d7d109949c335d9200dbd0b2b5c4946 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sci | %lssor.sci | //[r]=%lssor(s1,s2)
//%lssor(s1,s2) effectue le test d'egalite entre systemes d'etat et transfert
//correspond a l'operation s1==s2
//!
r=%f
//end
|
5c81c7db4103f0734d69e42b28aed25bfff3a68f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos/get_connected.sci | ba3f9459bcf8845ec4b185b30a8991a4543f0b91 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | sci | get_connected.sci | function connected=get_connected(scs_m,k,typ)
//return the vector of number of link connected to a given block
// scs_m : structure of blocks and links
// k : block_number
// typ : 'in','out','clkin','clkout'
// connected : vector of connected link numbers
[lhs,rhs]=argn(0)
o=scs_m... |
9808c4fd92ef6f45df962b9ac218ab436c07923b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH3/EX3.5/Chapter3_Example5.sce | 313acafd0ce3bf8a2e1604dfe6b4ebf840ead73b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter3_Example5.sce | clc
clear
//INPUT DATA
h=150;//height froom which ball fallen in ft
cp=0.03;//specific heat of lead in kj/kg-K
J=778;//mechanical equivalent of heat in ft lb/B.Th.U
//CALCULATIONS
//assume m be the mass of the lead
//work done in falling through 160 feet in ft-lb w=160*m
//heat absorbed by the ball in B.T... |
e0f2c608e14d9083b17b50d0086ae6d83dcbba5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH3/EX3.9/Ex3_9.sce | f39ecdb5c62c8b6dbe62a42467a28545996f27db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | Ex3_9.sce | clear ;
clc;
// Example 3.9
printf('Example 3.9\n\n');
printf('Page No. 70\n\n');
// given
P = 1;/// Principal Amount in Pound
r_i = 0.1;// Compound interest rate
for i = [1:1:4]
c = P*(1+r_i)^i;
printf('compound intrest after year %.0f is equal to %.2f Pound\n',i,c)
end
new_P = 1000*P;//in Po... |
fcc2f0b61cafe372fc8e58be5b8321501400c149 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH6/EX6.4/max_ex.sce | 876554a37e5036c29dae37061c42dd73d980047d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | max_ex.sce | // To demonstrate the maximum property of ACF at zero lag, as discussed in Example 6.8 on page 175.
// 6.4
exec('label.sci',-1);
S1 = [1 2 3 4];
S2 = [1,-2,3,-4];
S3 = [-1,-2,3,4];
len = length(S1)-1;
xv = -len:len;
m = 1;
xi = rand(4,1,'normal');
Spxi1 = S1 + m*xi';
Spxi2 = S2 + m*xi';
Spxi3 = S3 + m... |
4a32fc65c8afce6c49dc6bee64f58924ba9ccdb2 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/residue.sci | 70dc91fdfbc2d8f36d80078ea71d9afe4c09bec8 | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,346 | sci | residue.sci | // Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
8b16508e083e46899187e429a0fa98d27715be50 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/system/scilab/conv2.sce | b7837d59deec85c60b987170d1fce9f089f6d2e8 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 71 | sce | conv2.sce | // Updated(18-7-07)
// 3.2
h = [1 2 3];
u = [4 5 6];
y = convol(u,h)
|
12b38e53ccf9015610f8b9d34a3e9f31b3c73487 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH4/EX4.13/Ex4_13.sce | 2d4f1c62403966d89735630e1a8fdedd87a67803 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | sce | Ex4_13.sce |
//Example No.4.13.
//Page No.139.
clc;clear;
h = 6.626*10^(-34);//Planck's constant.
L = 1*10^(-10);//Width of the potential well -[m].
m = 9.1*10^(-31);//Mass of the electron.
E = ((6*h^(2))/(8*m*L^(2)));
printf("\n 1) The lowest energy of the system in joules is %3.3e eV",E);
E = (E/(1.6*10^(-19)));
prin... |
0d1681c033c3ed5d7997cd02051712c2ae8387b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH7/EX7.4/7_4.sce | 6c589440662efae15e2eb042e5681d394631dc10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 945 | sce | 7_4.sce | clc;
//page no 7-21
//Example 7.4
//Given transmitter frequency is 160MHz with a maximum deviation of 5.1kHz at a minimum audio frequency of 100Hz, initial phase modulation deviation is to be kept to less than 12 degrees
ft=160;//transmitter frequency in MHz
fd=5.1;//maximum frequency deviation in kHz
fmin=100;//... |
afe9e6776e894a7feee3d32dbf508803ad748909 | 872b5ff8852c926ca1261037de07449db7ac51db | /area-02/minimos-quadrados-a_mais_xquadrado.sce | e45c8dc8ee0c1b4a2c7d522cd7e79583e2e1c2b0 | [] | 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 | 267 | sce | minimos-quadrados-a_mais_xquadrado.sce | //a+bx^2
clear
x=0:0.1:1
y=cos(x);
n=size(x,1);
p=2;
M=[sum(x.^0) sum(x.^2)
sum(x.^2) sum(x.^4)]
b=[sum(y)
sum(y.*x.^2)]
a=inv(M)*b;
XX=0:0.1:1; // aqui coloca o valor do ponto que ele pede
YY=a(1)+a(2)*XX^2;
plot(XX,YY,'b')
plot(x,y,'r*');xgrid
|
383385f30df0b1b22ce3b8771caecacfb90123a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.31/Ex3_31.sce | 13e11a5e8c23036c183e2a51313c8977441e1c2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex3_31.sce | clc
//to calculate minimum number of lines in a grating
lambda1=5890
//wavelengh in angstrom
lambda2=5896
dlambda=6 //smallest wavelength difference in angstrom
n=2 //order of spectrum
lambda=(lambda1+lambda2)/2 //average wavelength in angstrom
RP=lambda/dlambda //RP=resolving power
N=RP/n
disp... |
055e95028481884a9f11bbf35491d373634007e1 | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /ledblink_demo3.sci | 4a6e480e684f08310e95a45fe6a4665bbddddbbf | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sci | ledblink_demo3.sci | function ledblink_demo3()
cmd_digital_out(1,9,1); //This turns ON the blue LED
cmd_digital_out(1,11,1); //This turns ON the red LED
sleep(3000); //Wait for 3 seconds
cmd_digital_out(1,9,0); //This turns OFF the blue LED
sleep(3000); //Wait for 3 sec... |
6ad051c97b846e5af20c87cc7c5d55b474471ad6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH11/EX11.6/example_11_6.sce | c1c54a36294af51280f59b37c157ceaad2b1cedc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | example_11_6.sce | //there is no pole or zero at the origin as the slope is initially 0
w=1 //given
y1=poly([1 1/w ],'s','coeff');
disp("at wc1 equation is 15=20*log(wc1)") //at wc1, magnitude is 15
wc1=10^(15/20)
disp(wc1,"hence wc1=")
y2=poly([1 1/wc1],'s','coeff')
disp("equation of 2nd line is y= (-20*log(w))+c")
... |
ea0d201f05aec83db07f5151c7d6280ba4474ed7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.33/ex2_33.sce | 98005d652e10a668ca0b255e1e98f2f2f270a84b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | ex2_33.sce | //chapter 2
printf("\n");
f=30*10^6;
c=3*10^8;
lamda=c/f;
leng=lamda/2;
printf("the length of half wave dipole is %dm",leng);
|
db9d93d0ba5b252e9dfb328c9485a52f366eab48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH7/EX7.3/Ex7_3.sce | b52b49961ee27ade09b64f4cd943535f86382955 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Ex7_3.sce | //example 7.3
clc; funcprot(0);
pi=%pi
H=10;
Gamma=110;
phi=35*%pi/180;
alpha=15*%pi/180;
theta=10*%pi/180;
zi=asin(sin(alpha)/sin(phi))-alpha+2*theta;
disp(zi*180/%pi,"zi in degrees");
Ka=cos(alpha-theta)*sqrt(1+(sin(phi))^2-2*sin(phi)*sin(zi))/((cos(theta))^2*(cos(alpha)+sqrt((sin(phi))^2+((sin(alpha))^2)))... |
934b88ccb7ba1fa66aafcbb1d311ea03d29bdac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH3/EX3.13/Ex3_13.sce | 8a243b545ea4eb1c0e41d18f33a7e756ad33c544 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | Ex3_13.sce | clc
//to calculate orders
//let E=(e+d)
//formula is (e+d)*sin thita=n*lambda
//for maximum order to be possible thita=90 degree
//sin theta=1
E=2.54/2620 //in cm
lambda=5*10^-5 //wavelength of the incident light in cm
n=E/lambda
disp("the orders will be visible is n="+string(n)+"unitless")
|
d62000d1a0dad20ab5b1028e052923a131129e17 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_nv_vrt_ind_d/~BivLCM-SR-bfas_nv_vrt_ind_d-PLin-VLin.tst | c317c7829aa16652eac3c872b42740bafdb96dee | [] | 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,909 | tst | ~BivLCM-SR-bfas_nv_vrt_ind_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.482395D+00
2 -0.649123D-02 0.402775D-02
3 0.338156D-01 0.21552... |
52302a8bdcdfc1f2e6df22603ab97ef1c36aa458 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH10/EX10.3/example3.sce | 9c18dc2c97eff97cc3590991bbf5493ff2b236f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3.sce | // find output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 10-3, page 325
clear;clc; close;
// Given data
B=300;
R1=10*10^3;// in ohms
R2=2.2*10^3;// in ohms
Re=1*10^3;// in ohms
Rl=10*10^3;// in ohms
Rc=3.6*10^3;// in ohms
Rg=600;// i... |
dbdf940b8776aad63b8c99081b85235b5de346fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH13/EX13.10/Ch13Ex10.sce | 4922c84728d1f7279e05ea96f94b2320362d59f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Ch13Ex10.sce | // Scilab Code Ex13.10: Page-652 (2011)
clc;clear;
K = 1.0000684;....// Dielectric constant of He at 1 atm
n = 2.7e+25;....// Density of He at 1 atm and 273 K, atoms/meter-cube
// The atomic polarizibility, alpha = eps_0*(K-1)/n
// In terms of atomic radius, alpha = 4*%pi*eps_0*R^3 so, we have
R = ((K-1)/(4*%pi*... |
2e9d030ed342d512ab228493e982038499cbbbb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH13/EX13.24/13_24.sce | 726a7a2dba3cf081755ece1f81e404c3b7248b83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,044 | sce | 13_24.sce | //Chapter 13, Problem 24, figure 13.85
clc;
R1=3; //resistance in ohm
R2=12; //resistance in ohm
E=15; //e.m.f source
E1=(R2/(R1+R2))*E; //p.d in volts
r=(R1*R2)/(R1+R2); ... |
ed8f3497296904c524dd46b32cfcaf0e13d631aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH6/EX6.9/EX6_9.sce | cb7f5d6e1483ee3dbe36087b065880bc36b348cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX6_9.sce | //Chapter 6, Example 6.9, page 245
clc
//Initialisation
d=5 //in dB
h=20 //Transmitter initial height
//Calculation
ht=h*10**(0.25) //Transmitter ultimate antenna height
//Results
printf("(1) Antenna Heigh... |
5cec5dba3aea2ae1ec5dc4649844a5634305e37c | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/DEPENDENCIES/play.sci | 2cef17f547830f3ef945fa2a139b54f4f2da097c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,203 | sci | play.sci | //Programming Example 8.9
//Second File
//Simulate one complete game
function[]= play()
printf("\n Please throw thw dice");
dummy=scanf("%c");
printf("\n");
score1=throw(); //function call
printf("\n score1 =%2d", score1);
select(score1)
... |
f3d86eb097a171bb5a732d86d5281ed8fc98a2f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH7/EX7.10/7_10.sce | 17cc59028279144e10e5db0cee185a5f1a32a3d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | 7_10.sce | Ac=12/10000
Fmin=160*9.81
B=sqrt(Fmin*2*uo/Ac)
u0 = 4%pi*10^−7
H=2800
L=75/100
F=H*L
Lg=0.1/1000
A=24/10000
Rg=Lg/(uo*A)
fluxg=B*A
Fg=fluxg*Rg
Ftotal=F+Fg
imin=Ftotal/1000
disp(imin) |
8ad5f348cb7178a2080efa187e4e88350ca52d47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH7/EX7.5.2/Ch07Exa7_5_2.sci | bb8a02c91f9848566df71cf2d087a95b7db96274 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sci | Ch07Exa7_5_2.sci | // Scilab code Exa7.5.2: To calculate the life of G.M. counter :P.no. 312 (2011)
n_t = 10^9; // Total number of counts
n_d = 2000*3*60; // Count recorded per day
n_y = n_d*365; // Counts recorded in 365-days
t = n_t/n_y; // The life of G.M. counter, year
printf("\nThe life of G.M. counter : %4.2f year", t)
... |
5c85d4d28be7d7a3bdb3e6e2a1bedce3beef6959 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/nfet_gldn.sce | 41a2bd611b0e8d8abde48050bd5511a22b73d87c | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 656 | sce | nfet_gldn.sce | //**************************** NFET GOLDEN *******************************
if (blk_name.entries(bl) =='nfet_gldn') then
mputl("# NFET GOLDEN",fd_w);
mputl(".subckt nfet in[0]=net"+string(blk(blk_objs(bl),2))+'_1'+ " in[1]=net" + string(blk(blk_objs(bl),3)) +'_1'+ " out=net"+ string(blk(blk_objs(bl),2+numofip))+... |
25df3e680d93cf720b682fac702719a5da8f5dbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH9/EX9.7/9_7.sce | 291a6ab5c740522f675d934c97dd3746cc66c5c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_7.sce | ////Variable Declaration
csolute = 0.500 //Concentration of solute, g/L
R = 8.206e-2 //Gas constant L.atm/(mol.K)
T = 298.15 //Temperature of the solution, K
//Calculations
pii = csolute*R*T
//Results
printf("\n Osmotic pressure %4.2f atm",pii)
|
6537c754e13fa2cf64b55786cb9fe26d4d2d8bb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH10/EX10.2/Example_10_2.sce | f1a3690c24acdadee8d74f9d82b61da4d75a7527 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 883 | sce | Example_10_2.sce | //clear//
clear;
clc;
//Example 10.2
//Given
delta1 = 4.5/12 ;//[ft]
k1 = 0.08; //[Btu/ft-h-F]
delta2 = 9/12; //[ft]
k2 = 0.8; //[ft]
Tin = 1400 //[F]
Tout = 170 //[F]
Rc = 0.5; //[ft^2-h-F/Btu]
//(a)
//Considering unit cross sectional area
A = 1; //[ft^2]
RA = delta1/k1; //[ft^2-h-F/Btu]
RB = delta2/... |
da35632130555450cae7b26f9692d5e4f9002f05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH6/EX6.9/6_9.sce | c0677e209244ffcaedb8109674e0614341cfeec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | 6_9.sce | clc;
//page no 258
//prob no. 6.9
//An IF transformer at 455kHz & primary ckt has Qp=40 & secondary Q=30
fo=455*10^3;Qp=40;Qs=30;
//a)Determination of critical coupling factor
kc=1/sqrt(Qp*Qs);
disp(kc,'a)The critical coupling factor is');
//b)Determination of optimum coupling factor
Kopt=1.5*kc;
disp(Kopt,'b... |
dc09ce6e2fad52d5c7a19f65293579404dfed99d | ec117c3067c517791d2aa16938bdbe68ccc4222f | /Reconstruction_surface/Tp2/leastSquaresCurve.sce | 11ae4f36325718ab84dad4ef22642ac50a167440 | [] | no_license | Mric26/M2-S1 | e870849816b2a7945b4017bb2defaf4d772835f6 | bf9acf69e3a2a8abb3fbbe140021c8971cace9b9 | refs/heads/master | 2016-08-12T16:29:55.570039 | 2016-03-31T10:28:47 | 2016-03-31T10:28:47 | 43,129,610 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,018 | sce | leastSquaresCurve.sce | function mc(fitType,inputs,plotres,jpgfilename)
nargin = argn(2);
if nargin<3 then plotres = 1;end
if nargin<2 then inputs = 1;end
if nargin<1 then fitType = 1;end
rand('seed',0)
if inputs==2 then
// quadrique
a = -1.3;
b = 0;
c = 2;
x = linspace(-25,25,50);
y = a.*x^2+b.*x+c+ra... |
8106f8c8b061545ba618dd83682e65ccdc8fef04 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/env/11LeafAreaIndex.sci | 272f2407703948d6f1d8a53c7463731c88f0e3c7 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sci | 11LeafAreaIndex.sci | LAI
0.01118
0.01476
0.02474
0.04241
0.07316
0.12607
0.21558
0.36338
0.59866
0.95343
1.44852
2.07248
2.77088
3.39105
3.93329
4.34412
4.60272
4.70088
4.63795
4.42256
4.07663
3.63664
3.14922
2.66142
2.21016
1.81619
1.48502
|
9fb7fbda41ba697549be3b1126370495ec7f12a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH14/EX14.3b/eg14_3b.sce | 1cd69204e6e345d396362d1a085dda19fb9ff888 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | eg14_3b.sce | t = 1800;
theta = 150;
r =20;
pvalue = cdfchi("PQ",2*t/theta, 2*r );
disp(pvalue, "P-value is ") |
e7657ee8d65dc1cc43eca5f156d4ad6182585587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH3/EX3.2/2.sce | 5d498a16fae1c2e004c35d94e70d81336c65bd7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 770 | sce | 2.sce | clc;funcprot(0);
//Example 3.2
//Initializing the variables
w = 1.8; //Width of plate
h1 = 5; //Height of plate and water in upstream
h2 = 1.5; //Height of water in downstream
rho = 1000;
g = 9.81 ; //Acceleration due to gravity
//Calculations
function[F]=waterForce(area,meanHeight)
... |
cd530433ba62d8b89fffb4d8809b8a41ae918bf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH5/EX5.8/Ex5_8.sce | 11174cc58237f1c3e9e292f7e0d5227ed492ebfd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Ex5_8.sce | //voltage standing wave ratio
//given
clc
Vmax=5//volts
Vmin=3//volts
VSWR=Vmax/Vmin//voltage standing wave ratio
VSWR_S=20*log10(VSWR)//VSWR IN db
VSWR_S=round(VSWR_S*100)/100///rounding off decimals
disp(VSWR_S,'THE voltage standing wave ratio in db:')//decibles
|
94521dcc2e49aab4fc6d0f19c94fb567919951de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.25/Ex3_25.sce | 13d96a0cfce58e7a20dd78accd847111f9531b71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sce | Ex3_25.sce | //Ex 3.25
clc;clear;close;
format('v',6);
omega=10^4;//rad/s
C=10;//nF
fi1=-30;fi2=-90;fi3=-120;fi4=-150;//degree
R1=tand(-fi1/2)/(C*10^-9*omega)/1000;//kohm
R2=tand(-fi2/2)/(C*10^-9*omega)/1000;//kohm
R3=tand(-fi3/2)/(C*10^-9*omega)/1000;//kohm
R4=tand(-fi4/2)/(C*10^-9*omega)/1000;//kohm
disp(R1,"For phase s... |
20d0100a4f09a202450472dbb724d78885909cca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.36/ex2_36.sce | e67b5da8654509fd2bcb040c3570c7b9f71dbb81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_36.sce | // Example 2.36, page no-52
clear
clc
// Intercepts are in the ratio 3a:4b along X,Y and parallel to Z axis
//x intercept 3,y intercept 4 and z intercept infinity
a=2*10^-10// 2 Angstrom
h=4
k=3
l=0
d=a/sqrt(h^2+k^2+l^2)
printf("The lattice spacing for the plane 430 is %.1f*10^-10 m",d*10^10)
|
48b08004a0c86f6e2d92843683e2cf81f9b3cddf | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH4/EX4.29/ex4_29.sce | 47e15c34312e58e147e4f29096e226b58b3bfe21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | ex4_29.sce | //Ex 4.29
clc;
fm=500;
fs=2*fm;
T=1/fs;
df=10;
N=2*fm/df;
rl=N*T;
disp(rl,'Record Length');
sl=0.05;
zp=rl-sl;
disp(zp,'Zero padding required');
|
29d5c56f8f04317251c173b2fda110b5a97885d7 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Dump/Development backup/Development/Preprocessing/Missing values/Missing.sci | 3c62450a07f95a999d68b04b168317075a08efa4 | [] | no_license | 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 | 457 | sci | Missing.sci | // Macro for missing values of dataset -- Scilab
function fill = missingMean(x)
n = length(x(:, 1));
fill = x;
x(or(isnan(x),'c'),:) = [];
xmean = mean(x);
for i = 1:n
if(isnan(fill(i, 1)))
fill(i, 1) = xmean;
end
end
endfunction
function fill = missingMedian(x)
n = length(x(:, 1));
fill = x... |
6652771c1ab39ce67751227c3ff53f617564c60f | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH6/EX6.01/6_01.sci | 3d1daae05afc43586a93bfe07e565b770d0139b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sci | 6_01.sci | //syslin//
exec series.sce;
s=%s;
sys1=syslin('c',(s+3)/(s+1))
sys2=syslin('c',0.2/(s+2))
sys3=syslin('c',50/(s+4))
sys4=syslin('c',10/(s))
a=series(sys1,sys2);
b=series(a,sys3);
y=series(b,sys4);
y=simp(y);
disp(y,"C(s)/R(s)=")
|
f5ecb2e29efcf1c1d5d6c235c610db89559e7c6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH8/EX8.4/exa8_4.sce | 351c7e6da5c8669dd6eb61c4a3a1331e397f1bf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | exa8_4.sce | // Example 8.4
// Impedance Matching with a Transformer
omega=10^5;
R_L=500 ;
I_s_m=100*10^-3;
Z_s=(400*(-%i*200))/(400-%i*200); // from figure 8.10(a)
V_s_m=abs(Z_s)*I_s_m;
// From figure 8.10(b),load impedance referred to the primary
// Turn ratio
N=sqrt(500/80); // from condition of impedance matching
L=(1... |
6f9c4c69fb9859e1b036158a7358c29ee147c8c9 | 634af5304c38dcb1f46551b3af0cd17d9538279f | /aula1/a1e3-Bernoulli.sce | e9fd0f61466770d99f4066b68ecc521c198d3d92 | [] | no_license | taiaraujo/Processos_Estoc-sticos | 3b35ab57321d08047621f7045ae62a5c937a3346 | 85677fe2d055ed621d399c64cec14eb6ec1875de | refs/heads/master | 2021-04-28T03:06:13.349687 | 2018-02-19T23:07:28 | 2018-02-19T23:07:28 | 122,131,723 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | a1e3-Bernoulli.sce | //CONTAGEM DE SUCESSOS
//PROCESSO DE BERNOULLI (sucesso ou fracasso)
clear
n = 100000; //numero de amostras
U = rand(1,n);
toss = (U<0.5); // vetor binario [V quando U<0.5 ]
a = zeros(n+1);
avg = zeros(n);
for i=1:n
a(i+1) = a(i) + toss(i); //acumalar sucessos
avg(i) = a(i+1)/i; //frequencia relativ... |
c78fbfdef51965a7806d3b077d03b7081feba7ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH5/EX5.4/Ex5_04.sce | 4b7e72d656d059b18d50e7ce5dc7765ce9a4925e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | Ex5_04.sce | // Scilab Code Ex5.4 : Page-174 (2013)
clc; clear;
h = 6.63e-34; // Planck's constant, Js
c = 3e+008; // Speed of light, m/s
e = 1.6e-19; // Energy equivalent of 1 eV, J/eV
m = 1.67e-27; // Mass of a neutron, kg
k = 1.38e-23; // Boltzmann constant, J/mol/K
T = [300 77]; // Temperatures, K
lamb... |
69264389841f2f13f6f31088f1a18f5329e03739 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH3/EX3.13/ex_3_13.sce | 319071f4067722aadd0b1a873ddc14c14462da1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | ex_3_13.sce | //example no. 3.13
//solve system by LU decomposition method
A=[2 1 1 -2;4 0 2 1;3 2 2 0;1 3 2 -1]
b=[-10;8;7;-5]
[U,L]=LandU(A,4)
n=4;
Z=fore(L,b);
X=back(U,Z)
//since A=L*U ,
// inv(A)=inv(U)*inv(L)
// let inv(A)=AI
AI=U^-1*L^-1
|
df39c17c3cd3e6aa6095c2b8fadc7a68c39325f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH11/EX11.13/11_13.sce | 559dfb4781b3d52c960615bcfa1e93ad00af2e10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,002 | sce | 11_13.sce | clear;
clc;
Ya=40*(10^-3);Yb=50*(10^-3);Yc=20*(10^-3);
Za=1/Ya;Zb=1/Yb;Zc=1/Yc;
Z1=Zb*Zc/(Za+Zb+Zc);
Z2=Za*Zc/(Za+Zb+Zc);
Z3=Zb*Za/(Za+Zb+Zc);
Zi1=sqrt(((Z3+Z1)/(Z3+Z2))*((Z1*Z2)+(Z2*Z3)+(Z1*Z3)));
printf("(a)Zi1 = %f ohms\n",round(Zi1));
Zi2=sqrt(((Z3+Z2)/(Z3+Z1))*((Z1*Z2)+(Z2*Z3)+(Z1*Z3)));
printf(" Zi2 =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.