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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
681b4e5fb95b3f8b1be7e033611ba584739ba573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.20/Ex34_20.sce | 450db466be819fdf305a4e2dfe8f5c20daf6997c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | Ex34_20.sce | // Example 34_20
clc;funcprot(0);
//Given data
P=120;// Plant capacity in MW
CC=15000;// The Capital cost in Rs/kW
Arc=20*10^6;// Annual running charges in rupees
F_al=0.6;// The annual load factor
F_ac=0.5;// Annual capacity factor
//Calculation
MD=(P*F_ac)/F_al;// Maximum demand in MW
Rc=P-MD;// Reserve c... |
a9c8d3694bc9b1767c6a4668a55fde277ee166ce | 475a9e3173cbf116c786e8a60b1323f29f10a134 | /newton-raphson-method.sci | 345dccae01536a702793fd86f1bc68ce61255f84 | [] | no_license | jatinmandav/Sci-Lab-Implementations | bee5e375735ca0ebee9fd7afa69ddddbdadb5e3c | d1f65da040022b785763fe74d4b49468dc6078f3 | refs/heads/master | 2020-03-10T06:35:07.107772 | 2018-04-12T19:13:37 | 2018-04-12T19:13:37 | 129,242,875 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sci | newton-raphson-method.sci | /*
* By: Jatin Kumar Mandav
*
* Newton - Raphson Method is a method for finding successively
* better approximations to the roots of a real-valued function.
* It is one example of root finding algorithm.
*
* Formula: x(n+1) = x(n) - f(x(n))/f'(x(n))
*
*/
function [] = newton... |
5118c771903773ecff4bbe19a3dfd62f70f8828a | b4be5ed282b4c531c0d140038804106b52e5e9be | /frd.sci | 405212b0549f9629621460c9f2518f190172ea31 | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,315 | sci | frd.sci | function varargout = frd(varargin)
[lhs,rhs] = argn(0)
if rhs < 2 || rhs > 4 then
errmsg = msprintf(gettext("%s: input arguments must have either two or three input arguments."), "frd");
error(errmsg)
end
frequency = varargin(1)
freqUnit = 'rad/TimeUnit'
respData = varargin(2)
... |
fa181c88eb29655367ddcb452e4bae3f5312f420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH17/EX17.24/17_24.sce | 4bd97e6482dbc81c4589533a49c896b4318f5419 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,206 | sce | 17_24.sce | clear;
clc;
//Example - 17.24
//Page number - 631
printf("Example - 17.24 and Page number - 631\n\n");
// Given
T = 600 + 273.15;//[K] - Reaction temperature
P = 1;//[atm] - Reaction pressure
// The Gibbs free energy of formation of various species at 873.15 K are
delta_G_CH4_RT = -2.82;// delta_G_CH4/(R... |
d8069018b961d24f99090763e0be25a51ed9e0cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH10/EX10.5/10_5.sce | d427f860902f54a0f4c2bfd5788c0d7f0eb91157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 10_5.sce | //To find the addendum required
clc
//given
t=25
phi=20*%pi/180
//let pitch be 1
R=t/(2*%pi)//R=t*p/(2*%pi)
Larc=1.6//1.6*p
//AB=Larc*cos(phi)
AB=Larc*cos(phi)
Ra=(4.47+13.97)^(1/2)//by simplifying AB+2{(Ra^2-R^2*cos(phi)^2)-R*sin(phi)} and using p =1
Addendum=Ra-R
//writing p in place of p=1
printf("\nAd... |
822ca6b45964a88f408536a2cfe557834e5ae630 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH8/EX8.14/ex8_14.sce | 3ad19011bf51e02ceb0d8d8fad8940bed7c83e4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | ex8_14.sce | // Exa 8.14
clc;
clear;
close;
// Given data
V_P = -4;// in V
I_DSS = 9;// in mA
V_GS = -2;// in V
I_D = I_DSS*(( 1-(V_GS/V_P) )^2);// in mA
disp(I_D,"The drain current in mA is");
|
d4f7b8ec296d4637d0ebe55949aa59a39eab1bc7 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH3/EX3.14/Ex3_14.sce | 35d6d4e5be2b3481279b08b957868d0300c45d24 | [] | 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 | 137 | sce | Ex3_14.sce | errcatch(-1,"stop");mode(2);//Ex:3.14
;
;
r=10*10^3;//in ohms
t=1*10^-3;
c=(10*t/r)*10^6;
printf("Capacitor = %d uF",c);
exit();
|
5c3db0b6d3ebd0f2583068629cfdf78681039755 | 665eac2bfd0d2f1d559f485375f89e8a91632c6e | /VOL_300/335_03/AS8051.TST | 1f506ee839c55ada4f96957b7b9bbc9389b97908 | [] | no_license | kubohisa/CUGL | 615c29732e5fc2c6bcb29a4013be3351dc21dda6 | 75fc7cb2f8c5f3869a091b2b5c50c09323bc1c03 | refs/heads/main | 2023-03-15T16:19:49.355867 | 2020-10-02T21:19:00 | 2020-10-02T21:19:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,685 | tst | AS8051.TST | bit equ $88
dirbit equ $8d
direct equ $44
immed equ $55
srcdirect equ $33
acall addr
add a, #immed
add a, @ r0
add a, @ r1
add a, direct
add a, r0
add a, r1
add a, r2
add a, r3
add a, r4
add a, r5
add a, r6
add a, r7
addc a, #immed
addc a, @ r0
addc a, @ r1
addc a, direct
addc a... |
ee71a3ca09ab88060eb6e4f956ec9793cdf3e8a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH17/EX17.2/Ex17_2.sce | ba58ea53f60a84be49668c319eb78675550c1dfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | Ex17_2.sce | // Initiliation of variables
m_g=3000 // kg // mass of the gun
m_s=50 // kg // mass of the shell
v_s=300 // m/s // initial velocity of shell
s=0.6 // m // distance at which the gun is brought to rest
v=0 // m/s // initial velocity of gun
// Calculations
// On equating eq'n 1 & eq'n 2 we get v_g as,
v_g=(m_s*v_s... |
2b447b1d7e752c0db54f8a0beed8462fa534b7be | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/UL68HRM/ATWM1_Working_Memory_MEG_UL68HRM_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | be1824b6a2f5d11282fc702537020e7b48e1e278 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,384 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
901bd5a2f0436f327d8cfe7759cd6ebe0c46cc36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.35/Ex1_35.sce | 1aa71dd920f7be15cec33e9a65bee5ff0f679cec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | Ex1_35.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 35
clc;
disp("CHAPTER 1");
disp("EXAMPLE 35");
//VARIABLE INITIALIZATION
I=10; //current source in Amperes
v=10; //voltage source in Volts
r1=4; //top resistance in Ohms
r2=... |
915914d71e33fb7c2b7e938234d9b7ad4127408d | f5bb6b6e5afdd322c5cd22aa132ef6cd9671b83e | /richardson.sci | 298d7c43678379c26cd1c534f367dc6ca1da7f80 | [] | no_license | MEGCHICHEFarid/Calcul_Num-rique-TP2 | b47cb66cc2c7b8ed7b5dad7992ee03dc8e0ca98f | 121a72c376848daf12d0d81ec628572a2ea573cd | refs/heads/main | 2023-01-30T23:20:31.667199 | 2020-12-18T23:56:13 | 2020-12-18T23:56:13 | 322,196,749 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sci | richardson.sci | function[x,relres,resvec,it]=richardson(A,b,alpha,tol,maxit)
n=size(A,1);
x0=zeros(n,1);
normb=norm(b);
resvec = zeros(maxit,1);
res=b-A*x0
relres=norm(res)/normb;
Dm1=alpha;
it=0;
while(relres > tol) & (it < maxit)
it=it+1;
x=x0+Dm1*res;
x... |
dc1d7fcd5d05b01d1187fb2285886a00de2be536 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH28/EX27.7/EX27_7.sce | 97e173fd00bb6c2feeffd156ec7e0594185b5335 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,540 | sce | EX27_7.sce | // Grob's Basic Electronics 11e
// Chapter No. 27
// Example No. 27_7
clc; clear;
// Assume the transformer turns ratio Np:Ns = 4:1 in Fig. 27–21 a and 2:1 in Fig. 27–22a. Compare Vripple and Vdc if C = 500 uF and Rl = 250.
// Given data
A1 = 4/1; // Turns ratio Np:Ns=4:1
B1 = 1/4; ... |
06509a4616b36c7c5fa8d4c900dbce6f08db0ebf | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH22/EX22.4.a/data22_4.sci | e7840a9142109b3ad8cd804cf474b8b8e48405d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | data22_4.sci |
//(Cylinders and Pressure Vessels) Example 22.4
//Inner diameter of the cylinder Di (mm)
Di = 250
//Gas pressure Pi (MPa)
Pi = 15
//Ultimate tensile strength of the cylinder material Sut (N/mm2)
Sut = 340
//Poisson's ratio of the material mu
mu = 0.27
//Factor of safety fs
fs = 5
//Check the behavior of th... |
e72755857060ec5318e277f45f9ff3dd1d8987b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH13/EX13.7/93ex2.sce | b5470737265ddbd986646eac65f6169de7b1114f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | 93ex2.sce |
//(a+b)*(a^2-ab+b^2)
clear;
clc;
close;
//on collecting like terms
val=string('a^3+b^3')
|
e18b4b5306ca95ccc27257987e0106d50f9768ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH8/EX8.2/example2.sce | 64aa7a82280c6493caf9c9e8b624bba435884d43 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | example2.sce | clear ; clc;
xdel ( winsid ()); // c l o s e a l l windows
mode (0)
x1 = [1; 2; 3]
x2 = [1; 0; 1]
x3 = [2; 2; 4]
A = [x1 x2 x3 ];
disp (A, ' [ x1 : x2 : x3 ] =' );
disp ( clean ( det (A)), ' de t ( [ x1 : x2 : x3 ] ) =' ); // s i n g u l a r
x3 = [2;2;2]
A = [x1 x2 x3 ];
disp (A, ' [ x1 : x2 : x3 ] =' );
di... |
bafea5359f8128bcb5cbcb5c0d946f3c36e92eb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH20/EX20.3.2/Ex20_3_2.sce | 3fbd1f6bc58ff9c4a1d240a287c34d810a9a4d88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Ex20_3_2.sce |
clc
//initialization of variables
T = 32 //F
T0 = 10//F
Tinf= 80 //F
U = 3.6 //Btu/hr-ft^2-F
A = 27 //ft^2
d = 8.31 //lb/gal
V = 100 //gal
Cv = 1//Btu/lb-F
//Calculations
t = (-log((T-T0)/(Tinf-T0)))*d*V*Cv/(U*A)//hr
//Results
printf("The time we can wait before the water in the tank starts to freeze is %... |
2f1defaecc155094ed4f8ee8cfbce41bc5eaf2ba | e770dc26235168913bdcd5b2332f3a38a95a8bc7 | /Toolbox Test/poly2ac/poly2ac4.sce | 3319488eddcfcdba320aa7507d26341c3a7b8a31 | [] | no_license | deecube/majorTom | f00eca4e2effff2c5eba746878f2c0842fe14680 | 84365fc032fc0ca44abac8330ec4ac6d85a85b3f | refs/heads/master | 2021-01-21T14:04:23.323717 | 2016-05-23T06:05:31 | 2016-05-23T06:05:31 | 51,731,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | poly2ac4.sce | //o/p when null matrix is given as i/p
a = [0,0,0,0,0,0];
efinal = 0.2; // Step prediction error
r = poly2ac(a,efinal); // Autocorrelation sequence
disp(r);
//Output
// !--error 10000
//Input polynomial has to be a 1-dimensional array
//at line 35 of function poly2ac called by :
//r = poly2ac(a,efi... |
36f4068c4e90bcda093c38997791f859044c3e97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.10/Ex8_10.sce | 2d22d5890837c9a6a9463c40a2f6b38d32a50f94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | Ex8_10.sce | clc
//initialization of new variables
clear
u=25 //km/h
t=1 //h
S=0.36 //m^2
Cd=0.88
r=1.2 //kg/m^3
//calculations
D=Cd*1/2*r*(u/3.6)^2*(S)
P=D*u/3.6
E=P*t*3600
//results
printf('Drag force = %.2f N',D)
printf('\n Power = %.2f W',P)
printf('\n Energy spent is %.1f KJ',E/1000)
|
69eebd3390123894aa5ae3da4f684846777b55f1 | 717ddeb7e700373742c617a95e25a2376565112c | /851/CH6/EX6.2/Example6_2.sce | d93bcbe8845e5f59a3aa135de62256e380ef65ae | [] | 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 | 1,256 | sce | Example6_2.sce | //clear//
//Caption:Duobinary Encoding
//Example6.2: Precoded Duobinary coder and decoder
//Page 256
clc;
b = [0,0,1,0,1,1,0];//input binary sequence:precoder input
a(1) = xor(1,b(1));
if(a(1)==1)
a_volts(1) = 1;
end
for k =2:length(b)
a(k) = xor(a(k-1),b(k));
if(a(k)==1)
a_volts(k)=1;
else
... |
2b9f2a021c2ff74ab35560d5aab0c31a54802d2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH8/EX8.5.22/8_5_22.sce | b0a5f4a010f499d784de6958073745e8a2c33c3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 8_5_22.sce | clc
clear
//Input data
Cx=750 //velocity upstream of shock in m/s
Px=1 //Pressure upstream of shock in bar
Tx=10+273 //Temperature upstream of shock in K
k=1.4 //Adiabatic constant
R=287 //Specific gas constant in J/kg-K
//Calculation
Mx=Cx/sqrt(k*R*Tx) //Mach number upstream of shock
My=0.545 //Mach nu... |
ccad24ab10bdb8987d9f6e22ab141b443e51340e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH9/EX9.2/9_2.sce | 39bf79d9ea884e4151b2de3dd19e5c5475f32cd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | 9_2.sce | clc
//Intitalisation of variables
clear
dT= 0.170 //C
M2= 60.06 //gms
w1= 22.5 //gms
w2= 0.45 //gms
R= 1.987 //cal
T= 100 //C
lv= 539.9 //cal g^-1
//CALCULATIONS
Kb= dT*M2*w1/(1000*w2)
Kb1= R*(273.2+T)^2/(lv*1000)
//RESULTS
printf ('Eleveation constant of water = %.3f ',Kb)
printf ('\n Eleveation constan... |
71bf398a62967b08ed4736a661dab95855cd6898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.7/7.sce | 7c396f9f67f8a5d68e3d2e7d71da586370986d99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 7.sce | clc
L_A=0.003; //m
L_B=0.05; //m
L_C=L_A;
k_A=46.5; //W/m 0C
k_B=0.046; //W/m 0C
k_C=k_A;
h0=11.6; //W/m^2 0C
hi=14.5; //W/m^2 0C
t0=25; //0C
ti=6; //0C
A=0.5*0.5*2+0.5*1*4; //m^2
disp("(i) The rate of removal of heat =")
Q=A*(t0-ti)/(1/h0 + L_A/k_A + L_B/k_B + L_C/k_C + 1/hi);
disp(Q)
disp("W")
... |
9ba00bd4a74239ac73b8ab81043d6710a4d3de66 | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/MathHelper.sci | 43f986227e7fa16960f32920d0f3b43a1879d43e | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sci | MathHelper.sci | //Math Helper
function fDeg = r2d(fRad)
fDeg = fRad * 180 / %pi
endfunction
function fRad = d2r(fDeg)
fRad = fDeg * %pi / 180;
endfunction
|
4098d950aa95484ca07571b4c8a761b5bfed24bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH12/EX12.11/Ex12_11.sce | d8099712f2bc0db9ed7d9cdf32b0014cdf99db18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | Ex12_11.sce | //chapter12
//example12.11
//page248
Vcc=15 // V
Re=2 // kilo ohm
Rc=1 // kilo ohm
gain_beta=100
Vbe=0.7 // V
R1=10 // kilo ohm
R2=5 // kilo ohm
// when Ic=0, Vce=Vcc i.e. Vce=6 and when Vce=0, Ic=Vcc/(Rc+Re) i.e. Ic=15/(1+2)
// so equation of load line becomes Ic=-(1/3)*Vce+5
clf()
x=linspace(0,15,5... |
10607bd19bffad23055d8421bc9d635d71eb07f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH5/EX5.1/1.sce | ae484aa1379425ed444774116c04759f78d5b388 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | 1.sce | clc; funcprot(0);
//Example 5.1 Flat Plates Nornmal to Direction to Flow
// Initialisation of variables
l = 10;
h = 8;
V = 40;
// Calculations
A = l*h;
F = 0.00327*A*V^2;
//Results
disp(F,"Force in plate (lb) :");
|
e0ca1625aa05c340ec8a4a1a1f2bf54e450fee72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH19/EX19.1/Example_19_1.sce | 271147ec5390feffb315f51f5130cedde6a91522 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_19_1.sce | // Calculation of maximum temperature
clear;
clc;
printf("\t Example 19.1\n");
To=20; // Room Temperature (degree celsius)
sigma=-172; //Mpa Compressive stress
E=100*10^3; //Mpa Young's modulus
a=20*10^-6; //Celsius^-1 Coefficient of thermal expansion
Tf=To-(sigma/(E*a));
printf("\nFinal ... |
a8c73eb3394439d46b7897e4c17d5b10634efdda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH6/EX6.3/6_3.sce | 1ccf5429cffce337584804ee1e178f1fc0d209b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 6_3.sce | clc
//initialization of varaibles
v2=5.434 //cu ft/lb
v1=4.937 //cu ft/lb
h1=1227.6
h2=1223.9
A1=%pi/144
//calculations
Vratio=v2/v1
V1=sqrt(64.4*(h1-h2)*778/(Vratio^2 -1))
V2=V1*Vratio
w=A1*V1/v1
//results
printf("Average velocity at 1 = %d fps",V1)
printf("\n Average velocity at 2 = %d fps... |
6b531b4f174bcb2cb3dd64aa8bcb34da2f0f5342 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH17/EX17.3/Ex17_3.sce | f29f4ff91c0b93cf8702f2871ba7269f4a342c64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,609 | sce | Ex17_3.sce | //Normally aspirated and supercharged engine
clc,clear
//Given:
V_s=3300 //Swept volume in cc
//For normally aspirated
bmep1=9.3 //Brake mean effective pressure in bar
N1=4500 //Engine speed in rpm
eta_it1=28.5 //Indicated thermal efficiency in percent
eta_m1=90 //Mechanical efficiency in percent
m1=205 //Mass... |
90fd3a86d602539197b39db9f915343a0b50aa23 | a24c640895f1cfb1e3242099f641df51ee10297e | /example_programs/rockpaperscissors.tst | 7e727dba2e2187e356720f9e891ea2e2904a2e9c | [
"CC-BY-3.0"
] | permissive | supermaximo93/Toast-Prototype-Interpreter | 1c3d981a550f6498bb5fcc8952fdd6a5ae4c71b3 | 13547e96813add755791b33a19a4831f5e338094 | refs/heads/master | 2021-01-19T10:58:00.401688 | 2012-03-14T09:18:27 | 2012-03-14T09:18:27 | 3,140,649 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,070 | tst | rockpaperscissors.tst | ///////////////////////////////////////////////////////////////////////
/////////////// ROCK, PAPER, SCISSORS ///////////////
///////////////////////////////////////////////////////////////////////
print("Rock, paper scissors")
let getInput() =
print("Type 'rock', 'paper' or 'scissors'. Type 'quit... |
82370be75ed6da4c1a2be930cb20cbef36906805 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH6/EX6.3/EX6_3.sce | 95a436f9516f05ac6a3fbdd21a02225061ff6a17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | EX6_3.sce | //Chapter 6, Example 6.3
clc
//Initialisation
pi=3.14 //pi
f=100 //frequency in hertz
L=25*10**-3 //inductance in henry
vl=5 //peak voltage
//Calculation
w=2*pi*f //angular frequency
Xl=w*L ... |
114d36bfe2d1ee0946e85189b9663492d986fa75 | 01ef2a3d6223001736b6a74b2b90951ae543b91c | /scilab.sce | 9dbcee39b9cabc2477ecfc6fe6a202c6c5868874 | [] | no_license | anagix-alb/seijiro.moriyama-anagix.com-freqresponse | cf30e9a3f9bf1d7e8d3b2d4d0d09f263bf0f8951 | 39ec65abb7734248ef0c046e3e1d877b9ddc72f0 | refs/heads/master | 2021-01-10T13:48:36.998628 | 2016-02-05T14:57:33 | 2016-02-05T14:57:33 | 51,044,492 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,706 | sce | scilab.sce | clear all
clc
// Load SOCKET Toolbox.
exec(SCI+'contribsocket_toolbox_2.0.1loader.sce');
SOCKET_init();
// Define Red Pitaya as TCP/IP object
IP= '192.168.178.56'; // Input IP of your Red Pitaya...
port = 5000; // If you are using WiFi then IP is:
tcpipObj='RedPitaya'... |
61de6a093eed750fa7231f57b5ded12f18e6cc62 | 3833ff7333211b06d301339b8ae11fc22cb118d4 | /plsql/teste_1.tst | 808ec185eda76bcd53d744b7e4b8bff1b46cef73 | [] | no_license | evertonagilar/study | c4a6fed603b01bc8549813e7ef09e11a206ada99 | 03af0f0fa87e7ab90b4ce0dbc333c532b5610067 | refs/heads/master | 2023-03-09T01:43:46.393800 | 2023-03-04T10:58:20 | 2023-03-04T10:58:20 | 54,847,850 | 3 | 0 | null | 2023-03-02T14:18:01 | 2016-03-27T20:59:24 | C | ISO-8859-1 | Scilab | false | false | 501 | tst | teste_1.tst | PL/SQL Developer Test script 3.0
15
-- Created on 14/09/2010 by AGILAR
declare
-- Local variables here
i integer;
vResult boolean;
MeuCliente pkg_comercial.TCliente;
begin
vResult:= pkg_comercial.getDadosSegundaViaFatura(vIdCliente => 1, vCliente => MeuCliente);
if vResult then
dbms_output... |
f057257631a84acf166ced208d6c18e21f83505c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.13/Exa_1_13.sce | 0e9ca9b9679a047dd0b1f890d67a74fb4ee74ace | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Exa_1_13.sce | //Exa 1.13
clc;
clear;
close;
format('v',7);
//Given Data :
theta1_p1=273.16;//K
p_gauge1=32;//mm of Hg
p_atm=752;//mm of Hg
p_gauge2=76;//mm of Hg
P1=p_gauge1+p_atm;//mm of Hg
P2=p_gauge2+p_atm;//mm of Hg
theta2_p2=theta1_p1*(P2/P1);//in K
theta2_p2=theta2_p2-273;//degree C
disp(theta2_p2,"Temperature ... |
69d7399c3608fc4ef915538c42f65d8fc0cb9715 | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn2/Q1.sci | 3aa93be57941651b8e1f5bb2ebe8ab3231c7ad36 | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 763 | sci | Q1.sci | Nms = input("Enter the frame size in milliseconds: ");
Sfms = input("Enter the frame shift in milliseconds: ");
FileName = input("Enter the sound file name (Enclose in single quotes): ");
[y, Fs, bits] = wavread(FileName);
N = Nms * Fs / 1000; // Number of frames for size
Sf = Sfms * Fs / 1000; // Number of frames f... |
768e7a9d05445bfc74daaa0224323b5a0990d822 | 2d52e11c7b61898224f065e3bbf4433c814c9fe1 | /measurement/runScilab.sce | 674d2f3dadb5d1665801b0802332817daa7622e4 | [
"MIT"
] | permissive | quepas/performance-estimation-array-operations | b6954d753c83d235f12c5d97fa82bcc38656cf5e | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | refs/heads/master | 2021-01-24T13:24:52.734940 | 2018-05-12T15:18:20 | 2018-05-12T15:18:20 | 123,173,497 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,951 | sce | runScilab.sce | // Change PAPI path !
exec('/home/quepas/PhD/Tools/sPAPI/loader.sce')
// Add array operations and examples
getd('.')
getd('./array_operations');
getd('./examples');
// Measurement statistics
mprintf('@1@ [SCILAB] Measuring Array Operations...\n');
mprintf('\tNum. of measurement repetitions = %d (cutoff first: %d)\n',... |
0d81cb5d01020841d23b37f21bc2eaccc0224143 | 665eac2bfd0d2f1d559f485375f89e8a91632c6e | /VOL_200/211_01/XMERGE2.TST | 2ed110ec2723532740221f2fbe8031711f7bc9a8 | [] | no_license | kubohisa/CUGL | 615c29732e5fc2c6bcb29a4013be3351dc21dda6 | 75fc7cb2f8c5f3869a091b2b5c50c09323bc1c03 | refs/heads/main | 2023-03-15T16:19:49.355867 | 2020-10-02T21:19:00 | 2020-10-02T21:19:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,664 | tst | XMERGE2.TST | .ig XMERGE2.TST VERS:- 01.00 DATE:- 09/26/86 TIME:- 09:37:39 PM
.. Test file consisting of several CAS abstracts for use in trials
.. of xmerger (CAS abstracts are the default option):
.. Usage: xmerger <xmerge1.tst xmerge2.tst +results_file
*
XMERGE2.TST ANSWER 2 OF 8
AN CA94(21):172080h... |
a35ce48387a2c5931786d00f90f319b0fbf8d6a1 | a550430672dfb5984bd8561b894897323028b7f5 | /tests/results/power12.tst | 8c4f2126192883d5725d579cbef82e090fd8ca6c | [] | no_license | carlosmata/LabelPropagation | c91f68489a941e6f8cfb15de478d2fe28eadbcad | 2f169cc4ece49a0d0f868fee15e5eefe02bbc6df | refs/heads/master | 2020-12-18T17:46:23.501020 | 2020-05-09T06:13:16 | 2020-05-09T06:13:16 | 235,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | tst | power12.tst | argc:7
Dataset: ../datasets/converted/5powergrid.net
Nodes Edges Com Mod NMI Time
seq semisync 4941 13188 517 0.797223 -1 0.0369399
par semisync 4941 13188 1119 0.65376 -1 0.16538
|
cc04b3f924c6785215b90c9326b6d19d8b1716ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH7/EX7.4/ex7_4.sce | a08a0966f7af46a63e8f7f2ca75119dc8236296f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | ex7_4.sce | clc;
clear all;
n = 200; // Number of fringes observed
d = 0.589e-3; // Distance moved
lambda = (2*d)/n; // Condition for interference is
disp('m',lambda,'The wavelength of light used is')
lamda=lambda*1e10;//conversion in Angstrome
disp('Angstrom',lamda,'The wavelength of light used is ')
//rounding off value ... |
c169b667f967de244c474e3260facbaeca6077fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.23/Ch04Ex23.sce | 1c2f4477ef3f11c31ffffc6357b9e625a9719c5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,063 | sce | Ch04Ex23.sce | // Scilab code Ex4.23 : Pg:159 (2008)
clc;clear;
a = 1; // Assume amplitude of the wave from coherent sources to be unity
D = 1; // The distance between the slits and the screen, m
d = 5e-004/2; // Half the separation between two slits, m
mu = 1.5; // The refractive index of glass plate
t = 1.5e-006; ... |
a6fc7ba23e5bf6dbde73b74f0b624f666a62af46 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/branchrename.tst | 1286ecc14d0ac245d111ffee565d392ad062a383 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 100 | tst | branchrename.tst | ## Test the rename branch command
read <deleteall.fi
branch samplebranch rename jabberwocky
write -
|
b2e2b078fa2adce1bac289ddf405494a27087634 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH4/EX4.25/Chapter4_Example25.sce | aa1aeea8dce832398dacbb5fbed34eea8e3da068 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,898 | sce | Chapter4_Example25.sce | //Chapter-4, Illustration 25, Page 218
//Title: Steam Nozzles and Steam Turbines
//=============================================================================
clc
clear
//INPUT DATA
P0=100;//Steam pressure in bar
T0=773;//Steam temperature in K
a1=70;//Nozzle angle in degrees
ns=0.78;//Steam efficiency
m=... |
7fd978912bb5a959408aec392be325f8762a0fb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH9/EX9.14/c9_14.sce | c7dfc4f1dc812dcae0a9e187b9d669e025d9e084 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,602 | sce | c9_14.sce | //(9.14) A converging nozzle has an exit area of 0.001 m2. Air enters the nozzle with negligible velocity at a pressure of 1.0 MPa and a temperature of 360 K. For isentropic flow of an ideal gas with k = 1.4, determine the mass flow rate, in kg/s, and the exit Mach number for back pressures of (a) 500 kPa and (b) 784... |
590396d7d9b7d1d7b5c1a2de7da13dab10758f69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH14/EX14.14/Ex14_14.sce | 87937d0325608599cc9012223ef71d7a786f7310 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | Ex14_14.sce | //Example 14-14
clc;clear;funcprot(0);
// Properties
rho=998;//The density of water at 20°C in kg/m^3
//Given values
D_a=2.05;//Diameter in m
n_a=120;//rpm
n_b=120;//rpm
omega_a=12.57;//rad/s
omega_b=12.57;//rad/s
V_a=350;//m^3/s
H_a=75.0;//m
H_b=104;//m
bhp_a=242*10^6;//MW
bhp_b=548*10^6
g=9.81;//The ac... |
3eecca461286dd18df04be7aec7ebc238fe04525 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.18_5.tst | c75562256865a180359be2b98f1dd79068eeaa01 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,286 | tst | bow.18_5.tst | 18 1:0.07142857142857142 43:0.25 92:2.0 161:0.2 175:0.5 1197:1.0 1556:1.0 1584:1.0 1657:1.0
18 16:0.6666666666666666 43:0.25 50:0.07692307692307693 57:0.1 92:1.0 105:1.0 161:0.2 282:0.16666666666666666 1140:1.0 1197:1.0 1928:1.0
18 1:0.14285714285714285 8:0.5 14:0.2 16:0.6666666666666666 43:0.25 57:0.1 89:1.0 105:1.0 1... |
4adc9ff46b8911189adbee55560c594746ae18ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH6/EX6.2/2.sce | f17479e565c687b77552cd79eb793b3d2e5d1c31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 2.sce | clc
clear
//input
T=100 //rise in temperature
i=2.7 //current
t=950 //time taken
mc=0.15//mass of calorimeter
cy=3*10^3//specific heat capacity of y
cc=2*10^3//specific heat capacity of calorimeter
my=160*10^-3//mass of liquid
//calculation
v=((my*cy)+(mc*cc))*T/(i*t)//law of conservation of heat
//output
... |
2695918cc633d4329e1c9d26e039a59812376e95 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH1/EX1.4/Ex1_4.sce | e43e69547b864af705d86515d91dfb8cf0407202 | [] | 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 | 181 | sce | Ex1_4.sce | clc
//Initialization of variables
u = 0.04 // lb-s/ft^2
V = 2 //ft/s
h = 1/60 // ft
//Calculations
T = (u*3*V)/h
// results
printf("The shearing stress is %.1f lb/ft^2",T)
|
390b18fbb739ec3587b9b80db64190bac2019c68 | 0fce3f5197ea869c181a4efa35e49b6884781bd5 | /py/tst/UT_OCU_OCU.tst | 6458f375bf94c21aadb06b9a480bbeaaecad61ba | [
"Unlicense"
] | permissive | cragwen/hello-world | 6ca4c7b3eab281a8a29c9db833bd286a2d01c858 | 091c7a9f48a8f3ad2ceff0529fc907e7fe277ed0 | refs/heads/master | 2021-06-29T00:14:09.484748 | 2019-06-14T09:40:34 | 2019-06-14T09:40:34 | 106,237,407 | 0 | 0 | null | 2017-10-09T06:58:37 | 2017-10-09T04:44:14 | null | UTF-8 | Scilab | false | false | 234,879 | tst | UT_OCU_OCU.tst | -- VectorCAST 6.4t (05/31/17)
-- Test Case Script
--
-- Environment : UT_OCU_OCU
-- Unit(s) Under Test: Ocu
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATU... |
a5dce0c849ca016cd1457acf94121670a408fcd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH6/EX6.4/ex6_4.sce | 1af493a935978475a5eb0be1a8f4cb26a63afc72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | ex6_4.sce | // Exa 6.4
clc;
clear;
close;
format('v',6)
// Given data
I_DSS = 8;// in mA
I_DSS = I_DSS * 10^-3;// in A
V_P =-5;// in V
V_GS = -2;// in V
V_DSmin = V_GS - V_P;// in V
disp(V_DSmin,"The minimum value of V_DS in V is");
I_DS = I_DSS*((1 - (V_GS/V_P))^2);// in A
I_DS = I_DS * 10^3;// in mA
disp(I_DS,"The ... |
9a6b984fe10a2555286db4fd7f7d9aec02a634cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH3/EX3.3/example3.sce | b2eaed543b3cd341497a51cf4ae9c9a791bb1aad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | example3.sce | //Chapter-3, Problem 3.3 , Page105
//===========================================================================
clc;
clear;
//INPUT DATA
PRF= 1000;//pulse repetitive frequency in Hz
F = 10*10^9;//operating frequency of radar in Hz;
Vo = 3*10^8;//velocity in m/s
//Calculations
lamda = Vo/F;
// Blind Fr... |
629a5ec8f72546d829ade5c489ac17827a140345 | 0dd46f764213376689f04c662c7bef9c1517ae8b | /lb1/scilab/gauss.sci | 763d6b41e2791061001f6db650ad4eda97ac1508 | [] | no_license | hospitaler17/NumMeth | 85d174e6f8adfb488b577855b0f5b9977a87438b | 283677e9f47df559febaab33cc216e3634b95612 | refs/heads/master | 2021-09-12T12:43:55.522029 | 2018-04-16T20:09:09 | 2018-04-16T20:09:09 | 109,737,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,596 | sci | gauss.sci | disp('Лабораторная работа 1: метод Гаусса')
Matrix = read("matr.txt", -1, 4);
copyMatrix = Matrix;
disp(Matrix,"Исходная матрица:")
n = length(Matrix(:,1));;
j = 1;
tic;
for i=1:n
bla = 1;
tmp = Matrix(i,i);
while tmp == 0
if bla >= n then
disp("Wrong matrix!")
exit;
... |
6f69310588589e2826b8bd2bc837a25f9588851b | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.63/Ch3_3_63.sce | 6d7964408346d8969301fd98561393a39e24ac3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | Ch3_3_63.sce | clc
disp("Example 3.63")
printf("\n")
disp("Draw a DC load line for Collector to base bias")
printf("Given\n")
//given
Vcc=20
Vbe=0.7
hFE=50
Rc=1.8*10^3
Rb=39*10^3
//base current
Ib=(Vcc-Vbe)/(Rb+(1+hFE)*Rc)
//collector current
Icq=hFE*Ib
//to find Vce
Vceq=(Ib*Rb)+Vbe
//to draw DC load line
Ic1=Vcc/R... |
be0ba6a19d4b44df7f42f14cd3374d8c1d1f9e8d | 799d60b45c138f0273b1e23578b7fb95fdd7dac4 | /lesFonctions.sce | c215deb6855c5e65b33db6acad629da1c6c38cb0 | [] | no_license | lou-licorne/Syst_solaire | c8770eb7b7290ca506e2c541fe762b9af93fcf28 | 20a02239270cd41c2e016b2e8443f2266eb08180 | refs/heads/master | 2021-01-17T18:01:54.705923 | 2016-11-08T21:01:44 | 2016-11-08T21:01:44 | 70,931,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,694 | sce | lesFonctions.sce | /////////////////
// Général //
/////////////////
function ast = calculCentreAstre(astre)
for i=1:size(astre, "r")
temp = 0;
for j=1:size(astre, "c")
temp = temp + astre(i, j)
end
ast(i) = temp/size(astre, "c");
end
endfunction
////////... |
f12de95e8ae43529c75837f3e0076b7ea597f2ac | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV21.prev.tst | 2a5ace12d2dc487c16d8fa322c2b6bc924502fa9 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | tst | BV21.prev.tst | [1,4,6,4,1] | [1,2,1] =
initial: [1,4,6,4,1] / [1,2,1], rem1=[1,4,6,4,1], div2=[1,2,1], lenq=3, len1=5, len2=3
step end: quot=[0,0,0]/qden=1, rem1=[1,4,6,4,1]/rden=1, div2=[1,2,1], bquot=1, lenq=3, len1=5, len2=3
while end: quot=[0,0,1]/1, rem1=[1,4,5,2]/1
step end: quot=[0,0,1]/qden=1, rem1=[1,4,5,2]/rden=1, di... |
4997fcc07ff3968f20ed4347bf75a0cda62dfd81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH5/EX5.6.e/5_06_example.sci | 1e5660285a133356c875d0895557ffa50aa63759 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | 5_06_example.sci | //Example 5-6 Water Discharge from a Large Tank
z_1 = 5 //water height in tank [m]
g = 9.81 //gravitational acceleration [m/s^2]
|
5aa581ec95169a2e3a2be109df5816d580121251 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.44/2_44.sci | bd6f25ad91881c44f50f314bded16426298b1c7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sci | 2_44.sci | //2.44
clc;
e0=8.85*10^-12;
A=500*10^-6;
d=0.2*10^-3;
C=e0*A/d;
d1=0.18*10^-3;
C_new=e0*A/d1;
C_change=C_new-C;
Ratio=(C_change/C)/(0.02/0.2);
printf("\nratio of per unit change of capacitance to per unit change of diaplacement=%.2f",Ratio)
d1=0.19*10^-3;
e1=1;
d2=0.01*10^-3;
e2=8;
C=(e0*A)/((d1/e1)+(d2/... |
6fc7b2dbc747115206aac621a47f36db7b3f0620 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH13/EX13.1/13_1.sce | d588e21ab1423601f3e0d1df222ddee8923f3da6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 131 | sce | 13_1.sce | clc
//Initialization of variables
n1=10 //mol
n2=12 //mol
//calculations
dn=n1-n2
//results
printf("dHp = dEv- %d *RT",dn)
|
ec0fdd82378941bd63c25d63b0bd457ec80dc664 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.41/Ex6_41.sce | 0b89e2b0a4d18e9aed41c12ffb45e4d7b9eaba80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | Ex6_41.sce | clear;
clc;
printf("\t\t\tProblem Number 6.41\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.41 (page no. 304)
// Solution
//For Methane(CH4,MW=16)
p=500; //evaluate specific volume at p pressure //Unit:psia
pc=674; //critical temperature //Unit:psia
T=50+460; //evaluate specific volume at T temperature ... |
756e8cc59facbfc845b515ba0e6a1e8e3812812a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/TX40CDR/ATWM1_Working_Memory_MRI_TX40CDR/ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | 1be9ce9380af8c9dc2981034b1315676378d8063 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,282 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_uncued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds... |
bd55db7a50d8908a9c699c10f8bfa44ca900b486 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/hrmt.man.tst | 51a7fad00623e55110bfe4d0e213d94fef7cb55a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | tst | hrmt.man.tst | clear;lines(0);
x=poly(0,'x');
v=[x*(x+1),x^2*(x+1),(x-2)*(x+1),(3*x^2+2)*(x+1)];
[pg,U]=hrmt(v);U=clean(U)
det(U)
|
2da27b96151cd5f5cf873d4c098b8f1420796c5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH7/EX7.4/exa_7_4.sce | e49a60c03a3fb9ff0c9e59930431d9ff3f0ce247 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | exa_7_4.sce | //Exa 7.4
clc;
clear;
close;
//given data
format('v',9);
T1=800+273;// in K
A= 5*6;// in square meter
epsilon=0.45;
sigma=5.67*10^-8;
q=epsilon*sigma*A*T1^4;//in watt
disp(q,"Energy emitted by a grey surface in watt : ");
|
6c17c8e7fd1c8b16c7cef36d41350cc4ebbb8769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3543/CH2/EX2.3/Ex2_3.sce | ab71998951d1cc47ed95fd31a7fbce6ba883ba02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 689 | sce | Ex2_3.sce | // Example 2.3
// Calculation of (a) critical angle (b) numerical aperature and (c) acceptance angle
// Page no 38
clc;
clear;
close;
// Given data
n1=1.5; // Refractive index of core
n2=1.47; // Refractive index of cladding)
// (a) Critical angle
thea... |
d22d48068673bc9747237d3fc405d2e32f2e9b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH2/EX2.9/example_2_9.sce | eb481f16db63587b1a330f9612f8b053a3dda3a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | example_2_9.sce | //Example 2.9
clc
clear
close
a=[0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1];
b=[0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1];
c=[0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1];
d=[0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1];
for i=1:16 // finding Y for all 16 cases
x=bitor(a(i),b(i));
y=bitor(c(i),d(i));
r(i)=bitand(x,y);
x1=bitcmp... |
d414bddaace57db93119f5389d00d350da201eac | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH12/EX12.9/example12_9.sce | b8f711c6afb030b25772986213f1c111a81e370c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | example12_9.sce | //clc()
N = 100;//mol fuel gas
Nco = 21;
Nh2 = 15.6;
Nco2 = 9.0;
Nch4 = 2;
Nc2h4 = 0.4;
Nn2 = 52;
Hco = 282.99;//kJ/mol ( heat of combustion )
Hh2 = 285.84;//kJ/mol ( heat of combustion )
Hch4 = 890.4;//kJ/mol ( heat of combustion )
Hc2h4 = 1410.99;//kJ/mol ( heat of combustion )
Hvap = 44.04;//kJ/mol
H = ... |
dd6b8db5e1c88d82e5d06575294c2c2271a5dfd6 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /GM/GMW3097 2006/3.5.2 CI. Transients on Power Lines 2.tst | bda1ce2a56d44348e71e79b2d5cbfdec347e9f13 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | tst | 3.5.2 CI. Transients on Power Lines 2.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE AUTOTEST>
<AutoTest version="2.0.0" wavetype="2">
<Pulse>Pulse 2b</Pulse>
<Title>Pulse 2b</Title>
<Organization>GM</Organization>
<Standard>GMW3097 2006</Standard>
<Item>3.5.2 CI. Transients on Power Lines</Item>
<Count>1</Count>
... |
1b8e6f75df948113f5bfc365dd8e816c3ced34a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH10/EX10.5/exp10_5.sce | f73eb14312ff22bd22ae6e7ee932eafd6aa50bc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | exp10_5.sce | clear
clc
disp("example10.5")
i1=0.8
i2=1.0
l1=complex(0.04,0.12)
l2=complex(0.03,0.1)
l3=complex(0.03,0.12)
vl=1
i3=i1+i2
v1=vl+i3*(l1)+i1*(l2)
v2=vl+i3*(l1)+i2*(l3)
p1=real(i1*v1)
p2=real(i2*v2)
cos1=real(v1)/abs(v1)
cos2=real(v2)/abs(v2)
b11=abs((real(l1)+real(l2))/(v1^2*cos1^2))
b22=abs((real(l1)... |
d52febda262773cab369e3a078f2d329365af664 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH11/EX11.4/example11_4.sce | 2a4c73089839331b4629335bf9e6cbeca4004331 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | example11_4.sce |
//example 11.4
//calculate number of siphons units required
clc;funcprot(0);
//given
rl=435; //full reservior level
cl=429.6; //level of centre of siphon
hfl=435.85; //high flood level
hfd=600; //high flood discharge
w=4; //width of throat
h=2; //heigth of thr... |
1b7410ab77354ca80f977acdef371e41b3680184 | 1c2f14129944b4f9e630ade470cc86ae5affb4dd | /images/custombutton.sci | b206370088c4040bc6c7dbd41ca10745484d3ba6 | [] | no_license | ronaldoevangelista/geo-app-operation | 1aa7e035f01cab423e23b4da71392251888b80bb | 00941e9101efa26adaba41bfa9b16579a67d691f | refs/heads/master | 2020-07-02T09:51:19.242460 | 2016-11-28T20:40:34 | 2016-11-28T20:40:34 | 74,312,090 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 65 | sci | custombutton.sci | border.left:1
border.top: 1
border.bottom: 1
border.right: 1
|
4f6b66f526c52c6c95a7973957831435e77a4d7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH7/EX7.1/7_1_Cooling_rate.sce | cfb77c486045213184212932acb475a543c83b8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,117 | sce | 7_1_Cooling_rate.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 7.1 Page 415 \n'); //Example 7.1
// Cooling rate per Unit Width of the Plate
//Operating Conditions
v = 10; //[m/s] Air velocity
p = 6000; //[N/m^2] Air pressure
Tsurr = 300+273;... |
f2109780c83ff64434843fa22924a582c0776dea | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH6/EX6.24/Ex6_24.sce | 02a9092e48b3a86b58c19f8a84ddbea1a0e051de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | Ex6_24.sce | //Example 6.24
clc
clear
x = 1:3:10;
F = [500426 329240 175212 40365];
n = length(x);
del = %nan*ones(n,4);
del(:,1) = F';
for j = 2:4
for i = 1:n-j+1
del(i,j) = del(i+1,j-1) - del(i,j-1);
end
end
del0 = del(1,:);
X = 2;
x0 = x(1);
h = x(2) - x(1);
p = (X-x0) / h;
F2 = 0;
for ... |
f6ae88af9df70e9ef3ea95f0b63f108ac570af6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH7/EX7.15/7_15.sce | 6ae101a57064137b087fd542a444cb01150defd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 979 | sce | 7_15.sce | //water chemistry//
//example 7.15//
W1=0.28;//amount of CaCO3 in grams dissolved in 1 litre of water//
V1=28;//required EDTA in ml on titration of 100ml of CaCO3 solution//
V2=33;//required EDTA in ml for 100ml of unknown hard water sample//
V3=10;//required EDTA in ml for 100 ml of unknown sample after boiling a... |
8ee8c7bef30d533cd20f36a4819013772c564449 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.20/6_20.sce | 1ae73d062a3c2751242d6ab51e79c7e11bc1c41f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | 6_20.sce | //example 6.20
//double integration
//page 247
clc;clear;close;
deff('z=f(x,y)','z=exp(x+y)');
h0=0.5,k0=0.5;
h=[0 0.5 1];,k=[0 0.5 1];
for i=1:3
for j=1:3
x(i,j)=f(h(i),k(j));
end
end
T_area=h0*k0*(x(1,1)+4*x(1,2)+4*x(3,2)+6*x(1,3)+x(3,3))/4//trapezoidal method
printf('the integration value ... |
e3e439f82329bb7a3c78d61f6eb201857257065f | 4058f38b392324aa5099819881f3c7d7219a174f | /MUX_4-1/MUX 4-1.sce | d7da3119e9c15aac0ccffe6779cfb17fe50d9a33 | [] | no_license | anupma-s/Scilab-Xcos-Arduino-Digital-Circuits | 612a033422bf14e2e58bcdce371f15cafb30224f | 2b4bf8e8f155d20a5eda2feb31c5523a51569d73 | refs/heads/master | 2021-01-20T17:20:13.073180 | 2016-07-04T15:25:07 | 2016-07-04T15:25:07 | 62,569,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,276 | sce | MUX 4-1.sce | ok=open_serial(1,2,115200);
if ok~=0 then error('Unable to open serial port, please check'); end
for i=1:10000
//input pins
i0=cmd_digital_in(1,2) //LSB, reads input i0
i1=cmd_digital_in(1,3)
i2=cmd_digital_in(1,4)
i3=cmd_digital_in(1,5) //MSB, reads input i3
//select lines
a=... |
1a948f8bc141efdb58df3e545542f72962c10bb9 | b513eb49824ff62ddd2289a920c92cfcb362d5f2 | /magister/course_2/gerasimov/optimal/Lab6/scilab/launcher.sce | 20e709534632bad7b32c82b22f15e8765bce3712 | [] | no_license | kirillin/ifmo | 6264ac42ec2031777145b39d4930f2f645e1d316 | 633919ba09d43814298c3a2145d5d6f72b5b068e | refs/heads/master | 2021-01-12T09:32:27.270130 | 2018-11-18T12:17:46 | 2018-11-18T12:17:46 | 76,181,268 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,850 | sce | launcher.sce | function beauty_axes(x_text, y_text)
a = gca();
a.x_label.text = x_text;
a.x_label.font_size = 4;
a.y_label.text = y_text;
a.y_label.font_size = 4;
endfunction
function beauty_legend(text, place)
legend(text, place),
a = gca();
a.children(1).font_size = 4;
endfunction
function beauty_p... |
0f0e0e12214f2bd379c0ee6ff5e3615550001131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH1/EX1.5/5.sce | 39a6afb4b6d174a9afc00e49b1d1d3b29b813638 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5.sce | //problem 1.5
h1=0.05
h2=0.1
s1=0.8
s2=13.6
w=9810
p=s2*h2*w //pressure at balance line
p1=s1*h1*w
pf=p-p1
disp(pf, "pressure in pipe(N/m2)")
|
23892bf54200c746f975152baa7fc339c88cf0eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.9/Example4_9.sce | 8fe1ad62ef6b6c58c784c89775628ec9b98ebe89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Example4_9.sce | //Exa 4.9
clc;
clear;
close;
//Given data :
r=4/2;//cm
rdash=0.7788*r;//cm
d=300;//cm
d3=6*100;//cm
LA=0.2*[log(d/rdash)+1/2*log(2)-%i*0.866*log(2)];//mH
disp(LA,"Inductance per km of phase1(mH)");
LB=0.2*log(d/rdash);//mH
disp(LB,"Inductance per km of phase2(mH)");
LC=0.2*[log(d/rdash)+1/2*log(2)+%i*0.866... |
454b56ea25bc7350c8cde7be43944181cbe2624d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH9/EX9.15/Ex9_15.sce | faa0de2cc879a768307ff19374e7206f13d75f38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | Ex9_15.sce | //chapter9
//example9.15
//page158
n=4
Rl=200 // ohm
fin=50 // Hz
Vp=230 // V rms
Vs=Vp/n // V rms
Vsm=Vs*2^0.5 // maximum voltage across secondary
Idc=2*Vsm/(%pi*Rl)
Vdc=Idc*Rl
PIV=Vsm
// in full wave rectifier, output frequency is twice input frequency since there are two ouput pulses for each cy... |
c3187d718664a1ec7f52059cdcaa9364845bbeff | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH3/EX3.11/3_11.sce | 53e65d9332e177a43121f4fe896816ef299976bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | 3_11.sce | clc;
// page no 127
// prob no 3.11
//Refering the fig. 3.17
//From fig it is clear that thee waveform is made from two sine waves
Vp=12.5;//Since Vp-p is 25V from fig hence individual Vp is half of Vp-p
Rl=50;//Load resistance is 50 ohm
//Determination of average power
Vrms=Vp/sqrt(2);
P=((Vrms)^2)/Rl;
disp... |
2f7415890a4dceb2562448c88832aff4329f087d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.11/Ex1_11.sce | fb97a0949db4a4dec91b43d4a059c1047cd84521 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | Ex1_11.sce | clear
//
//
//
//Variable declaration
v=0.2 //volume(cc)
a=1*10**4 //area(cm**2)
r=0
n=1
lamda=5.5*10**-5 //wavelength(cm)
t=2
//Calculation
d=v/a //thickness of film(cm)
mew=n*lamda/(2*t*cos(r)) //refractive index of oil
//Result
printf("\n refractive index of oil is %0.2f *10**-5",mew*... |
24d24eca4a6617e1278e13c799da7c0536b0821d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH14/EX14.1/14_1.sce | 04de72f09708130fd995245665da3e0c29b30c62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | 14_1.sce |
clc
//initialisation of variables
clear
H1=26 //B.Th.U /lb
H2= -27.5 //BThU/lb
//CALCULATIONS
H= H1-H2
t=-83//f
s=3.43//ft^3/lb
v=224*sqrt(H)
//RESULTS
printf ('Final temperature= %.f F',t)
printf (' \n Final specific volume = %.2f ft^3/Lb',s)
printf (' \n Hd = %.1f B.Th.U/lb',H)
printf (' \n veloci... |
8ea68a4bc461f07da01feefe5b93e4f39e16b866 | 725517259e3eea555ad0f79d421792c632bc4655 | /scripts/egalisation.sci | 2ab3e2e6d43373a3ca2506527277c586c6399195 | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sci | egalisation.sci | function render=egalisation(img)
//This is the script to do an equalization on the image
// Calcul of the histogram value (nb of pixel with gray value)
imghist=histogramme(img);
//disp(imghist)
// Calcul normalized histogram
// but before, calcul of the total number of pixel
[wd,he]=size(img)
nbpixels = wd*he
imgn... |
eef75baaa1238e9b194aa1d350fdcc380ea60929 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH2/EX2.24/Ex2_24.sce | 8b331cdd6c6dc194052399b28eab2787f653cb78 | [] | 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 | 334 | sce | Ex2_24.sce | errcatch(-1,"stop");mode(2);//Example 2_4_1
;
;
//To calculate the wavelength of light
D=150 //units in centimeters
d=0.03 //units in centimeters
betaa=0.3 //units in centimeters
lemda=((betaa*d)/D)*10^8
printf("Wavelength of the light is %.0f angstrom",lem... |
6acefd3be4157a6e26e2edd5d0b0b31e41da5739 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH2/EX2.10/ex2_10.sce | 2a0816c506edf337b8fc3e72604a81431337e440 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | ex2_10.sce | RL=20; //load resistance
Zo=50; //intrinsic impedance
Rin=50; //input resistance
Tin=10^(-RL/20); //reflection coefficient at input
Rg1=Rin*(1+Tin)/(1-Tin);
Rg2=Rin*(1-Tin)/(1+Tin);
disp("Ohms",Rg1,"Source resistance for positive Tin=");
disp("Ohms",Rg2,"Source resistance for negative Tin="); |
0691546c2f2121d0496640cbe1d30c64020aa435 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Clown Flick Practice Small.sce | 6abd25765d973dbd9701a1fe60bbd5310a46495c | [] | 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 | 96,905 | sce | Clown Flick Practice Small.sce | Name=Clown Flick Practice Small
PlayerCharacters=Gamer
BotCharacters=GamerBot.bot;GamerBot.bot;GamerBot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Gamer
AddedBots=GamerBot.bot;GamerBot.bot;GamerBot.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=2
BotTeams=1;1;1
MapName=hall.map
MapScale=3.8125
BlockProjectile... |
8d791ee962832ae766fa46184f0379a681cf20f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH24/EX24.4/Ex24_4.sce | 46a32a7292084d5ac8cdeacf1e5dea7449008cfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | sce | Ex24_4.sce |
clc;
Po=25;
G=10*log10(Po/(1*10**-3));
disp('dB',G*1,"G=");
|
c09ab4f29a4f5d86e78580321a7098cfb033a873 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/examples/pwm_zvsfb/user_blocks/mdaq_zvsfb.sci | 2c1ba9551b8f11745f3b6759f38e8cbc07cce168 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 2,393 | sci | mdaq_zvsfb.sci | // Generated with MicroDAQ toolbox ver: 1.3.0
function [x,y,typ] = mdaq_zvsfb(job,arg1,arg2)
block_desc = ['Set ZVSFB parameters';
'This block uses PWM1 and PWM2 modules to generate ZVSFB waveform';
'It allows to set constant PWM period(frequency).';
'FED/RED waveform poperties can be adjusted by passing va... |
30711676d1556e521e08ca440bf6a122dfa82648 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH2/EX2.3.u1/Ex2_3_u1.sce | 81c5a43ccd9d47cb916f894c10fcc400211ba275 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | Ex2_3_u1.sce | //Example 2_3_u1
clc();
clear;
//To calculate minimum no of lines per centimeter
lamda1=5890 //units in armstrongs
lamda2=5896 //units in armstrongs
dlamda=lamda2-lamda1 //units in armstrongs
k=2
n=lamda1/(k*dlamda)
width=2.5 //units in cm
nooflines=n/width
printf("No of lines per cm... |
f6e70c5fd853bf6a2f3185740e29e9732d6c786d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH6/EX6.1/Ex6_1.sce | 965444c95df8c31b60c58835e9f350b85c80ad09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Ex6_1.sce | clear;
clc;
//Example 6.1
Vtn=1;
//let x= u_n*Cox*1/2
x=20*10^-3;
//let y=W/L
y=40;
I_D=1;
Kn=x*y;
printf('\nconduction parameter=%.3f mA/V^2\n',Kn)
g_m=2*sqrt(Kn*I_D);
printf('\ntransconductance=%.3f mA/V\n',g_m)
|
43437f5055885ff9648e54e54f04dec0ca9abb09 | dd8ab4e6e107d77473ab252f22e9d4601c0b2d46 | /booleanArithmetic/isNegative.tst | 2be6ac4b8a19c711cd851466d5d7de7bc9ff04df | [] | no_license | KokiHirokawa/nand2tetris | 7e62f9da84bc61ba0dbd0738cbe846b866399c22 | d78ca09343d81d132888b0472ad6a53264abda72 | refs/heads/master | 2023-01-05T20:30:20.582146 | 2020-10-31T08:58:28 | 2020-10-31T08:58:28 | 301,744,439 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | tst | isNegative.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
load isNegative.hdl,
output-file isNegative.out,
compare-to isNegative.cmp,
output-list in%B2.16.2 out%B2.1.2;
set in %B0000000000000000,
eval,
output;
set in %B1111111111111111,
eval,... |
6e17cee366e227ab3a6bd9c2f6cf556550ac8872 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH7/EX7.6/Ex7_6.sce | 7253fc27dcae9c5770f8dfa144aadf8ee8577fc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | Ex7_6.sce | clear
//Given
//we will divide this into two equal parts and other part
l = 10.0 // in - The height
t = 0.1 // in - The width
b = 5.0 //mm- The width of the above part
A = t* b //sq.in - area of part
y_net = l/2 // The com of the system
y_1 = l // The position of teh com of part_2
I_1 = t*(l*... |
42cdbd7229274fedaa23aaccb6a51efc1316601b | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/taylorwin/taylorwin3.sce | bc33301226975cef3ba9d3bfb413130e2ed92ac8 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | taylorwin3.sce | //check o/p when the i/p arguments are n:required order of the filter, nbar: no of constant level sidelobes, and sll: max sidelobe level
w = taylorwin(6,4,-40);
disp(w);
////output
//0.3305716
// 1.019979
// 1.6494495
// 1.6494495
// 1.019979
// 0.3305716
|
b197bf60554e3c3da972a0224c4663f480443d6e | ecd2d931395f0b1280d01efdf8fd451286106a32 | /data/in/ExportFixedData.sce | 627d3c1148c5a5aa5a89d440e60fa71ea06bf30e | [] | no_license | MaxRCC/TDB32 | 90c079862496647b9e6f9630fe7040263cd92429 | 4b5910b24c2126b2dd6ce672f5c01f1a5d4216aa | refs/heads/master | 2022-01-06T08:46:25.206207 | 2018-09-03T18:41:17 | 2018-09-03T18:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | ExportFixedData.sce | //clf;
clc;
clear all;
Pos = 44;
N = 12
num = 1:32;
k =1;
y = 0:2047;
z = dec2bin(y,16);
for Ch =1+ (32*Pos):32+ (32*Pos)
str = 'chan_' + string(num(k)) + '.txt';
k = k+1;
csvWrite(z', str);
end
clear data;
|
5b8e1690a9fed1348f95c4617a5065cb4239b85b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.22/ex6_22.sce | 73c918b99d8a0393448de1254e0a3274001780da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | ex6_22.sce | // Exa 6.22
clc;
clear;
close;
// Given data
V_DD= 20;// in V
I_DSS= 9;// in mA
V_P= -3;// in V
R1= 0.3*10^3;// in kΩ
R2= 1.7*10^3;//in kΩ
R_D= 3.2;// in kΩ
R=1;// in kΩ
V_G= V_DD*R1/(R1+R2);// in V
//I_D= I_DSS*[1-V_GS/V_P]^2 (i)
// V_G= V_GS+I_D*R or I_D= (V_G-V_GS)/R (ii... |
1a4a419813645f785692067a4feb12ce39cb87c1 | 17dd6e9c9459b72f85b0a71f73e670abf1ca9f4e | /Wiskunde1/cursus/oud/figuren/telproblemen/dollars.sce | e3e8dc3ec1cbcc80bedf872b2b0fcb0092e157c8 | [] | no_license | Woumpousse/KHL | e80c9a00bf71321539b218d8ec047883a9c2fc91 | 066a06c131c617e8be9ec6ac2f4c76b637aba34e | refs/heads/master | 2020-12-24T13:18:20.656259 | 2014-09-29T16:14:00 | 2014-09-29T16:14:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | dollars.sce | e=input("Bedrag in euros: ");
t=input("Wisselkoers: ");
d=e*t;
disp("Het bedrag in dollar: "+string(d))
printf("Het bedrag is %f dollar",d) |
518dad1fd0a99a2c6df38e4347808a904f6bfbda | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH23/EX23.1/ex23_1.sce | 3ae523d476437a6ce3ee17c7927087450fd0120e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | ex23_1.sce | clc;clear;
//Example 23.1
//calculation of relative permittivity
//given values
E=1000;//electric field in V/m
P=4.3*10^-8;//polarization in C/m^2
e=8.85*10^-12;//permittivity in F/m
//calculation
er=1+(P/(e*E));
disp(er,'relative permittivity of NaCl is ');
|
0e398ad4a28a4f1581eea5cd6b7d6b20b578334f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH22/EX103.3/103.sce | 5513836bf9526121f92dc543c2ea03b207030e87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 103.sce | clc
//initialisation of variables
l=20//m
e=0.00025//mm
E=2000000//kg/cm^2
f=19.6//cm^2
//CALCULATIONS
sig=E*e//kg/cm^2
Del=sig*f//kg
L=e*l//m
//RESULTS
printf('the pressure of bearings normal operations=% f m',L)
|
37abd72355a57cdf386d80957cad51948a5e1351 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH7/EX7.1/7_1.sce | 85ea4dde58b71c02f2e1e5c966e59741b49644d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 7_1.sce | disp("Eg=1.420+(1.087*x)+(0.438*x^2)");
x=800*10^-9;
Eg=1.420+(1.087*x)+(0.438*x^2);
printf('\n The value of Eg is %feV',Eg);
printf('\n');
disp("The corresponding bandgap value for x=800nm from Eg(x) is 0.11"); |
a4647e89abe41361179a21dec6e2027581226237 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/fgoalattain/WeldedBealGoalProgramming.sce | 6bf124254f98378a616a6b0087e45807680a0c4b | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,943 | sce | WeldedBealGoalProgramming.sce | //Reference: K. Deb,"Solving Goal Programming Problems Using Multi-Objective Genetic Algorithms",Proceeedings of the 1999 Congress on Evolutionary C omputation CEC-99,USA, 1999, p. 77-84
// goal f1(x) = (1.10471*h^2*l + 0.04811*t*b*(14+l))<=5;
// goal f2(x) = (2.1952/((t^3)*b))<=0.001;
// subjected to
// g1(x) = 13,... |
8ed8582e83a8ad0ac4f982e1390e3b12a0d4a7d3 | f84f70d084dfe70f4981267c54aae83638a4d71e | /ACSO-master/ACSO-master/Lab 4/Laboratorio 4b/Resta.tst | e0ea8394750ae31d21a47bfb73efce3142683759 | [] | no_license | nicolaspineros/ACSOM | b85b4b770df5ff204c2c117155102c69fecc2dc6 | 3f3a05bd60589ba5f6fa5edba9d999af9dd93517 | refs/heads/master | 2023-03-22T11:34:35.897155 | 2021-03-03T15:35:00 | 2021-03-03T15:35:00 | 344,175,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | tst | Resta.tst | load Resta.hdl,
output-file Resta.out,
output-list s%B1.16.1;
set al %B1001011010110101, set ah %B1010110101101101,
set bl %B0010110100101011, set bh %B0101101010010110,
eval; |
dbd622ea0e30f4c1d148fc510f20e78777138c31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH7/EX7.24/Ex7_24.sce | a816cd7c77d520c38bbf17dd4eb31cdc8ead395e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,358 | sce | Ex7_24.sce | //Example 7.24
// LQR Design for a Tape Drive
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space model for a Tape Drive
F=[0 2 0 0 0;-0.10 -0.35 0.1 0.1 0.75; 0 0 0 2 0; 0.4 0.4 -0.4 -1.4 0; 0 -0.03 0 0 -1];
G=[0 0 0 0 1]'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.