blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
99e892c4f571aaff1f035b727c82b18f065fa286 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH9/EX9.8/Ex9_8.sce | af35c21416a2e7c311308d495aecfc27ec759299 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sce | Ex9_8.sce | //Ex 9.8
clc;
clear;
close;
format('v',6);
f0=3;//kHz(Critical frequency)
Ap=4;//Pass band gain
//For Butterworth filter using sallen key
alfa=1.414;klp=1;//constant
fH=f0;//kHz
f_3dB=f0;//kHz
disp("Various design parameters are :-");
C1=0.01;//micro F//Chosen for the design
disp(C1,"Capacitance C1(micro F... |
edfe96055e60f9919d87a94825edddbe008a516b | b2675f983fedb79e5e6f1940962373bda0570ec4 | /Bank v6/Tests/test-data-driven-kioskv6.tst | 6cee245f09a9b52e2bcd9348f8d831d661f5109a | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,892 | tst | test-data-driven-kioskv6.tst | <?xml version="1.0" ?>
<TestCase name="test-data-driven-kioskv6" version="5">
<meta>
<create version="8.5.0" buildNumber="8.5.0.58" author="admin" date="09/11/2015" host="localhost" />
<lastEdited version="8.5.0" buildNumber="8.5.0.58" author="admin" date="09/11/2015" host="localhost" />
</meta>
<id>C44011AC58... |
247e12934934b673a8701f45415ebed8fe9ed1cf | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab/optimisation/directFBG.sci | 2d5d500ec4c98afbf19996d65ffdd00e8a7d0c8c | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,834 | sci | directFBG.sci | //
// direct problem: computation of the reflectitivity spectrum of a FBG and of the errror function
//
function rhodot=f(z,rho,delta,lamb,zf,dn) // right hand side of the ODE
d=splin(zf,dn); // spline interpolation of the apodisation function
dnz=in... |
e2927603ceb3a8eaca50e3dae7b60e4e13535c8c | 67a55a3ce27f3b074becff1487807e97611a0db3 | /migraphx_driver/glue/SST.tst | b47196c406af58e00d02a362552adc7fe53080c9 | [] | no_license | mvermeulen/migraphx_sample | 083425ea5de80bd5fa6ecb84a3a7dc8423ce3872 | ea1f7bb3298ee74800bf2baecd16e0de05cc0e1c | refs/heads/master | 2020-05-05T00:56:04.103853 | 2020-03-11T15:45:29 | 2020-03-11T15:45:29 | 179,588,065 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107,793 | tst | SST.tst | label 5650
1 1122,112,188,170,14186,1105,1510,12759,5012,119
0 8362,2087,2836,7520,1193,26481,1105,7127
1 3643,1366,1106,2810,1115,1185,4371,1110,25156,1106,9712,24063,170,1558,1578,1112,170,2595,1870,1107,14850,2109,13140,119
1 1103,3176,117,13452,117,1390,117,7678,22556,1105,1839,1132,1155,1112,2430,6775,1158,154... |
07d54f2bde1e34953e7b2c2677abd0e8357f8345 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH3/EX3.6/Chapter3_Example6.sce | 0a6144c0f35491df7a6fe169e63e7c81637fecad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Chapter3_Example6.sce | clc
clear
//Input data
t=25;//The temperature of both reactants and products in degree centigrade
p=1;//The pressure of both reactants and products in bar
//Calculations
h=0;//Enthalpy of all elements at given temp and pressure
hf1=-103.85;//The enthalpy of the compound C3H8 in the reactants side at given te... |
6a93c87a0166d755a7eba45aaeda83d511eef2ee | c565d26060d56f516d954d4b378b8699c31a71ef | /Vikas_self/report_tex/PID_results/pidselftuned40to45.sce | c5c982bda936258bca3b348118f4ca3eb9e24098 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 77,895 | sce | pidselftuned40to45.sce | 0.100E+00 0.338E+02 0.490E+02 0.620E+01
0.500E+00 0.338E+02 0.000E+00 0.620E+01
0.900E+00 0.338E+02 0.128E+02 0.620E+01
0.130E+01 0.337E+02 0.256E+02 0.620E+01
0.170E+01 0.337E+02 0.486E+02 0.630E+01
0.210E+01 0.337E+02 0.490E+02 0.630E+01
0.250E+01 0.336E+02 0.490E+02 0.630E+01
0.29... |
19d9e49e6e8813716b0799ae838f0b696fc6bb68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.52/Ex4_52.sce | 596f792b3d60248a10307eeec84224bb0a981abf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | Ex4_52.sce | clc;
v=240; // supply voltage
n=1000; // speed of motor
i=40; // current drawn from supply
rf=0.2; // field resistance
ra=0.25; // armture resistance
rd=0.3; // diverter resistance
// torque is constant for different speeds
// when diverter is put in parallel with series resistance then some fraction of armatur... |
ef5f52db6afcd4681c0ddce98322d2475b53655e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH7/EX7.7/Ex7_7.sce | 1c3ba780bcd6fc0f5a345b8d38083ab707ca15ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | Ex7_7.sce |
// Example 7.7
k=1; // Constant
N1=2000; // turns of Solenoid
N2=500; // turns of Coil
mo=4*%pi*10^-7; // Permeability of free Space
A=30*10^-4; // Area of aCoil
l=0.7; // Length of Solenoid
z=k*N1*N2*mo*A; // alph... |
ff33e60cb5615a5b317c6fd1b3b6c51af8a0e38b | 56ae453b5537f39dbd832dd0416f3c804aa1b937 | /microdaq/macros/mdaqDSPStop.sci | f8591b648e70437a69d8c3f588f4f4cdeac99245 | [
"BSD-3-Clause"
] | permissive | grtwall/Scilab | 38bc8bc978e715b770da61482a9ac30e0cb806d3 | e44e0dc0d357a6baf875d33ddd435a29e053b7f1 | refs/heads/master | 2020-07-22T16:48:31.589484 | 2018-07-31T13:15:40 | 2018-07-31T13:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sci | mdaqDSPStop.sci | function mdaqDSPStop(arg1)
// Check version compatibility
[is_supp vers] = mdaq_is_working('mdaqDSPStop');
if is_supp == %F then
error('ERROR: ' + vers)
return;
end
if argn(2) == 1 then
link_id = arg1;
if link_id < 0 then
disp("ERROR: Invalid link... |
429e7808ff0be9674bb65a8d1360c156ea907db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH3/EX3.9/Ex3_9.sce | aefc35ea1ec29b6325ccab7ef71306ecaeeaeb03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex3_9.sce | Bf=1250//width of flange, in mm
Df=120//thickness of flange, in mm
d=700//effective depth, in mm
m=13.33//modular ratio
Ast=5500//in sq mm
W=60//UDL including self-weight, in kN/m
l=8//span, in m
M=W*l^2/8*10^6//in N-mm
//Assume x>Df. Equating moments of area on compressiona and tension sides about N.A.
x=(m*A... |
93b299b2607dc04c0d1600c073a18f3984363fbf | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.21/Ex14_23_21.sce | 19726bf37bb74388526c3ea57488668fc2950c41 | [] | 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 | 310 | sce | Ex14_23_21.sce | //Section-14,Example-5,Page no.-PC.114
//To calculate the pH of a solution obtained in the given condition.
clc;
M_1=0.1
M_2=0.2
V_1=10
V_2=40
V=V_1+V_2
m_eq=(M_1*V_1)+(M_2*V_2*2) //mgm. equivalents of [H3O+]
C_1=m_eq/V //[H3O+]
pH=-log10(C_1)
disp(pH,'pH of the given solution')
|
5aae30ff1e498e83581475b321844cd6c588bcd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH4/EX4.6/eg4_6.sce | 4c85f0245ea07e8f5b21a746390a4e26c30258ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | eg4_6.sce | t0 = 0.6*10^-9;
tnr = 10^-7;
p = 10^22;
kT = 26*10^-3; //in eV
m0 = 0.91 * 10^-30; //in kg
m1 = 0.067*m0;
m2 = 0.45*m0;
h = 1.05*10^-34;
q = 1.6*10^-19;
tri = (0.5*p/t0)*(2*%pi*h*h/kT/q/(m1+m2))^1.5;
tr1 = 1/tri;
disp(tr1,"When the p-type doping is 10^16 cm−3, the hole density is low and the e-h recombination time (in... |
9f07b22c4411598a400a355f14e7424efe512aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.5/EX2_5.sce | 6b001835fbae8eecddf896dcbfd8e147d88b42c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | EX2_5.sce | clear;
clc;
printf("\nEx2.5\n");
//page no.-56
//given
h=6.67*10^-27;...............//planck constant in ergs-sec
m=9*10^-28;..................//mass of e
e=4.8*10^-10;...............//charge in e.s.u.
lambda=0.5*10^-8;..........//wavelength in m
//we know, lambda=h*sqrt(150/(m*e*V))
V=((h^2*150)/(m*e*lambd... |
12b90cba1721bc5d9eee715945679e030fa152ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH37/EX37.2/Example37_2.sce | 952aa3218cc20c93ce636d6a72c5ab2b67f2e943 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Example37_2.sce | //Sample Problem 37-2
printf("**Sample Problem 37-2**\n")
I = [];
for m = 1:3
theta = (m+.5)*%pi
I = [I, (sin(theta)/theta)^2]
end
printf("The intensities of secondary maximas relative to intensity of CBF is-\n")
printf("\tI1/Im = %.4f\n", I(1))
printf("\tI2/Im = %.4f\n", I(2))
printf("\tI3/Im = %.4f... |
65b836aa41ea22ec467097e810b1bbbea8f084ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH8/EX8.6/8_6.sce | eb1647f3daf3a6aae7fcb804976b321fde82adf4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | 8_6.sce | //example 8.6
clc; funcprot(0);
// Initialization of Variable
h2s=272.39;
h1=241.35;
mdot=0.08;
h4=99.56;
Wcdot=mdot*(h2s-h1);
disp(Wcdot,"work input in kW");
Qindot=mdot*(h1-h4)*60.0/211;
disp(Qindot,"refrigration capacity in ton");
Beta=(h1-h4)/(h2s-h1);
disp(Beta,"coefficient of performance");
clear()
|
a32df8c963c964d7cd350a3520ec469f8696fdfb | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/util/macrovar.sci | ec4fc8879998d5bb91e21970053e79c2d919ff68 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,658 | sci | macrovar.sci | function vars=macrovar(macro)
// Returns in a list the set of varibles used by a macro
// mac : macro
// vars : list(in,out,globals,called,locals)
// in : input variables
// out: output variables
// globals: global variables
// called : macros called
// locals : ... |
99879828852e0645acfe26ffdfb332e8d873837b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%rt.sci | b5797fa67baac7939ee846b50c9a20894db60923 | [
"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 | 69 | sci | %rt.sci | //<f>=%rt(f1)
// f=f1'
//!
f=list(f1(1),f1(2)',f1(3)',f1(4))
//end
|
dbab0ca8f66139d01bb6860c02823ec93be4d517 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testexec.sce | d7d8adb58219fe4eff120151b3cf74ecb70330ce | [] | 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 | 356 | sce | testexec.sce | copyfile('scilab-base-program-testscript.sce','testscript.sce') //to delete
exec('testscript.sce',-1) // no echo except "disp"
exec('testscript.sce',0) // echo unless using a ";"
// same as option 0 + command prompt
exec('testscript.sce',1)
// same as option 0 + new line
exec('testscript.sce',2)
// same as option 1 +... |
4f962bfaab03e5f524327f9af6cef980ec6591ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH4/EX4.5/4_5.sci | aaccb0587ba3620c89901a7d0500962d2f7d1e40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sci | 4_5.sci | clc();
clear;
//To determine the diameter of the ninth dark ring
n=9;
lambda=589*10^-9; //wavelength of light used
R=0.95; //radius of curvature of lens
mew=1;
D=(sqrt((4*n*lambda*R)/mew))*10^2 //diameter of the ninth dark ring
printf("The diameter of the ninth da... |
f55015b26c5f87becd3172328f8cee1144b804dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.24/Ex2_24.sce | 3cc4f425ac5114327df0cb97ab11c41d8e3daa1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_24.sce | clc
//given that
l = 2.5e-10 // width of potential well in m
h = 6.63e-34 // Plank constant
m = 9.1e-31 // mass of electron in Kg
printf("Example 2.24")
for n = 1:2
E = n^2*h^2/(8*m*l^2) // Calculation of energy in Joule
E_eV = E/1.6e-19 // Calculation of energy in eV
printf("\n Energy of electron fo... |
a51a210c568fc36fe0011aa78c1319a6d1927181 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH12/EX12.5/example12_5.sce | 1c4d5df5a6148db243d3f976e4c19b6307c41eee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 820 | sce | example12_5.sce | clc
clear
disp('example 12 5')
po=5 //mva rating
v=10 //voltage in kv
n=1500;ns=n/60 //speed
f=50 //freaquency
pfb=0.8//power factor in b
x=0.2*%i //reactance of machine
md=0.5 //machanical displacement
//no load
v=1;e=1;
p=4
spu=v*e/abs(x);sp=spu*po*1000;mt=(%pi*p)/(180*2)
spm=sp*mt //synchronous power i... |
199fa83d710ad02873d1d1ad208df28a00a9cd5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.58/Ex1_58.sce | 65a3e43dee4c0eb207962c35d3ca0f73b80656c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Ex1_58.sce | // Ex 58 Page 401
clc;clear;close;
// Given
zo=2+%i*3;//ohm
zi=0.5+%i*5;//ohm
Ri=real(zi) ;//ohm
Ro=real(zo) ;//ohm
//at standstill
s=1;//% at standstill
Zo=sqrt(real(zo)**2+imag(zo)**2);//ohm
Zi=sqrt(real(zi)**2+imag(zi)**2);//ohm
ToBYTi=Ro/Ri*(Zi/Zo)**2;//torque ratio
printf("at slip=0, To:Ti = %d:1",ToBYTi)
//at ... |
79b8be3f16e6e966bcb520726861e09a22f969d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH7/EX7.9/ex7_9.sce | 468f6a3b07ecc1487371077e797ca9bb4cffccdf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | ex7_9.sce | // Exa 7.9
format('v',7);clc;clear;close;
// Given data
Samplingrate = 200;//Sampling rate in MS/s
Samplingrate = Samplingrate * 10^6;// in S/s
t_r = 1/Samplingrate;//minimum rise time of pulse in s
t_r = t_r * 10^9;// in ns
disp(t_r,"The minimum rise time of pulse in ns is");
|
70a13fb970d87e4d63088ea706a4f55ce37abbc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH7/EX7.4/ex7_4.sce | 7130020d679a620b3440cff3ef28041ed5d43a1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | ex7_4.sce | // Example 7.4, page no-270
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... |
150e96a3e851150c4e27cf049248ec267044f88f | 2bd4fdf578d9f6d84f63c91ef66df0a9b92d2dd5 | /sv-graphs.sce | 22c5cd02da066afc9cdcdea1d206abb97c10715a | [
"BSD-3-Clause"
] | permissive | ShiZhan/graph-classifier | dbd03bb8025db736bf7fc7aaddd4d124f03f7f1b | 8f423b8c844e0fe8fe17d34908b3323bf337dca9 | refs/heads/master | 2020-05-21T14:59:49.751862 | 2016-09-19T07:20:35 | 2016-09-19T07:20:35 | 63,382,818 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | sv-graphs.sce | mode(-1)
//stacksize(40000000)
location = 'C:\cygwin\home\Zhan\repository\graph-classifier\dataset\'
edgelists = [
'er-8-8.txt',
'er-9-8.txt',
'er-10-8.txt',
'er-11-8.txt',
// 'er-12-8.txt',
'ba-8-8.txt',
'ba-9-8.txt',
'ba-10-8.txt',
'ba-11-8.txt',
// 'ba-12-8.txt',
'sw-8-8.txt',
'sw-9-8.txt',
... |
2195cb195946a61eb78d0539bc08a88bbc108df4 | 0c3cccb3c81eb151f654e5d9d470662c19122857 | /scilab/fac/tp_deformations/tp_deformations.sci | 235a1c698845be0eb3097477b24dd271200c96b7 | [] | no_license | gmordelet/oldProg | 6b2bb7c247dd1f16a641d0f840f7c82e8eb37ffb | c108060bf1b87b4aad196484036f226fd9c4422c | refs/heads/master | 2021-01-12T16:28:52.448277 | 2016-10-30T11:16:22 | 2016-10-30T11:16:22 | 69,155,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,084 | sci | tp_deformations.sci | // Fonction niveau de gris
function J = niveau_gris(I)
if length(size(I))==3 //3 canaux = image couleurs
J = mean(I,3);
else
J = I;
end
endfunction
// Calcule l'homographie qui transforme les 4 points
// (cx1(i),cy1(i)) i=1..4 en (cx2(i),cy2(i)) i=1..4,
// puis applique cette homographie ... |
5679a7c205498dc54b24eb89de96f12a6d926f49 | 44a15e4bb1e6caceda9ee02880890d520e993306 | /Foundation Code/mymixedtrials.sce | b8b3a31a2fdcd2c20d4908a0dafbbe88bd977add | [] | no_license | CNL-R/TripleSequences | 3ac8be0b491b3a77e3a5fd859c9580d6be650a78 | 46d75c6d074b4e011961916a908c1d21d8944784 | refs/heads/master | 2021-01-01T19:14:21.755538 | 2017-08-16T21:18:27 | 2017-08-16T21:18:27 | 98,548,330 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,092 | sce | mymixedtrials.sce | # Header section (set default parameters)
active_buttons = 1;
button_codes = 1;
pulse_width = 5;
#write_codes = true;
response_matching = simple_matching;
scenario_type = trials;
no_logfile = false;
default_background_color = 50, 50, 50;
#SDL portion (create objects and trials)
begin;
bitmap { filename = "red_circle5... |
b715d5dff359fa6375b9342983f2da14f5d6f9d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH9/EX9.1/examplesec9_1.sce | 2c3f3a26a41d7ac226061ba2dd090042ac6b9a21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,339 | sce | examplesec9_1.sce | //Example sec 9.1
//compensation in open loop control system
clear;clc;
xdel(winsid());
s=%s;
disp("G=(60*k)/s*(s+1)*(s+6)")
//velocity error constant "Kv" when unit ramp input is applied to G is "5k".
//If "k=1",then,steady state error is 0.2.
// when "k=35/60" G becomes
num=35;
den=s*(s+2)*(s+6);
G1=s... |
d21fe59c0d262cc8029ac365700bea4415d356d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH7/EX7.2/Ex7_2.sce | e6e98c98e159fb013273cebe04ced5ecb976e289 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 434 | sce | Ex7_2.sce | // Example 7.2
clear all;
clc;
// Given data
k_inf = 1.001; // Infinite multiplication factor
// From the Example 7.1
l_p = 1e-4; // Prompt neutron lifetime
// Calculation
T = l_p/(k_inf-1);
// Result
printf(" \n The response time of the reactor = %2.1f sec \n",T... |
1cad8d240e81c53eee93f0065e64e7197c6ffc44 | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/dftmpfun.tst | bdb63cc84c473ed299584349d9b8d7e4cf7e8f84 | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | tst | dftmpfun.tst | (unwatch all)
(clear)
(setgen 1)
(dribble-on "Actual//dftmpfun.out")
(batch "dftmpfun.bat")
(dribble-off)
(clear)
(open "Results//dftmpfun.rsl" dftmpfun "w")
(load "compline.clp")
(printout dftmpfun "dftmpfun.bat differences are as follows:" crlf)
(compare-files "Expected//dftmpfun.out" "Actual//dftmpfun.out" dftmpfun)... |
504bc0c965bd9973bceb07794bfb8fd3d14c2699 | 13195192acc730725307108d600fa0c8521661a7 | /Integral.sce | a2ee97cf2ab42f148fc1b1a9d75516a1afb0cc84 | [] | no_license | vsapiens/Numerical-Methods | 7c3fc223d60271786ee23e4ae489365c6e8ab781 | 4ec4facfe2eeb171ff0234e1c3f752115f7fb8a5 | refs/heads/master | 2020-04-25T05:21:00.798079 | 2019-04-25T16:15:31 | 2019-04-25T16:15:31 | 172,539,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,658 | sce | Integral.sce | clear
///////////////////////////////////////////////////////
// Integral.sce
//
// Este programa aproxima la integral con rectangulos
// pidiendo los valores de los limites y el numero de
// rectangulos
//
// Nombre1 Apellido1
// Nombre2 Apellido2
// 99 / XXX / 99 version 1.0
///////////////////////... |
cd30c165c5894712d75a287f4c35045ba5773d4b | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH2/EX2.14/Ex2_14.sce | 6e41624137517e302e69c2ff030083adb4184996 | [] | 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 | 406 | sce | Ex2_14.sce | //Variable declaration
l = [19.7, 21.5, 22.5, 22.2, 22.6,21.9, 20.5, 19.3, 19.9, 21.7,22.8, 23.2, 21.4, 20.8, 19.4,22.0, 23.0, 21.1, 20.9, 21.3]
sum1 = 0.0
//Calculation
Mean=sum(l)/length(l)
for i = 1:length(l)
sum1 = sum1 + l(i)*l(i)
end
variance = (sum1 - (sum(l)^2.0/length(l)))/(length(l)-1) // varia... |
13bcf2fdcfaa701252c7a4b29d36a7072c5829bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH16/EX10.16.5/Ex10_16_5.sce | d038ea78b1eaaf00684547c32ce0cc79d631b932 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_16_5.sce | //Section-10,Example-3,Page no.-CT.9
//To calculate enthalpy of neutralization of acetic acid by sodium hydroxide.
clc;
dl_H=-57.32
dl_Hionization=1.89
x=dl_H+dl_Hionization
disp (x,'Enthalpy of neutralization of acetic acid by sodium hydroxide(kJmol^-1)')
|
0b49a0a3693b70410b459706ee1888aedc48ba4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH7/EX7.10/Chapter7_Example10.sce | 5d4bbc424ecaf2d15d9dfb9aff6cd998aba4fc9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,082 | sce | Chapter7_Example10.sce | //Chapter-7, Example 7.10, Page 297
//=============================================================================
clc
clear
//INPUT DATA
D=0.015;//Diamter of copper bus bar in m
Ta=20;//Temperature of air stream in degree C
v=1;//Velocity of air in m/s
Ts=80;//Surface temperature in degree C
p=0.0175;//Res... |
0ed3dd498734a4c728f0766f8c240be317562928 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.38/ex_4_38.sce | 4341a1cd8c9592b30ff75dc8b9690595f6f1b8d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 803 | sce | ex_4_38.sce | clear;
clc;
syms z n ;
x=(1/3)^n;
X=symsum(x*z^-n,n,0,%inf)
disp(X,"X(z)=")
Xz=z/(z-1/3);
Yz=z/(2*(z-1/2))+z^2/((z-1/3)*(z-1/2));
//y[-1]=1
Y1=z/(z-1/2);
Y2=z^2/((z-1/3)*(z-1/2));
FY1=Y1*z^(n-1)*(z-1/2);
y1n= limit(FY1,z,1/2);
FY21 = Y2*(z^(n-1))*(z-1/2);
FY22 = Y2*(z^(n-1))*(z-1/3);
y21n = limit(FY21,z,... |
aa6e38c3ee07fe743d3f31b0fb1f988391ab5505 | 1d307d44b58dfb9d6c8079d97262e5286bdb2a3d | /simul_decomp_fixed.sce | f1f3886d873c112618d0692a49e7e7638fb93d7c | [] | no_license | bernau84/scilab_sandbox | 0d89a1ea8236343255d0d6a255db67fa51f7aca9 | e3e7fc38fcb9c05788c6d3a39ea9842f34f9589b | refs/heads/master | 2016-09-06T16:52:54.963432 | 2014-03-05T15:48:43 | 2014-03-05T15:50:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | simul_decomp_fixed.sce | D = 8;
N = 160; //viz filter_design_xxx.sce
figure;
stacksize('max');
coe = read('c:\Users\bernau84\Documents\work\bats\simulace\equi_8bands_160coe_16b.txt', D, N);
subplot(5,1,1); plot(coe');
x = wavread('c:\Users\bernau84\Documents\work\bats\simulace\chirp_20_8000_fs44kHz_4s.wav');
f_x = (x + 1.0) * (2^11); //offse... |
52d222c3a717661cc8ff6fa559597b472e46c002 | 8f32b3c3f811f35c3bbc136812424573e218b03b | /SCRIPTS/RevScripts.sci | 4784909e955bf35a9b0852a5a097995c86901322 | [
"MIT"
] | permissive | evrimulgen/Oracle-DBA-Life | cad4f19bc13a2f849e028e8fa3ef5bdcd7ba473c | 102a3d14cfd102f38968f2f62f4ec3e019d33b21 | refs/heads/master | 2023-03-18T03:47:01.058770 | 2020-03-24T00:12:31 | 2020-03-24T00:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,103 | sci | RevScripts.sci | [InstantScripts]
Node0Directory=
[Nodes]
F^InstantScripts^welcome.txt
F^SetUp
R^Issue SYS Grants Required^7.3.3.5, 8.0.4.1, 8.1.5^grants.sql
R^Create Required Views and Tables^7.3.3.5, 8.0.4.1, 8.1.5^Crea_tab.sql
R^Build a Standard 80 column Report Heading^7.3.3.5, 8.0.4.1, 8.1.5^Title80.sql
R^Build a Standard... |
78d1fac2377f0e6f5e7afef3bf47bf5102149f9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH7/EX7.2/7_2.sce | e1bdba85e6b388b7b1db2b267b3d20925033efb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,446 | sce | 7_2.sce | //Chapter 7, Problem 2
clc
funcprot(0)
// A = p2z(R,Theta) - Convert from polar to rectangular form.
// R is a matrix containing the magnitudes
// Theta is a matrix containing the phase angles (in degrees).
function [A] = p2z(R,Theta)
A = R*exp(%i*%pi*Theta/180);
endfunction
// [R, Theta] = z2p(A) - D... |
62ef7375ffbe93f210287f57daf5dd49344dafca | c3d38db94d5862857932065e0c266a64e426002a | /tst/Ex7.tst | b742b174b9c0ff1da8ffa948a7d9fdd7d7e71c9b | [] | no_license | fingolfin/carat | 69806199557c0b46b752d83b0755c627ed5877ec | 21741c23edb7d5cf410e7dc1698f7fb942573e9e | refs/heads/master | 2020-09-03T15:33:29.255011 | 2019-05-23T07:31:58 | 2019-05-23T07:31:58 | 133,804,402 | 0 | 0 | null | 2018-05-17T11:35:02 | 2018-05-17T11:35:02 | null | UTF-8 | Scilab | false | false | 251 | tst | Ex7.tst |
echo "### Test Ex7-1"
../bin/carat/Normalizer Ex7_g
echo "### Ex7-1 return code $?"
echo "### Test Ex7-2"
../bin/carat/Is_finite Ex7_nh
echo "### Ex7-2 return code $?"
echo "### Test Ex7-3"
../bin/carat/Symbol Ex7_g
echo "### Ex7-3 return code $?"
|
b6786cfc961b50aeffb356f86d9308c792b6c03f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_hess.sci | 83b3404bb6a5e07e5b894279703d6da306d82d0f | [
"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 | 262 | sci | sci_hess.sci | function [stk,txt,top]=sci_hess()
// Copyright INRIA
txt=[]
if rhs==1 then
r=list('hess('+stk(top)(1)+')','0','1','?','?')
else
r=list('hess('+stk(top-1)(1)+','+stk(top)(1)+')','0','1','?','?')
end
if lhs==1 then
stk=r
else
r(2)='-1'
stk=list(r,r)
end
|
0175baa369f4f5c053936faea6e081cdc4fc403b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH6/EX6.2.2/examplesec6_2_2.sce | a535476d4bee64254446963107cfb7a5bf4e05dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | examplesec6_2_2.sce | //Example sec 6.2.2
// location of root locus in between poles and zeros.
clear; clc;
xdel(winsid());
s=%s;
num=((s+1)*(s+2));
den=(s*(s+3)*(s+4));
G=syslin('c',num/den);
clf();
evans(G);
axes_handle.grid=[1 1]
mtlb_axis([-5 5 -5 5]);
|
f28f84c815a8a18626f6caf939b36d91ff1d916b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH5/EX5.2/Ch05Ex2.sci | 545400db18b3103f51c5ab6567e32a384b10bd7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sci | Ch05Ex2.sci | // Scilab Code Ex5.2 : Percentage transmission of polarized light: Page-113 (2010)
I0 = 1; // For simplicity, we assume the intensity of light falling on the second Nicol prism to be unity, watt per metre square
theta = 30; // Angle through which the crossed Nicol is rotated, degrees
I = I0*cosd(90-theta)^2; ... |
f7fad37f8ec6ad9d6ddcaebc937f73303e28ecd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH7/EX7.1/Ex7_1.sce | 11b803ed1ddc4050ba71cd806b9b4b2c25b6243e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,410 | sce | Ex7_1.sce | // Exa 7.1
clc;
clear;
// Given data
n=2; // Second order Butterworth filter
fL=1000; // Higher cut off frequency(Hz)
// Solution
printf('Let C = 0.1 μF. \n');
C=0.1*10^-6; // Farads
// Since fL = 1/(2 * %pi * R*C);
// Therefore;
R = 1/(2*%pi*fL*C);
printf(' The calculated value of R = %.... |
9512844b6c9bf9e973bd33cabe55556116df8cb6 | 6dce9b797ef9252682f3204157ccb3fe8a239073 | /02/IsZero16.tst | 6f7499989167ea89092ea08055df0fd1454d2d0e | [] | no_license | richardjharris/tecs | dc74d7286a3f0d982772c8e025a0e4292ff5d0b5 | ffcbb8c935a09ff9ddf86315a49b79b3bc8a8e2b | refs/heads/master | 2020-05-22T14:55:59.635342 | 2012-02-11T15:22:55 | 2012-02-11T15:22:55 | 3,415,817 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | tst | IsZero16.tst | load IsZero16.hdl,
output-file IsZero16.out,
compare-to IsZero16.cmp,
output-list in%B1.16.1 out%B1.1.1;
set in %B0000000000000000,
eval,
output;
set in %B1111111111111111,
eval,
output;
set in %B1010101010101010,
eval,
output;
set in %B0011110011000011,
eval,
output;
set in %B0000000000000000... |
eab33ab94c6e4ec9775096252f0dbbec70d7bcf7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_With_Engineering_Applications_R._L._A._Daugherty_And_J._B._A._Franzini_1457.zip/Fluid_Mechanics_With_Engineering_Applications_R._L._A._Daugherty_And_J._B._A._Franzini_1457/CH4/EX4.2/4_2.sce | e5958b37c4f719cadd1394f221edeb3c296e1d90 | [] | 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 | 194 | sce | 4_2.sce | errcatch(-1,"stop");mode(2);
//Initialization of variables
h=20 //m
c=4187 //N m /(kg K)
g=9.81
//calculations
dT=g*h/c
//results
printf("Increase in temperature of water = %.3f K",dT)
exit();
|
9099781f4d9262bfb10426df612d7833e37ef4c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH6/EX6.11/ex6_11.sce | d0341a12081f0d943d4134efb9ef83ede00798e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sce | ex6_11.sce | // Example 6.11
format('v',6)
clc;
clear;
close;
// given data
bita= 150;
R1= 10*10^3;// in Ω
R2= 2.2*10^3;// in Ω
R_C= 3.6*10^3;// in Ω
Rs= 1*10^3;// in Ω
R_L= 1.5*10^3;// in Ω
r_E= 180;// in Ω
R_E= 1*10^3;// in Ω
V_CC= 10;// in V
V_BE= 0.7;// in V
Vt= 25*10^-3;// in V
Vin= 1*10^-3;// in V
V_B= R2*V_... |
56b0d01c6cedb05678cf132582823f2cf6804287 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH2/EX2.1/Chapter2_Ex1.sce | d0026aebaab299dbf1b4b34a57efd4c4e5060718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,173 | sce | Chapter2_Ex1.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc. USA,pp 436.
//Chapter-2 Ex2.1 Pg No.52
//Title: Effectiveness factor for solid catalyzed reaction
//======================================================================================================================
clear
clc
clf
//INPUT... |
a7fc53c612b2b72942aa09cbacddf766d2cebcfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.9/6_9.sce | b197cdd00f4840d59f019c30613244469f55db07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | sce | 6_9.sce | clc,clear
printf('Example 6.9\n\n')
//Line AB for Altermnator 1, and AC for alternator 2.AF is at frequency x measured from A where total load is 3000 kW
BO=2000,AO=5//AF=x
DC=2000,AD=3,//AF=x
//using similarity of triangles AEF and ABO
EF_by_AF=(BO/AO)// because (EF/BO)=(AF/AO)
//using similarity of triangl... |
010dd7b12a7baa8d1b5d7efe76f72f89774974cb | 60a8a4ce793d26ce86d35bcc0f2d58bd428855f1 | /3(D)Program to solve Binomial coefficients..sce | 300fa149c393e8790d647ea5475ab42fed2b4f84 | [] | no_license | muitnet/DM-Practicals-Exam | 194328e084450c7f06d2847eacb9cad170193197 | a9ad7a06e8fc28ffcbcde231b53c1de716fb97a3 | refs/heads/master | 2020-06-11T19:51:30.232988 | 2016-12-05T13:04:59 | 2016-12-05T13:04:59 | 75,625,333 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | 3(D)Program to solve Binomial coefficients..sce | function [k]= func1(n,r)// calculating binomial coefficient
k= factorial(n)/(factorial(r)*factorial(n-r));
endfunction
func1 (8 ,2)
func1 (9 ,4)
func1 (12 ,5)
func1 (10 ,3)
func1 (13 ,1)
p=factorial(10)/(factorial(10 -7)*factorial(7));// calculating 10C7
q= factorial (10) /( factorial (10 -3) * factorial (3)) ... |
39d581ae2365d68dfd63684fdeda959b64dc1ba5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH37/EX37.4/example4.sce | 44a1239455bacadc8b008387d4de54985973da99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example4.sce | //chapter 37
//example4
clc
//given
e=1.6*10^-19 //in coul
r=5.1*10^-11 //radius of hydrogen atom in meter
m=9.1*10^-31// mass of electron in kg
epsilon0=8.9*10^-12 //in coul2/nt-m2
B=2 //in wb/m2
delta_p=(e^2*B*r^2)/(4*m)
disp(delta_p,"Change in Orbital dipole moment in amp-m2 is + 0r -")
|
871721b85ab9bc2d5a11e3e9f60ef3206a05d415 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH4/EX4.4/Exa4_4.sce | 1016c2d5b73cc024991cef6216a917e8389b0d04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | Exa4_4.sce | //Exa4.4
clc;
clear;
close;
//given data
T=300;//in Kelvin
ND=10^15;//in cm^-3
NA=10^18;//in cm^-3
ni=1.5*10^10;//in cm^-3
VT=T/11600;//in Volts
Vbi=VT*log(NA*ND/ni^2);//in Volts
disp(Vbi,"Built in potential barrier in volts : "); |
3639573e92b6e3c5cf655bc1f4501457d78b410d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH6/EX6.9/ex6_9.sce | 1c4c95b30b7b366f428e3080bd6fae3efeb290ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | ex6_9.sce | // Example 6.9, Page No-284
clear
clc
fh=50000
C=0.001*10^-6
R=1/(2*%pi*fh*C)
Rkohm=R/1000
printf('R= %.3f kohm', Rkohm)
R1=R/1.082
R2=R/0.9241
R3=R/2.613
R4=R/0.3825
printf('\nR1= %.3f kohm', R1/1000)
printf('\nR2= %.3f kohm', R2/1000)
printf('\nR3= %.3f kohm', R3/1000)
printf('\nR4= %.3f kohm', R4/... |
438e592b9a72c96b2356a4eeb9791260aebb9ada | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH7/EX7.6/Example7_6.sce | 6c1cf6a183b31c8578e3d77ad32cd5eb28c93416 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,110 | sce | Example7_6.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 7: PARALLEL OPERATION
// Example 7-6
clear; clc; close; // Clear the work space and console.
// Given data
E = 220 ; // Voltage generated in volt
E_1 = E ; // Voltage generated by alternator 1 in... |
491babcaf540373c538c60d5bdebb9df1a536385 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.28/ex4_28.sce | 75a41ab1f3e53fbd2d1403b40b3641c57e7684d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,403 | sce | ex4_28.sce | // Exa 4.28
clc;
clear;
close;
// Given data
V_B = 4;// in V
V_BE = 0.7;// in V
R_E = 1.2;// in kohm
R_E= R_E*10^3;// in ohm
V_E = V_B-V_BE;// in V
R_C = 2.2;// in kohm
R_C= R_C*10^3;// in ohm
R_B= 330;// in kohm
R_B= R_B*10^3;// in ohm
bita = 180;
I_B = 7.11 * 10^-6;// in A
V_CC = 18;// in V
disp("Par... |
0d17d75f6c8b0ad31fb9ad0ebe1f06808f3d7dce | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH5/EX5.6/Ex5_6.sce | e04a12631ff09573aa37ccf4365c751e375ce430 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 606 | sce | Ex5_6.sce | // SAMPLE PROBLEM 5/6
clc;funcprot(0);
// Given data
v_A=0.3;// m/s
b=0.2;// m
theta=30;// degree
// Calculation
v_B=-v_A*tand(theta);// m/s
a_B=-((v_A^2)/b)*(secd(theta))^3;// m/s^2
omega=(v_A/b)*secd(theta);// rad/s
alpha=((v_A^2)/b^2)*(secd(theta))^2*tand(theta);// rad/s^2
printf("\nThe velocity of the ... |
ca3cb7d69c34e7e8a84f9822b39ed4fa004a2c0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH6/EX6.9/Ex6_9.sce | 1c99a03a6258b2a82c04c0eb8a462ef8e4d48911 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,268 | sce | Ex6_9.sce | clear
//Given
M = 50000 //ft-lb , positive bending moment applied
N = 9 // number of steel bars
n = 15 // The ratio of steel to concrete
A_s = 30 //sq.in area of steel in concrete
//(10*y)*(y/2) = 30*(20-y)
//y**2 + 6*y -120
//solving quadractic equation
//
a = 1
b = 6
c = -120
// calculate the... |
7c11b8f1f91ea760f074d2e1b7d19d1d8ae431a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH8/EX8.3/8_3.sce | 94d08fc4dcc5e79da7e719f646f250f683dabc65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_3.sce |
I1=1
V1=18*I1
V2=6*I1
Z11=V1/I1
Z21=V2/I1
I2=1
V2=9*I2
V1=6*I2
Z12=V1/I2
Z22=V2/I2
A=[Z11,Z12;Z21,Z22]
printf("\nA=")
disp(A) |
7401807b10fee62bd3580e7fa0133e5d1fbc466a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH15/EX15.3/Ex15_3.sce | be27a465c6946ee45e16bddf03e6092c4fa4807c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 875 | sce | Ex15_3.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 15.3
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
V=11; //Supply voltage in kV
die_strength=50; ... |
764ea6c69a531264f9354e43e4425fbfa213e8e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH28/EX28.1/Example_28_1.sce | f4a64b1a3f41ed1040236ff1268a57f913ef8c5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,215 | sce | Example_28_1.sce | //clear//
clear;
clc;
//Example 28.1
//Given
rho_p = 0.002650; //[g/mm^3]
a = 2;
phi_s = 0.571;
//Solution
//(a)
//For the 4/6-mesh increment, from Table 28.2
x = [0,2.51,12.5,32.07,25.7,15.9,5.38,2.10,1.02,0.77,0.58,0.41,0.31,0.75]'*10^-2; //[mass fraction]
Dp = [4.699,3.327,2.362,1.651,1.168,0.833,0.589... |
fd8f1851c2693128fcd3b13e0af2e8419eeb796a | 31cc146b7597c1571ad100fc4dd888898b1b4eb0 | /algebra/compute_bd.sce | ea1e05a4ed841696ba155f6d95b963cbcf6a0fd9 | [] | no_license | rigid1980/gpp_scilab | a525ae046722e7ba52ebea6003ce712b51631ff6 | fadb75dea26cf341e6dc60874efd88c016df4f3b | refs/heads/master | 2016-09-11T08:37:44.538715 | 2014-03-26T08:37:35 | 2014-03-26T08:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,210 | sce | compute_bd.sce | //// compute_bd
// find boundary of mesh, returned bd will be in ccw consective order. For
// multiple boundary mesh, return a cell, each cell is a closed boundary.
// For single boundary mesh, return an array.
//
//// Syntax
// bd = compute_bd(face)
//
//// Description
// face: double array, nf x 3, connectivit... |
262b4f6386c2e603e85f8afa9253f7894f4144b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH6/EX6.1/example1.sce | 291dbbd9b9ab9942a6a3d89c9cfd0162a073de24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | example1.sce | //Chapter-6 example 1
//=============================================================================
clc;
clear;
//input data
F = 9*10^9;//Reflex Klystron operating frequency in hz
Va = 300;//beam voltage in volts
I = 20;//Beam current in mA
n = 1;// for 7/4 mode
//Calculations
//transit tim... |
fd84c806d0f0c47b60c48d38d8668dcdad594e35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH23/EX23.16/ex_23_16.sce | e41c51988a73fcfbc16347255054e95273bfaaa4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | ex_23_16.sce | //find
clc
//solution
//given
m=1800//kg
v=1.2//m/s
dx=200//m
t=365//N/mm^2
C=6
G=80*1000//N/mm2
E=0.5*m*v^2*10^3//N-mm
//let W be equivalent load
//Es=0.5*W*dx*2=200*W
W=E/200//N
//let b be suide of square and D be mean Dia\
//D=6b
K=(4*C-1)/(4*C-4)+(0.615/C)
//t=K*2.4*W*D/b^3=116870/b^2
//b=sqrt(11... |
d325b774e6e9cf37c9d959681533fcfebfb0583d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH10/EX10.1/Chapter10_example1.sce | 891ce3361c146dd1c21464ce6e18b715dc4895fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,407 | sce | Chapter10_example1.sce | clc
clear
//Input data
bsfc=0.3;//The brake specific fuel consumption in kg/kWh
bp=250;//The brake power in kW
N=1500;//Number of cycles per min in rpm
CA=15;//Crank angle in degrees
pi1=30;//The pressure of air in the cylinder at the beginning of the injection in bar
pi2=60;//The pressure of air in the cylinde... |
d67a0bcc0eb3550d5b79cf3d0b163dec08dc3e51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.25/ex6_25.sce | 3945cbd229bbec1f602655d78b9782bcff84ce84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex6_25.sce | // Exa 6.25
format('v',7);clc;clear;close;
// Given data
L2 = 47.8;//inductance in mH
R2 = 1.36;//resistance in ohm
r1 = 32.7;//resistance in ohm
R1 = 1.36;//resistance in ohm
//At balance, 100*(r1+J*oemga*L1) = 100*((R2+r2)+(J*omega*L2));
L1 = L2;// in mH (equating imaginary terms)
disp(L1,"The inductance of... |
f08f3f8c4e84b368492116607855b120f4ca5b78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.12/3_12.sce | 49b99eac4d309009bfe9a7b18c07343f16279714 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | 3_12.sce | //Network Theorem 2
//pg no 3.13
//example 3.12
//when 18 V source is acting alone
disp("Vx+I1=0");//equation 1
disp("Applying KVL to mesh,");
disp("3Vx-6I1=-18");//equation 2
A=[1 1;3 -6];//solving equation in matrix form
B=[0 -18]'
X=inv(A)*B;
disp(X);
disp("I1 = 2 A");
//when the 3 A source is acting alo... |
e5cfab237663098f95c783757cf44a5ccdb41ead | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH13/EX13.7/13_7.sce | 2e7a268d584a9e0d134d5570b5adf005a3434d5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | 13_7.sce | clc
//initialisation of variables
x1= 3 //ft
x2= 3 //ft
x3= 3 //ft
x4= 3 //ft
W1= 4 //kips
W2= 8 //kips
l= x1+x2+x3+x4
//CALCULATIONS
b= x2+x3+x4
b1= x4
a= x1
x= l/2
P= (((W1*b*(l/b*(x-a)^3+(l^2-b^2)*x-x^3))/(6*l))+((W2*b1*x*(l^2-x^2-b1^2))/(6*l)))*(48/l^3)
R1= 3+2-(P/2)
R2= P
R3= 1+6-(P/2)
//RESULTS
... |
405882be35704fb6185d971f241e2970eb4704db | f0f1b6e39dc4e4ab53472ba68e36550537f95470 | /test/testcases/directed/tanf.tst | 0c0fef3df6b41c084e2ef2903c5462214ed101bd | [
"Apache-2.0"
] | permissive | miRackModular/optimized-routines | 1cfa167ba8b830478fda27329c47794250e202e9 | 2f9e5ce5bbaaf3bf025dc17d123388a12d8ba6b9 | refs/heads/master | 2020-03-16T17:38:17.640927 | 2018-05-10T03:02:21 | 2018-05-10T03:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,809 | tst | tanf.tst | ; tanf.tst - Directed test cases for SP tangent
;
; Copyright (C) 2007-2015, ARM Limited, All Rights Reserved
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License"); you may
; not use this file except in compliance with the License.
; You may obtain a copy of the Licens... |
b6448cd5ad842a7e86940fec20afdafb3395a574 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH3/EX3.6/Ex3_6.sce | 57a735d3717ab00195a9543649c382cef46f99f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | Ex3_6.sce | clc;
//Given data
// Moment arms
Fx=-30;//in lb
Fy=20;//in lb
Fz=20;//in lb
//couple Forces
x=18;//iN
y=12;//iN
z=9;//iN
Mx=Fx*x;//N.m, Component of Moment along X axis
My=Fy*y;//N.m, Component of Moment along Y axis
Mz=Fz*z;//N.m, Component of Moment along Z axis
//This three moments represent compon... |
05d666ef4f0fff781eb7f9acdce3b9f1d9cce1de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH21/EX21.8/ex21_8.sce | fc4f5a2f5968e576b60cfd48eee89c97599f22d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex21_8.sce | clc;
clear all;
e0=8.854e-12; //permittivity of vacume
N=5e28; //no of atoms present per m^3 N
xe=2e-40; //polarisability
//P=N*xe*Ei and Ei=E+(P/(3*e0)) so..
//Ei=E+(N*xe*Ei/(3*e0)) so...
//Ei/E=1/(1-(N*xe/(3*e0))) so..lets take rt=Ei/E
m=(N*xe)/(3*e0)
rt=1/(1-m);//ratio of internal field to applied field
di... |
52147677829eedb0399195e413ee03880efe4748 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH7/EX7.2/ex7_2.sce | c4b61465f13ec6bbf23e39653c9054460c5a1792 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | ex7_2.sce | //chapter 7
printf("\n");
Nmax=10^11;
phi=(%pi)/9;
fcr=sqrt(81*Nmax);
printf("the critical frequency is %gHz",fcr);
fmuf=fcr*sec(phi);
printf("\nthe maximum usable frequency is %gHz",fmuf);
|
6daa64641e8bb207bc6ac7db2407624b357b41cd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH3/EX3.9/Ex3_9.sce | afd218b90b0213100cba54c07f55ed338accd4a2 | [] | 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 | 433 | sce | Ex3_9.sce | errcatch(-1,"stop");mode(2);//Caption:Find the restraining force of the spring
//Exa:3.9
;
;
N=500;//no. of turns
u_o=4*%pi*10^-7;//Permeablity of air
I=4.2;//main winding current(in A)
A=2.25*10^-4;//area of air gap(in m^2)
x=0.002;//length of air gap(in m)
i=I*1.50;//min current needed for activating relay... |
4b428feaf7dbb4fd2d79529b2358025a58342c5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH35/EX35.18/35_18.sce | 381e71c4ace666a6da2fa44183b9c48a1209bd9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | 35_18.sce | //ques-35.18
//Calculating corresponding energy for a NMR spectra
clc
f=60;//frequency used (in MHz)
E=(6.023*10^23)*(6.625*10^-34)*f*10^6;//energy (in J/mol)
E=(E/1000)/4.184;//energy (in kcal/mol)
printf("The energy required is %.9f kcal/mol.",E);
|
61d300dd2cb67f0a5d45e3750e8cbda0ea2b86f5 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/minv/scilab/recursion_ex1.sce | fec1c76658ec6205048218128d12daaae6816dbc | [] | 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 | 155 | sce | recursion_ex1.sce | // Updated(18-7-07)
// 11.2
C = [1 0.5]; dC = 1;
A = [1 -0.6 -0.16]; dA = 2;
j = 2;
getf recursion.sci
[Fj,dFj,Ej,dEj] = recursion(A,dA,C,dC,j)
|
9c309fc703e9715765210945be66def420d077ee | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Setobjscale.sci | 22f13c4dd1e77afcd31339638a60f45c8ff5bd81 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 96 | sci | Setobjscale.sci | // s : 2014.06.22
function Setobjscale(scale)
global OBJSCALE;
OBJSCALE=scale;
endfunction
|
17f1ebaf459827d1686ff67c721880f26c6df5f2 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Jacksta's 2v1 Simulator.sce | e7314f14a9dc791d73f0ea640fb27a6b070c93ae | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42,202 | sce | Jacksta's 2v1 Simulator.sce | Name=Jacksta's 2v1 Simulator
PlayerCharacters=Quaker
BotCharacters=Botz Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Botz Bot.bot;Botz Bot.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=0;0
MapName=FortniteAimTraining2.1.map
MapScale=5.09
BlockProjectilePredictors=true... |
7d00fb884c66548a8371d1db318be7219c5afa12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.23/Example323.sce | 24b790686fbaf645ff6322b7e5abc03586ef1195 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Example323.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 23")
disp("Inner Diameter,")
D2 = 0.45
disp("Outer Diameter,")
D1 = 0.9
disp("Radial Discharge")
alpha2 = 90
Cr2 = 2.8
... |
23aafeb5590da76e79ed82cc671282d4b524191f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH2/EX2.5/2_5.sce | c316b3434356bfe4c934c982bd24d1d347d3a0e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_5.sce | clc
clear
//Initialization of variables
H1=0.059
O1=0.199
C=0.66
S=0.011
//calculations
Qh1= 11.52*C+34.56*(H1-O1/8)+4.32*S
//results
printf("Theoretical air required = %.2f lb of air per lb of coal ",Qh1)
|
4bae728b78d566a8306a061e8711d01a49587652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH5/EX5.17/Example5_17.sce | 4136eaedac2a8979ce008e433e05991dc427d892 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example5_17.sce | //Gas Effusion
clear;
clc;
printf("\t Example 5.17\n");
t2=1.5;//diffusion time of compound, min
t1=4.73;//diffusion time of Br, min
M2=159.8;//mol mass of Br gas, g
M=(t2/t1)^2*M2;//molar gas of unknown gas, g(from Graham's Law of Diffusion)
printf("\t the molar mass of unknown gas is : %4.1f g/mol\n",... |
fbf4f658a413cc0bbcf5ad91bba53d115fd9376f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH2/EX2.2/Ex2_2.sce | ce59e8d45ebb9507bf3a6ce7229c00f3fe59e011 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Ex2_2.sce | clc
//Variable declaration
a=3.61*10**-7
BC=sqrt(2)/2
AD=(sqrt(6))/2
//Result
printf('i.Surface area of the face ABCD =%0.3f*10**-14 mm**2\n",(a**2*10**14))
printf('ii.Surface area of plane (110) =%0.3f*10**13 atoms/mm**2\n",((2/(a*sqrt(2)*a)/10**13)))
printf('iii.Surface area of pane(111)=%0.3f*10**13 at... |
1832524ea652640d14a46e67ff567fb8292d31be | d2f78245a2b280448680f5f264ad5e73ebb04932 | /AFISMC_Controller/AFISMC_obsv_unstablesys.sce | 95f2f2f529284902d2e9985b2ec1cc152bf77e50 | [
"BSD-2-Clause"
] | permissive | hbx5233/AFISMC | 2240dd3461ea96c71e7a9425a2ed21bb11a64c0a | bb7f501867a1fdf54d229a361e753e6f945269fc | refs/heads/master | 2022-04-24T02:56:20.404213 | 2020-04-20T12:17:20 | 2020-04-20T12:17:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,027 | sce | AFISMC_obsv_unstablesys.sce | clc
clear
A=[0,1,0,0,0,0;-2,0,2,0,0,0;0,0,0,1,0,0;2,0,-4,-3,2,3;0,0,0,0,0,1;0,0,2,3,-2,-3];
epss=0.01;
ksi=epss/(1+epss);
DeltaA=[0,0,0,0,0,0;2*ksi,0,-2*ksi,0,0,0;0,0,0,0,0,0;-2*ksi,0,4*ksi,3*ksi,-2*ksi,-3*ksi;0,0,0,0,0,1;0,0,-2*ksi,-3*ksi,2*ksi,3*ksi];
B=[0,1,0,0,0,0;0,0,0,0,0,1]';
DeltaB=[0,-ksi,0,0,0,0;0,0,0,0,0,-ks... |
ab8dd52991a3694a4285572cd8837f790bcd4e23 | 69147dbbf89bfbceb8875e0e1545e513ebfaf1be | /TrackChart_1.tst | d64f1686ca47e781d5f9e9ca7b569204f4553fcb | [] | no_license | Cbro/Oracle-scripts | 225e7121f3e8b6d77d9da786ddbad58502486989 | 97769548e7a2794d6cc75a1ac46821f58d347dec | refs/heads/master | 2020-12-24T14:36:20.643782 | 2011-05-07T18:55:51 | 2011-05-07T18:55:51 | 667,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,207 | tst | TrackChart_1.tst | PL/SQL Developer Test script 3.0
44
-- Created on 11/04/2008 by MKAUL
declare
-- Local variables here
i integer;
vTrackID track.id%type;
vRankNum INTEGER;
begin
for x in (
-- Test statements here
/*
select v.track_id,
v.rank_num
from (
select x.track_id,
... |
819a48bf5f7a0a424d732f6fd5607abdcec9db21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.50/5_50.sci | a711ee8e8a7630c0184c264765aadf8c160b38bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sci | 5_50.sci | // Calculate maximum velocity of emitted photo electrons
clc;
E_imparted=(1.24*10^-6)/(0.2537*10^-6);
B_energy=E_imparted-4.30;
em_ratio=0.176*10^12;
v=(2*B_energy*em_ratio)^0.5;
disp(v,'maximum velocity of emitted photo electrons (m/s)') |
1cd48cbfc1ecd39839ca2672d6b4c50646688f48 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Solução de EDO_Método_02_Derivadas.sce | f082a20e71509a274debc01efb604fa0c0323007 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Solução de EDO_Método_02_Derivadas.sce | //Solução de EDO método derivadas
//dy/dx=exp(x) ou qualquer função
//condição inicial y(0)=1
//h=0.1
//setar as variáveis
x=0:0.1:7;
y(1)=1;
h=0.1;
//a função f já é a derivada de y. f(x,y)=y'
function z=f(x,y)
z=cos(x);
endfunction
//a função g é a deriv. segunda g(x,y)=y''
function w=g(x,y)
w=-sin... |
2d9e39e86c042c58eb69959fa91af163cd57d081 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH4/EX4.17/Chapter4_Example17.sce | f095bd555cec1371c915fa634816eeaee259c9cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | sce | Chapter4_Example17.sce | //Chapter-4, Illustration 17, Page 206
//Title: Steam Nozzles and Steam Turbines
//=============================================================================
clc
clear
//INPUT DATA
m=2;//Mass flow rate of steam in kg/s
W=130;//Turbine power in kW
U=175;//Blade velocity in m/s
C1=400;//Steam velocity in m/... |
d09f67660d139d74d1fadb2195cca03d5d164831 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH10/EX10.7/Example10_7.sce | cfade345ca7e2f7df85248543d8ab0ea715f8fbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Example10_7.sce | //clear//
//Caption: Program to find Excess loss, Splitting loss and total loss
//Example10.7
//page 355
clear;
clc;
close;
Power_Lost = 5/100;
FT = 1-Power_Lost; //power coupled
N = 32;
Excess_Loss = -10*log10(FT^log2(N));
Splitting_Loss = -10*log10(1/N);
Total_Loss = Excess_Loss+Splitting_Loss;
disp(Exce... |
515ed0cb3b9c5c616182dff4fd5966a24da8e69c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH2/EX2.1/Ex_2_1.sce | 49e1e44ef21c79a4db49091eef5794fec1390c14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | Ex_2_1.sce | //Initilization of variables
P=50 //N
Q=100 //N
beta=150 //degree // angle between P & the horizontal
//Calculations
R=sqrt(P^2+Q^2-(2*P*Q*cosd(beta))) // using the Trignometric solution
Alpha=asind((sind(beta)*Q)/R)+15
//Result
clc
printf('The magnitude of resultant is %f Newton (N) \n',R)
printf('The direct... |
9b42b479cf583c8c77b27a0f45fcce65a8feb669 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.40/EX3_40.sce | f7ecc68dde956bcb1af58d231dedc65f135ed787 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX3_40.sce | //EXAMPLE-3.40 PG NO-199
Vry=200;
Vbr=200;
Vbn=115.47;
I1=10; //10-j12
W1=200*I1;
X1=173.2;
X2=26.66;
W2=X1*X2;
disp('i)WATTMETERS (W2) = '+string (W2)+' W')
|
d983fe00e2436a186528431bb7fa77033609d6ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH8/EX8.10.b/8_10b.sce | 711f016bb44fee698b31833ff0fbe6e76a2ac315 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | 8_10b.sce | clc
clear
//Initialization of variables
v1=0.1316
v2=0.2941
x1=0.5
x2=0.2
x3=0.8
d1=14.87
d2=16.34
//calculations and results
vm=(1-x2)*v1+x2*v2
phi1=(1-x2)*v1/vm
phi2=(x2)*v2/vm
Hl2=vm*phi1*phi2*(d1-d2)^2 *10^3
disp("case 2")
printf("enthalpy = %.1f kJ/mol",Hl2)
|
8877a0a336e596b2d410f0281f08dc3f8dc4fc31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.1/P2_1.sce | b174a12370acebabc2f151176276633e62428509 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | P2_1.sce | //EXAMPLE 2.1
//Ensemble averaging
clear ;
clc ;
n = 1:50;
clf();
figure(0)
a=gca();
a.x_location="origin";
a.y_location="origin";
for i =1:length(n)
s(i)=2*n(i)*((0.9)^n(i));
d(i)=(-0.1)^n(i); //arbitrary noise signal.
end
M=length(n);
for i =1:M
d(i)=(-0.1)^i;
S=sum(d);
end
Ea... |
64bae4e7ac9a2e41c81bf8c779ef1be13b65594e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH5/EX5.18/Example5_18.sce | cc64aecb0e606e65a9953f9b66682c1fd3ff19a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Example5_18.sce | //Example 5.18
clc;
clear;
close;
format('v',8);
//Given data :
D1=40/100;//meter
D2=15/100;//meter
x=25/100;//meter
g=9.81;//gravity constant
K=0.98;//Coeff. of meter
S=1;//sp. gravity
Sm=13.6;//sp. gravity of mercury
A1=%pi*D1^2/4;//m^2
A2=%pi*D2^2/4;//m^2
C=A1*A2*sqrt(2*g)/sqrt(A1^2-A2^2);//venturi co... |
dd91c30d5a516f8f4394b68a5473fc35d22f13ce | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/int/%i_j_s.sci | 898d6f189d0eb3a8f9217a3e8c4e89f04646b294 | [
"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 | 256 | sci | %i_j_s.sci | function r=%i_j_s(a,n)
if or(int(n)<>n)|or(n<0) then
r=double(a).^n
else
if size(a,'*')==1 then
r=iconvert(double(a).^n,inttype(a))
else
if size(n,'*')<>1 then
error(43)
else
r=a
for i=2:n,r=r.*a,end
end
end
end
|
f93ffe8e606ac009a6807265924fb93a71eadda9 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/fractdiff.sci | fda26bec8a918b3a27b4d37bedc4c9f68e97ed0d | [] | 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 | 942 | sci | fractdiff.sci | function y= fractdiff(x,d)
//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1.
//Calling Sequence
// fractdiff (X, D)
//Description
//Compute the fractional differences (1-L)^d x where L denotes the lag-operator and d is greater than -1.
if(argn(2)~=2)
error("Wron... |
5ce726f243ee3c6046fecf72813a65bb044a3b1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH3/EX3.5/Example_3_5.sce | d48845fc083c54cf572d3401cafcf6d0a529066e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_3_5.sce | //Specification of Point Coordinates
clear;
clc;
printf("\tExample 3.5\n");
disp("Point coordinates for given positions of BCC cell are");
A=['Point_no','x_axis','y_axis','z_axis','Coordinates';
' 1','0','0','0','000';
' 2','1','0','0','100';
' 3','1','1','0','110';
' 4','0','1','0','010';
' 5','... |
6e4b861e65c32651fe80fd25fa407f0cac8f6361 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.5c/eg5_5c.sce | 5b50c756ebf9999ff57454142d2668dfe58e95eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | eg5_5c.sce | r =3;
avg = 6;
std= 1;
var = std^2;
expecV2 = var + (avg^2);
expecW = 3*expecV2;
disp(expecW, "Expectation of W is ")
limw=120;
limV = sqrt(limw/r);
disp(1-cdfnor("PQ", limV, avg, std), "P{W>120} is") |
1d0db401bfec37b2f33ce62f0e70b70bbd554c04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH4/EX4.1/4_1.sce | 423506517f6c0416837e7af695f429d00bf40d0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | 4_1.sce | clc
//initialization of variables
B=10.34 //cm^-1
c=2.998*10^10 //cm/s
h=6.625*10^-27 //erg sec
//calculations
I=h/(8*%pi^2 *B*c)
//results
printf("Moment of inertia = %.2e g cm^2",I)
|
42865900cd1041237016afbe03739c898f1860fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH10/EX2.6.u2/Ex2_6_u2.sce | b4ceb4f23a14bce529e7dfc13739f7ece05c6ecb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex2_6_u2.sce | //Example 2_6_u2
clc();
clear;
//To calculate the fermi energy level
h=4.14*10^-15 //units in m^2 kg s^-1
n=8.49*10^28 //units in m^-3
m=9.1*10^-31 //units in Kgs
Ef=(h^2*(3*n)^0.666)/(8*m*(%pi)^0.666) //units in J
Ef=Ef*1.67*10^-19 //units in eV
printf("Fermi energy for copper... |
5cd023634e0e5305ab15c0106ff2b4442942d542 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX2.22/EX2_22.sce | ee72d9450977f82fc710ed8431d6c3f862ac1134 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | EX2_22.sce | //Calculate the value of resistance
//Chapter 2
//Example 2.22
//page 126
clear;
clc;
disp("Example 2.22")
V=440; //primary voltage in volts
Ia=50; //armature current in amperes
Ra=0.2; //armature resistance in ohms
N=600; //speed in rpm
E=V-(Ia*R... |
042f5a02cefde9937fddd3bd23cda0e967c09893 | f3f881644657ef90a25b7fde9be7d1a8f04d29bf | /04/04/Part B/Abs.tst | b46cba3c57199683b16670aae812e851c5646247 | [] | no_license | ThompsonNJ/CSC242-Computer-Organization | 9da71fa5d024935637b2dbd1c732c1952e3eadd7 | 46eec94a0381db128af0d2340a588907568583ed | refs/heads/master | 2020-08-10T08:04:24.779446 | 2019-10-10T23:36:54 | 2019-10-10T23:36:54 | 214,301,258 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | tst | Abs.tst | load Abs.asm,
output-file Abs.out,
compare-to Abs.cmp,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2;
set RAM[0] 0,
repeat 15 {
ticktock;
}
output;
set PC 0,
set RAM[0] 1,
repeat 15 {
ticktock;
}
output;
set PC 0,
set RAM[0] -1,
repeat 15 {
ticktock;
}
output;
set PC 0,
set RAM[0] -1024,
... |
1732738cd9693298854ee1e535b2a40581a84c80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH6/EX6.20/example6_20_TACC.sce | ee330ae50ab6b6b689509f0834a3779ff7aa0699 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | example6_20_TACC.sce | //example 6.20
clear;
clc;
disp("CaF2(s)<=>CaF2(aq)<=>Ca+2(aq) + 2F-(aq)");
//Given:
Ksp=4*10^-11;//Solubility product of sparingly soluble salt CaF2
//To find the value of activity coefficient
x=Ksp/4;
Cs=x^0.33;//Solubility
y=Cs^2;
Y=(x/y)^0.33;//activity coefficient
printf("The activity coefficie... |
3fd9946ae9fab18c04594a9f095302f1a91e58cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH2/EX2.13/example2_13.sce | 8328d0729cee81d059af20479e1b9b2ef482ff22 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | example2_13.sce | clear;
clc;
//Example2.13[Heat Conduction in the Base Plate of an Iron]
//Given:-
k=15;//[W/m.degree Celcius]
A=300*10^(-4);//Base Area[m^2]
L=0.005;//Thickness[m]
T_surr=20;//Temp of surrounding[degree Celcius]
h=80;//Convection het transfer coefficient[W/m^2.degree Celcius]
Q=1200;//[W]
//Solution:-
q=Q/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.