blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c006272d0b2fad0ef252a852627bfbdcb8f4d75c | 9651e8d97efa545ec67b74488e570618d7175865 | /Project/Improved-Ray-Tracer/executables/for_windows_rendering/scenes/cornell_boxes/cornell_box_2.sce | 5690ee908f8889e7bb52355cf7641828d1a8033d | [] | no_license | Ghalicb/computer-graphic-concepts | ae3f97be77b285e9f222200699c734f7c658b378 | 8995f1ad7e924c062e2df88b0d88db9fe0b5d95c | refs/heads/master | 2022-09-04T18:24:18.315890 | 2020-05-13T13:36:49 | 2020-05-13T13:36:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sce | cornell_box_2.sce | #The origin is at the center of the box
# maximum recursion depth and number of paths per pixel
max_depth 10
paths_per_pixel 1500
# camera: eye, center, up, fovy, width, height
camera 0 0 800 0 0 0 0 1 0 75 1000 1000
# background color
background 0 0 0
# AreaLights : center, color, block_side, x_parts, ... |
06224587b47ae4ff853341c336d46ad82072e5b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.9/example1_9.sce | bd992b0a2b96a44d6c70ea246f1885f8e72a3320 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example1_9.sce |
//exapple 1.9
clc; funcprot(0);
// Initialization of Variable
//solving equation of theta and delta
b(1,1)=90-70-20/60;//zenith distance at upper culmination
b(2,1)=90+20+40/60;//zenithdistance at lower culmination
A=[1 -1;1 1];//coeff of equations having declination of star and latitude of observation
x=A\... |
b9f08b7e0d57b3fd1f2d2f0c71de8307ec7436b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.24/EX5_24.sce | 63bb4734d9150adb631deade1d562fee8ba54acf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | EX5_24.sce | Z1=10+%i*0;
Z2=99.33-%i*49.09222;
Z3=20+%i*0;
Z4=10+%i*20;
Z5=20.03+%i*30.03;
Z6=15+%i*20;
Z7=89.32-%i*49.105;
IN=Z1+Z2-Z3;
ZN=1/((1/Z4)+(1/Z5)+(1/Z6));
VTH=(Z7/1000)*ZN;
ZTH=ZN
disp('i) Current (IN) is in rectangular form = '+string (IN) +'V ');
disp('i) Impedance (1/ZN) is in rectangular form = '... |
f254c5ff1042abb29a6cbd39d62f7ad9d8f39db4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH16/EX16.4/4.sce | 99ea920169247d059d0883754eb4de461984b435 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 902 | sce | 4.sce | clc; funcprot(0);
//Example 16.4 Power required at level flight at altitude
a10K = 1.16;
a15K = 1.26;
alp = [-4 -3 -2 -1 0 4 8 12 16 18 19]'; //From table 16.1
V = [ 228 161 130 112 100 74.9 62.3 55.2 50.2 48.1 48.1]'; //From table 16.1
HPreq = [566 199 111 76 60 34 29 29 30 31 33]'; ... |
60a65b2a2d64eca2b3ea2e2b3c5ba41e6362c696 | 271e1c7556443952fc17a95243f62923f3b742a4 | /scilab/main.sce | 23e91a23584d12f4b5af3775ce43826fc20eb346 | [] | no_license | Edlward/aec | 5b38f9d8d502e27ae7037c6bc20568ee0ccb4f50 | 3aa5e2f81be6818c5b9b837512431f527a85dc2c | refs/heads/master | 2021-06-01T03:57:16.874040 | 2016-07-13T18:33:01 | 2016-07-13T18:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | main.sce | // Acoustic Echo Canceller
funcprot(0);
exec('aec.sce');
exec('utils.sce');
// file names
mic_fn = '../data/01_mic_clvl12.raw';
spk_fn = '../data/01_spk_clvl12.raw';
// load data from raw files
mic = loadRawData(mic_fn);
spk = loadRawData(spk_fn);
// time domain
t = linspace(0, 3000-1, 24000);
// echo cancel... |
8ee63ea27bd5c529e7e5c6e4fc1365de7d372a30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.18/2_18.sce | ed67b96d1faeb39dce57439b750604fdd635cc09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 936 | sce | 2_18.sce |
clc;
clear;
//Example 2.18,Page no 2.38
//Given
//Assume:
L=1 //[m]
r1=0.10 //[m] Outside radius od pipe
ia=0.025 //inner insulaiton [m]
r2=r1+ia //Outer radius of inner insulation
r3=r2+ia //Outer radius of outer insulation
//CASE 1:'a' near the pipe surface
//let k1=1
k1=1; //Thermal conductivi... |
eaa1f3305f1a90d9f4211c6f71593b4230a5b347 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.37/ex_4_37.sce | 42fd6707fdafb72bd93b2c2d29b726d4f154ec6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | ex_4_37.sce | clc;
clear;
syms n z a b y1 K;
Yz=a*y1*(z/(z-a))+K*z^2/((z-b)*(z-a));
//y1=y[-1]
Y1=z/(z-a);
Y2=z^2/((z-b)*(z-a));
FY1=Y1*z^(n-1)*(z-a);
y1n= limit(FY1,z,a);
FY21 = Y2*(z^(n-1))*(z-a);
FY22 = Y2*(z^(n-1))*(z-b);
y21n = limit(FY21,z,a);
y22n = limit(FY22,z,b);
y=a*y1*y1n+K*(y22n+y21n);
disp(y*'u(n)',"y[n]=... |
20f68294b9bbd5b86fc70dd2a792dbcc491fa52b | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/triangle.sce | 753b6ab546dfb065f1b64ae749fff067813edc0b | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | triangle.sce | /* triangle equilateral centre (x0,y0) et longueur l */
function triangle(x,l)
x0 = x(1)
y0 = x(2)
uy = y0 - sqrt(3)/6 ; ux = x0 - l/2
vy = y0 - sqrt(3)/6 ; vx = x0 + l/2
wx = x0 ; wy = y0 + sqrt(3)/3
plot(x0,y0,'k.')
plot([ux vx],[uy vy])
plot([ux wx],[uy wy])
plot([vx wx],[vy wy])
endfunction
|
794a568e7cc0ead4efb2e5383548db213aaceeee | bae725b750433ba5d58470784eeb87687023da7e | /macros/Lyap_K.sci | 801824f132b4adb9603e5c985ed1b493d83cc387 | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,778 | sci | Lyap_K.sci | function [NmrIti,L,Lest,err,Nbrelem,Indexelem]=Lyap_K(orbit,NbrIti,Dim,Delai,MinEps, NbrRef, NbrTimeIti, DoEstim, MaxDim, TheWin)
// Initialisation
Commandline='';
Lest=[];
err=[];
NmrIti=[];
L=[];
if ~isdef('DoEstim','local')...
then DoEstim=%F,
end;
if isdef('NbrIti','local')...
then Commandline=Commandline... |
2b564c9d0d06db51c4317a5be3c1f2a02dcdbfdc | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SL2.prev.tst | a50b2946096a7634eb373e0ab7f0f06e1c21c62a | [
"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 | 40 | tst | SL2.prev.tst | -1/3 solves - 7*x^2 + 6*x^3 + 1? true
|
e0655649c54b87c576d5ed412e5e7cdbd0a77140 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH2/EX2.5.7/2_5_7.sce | 22c2cd9ee25339d3f6589f77593b0c3100a5f90a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | 2_5_7.sce | disp('given matrix is:')
a=[2 5;-3 -4]
d=a;
disp(a)
disp('performing row operations')
a(2,:)=a(2,:)-(a(2,1)/a(1,1))*a(1,:)
disp(a)
disp(a)
disp('thus, the upper triangular matrix is')
U=a;
disp(U,'U=')
disp('the lower triangular matrix is:')
L=[1 0;d(2,1)/d(1,1) 1];
disp(L,'L=') |
6274b9e179d1a2562b24a76c230c6f368d9cdca9 | b55b3f4ecb80cc7d4e6ccad7124adeae711f42f7 | /Digital_communication/Lab_5/lab_5_1.sce | 22bab18fcc7cc7595ca5cc58fefa8897170845dd | [] | no_license | shivamchopra99/Lab-Works | 9ada57e2093be3290be18ed21289e4bd6fc68df2 | 0dbb533ca502c2256089970acfd3420f43568801 | refs/heads/master | 2020-09-21T04:52:25.548472 | 2019-11-18T09:23:18 | 2019-11-18T09:23:18 | 224,683,152 | 1 | 0 | null | 2019-11-28T15:35:53 | 2019-11-28T15:35:52 | null | UTF-8 | Scilab | false | false | 922 | sce | lab_5_1.sce | //Aim:- To find Gaussian Distribution and Uniform Distribution Curve
clc
clear all
a = input("Enter the Lower Limit: ");
b = input("Enter the Upper Limit: ");
a1 = input("Enter the Lower Limit: ");
b1 = input("Enter the Upper Limit: ");
a2 = input("Enter the Lower Limit: ");
b2 = input("Enter the Upper Limit: ");
// 1... |
5005ba198938f0016cb5e702545c6f4775c91c12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH5/EX5.14/ex5_14.sce | 3254f74b0c47f4b73bbecb5590388bb29b91514e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | ex5_14.sce | // Example 5.14, page no-315
clear
clc
Cd=1
Dp=0.018
Df=0.015
g=9.81
rho_f=2.7
rho=0.8
Vf=520*10^-9
//case 1
Qmin=Cd*((Dp^2-Df^2)/Df)*sqrt(%pi*g*Vf*(rho_f-rho)/(2*rho))
Qmin=Qmin*100000
printf("Case 1: When float is at the bottom\n Volumetric flow Qmin=%.3f *10^-5 m^3/sec",Qmin)
//case 2
Dp2=0.0617... |
69253f954d5b9ca6ae55c0474d67417cfd0a7db0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH17/EX17.2/Ex17_2.sce | 2f01dd6128f917a5ab90bc5f05cdc6eef1561aac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sce | Ex17_2.sce | //Ex no.17.2,Page no.380
clc;
clear;
close;
//Initilization of Variables
d=6 //cm //diameter of rod
L=40 //cm //Length of steel plate
P=12 //KN //Load
sigma=180 //MPa //Allowable stress
//Calculations
A=%pi*4**-1*d**2 //cm**2 //Area of rod
M=P*10**3*L //Ncm
F=M*A**-1 //N/cm //Force per unit cm of weld at top and b... |
832e9b50f9aa9857a1a02e247aa27bd2663e4a3a | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/skip04.tst | 2facb5dfa5bb822c99ed7eed9545b292c6ab0b26 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | tst | skip04.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the skip instructions for correct conditions and target"
; @Result: "sram[59] = 1, r18 = 1, r19 = 2"
start:
ldi r17, 1
out 0x1b, r17 ; write to PORTA
nop
sbic 0x1b, 0 ; should not skip next instruction
ldi r18, 1
ldi r19, ... |
6c74edccc382300af66f694089c2157a121aafbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH16/EX16.15/16ex15.sci | 2aca6fe80e9da17c0ebeafbad95524c63729e72c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sci | 16ex15.sci | disp('recurrence relation of Fibonacci numbers f[n]=f[n-1]+f[n-2]')
x=poly(0,'x');
g=x^2-x-1;
disp(g,'characterstic equation of the recurrence relation is:')
j=[];
j=roots(g);
disp(j,'roots of the characterstic equation j1,j2')
disp('for general equation fn=Ar^n+Br^n,values of Aand B respectively are calcula... |
99ebdef2a0c58577674e2481f8a722d9e47789dc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%r_x_s.sci | 36f74c7d0b4b0deee54ab38628ca87f5390b5b76 | [
"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 | 152 | sci | %r_x_s.sci | function f1=%r_x_s(f1,n2)
// %r_x_s(r,M)=r.*M rational .* constant
//!
// Copyright INRIA
if size(n2,'*')==0
f1=[]
else
f1(2)=f1(2).*n2
end
|
2f699a462762e226e727b407603c15f23c96fbce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH6/EX6.12.1/Example6_12a.sce | 943856042b120c4a521eb1e1a4c325176f93ad4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 705 | sce | Example6_12a.sce | clc
//Given that
c = 3e8 // speed of light in m/s
u_x_ = -2e8 // velocity of first photon in ground frame in m/s
v = -2e8 // velocity of second photon in ground frame in m/s
m_0 = 3e-25
// sample problem 12 page No. 226
printf("\n \n\n # Problem 12a # \n")
printf("\n Standard formula used \n u_x = (u_x_ + v) / ... |
11f3d142584c895725f2a6643cd285252a1a747e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.8_12.tst | e4cb31855110561560d064a399829c32cdd8711a | [] | 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 | 540,151 | tst | 5.8_12.tst | 8 200:1 373:1 484:1 698:1 790:1 881:1 1154:1 1416:1 1457:1 1561:1 1729:1 1814:1 1877:1 1903:1 1905:1 2122:2 2258:1 2272:1 2281:1 2285:1 2650:1 2667:1 2734:1 2773:1 2875:1 2898:1 3135:1 3220:1 3383:1 3559:1 3695:1 3725:1 3780:1 3922:1 4191:1 4241:1 4327:1 4414:1 4539:1 4590:1 4710:2 4828:1 4830:1 4842:1 4994:1 5161:1 52... |
4fd8b3eded8884f5d2b375537e927d59073b1338 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH25/EX25.17/example25_17.sce | f4d93cadcb3631382fd763dc58d167231db40cf7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | example25_17.sce | m_i=58;
deg_i=35*%pi/180;
i=m_i*(cos(deg_i)+%i*sin(deg_i));
m_i1=35;
deg_i1=-20*%pi/180;
i1=m_i1*(cos(deg_i1)+%i*sin(deg_i1));
m_v=120;
deg_v=0;
disp("Part a");
i2=i-i1;
a=real(i2);
b=imag(i2);
m_i2=sqrt(a^2+b^2);
deg_i2=atan(b/a)*180/%pi;
disp("the current (in mA) in the other branch has a magnitude of")... |
ba9b6cfa59c5d42ca769b7e7b3b5c4e14c03e41e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH11/EX11.3/Example11_3.sce | 4be7774675f494a16dc168c750cccd6937ba045f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example11_3.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 11: SPECIALIZED DYNAMOS
// Example 11-3
clear; clc; close; // Clear the work space and console.
// Given data
// Hybrid stepping motor
P = 50 ; // Number of rotor teeth
// Calculation
alpha... |
5e6eb4fbcc2c00fe43177801c2773a25a94a4d66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH12/EX12.9/Example12_9.sce | f3ac662a4229113d07098fab4cf86f7c3701f9af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 528 | sce | Example12_9.sce | exec('degree_rad.sci', -1)
//Given that
M = 1 //(say)
d = 0.50 //in meter
Wi = -2 //in rad/s
m = 1/3*M
Vi = 12 //in m/s
A = dtor(60) //in rad
//Sample Problem 12-9
printf("**Sample Problem 12-9**\n")
//initial angular momentum
Ii = M*d^2/3 * 4
Lti = Ii*Wi //of the turnstile
Lbi = m* Vi * d * cos(... |
405b919b9f78d711ebe2b05ea009f40af715923c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/optim/utils.sci | 6be9c135f647bd82848d559e08c6c6d401764c3d | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,928 | sci | utils.sci | function [r,ind]=aplat(l,r)
//flattens a list. If l is constant it puts it in a list
//ind contains the list structure
if type(l)==1|type(l)==5 then r=list(l);ind=-1;return;end
n=size(l)
[lhs,rhs]=argn(0)
if rhs==1 then r=list(),nr=0,end
ind=list()
i=0
nind=0
for li=l
i=i+1
if type(li)==15 then
[r,ind1]=aplat(li... |
a703c015d33757ebfc5658c38b558b1fa1976261 | 0cc5aa4c7d14f462fba5c4ecac4d6882970f89ec | /deconv.sci | 5d63433c0391a7ee06ba6abc7c163d239d6fcd20 | [] | no_license | DarshanRamakant/SignalProcessingToolbox | b8b650e314d0a681c3b603794910b51a292b0e88 | f709dc145b5b8eba98eee52e18b0230f9f4c3a8b | refs/heads/master | 2016-08-13T01:07:12.918570 | 2016-01-12T18:51:48 | 2016-01-12T18:51:48 | 49,521,356 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sci | deconv.sci | function q=deconv(b,a)
// this code is taken from matlab with the modifications suited for scilab.
if a(1)==0
error(message('MATLAB:deconv:ZeroCoef1'))
end
[mb,nb] = size(b);
nb = max(mb,nb);
na = length(a);
if na > nb
q = zeros(superiorfloat(b,a));
r = cast(b,class(q));
else
// Deconvolution a... |
54aa77af799e226f2ce88d9db07e1912ba19d42f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH3/EX3.5/3_5.sce | f8377c7996abe5a384b02a656204a936ebcdd9ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 3_5.sce | clear;
clc;
Zo=55;Zr=115+(%i*75);n=1.183;
//value of Zr as taken in solution
m=(2*%pi*n)-(2*%pi);
Zin=Zo*(Zr+(%i*Zo*tan(m)))/(Zo+(%i*Zr*tan(m)));
C=real(Zin);
D=imag(Zin);
printf("Sending end impedance is Zin = %f + j(%f) ohms",fix(C*10)/10,fix(D*10)/10);
|
d9cf1c9fc49a44dba562257e953b093e72485b86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH1/EX1.11/1_11.sce | 354446a770463e5b1938ca9cda8afcbc4f7a6c42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | 1_11.sce | //Eg-1.11
//pg-26
clear
clc
x=input("enter any value in radians to find its sine value")
v=sin(x);
disp(v) |
ed24bd6804f947fe2053210d82214045fc5f8277 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH2/EX2.4c/Exa_2_4c.sce | ecda14aa39bf1255d74a1ed782a5a1b8813bb282 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_2_4c.sce | //example 2.4c,pg.no.17
x=[3 4 5 6];
xm=3;
xm=xm+1*(xm-1);//shift in pad due to interpolation
xm=xm-2//normal shifting
x1=[x(1:1/3:length(x))]//step interpolated
xm=3;
xm=xm+2*(xm-1)//shift in pad due to interpolation
y=[x1(1:2:xm-2),x1(xm:2:length(x1))]//decimation |
806ec1f3ff23a2a44f908db9a88aaef0390d4f5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH17/EX17.3/Ex17_3.sce | 85231bb08e71450a9484753b60b457ff0ea9929c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex17_3.sce | clc;
close();
clear();
//page no 552
//prob no. 17.3
c=3*10^8; //speed of light in m/s
f=3.7*10^9; //Hz
lembda=c/f; //m
mprintf('The wave length is %.4f cm \n',lembda*100)
theta_3dB=8; //degree
D=70*lembda/theta_3dB //m
mprintf('The diameter is, D= %.4f m \n',D);
eta_1=.6; //illumination ef... |
d0c353e1e2deac510f3cd808ea6c3f5d48ca3383 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.flare-10-1tra/result2s0.tst | 97105d6337ba97c1e6570051de061d6ba40f728f | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 953 | tst | result2s0.tst | @relation flare
@attribute LargestSpotSize{A,R,S,X,K,H}
@attribute SpotDistribution{X,O,I,C}
@attribute Activity{1,2}
@attribute Evolution{1,2,3}
@attribute Prev24Hour{1,2,3}
@attribute HistComplex{1,2}
@attribute BecomeHist{1,2}
@attribute Area{1,2}
@attribute C-class{0,1,2,3,4,5,6,7,8}
@attribute M-class{0,1,2,3,4,5}... |
feab0e471f8788da0c96b8d700fb8e6eac60197b | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-usage-007.tst | 176e271e004d343ede646f9ecf53481cac7396c9 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 61 | tst | test-usage-007.tst | FLAGS='-sdu'
STDIN=''
STDOUT=''
STDERR='!USAGE!'
EXITVAL='1'
|
1e2791cc1157837404ccf477447e7c3a8d8a73e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH31/EX31.18/31_18.sce | 5c18c0490f47271fb136d68c4158649b6a9fc885 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 957 | sce | 31_18.sce | clear//
//Variables
fo = 2.0 * 10**3 //Frequency (in Hertz)
hie = 2.0 * 10**3 //hie (in ohm)
R1 = 20.0 * 10**3 //Resistance (in ohm)
R2 = 80.0 * 10**3 //Resistance (in ohm)
RC = 10.0 * 10**... |
4e7ff50430b1382e52910fdf5bdf41a97d8e5c57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH3/EX3.6/Ex3_6.sce | 6546e941b8df4ec30a668bde827d89474d7c5039 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | Ex3_6.sce | //Ex:3.6
clc;
clear;
close;
r1=100;
r2=1000;
R_x_1=(r2/r1)*10000;
R_x_2=(r1/r2)*10;
printf("Range extends from %d ohms to %d ohms",R_x_2,R_x_1); |
eda8d48bd1f1b0a89a1529de199a328a0316260f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/prony/prony6.sce | 9ea500d7a9d06140c8a41a34c73839178fe1a336 | [] | 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 | 304 | sce | prony6.sce | impr=['a' 'b' 'c' 'c' 'c' 'f' 'r' 't'];
num_ord=3;
den_ord=3;
[num,den]=prony(impr,num_ord,den_ord);
disp(num);
disp(den);
//output
//!--error 10000
//Input H in prony must be double/single, instead it was char.
//at line 6 of function prony called by :
//[num,den]=prony(impr,num_ord,den_ord);
|
961fa388294352cdf4a268ed775b40d84f9b6e17 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH2/EX2.26/Ex2_26.sce | e4e888916cb758d05b35a8120f002682bef3faa4 | [] | 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 | 177 | sce | Ex2_26.sce | errcatch(-1,"stop");mode(2);//Ex:2.26
;
;
C=100;//in uF
C_eff=C*C/(C+C);
printf("Two capacitors of %d uF be in parallel used to make %d uF capacitance",C,C_eff);
exit();
|
a2bf82be43b1a2fba3ae8af0c1df64fbc3e89868 | 918e8207504f36c7eaf613b62c71e91ad3a33a8a | /2017/educrace_by_lulu/EducRace/DATA/Scenario/EndRaceLightPlayerCar.sce | df24480ffe28c155f4c4e0bbd036830fae23e580 | [] | no_license | lazarusccr/GraphicsContest | b1299eeb74449b8714f126deeb64dc02da285260 | 8dec398588970e958c7f08ab7be32af760acbbd6 | refs/heads/master | 2021-04-29T07:29:46.122593 | 2017-12-28T16:26:51 | 2017-12-28T16:26:51 | 77,950,829 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | EndRaceLightPlayerCar.sce | Visible FALSE
Wait 1
Visible TRUE
Wait 1
Visible FALSE
Wait 0.5
Visible TRUE
Wait 0.25
Visible FALSE
Wait 0.2
Visible TRUE
Wait 0.3
Visible FALSE
Wait 0.3
Visible TRUE
Wait 1
Wait 0.2
Visible FALSE
Wait 0.9
Blink -1 0.75 0.25 |
af5ee6b2e6463717f759ae367008dffa3b7ba38e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3035/CH7/EX7.3/Ex7_3.sce | b4b1b3597cb14badb259d5138b108f96f2974aac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,107 | sce | Ex7_3.sce |
// Variable Declaration
V = 400.0 //Voltage supplied(V)
f = 50.0 //Frequency(Hz)
L = 300.0 //Length of line(m)
I_1 = 50.0 //Current at 100 m from feeding point(A)
pf_1 = 0.8 //Power factor at 100 m from feeding point
L_1 = 100.0 //Length of line upto feeding point(m)
I_2 = 25.0 //... |
6087675a78fa3c45f24696f6e8410b7f51043287 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH22/EX4.5.8/U4_C5_8.sce | d52279b8acc574815a894ec2ae3df3a0b0ca35a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | U4_C5_8.sce | //variable initialization
ch=12.4 //product of speed of light and Plank's constant (KeV*Å)
lembda1=0.178 //wavelength of K-alpha line (Å)
lembda2=0.210 ... |
f3dcc07bcdba2768ca5bbff361f2f6b3fc0bb719 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH15/EX15.7/15_7.sce | 87728597400e7a60de716e2bf7134ff6852c793d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | 15_7.sce | clc;
clear;
format('v',11);
h=1000;
T=300;
p=1000*exp(-h/8000);
N=77.6*p/T;
n=1+N*10^-6;
disp(n,"n=");
|
b9c4d88ab39c0b0648eca98211c05596df1636a1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Engineering_Thermodynamics_O._Singh_2873.zip/Engineering_Thermodynamics_O._Singh_2873/CH1/EX1.7/Ex1_7.sce | 4e5108fca01efa86ec02486efd05428595f8415c | [] | 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 | 522 | sce | Ex1_7.sce | errcatch(-1,"stop");mode(2);// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
;
;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 7")
w1=100;//weight of object at standard gravitational acceleration in N
g1=9.81;//acceleration due to gravity in m/s^2
g2=8.5;//g... |
9e1578c7de5604f9cf477c693e85ca2c9f38a8e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.1.b/example11b.sce | aa10ba7523a323f5a21cc29938adaac210593a63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example11b.sce | //Example 1.1b
//Determine whether the given signal is periodic or not
clc;
t=0:1/100:5
x=sin(sqrt(2)*%pi*t);
plot(x);
disp('ploting the signal and showing that itis periodic with period=2pi/sqrt(2)pi'); |
0be1f0e2be5d5e4a561e62d81eb4d6f422717370 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.36.ii/Ex9_36ii.sce | 8b0672a6cd3dbb9297b14a23855412a96e20a56c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | Ex9_36ii.sce | //Caption: Channel Capacity
//Example 9.36ii
//page no 427
//Find Capacity of Channel
//assume that succeissive samples are statistically independent
clear;
clc;
B=10*10^3;
SN=20;
SNR=10^(SN/10)
C=B*log2(1+(SNR));
disp("kb/s",C/1000,"C =")
|
774f59298bd34cbb16442f33f7ab033773dd004a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH7/EX7.4/7_4.sce | 43ae68e2109526d40b54416a4b64f68e3594fb51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,721 | sce | 7_4.sce | //To find the voltage dip in per units for motor starting
//Page 333
clc;
clear;
Sts=(10+(11*4.4)); //Load Selected on the transformer
V=240; //Voltage
Sta=50; //Available Unit
pf=0.9; //Load Power Factor
I=(Sts/V)/(Sta/V);
VDT=I*((0.0107*pf)+(0.0139*sind(acosd(pf))));
SLload=10+(3*6);
deff('x=VD(a,b... |
e78edbe17170ffe6d965f5af7709ceef5d47bfda | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH1/EX1.13/Ex1_13.sce | 6619b01c6f81322ca548dd0179c0fb3031ca2ffe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Ex1_13.sce | // Example 1.13
clc;
clear;
close;
// Given data
format('v',6);
VCC= 12;// in V
VBE= 0.7;// in V
R1= 25;// in kΩ
// I= I_REF= (VCC-VBE)/R1
I= (VCC-VBE)/R1;// mirrored current in mA
disp(I,"The mirrored current in mA is : ");
|
1999f2b56ec639484e99d9495eff7c65a199a87d | 090aefac4d8d48efba8d30891bd37b7b82b2ad91 | /LP/haskell-project/tests/1.tst | 934f7ff6cd7df5148624c8e68eb82a195c3bd841 | [
"MIT"
] | permissive | landlockedboat/fib | 04a3818091eeffcdb734c8db968024ac76e70e70 | 5b6c3d3029a49b06740a5ea6be81c39be3ff5173 | refs/heads/master | 2022-05-08T23:25:46.868058 | 2018-08-20T15:04:33 | 2018-08-20T15:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | tst | 1.tst | let seq = (Seq [(Assign ("X") (Const 1)), (Cond (Gt (Var "X") (Const 0)) (Seq [(Assign ("Z") (Const 1))]) (Seq []))])
let symt = (SymTable [])
let ent = []
interpretCommand symt ent seq
|
ea9b84e2c1ccd1a3003abbb78c7c9a3906fafafe | bbe484d1b8ad18373632b07b2ee24bcdc3b24254 | /shkoli/LISH 08 - Varna/day5/race/7_3.tst | e3abef8475e5bfc413277e026f987940d3210536 | [] | no_license | matemura/Competitions | 9d97a94c1e01a16b79c94fd02d0e98d3047e7548 | 7a61c65dd8666c793f30f325e65f5a91078b4b0a | refs/heads/master | 2021-05-28T05:27:20.542371 | 2013-11-26T06:16:30 | 2013-11-26T06:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | tst | 7_3.tst | 5 5
.....
.#...
.#...
.#.#.
...#.
2 4
LUDUDDRRLRDD |
cdf92e3fb8dc5d0fc4645dfb6f5ae4eee87effc5 | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Metodo de Newton.sce | 3cd17bdbcdbef34845333cd81e5834362b9cdf19 | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,554 | sce | Metodo de Newton.sce | //Método de Newton
//O algoritmo só calcula até o polinomio de grau 6
clear
close
clc
x = [-1; 0; 2] //Pontos X
y = [4; 1; -1] //Pontos f(x) ou Y
p1 = 0.5 //Ponto que se deseja calcular
p2 = poly(0, 'p') //Variavel usada para calculo do polinomio
n = size(x,1)
function [s] = f1(x1)
... |
a68b6883c292aac026948e5e073e39ce4d61c449 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH2/EX2.10/Ex2_10.sce | 4f91918130bd5f95a68b02f3808eaa7d58884630 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_10.sce | // chapter 2 example 10
//------------------------------------------------------------------------------
clc;
clear;
// given data
// D = 3*10^-7 sin(6*10^7 - 0.35x)az
er = 100; // relative permitivity
// Calculations
// ∂D/∂t = 3*10^-7 * 6*10^7* cos(6*10^7 - 0.35x)az
A = 3*10^-7 * 6*10^7
// outp... |
561f066c590f62208ecd3e25de0dfa16dbee26fb | 645aafe05833e1c216391b0e5504c9f0d7f67f97 | /Presentation/Response_Priming/CIT_Nogo3_Imagery/CITIM Nogo3.sce | a9bb415bbf6d82b3afbcf22f647d766ac41f462f | [] | no_license | njo001/Experiment_Code | 0d4b0dede2dba5e6b7de6da2578fc745665a4619 | 0446a93ac73c98b4115580feb5c6dae05213030e | refs/heads/master | 2020-04-20T08:27:04.558194 | 2019-02-01T18:29:36 | 2019-02-01T18:29:36 | 168,739,220 | 0 | 0 | null | 2019-02-01T18:04:03 | 2019-02-01T18:04:03 | null | UTF-8 | Scilab | false | false | 8,200 | sce | CITIM Nogo3.sce | scenario = "CITIM Nogo3_21/06/05";
default_font_size = 25;
pcl_file = "CITIMNogo3_Main.pcl";
default_font = "Arial";
default_all_responses = false;
default_background_color = 0,0,0;
active_buttons = 5;
button_codes = 1,2,3,4,5;
response_matching = simple_matching;
write_codes = true;
pulse_width = 20;
begin; ... |
e51b19355b6e27db666e5b253fcf3f6eba8b040a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH6/EX6.4/6_4.sce | e36c67e1c2457d4bfa0c0c06b07d1b738a474b19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | 6_4.sce | clc
//initialisation of variables
sp=1500 //rotational speed of an impulse turbine wheel in revolutions
pi=(22/7)
dm=1.5 //diameter in m
ra=0.8 //ratio of blade speed to steam speed
x=159 //x=cwi-cwo in m/s
m=10 //kgs mass
cf=50.4 //m*m*m/kg
vs=1.159 //
//CALCULATIONS
u=(pi*dm*sp)/60
ci=u/ra
pd=(m*x*u)/100... |
b443b11fe19c6870a662e1f4912537b7e66a4e5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH2/EX2.3/2_3.sci | fb8e908d3acad10f3b74aca40564a401c9732036 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sci | 2_3.sci | //final value thereom
syms s
d=poly([0 2 1 1],'s','coeff')
n=poly([5],'s','coeff')
f=n/d;
disp(f,"F(s)=")
x=s*f;
y=limit(x,s,0); // final value theorem
disp(y,"f(inf)=")
|
a59dda3864eb067729d75505d8bc7b56b0d592e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.35/ex_2_35.sce | b592b1f4570d42bb73797b88673925563db91653 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | ex_2_35.sce | //Example 2.35: The ratio errror and phase angle error
clc;
clear;
close;
//given data :
I=5;// in A
Kn=1000/I;
n=198;// in turns
L=12.5;//in VA
Zs=L/I^2;
f=50;// assume in Hz
l=1*10^-3;// in H
Re=2*%pi*f*l;// in ohm
del=asind(Re/Zs);
Ie=10;// in A
Im=15;// in A
K=n+(((Ie*cosd(del))+(Im*sind(del)))/I);
Rerror=(Kn-K)*10... |
bc4b996310d24ce3554365adb704aedfd506ee09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.20/exa_1_20.sce | a41c00e3f3918c345670032555f0f28ddc43bb1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | exa_1_20.sce | // Exa 1.20
clc;
clear;
close;
// Given data
e= 1.6*10^-19;// in C
I=100;// in A
n_o= 8.5*10^28;// in m^-3
A=10^-5;// in m^2
// Formula I= n_o*A*e*Vd
Vd= I/(n_o*e*A);// in ms^-1
disp(Vd,"The drift velocity of free electron in ms^-1 is : ")
|
efbcc973a0b15db8d2949d5e69a460bd1d9ba42d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.10/ch8_ex_10.sce | 8ecea55dbc288a249faf0b5937d2197243209495 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,271 | sce | ch8_ex_10.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 10
disp("CHAPTER 8");
disp("EXAMPLE 10");
//VARIABLE INITIALIZATION
P=6; //number of poles
I=80; //current per conductor in Amperes
Z=400; //tottal number of conductors
phi=0.020; //flux per pole ... |
0708df792af6a86ec04316f1baca8949e2cdda86 | 73fbb7c1c93f53c9499e83f13c5ed8e4d4ce9d4a | /tests/daikon-tests/TreeMap/TreeMap.tst | 3436b0738b487a26f3ef0f25e7e511011f19a0a0 | [
"MIT"
] | permissive | codespecs/daikon | 8cccbaa7cce77d88160ae368054d9ef74043d465 | 62109d49852676657ce3205283cebbb46456425c | refs/heads/master | 2023-09-01T19:45:13.280344 | 2023-08-22T03:21:40 | 2023-08-22T03:21:40 | 37,424,689 | 183 | 56 | NOASSERTION | 2023-08-22T03:21:41 | 2015-06-14T18:40:55 | C | UTF-8 | Scilab | false | false | 136,821 | tst | TreeMap.tst | <instlist>
<instance name="state">
<domain name="Color">
<atom>Red</atom>
<atom>Black</atom>
</domain>
<domain name="Node">
<atom>NIL</atom>
<atom>Zero</atom>
<atom>One</atom>
<atom>Two</atom>
<atom>Three</atom>
</domain>
<set name="Color">
<atom>Red</atom>
<atom>Black</atom>
</set>
<set name="Node">
<atom>NIL</atom>
... |
288c2828b6db3262fb4d37d607c5ac3f2c9bf38d | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH4/EX4.12/ex12.sce | 6e5cd7d11d1fe22d80c4bdf834a1d7032acb53d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | ex12.sce | //CHAPTER 4_ Motion and Dimensional Measurement
//Caption : Strain gage
// Example 12// Page 172
Rg=120; // given
Sg=2 // gage factor is given
stress=7*10^6; //given
Ia=.03 //('enter the gage current=:')
//maximum allowable bridge voltage is
Eex=240*Ia;
strain=7*10^6/(200*10^9);
dR=strain*Sg*Rg;
Eo=E... |
7c75b32a8a0a88d39cb1cba78e1e2fd6dc690e16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH18/EX18.5/Ex18_5.sce | a43c181a6e7fa05bd90b5a8418234c2af790720d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,943 | sce | Ex18_5.sce | //Calculations on six cylinder petrol engine
clc,clear
//Given:
n=6 //Number of cylinders
d=7.5,l=9 //Bore and stroke in cm
R_b=38 //Torque arm radius of the brake wheel in cm
P1=324 //Net load when all cylinders operating on brake in N
N=3300 //Engine speed in rpm
P2=245 //Net load when each cylinder is inoper... |
4482919afd0ae46dd548f6d45f22318119172c46 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.6_7.tst | f0afe19fad0bbce7f836a777b2f417cc2fe5625d | [] | 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 | 6,915 | tst | bow.6_7.tst | 6 9:0.5 17:0.08333333333333333 18:1.0 21:0.1 25:0.14285714285714285 32:0.5 48:1.0 83:0.3333333333333333 185:1.0 221:0.5 242:1.0 368:0.3333333333333333 593:1.0
6 6:0.6666666666666666 17:0.16666666666666666 21:0.2 23:0.5 32:0.5 40:0.125 44:0.016666666666666666 59:1.0 66:1.0 78:0.3333333333333333 82:1.0 107:0.25 157:0.090... |
73ffcc8d813497246233b4dce410060044c4adf3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376.zip/Electrical_Measurements_And_Measuring_Instruments_N._V._Suryanarayana_1376/CH1/EX1.17/1_17.sci | fb1d53f1556bddd4ff237587a4011349522b1efb | [] | 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 | 378 | sci | 1_17.sci | errcatch(-1,"stop");mode(2);//1.17
;
Y=90;
X=89;
Error_absolute=Y-X;
disp(Error_absolute,'absolute Error')
Error_relative=(Y-X)*100/Y;
disp(Error_relative,'relative Error (percent)=')
Accuracy_relative=1-Error_relative;
disp(Accuracy_relative,'Accuracy relative=')
Accuracy_percentage=100*Accuracy_relative;
d... |
246ccbde9be812d3778f8f39acf16b3494d3e98c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH2/EX2.4/2_4.sce | 984983c5085d2b7f0ddba65d07d2d13718f94d17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | 2_4.sce |
clc
//initialisation of variables
clear
W1= 1000 //lb
W2= 100 //lb
h= 4 //ft
d= 5 //ft
//CALCULATIONS
V= (W1+W2)/h^3
D= V*h/(d^2*%pi)
I= d^4*%pi/h^3
BM= I/V
x= (BM+(D/2)-(W1*(h/2)/(W1+W2)))/(W2/(W1+W2))-0.02
C= x-h
//RESULTS
printf ('centre of gravity = %.2f ft',x)
printf ('\n Hence the gravity of the... |
8bf961e80746bde7642b6462d886d59280a88164 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH14/EX14.10/Ex14_10.sce | 981b8d3a765ff43e43b456f25789e42b74f02341 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex14_10.sce | clear
//Given
V=200 //V
I=5 //A
R=8.5 //ohm
//Calculation
Eb=V-(I*R)
Pi=V*I
P0=Eb*I
n=(P0*100)/Pi
//Result
printf("\n (i) Back e.m.f of motor is %0.3f V", Eb)
printf("\n (ii) Power input is %0.3f W",Pi)
printf("\n (iii) Output power is %0.3f W",P0)
print... |
98a51f448cb53434f09645f2442ef04893a3efbe | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/programacao.sce | 7ea3b084701cffb6339054540b9037c736f3638d | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | programacao.sce | mode(7);
// Ferramentas de programacao
// loop for
x=1; for k=1:4, x=x*k, end
// loop for com vetor
x=1; for k=[-1 3 0], x=x+k, end
// loop for com listas
l=list('oi mundo',[1,2;3,4],786);
for k=l, disp(k), end
// loop while
x=1; while x<14, x=2*x, end
// comando break
a=0; for i=1:5:100,a=a+1, if i>10 then... |
e4b54dce5ac4a8df80262ccbe79fc11e3ec2653d | 8b9a8f57e173e7b4f3e0697bb8fa4391992830c1 | /Assignment_2/Assignment 2/2bitDEMUX1to8/DMux18.tst | 55ac0d7e29b79f1226fc6d185b6b618901bedcdb | [] | no_license | AtharvaC1511/ComputerSystemDesign | 9bdcdd5178e55f21c9c23cc105feb6f1cdf47cf6 | e3d9bdcb961aa6d2f13c58532bb89908dda70d3b | refs/heads/main | 2023-06-25T19:04:51.971391 | 2021-07-19T14:24:00 | 2021-07-19T14:24:00 | 387,486,807 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 799 | tst | DMux18.tst | load DMUX18.hdl,
output-file DMux18.out,
output-list X0%B3.1.3 S2%B3.1.3 S1%B3.1.3 S0%B3.1.3 Y0%B3.1.3 Y1%B3.1.3 Y2%B3.1.3 Y3%B3.1.3 Y4%B3.1.3 Y5%B3.1.3 Y6%B3.1.3 Y7%B3.1.3;
set X0 0,
set S2 0,
set S1 0,
set S0 0,
eval,
output;
set S0 1,
eval,
output;
set S1 1,
set S0 0,
eval,
output;
set S0 1... |
04baec195e6c460b409c0b4a78381167d6617e3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH14/EX14.10/Ex14_10.sce | d7caa13929f703d18362f861ad251113874c0a39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex14_10.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 14 Operational Amplifiers Pg no. 432
clear;
clc;
//Given
Av_ol=175000;//open loop voltage gain
Zin=1.5D6;//input impedance in ohms
Zout=70;//output impedance in ohms
//Solution
Zi_vf=(1+Av_ol)*Zin;//input impedance of voltage follower in ohms
Zo_vf=Zout/... |
c0bd84aeeccb08d38d68b4b1460d28dee5dd88dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH12/EX12.3/12_3.sce | bd3a14b820adb3f971982a8d1a16f7636d1d4490 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | 12_3.sce | clc
//initialisation of variables
n= 0.5
T= 75 //F
P= 14.7 //psia
pg= 0.4298 //psia
pw= 0.2149 //psia
//CALCULATIONS
pw1= n*pg
pa= P-pw1
r= 0.622*pw/pa
//RESULTS
printf ('relative humidity= %.5f lb water/lb dry air',r)
|
ca434d45187bef5e0bcb34f2c46cb3c6de4b8144 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH3/EX3.6/Example3_6.sci | 63009dba512f08c43c1d81ea38a1e6da4eaf1f65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,770 | sci | Example3_6.sci | //Chapter 3_Semoconductor Devices Fundamentals
//Caption : Bipolar Transistor Parameters
//Example3.6: Determine Cu,Ccs,Gm,C1,R1,R0 and Ru for a bipolar transisitor. Given : Ic=0.2 mA, Vcb=10V,Vcs=15V,Cuo=0.25pF,Cje=1 pF,Ccso=1.5pF,Bo=2000,Tf=0.3ns, n=2*10^-4 and Vo=0.55V for all junctions.
// Solution:
clear;
clc... |
246845cf08ada66015338d7b2a6e0482c9910510 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH7/EX7.48/ex_7_48.sce | b2a7273f641b45abbc7f7b4df5b145183ecdf6c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | ex_7_48.sce | clc;
A=[0 1;-6 -5];
b=[0;1];
c=[1 0];
q0=[2;1];
syms t T
//y=c*e^(A*t)*q0+integ(c*e^A*(t-T)*b*x,0,t)
e=spec(A);//eigen values
b0=e(1)*%e^(e(2)*t)-e(2)*%e^(e(1)*t);
b1=%e^(e(1)*t)-%e^(e(2)*t);
eAt=b0*eye(A)+b1*A;
b0=e(1)*%e^(e(2)*(t-T))-e(2)*%e^(e(1)*(t-T));
b1=%e^(e(1)*(t-T))-%e^(e(2)*(t-T));
eAtT=b0*eye(... |
8affbf30c9b9f8aa5bf1e18159bb73db70880705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.17/Ex4_17.sce | 14005fd2fdfa0e20055bed9a3ae7cc3afebcd605 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,259 | sce | Ex4_17.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.17
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
I = 30; // Initial starting Current in Amphe... |
668696d48e621550f2bbbd4e590c52e145152144 | cb8badb7b62f46da3dd1b582c4186b5b2829d5af | /macros/Misc/EXPRESSION.sci | aaf1fd241d17225c0237c4c85cb05e46268a213c | [
"MIT"
] | permissive | FOSSEE/xcos_on_cloud | e3cf7ff202a1628a875484774c87936fbd8696cf | e981d77e0c96ab5db0e01755a2531d878864266f | refs/heads/master | 2023-05-12T12:12:08.955522 | 2023-02-16T10:25:15 | 2023-02-16T10:25:15 | 99,215,141 | 12 | 31 | MIT | 2023-05-02T00:18:57 | 2017-08-03T09:24:23 | JavaScript | UTF-8 | Scilab | false | false | 7,509 | sci | EXPRESSION.sci | // Scicos
//
// Copyright (C) INRIA - METALAU Project <scicos@inria.fr>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later ... |
e2fa51d92aed032dbea806f453ca40ce7a18d865 | 4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf | /code/pt/order.sce | 1587d63926bd4f3ef59410d4d65ede138cb88e5c | [] | no_license | kiraboris/pyttools | d7bea20bd371b811f6fe86ab94dac3317b9e3679 | 7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe | refs/heads/master | 2021-05-31T01:17:35.354923 | 2016-02-03T10:12:09 | 2016-02-03T10:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,970 | sce | order.sce | // The procedures below implement order (predecessor, successor) on poss-dists
// test if poss1 < poss2
function f=ptPrecise(poss1, poss2)
// Check that the distributions have the same sizes
if length(poss1) ~= length(poss2) | length(poss1) ~= length(poss1(:)) then
error("Given distributions must be v... |
bed64593664e544d0acbd94f074dc43cecf34f0b | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/RA72WYU/ATWM1_Working_Memory_MEG_RA72WYU_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce | b2511bb7f419800d5d9d3fbc558cd2285110b98c | [] | 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,528 | sce | ATWM1_Working_Memory_MEG_Nonsalient_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_monito... |
f3d2fda8fa9ec090d961126a34f2e43ff2860d52 | 5f386e362034a32afeb8ba1ee2bd06a355cb58ee | /PriorityEncoder83.tst | d3cfe6ba2b1efe19c820dda596b5527951bccff8 | [] | no_license | patelaaniket/csce312 | bfd2ae97273c1cfd14e5a35e407233e01bcc328b | 0dade82d2bfebf309410b4f301886234ab1367e5 | refs/heads/main | 2023-03-01T00:15:07.198877 | 2021-02-08T20:25:16 | 2021-02-08T20:25:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | tst | PriorityEncoder83.tst | //Test Stimulus file for PriorityEncoder83 Chip
load PriorityEncoder83.hdl,
output-file PriorityEncoder83.out,
compare-to PriorityEncoder83.cmp,
output-list a%B2.8.2 out%B2.3.2 idle%B2.1.2;
set a %B10000000,
eval,
output;
set a %B00000000,
eval,
output;
set a %B01000000,
eval,
output;
set a %B00100000,
eval,
outp... |
505c5048fd17a1f34d623d47fac243774f2f9669 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.78/Example1_78.sce | b690a3876dc8086e8fa3f7c8ae2c5efce866e688 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Example1_78.sce | // Example 1.78
clc;clear;close;
// Given data
format('v',6);
P=4;//no. of poles
f=50;//in Hz
Tmax=110;//in N-m
Nm=1360;//in rpm
R2=0.25;//in ohm
TstByTmax=1/2;//ratio
//calculations
Ns=120*f/P;//in rpm
Sm=(Ns-Nm)/Ns;//slip at max speed
X2=R2/Sm;//in ohm
//Formula : Tmax=K*E2^2/2/X2 and Tst=K*E2^2*... |
6f6e13e991ec5e1181d58a3c272d6fe393f807a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH7/EX7.3/EX7_3.sce | 691ed3d5f0d99bb45a34eaaec432d362f4a5c63e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 989 | sce | EX7_3.sce | //Chapter 7, Example 7.3
clc
//Initialisation
s=2000 //apparent power
p=0.75 //power factor
v=240 //voltage
pi=3.14 //pi
f=50 //frequency
//Calculation
ap=s*p ... |
9bf96a6737c9dfb7ebed6917d0ab967fd6d7632f | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH7/EX7.2.1/7_2_1.sce | 5be83ee16bc02b350da741bc92f9fbfa641f7d89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_2_1.sce | disp('given matrix A and vector x')
a=[5 (1/3);(1/3) 1]
disp(a,'A=')
x=[6;1]
disp(x,'x=')
disp('Product of transpose of x and A and x=')
p=x'*a*x
disp(p)
disp('New value of vector x=')
x=[1;3]
disp(x)
disp('Product of transpose of x and A and x=')
p=x'*a*x
disp(p) |
2aa3507328ce2c223ecdb24600e120c88c4b5120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH30/EX30.9/30Ex9.sce | a8b68c8d152beec8a47e8991a7a657ad84a7de9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | 30Ex9.sce | //Chapter 30 Ex 9
clc;
clear;
close;
men=6; mselect=3; ladies=5; lselect=2; //given
menways=factorial(men)/(factorial(mselect)*factorial(men-mselect));
ladiesway=factorial(ladies)/(factorial(lselect)*factorial(ladies-lselect));
totways=menways*ladiesway;
mprintf("A committee of 5 members consisting of 3 me... |
5baeb8af823cd668f7f68c42a40d36a1f7cc60a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH1/EX1.3/Ex1_3.sce | da3c871aac472dc776894307a7e2ae9cfd395a23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex1_3.sce | clc
clear
printf("Example 1.3 | Page number 6 \n\n");
//find the weight of a body.
//Given Data
mass = 60 //in kg
accelerationDueToGravity = 9.8 //in m/s^2
printf("Mass = %.2f kg \n",mass);
printf("Acceleration due to gravity = %.2f m/s^2 \n\n",accelerationDueToGravity);
//Solution
weight = mass * acceler... |
02744b3e40cb6cf875c7edae14336bf732fca2a1 | 56e59af8cc0c2cc5477a52284f118c9749aea002 | /ripConway.tst | cc92ff6c689946532af3945cbb78fce40d13cb9b | [] | no_license | lnadi17/game-of-life | a5030738bb3d2128f819c3fee427002940a0e789 | 98f21e282fe1df497dd94d9fff99453c6c0b824d | refs/heads/master | 2023-07-20T02:15:44.713953 | 2023-07-07T09:54:18 | 2023-07-07T09:54:18 | 259,964,709 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | tst | ripConway.tst | load GameOfLife.asm,
output-file ripconway.out,
compare-to ripconway.cmp,
output-list RAM[118]%D1.8.1 RAM[119]%D1.8.1 RAM[150]%D1.8.1 RAM[151]%D1.8.1;
set PC 0,
set RAM[99] 30, // set number of generations
set RAM[274] 1, // set starting pattern
set RAM[275] 1,
set RAM[276] 1,
set RAM[306] 1,
set RAM[338] 1,
set R... |
e12a8d7c91aefa99da23b8fa4b8aa5b9cf1aeac1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH2/EX2.7/example2_7.sce | f2414461228981af77959338fc89ea88d2ed990b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | example2_7.sce |
clear;
clc;
printf("\t Example 2.7\n");
pa1=(1.5)*10^4; //vapour pressure of ammonia at pt.1
pa2=(0.5)*10^4; //vapour pressure of ammonia at pt.2
Dab=2.3*10^-5 //molecular diffusivity in m^2/s
z=0.15; //diffusion path in m
R=8314; ... |
9594b828323293dd0cf88ac8a2f6287a65157725 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH9/EX9.2/Chapter9_example2.sce | 55d8189321860fbbf0759dd1c5130e0714dfa09b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,687 | sce | Chapter9_example2.sce | clc
clear
//Input data
Vs=0.002;//The swept volume in m^3
nv=75;//Volumetric efficiency in percent
N=4500;//The engine rpm
p1=1.013;//The initial pressure of air in bar
R=287;//Real gas constant in J/kgK
pi=3.141;//The mathematical constant of pi
t1=15;//The atmospheric temperature in degree centigrade
Cp=100... |
21263a2f992f5c40d9c23f7163a98258eb55bc8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH9/EX9.14/ex9_14.sce | 623061ed9d2432b9ad282a42734c9085c0eff3c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | ex9_14.sce | s=%s;
H=syslin('c',10/(s*((0.1*s)+1)*((0.5*s)+1)))
fmin=0.1;
fmax=100;
clf()
black(H,0.1,100)
chart(list(1,0))
gm=g_margin(H)
pm=p_margin(H)
printf("For gain margin of 20 db plot is shifted downwards by 8 db and a phase margin of 24 degrees is obtained if curve is shifted upwards by 3.5 db")
|
2db8098c363be9301f840098c54c00c337d471d4 | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn2/Q7.sci | 2f05756cd3d3e5d025a854fb043a78fbab7e8fb5 | [] | 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 | 1,505 | sci | Q7.sci | Nms = input("Enter the frame size 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
y = y(1,:);
clf();
t = 0:(1/Fs):((-1+length(y))/Fs);
i = (1/4) * length(y);
temp = y(i:(i+N-1));
t =... |
f81342f9a8ff515b5835df93a2739fd5d6d4764c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH10/EX10.2/Ex10_2.sce | b7615947cce2fca6e099a0130417158c541058f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | Ex10_2.sce | //Example 10_2
clc();
clear;
//To find the mass of copper atom
maa=63.5 //Units in Kgs
n=6.022*10^26 //Units in number of atoms
Mass=maa/n //units in Kg/atom
printf("The Mass per atom is=")
disp(Mass)
printf("Kg/Atom")
|
33c58916e4c34fa654724832208cee8172c03693 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH4/EX4.12/Ex4_12.sce | 2e0d4743fdd88acf404665bd29c9d2fe096036f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex4_12.sce | //Example 4.12:
clc;
clear;
close;
//given data :
Rc=10;// in k-ohm
Rl=10;// in k-ohm
Beta=100;
Ri=2.5;
Iv=2;// input voltage in mV
Rac=Rc*Rl/(Rc+Rl);
Av=round(Beta*Rac/Ri);
Ov=Av*Iv*10^-3;
format('v',4)
disp(Ov,"Output voltage,(V) = ")
|
8e7e4636cb37c91836e2654838f81c90440f80b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.17/Ex5_17.sce | 77be5c954c250efc3a18820b4de60fffc37a24dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex5_17.sce | clear
//Given
m=84 //g
d=10.5 //g/cm**3
a=1.6*10**-6
//Calculation
V=m/d
s=V**(1/3.0)
R=a/2.0
//Result
printf("\n Resistance between the opposite faces is %0.3f ohm", R)
|
76ee21f849ec9cdf4ed65fb9dc71def682561d40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH4/EX4.4/Ex4_4.sce | 5775a4cee688b39d36fd6d5c8bcf3bbaf6019bd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,075 | sce | Ex4_4.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 4 Example 4")
T1=(827+273);//temperature of high temperature reservoir in K
T2=(27+273);//temperature of low temperature reservoir in K
T3=(-13+273);//temperat... |
9ae71e390124c97c24533869bcba5af7aa5cca79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.4.b/Example7_4_b.sce | 7ed04ee101ee7ea61f0c6e6e14c127e5249af47e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Example7_4_b.sce | //Example 7.4 (b)
//Program to Calculate Rb in the Biasing Circuit
clear;
clc ;
close ;
//Given Circuit Data
Icbo=10*10^(-6); //A
Ib=47.9*10^(-6); //A
Beeta=25;
//Calculation
Ic=Beeta*Ib+(Beeta+1)*Icbo;
//Displaying The Results in Command Window
printf("The Collector Current is :");
printf("\n\t Ic = %f mA... |
1e56d4231f0c6406773e59461ffc81394761a3d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.8.4.a/ex_2_8_4_a.sce | 546d215ad685a6cdf28dcaa5e6c2f41e410decd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | ex_2_8_4_a.sce | //Example 2.8.4.a // unknown resistor
clc;
clear;
close;
//given data :
V=100;//in volts
I=5*10^-3;// in A
R_app=(V/I)*10^-3;
disp(R_app,"apparent resistor,R_app(kilo-ohm) = ")
|
376e11cf1a208a3c648d5b6a726a0ba7e7b14a3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH3/EX3.5/Ex3_5.sce | ea0a628dbee373d7872ab4522c37bdcfc4bd4cd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_5.sce | //Ex3_5 Pg-183
clc
disp("(a) Forward-bias")
Av=50 //applied voltage
Jr=5000 //junction resistance
Er=50 //external resistance
cur=Av/(Er+Jr) //current
printf("\n Current = %.1f mA \n",cur*10^3)
disp("(b) Reverse-bias")
cur_rev=Av/(Jr+10^6) //book expression is wrong
printf("\n Current = %.3f*1e-2 mA \n",c... |
3e7216acb5d82fe9c56587548cdbe3939b3e55ad | 420d4bcc40d948804a4370652e50a00cbe639cfe | /Graphs API/trip-tests/travel02.tst | 3bdf4a776ecebd4a8df54df301124134d1ca6acf | [] | no_license | itsbriantruong/projects | 8cce3eba78a98e598e249f0adffcd9c3b9e3d5ab | 252ad31d3c74ef77e1cee43244e8f51ca47f9b63 | refs/heads/master | 2021-05-29T19:08:04.548321 | 2015-09-09T09:03:16 | 2015-09-09T09:03:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | tst | travel02.tst | java -ea trip.Main -m trip-tests/travel02 <<EOF
C6, San_Francisco, Santa_Cruz
C4a, C4b
EOF
|
37909f86b9bac70809b916eccf62e440be253d2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.22/EX17_22.sce | 7e01ebfef1e836112b172cb7867b6c4b698ef17b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,211 | sce | EX17_22.sce | clc;funcprot(0);//EXAMPLE 17.22
// Initialisation of Variables
n=1;.................//No of cylinders
D=0.25;................//Engine bore in m
L=0.4;.................//Engine stroke in m
pmg=7;.................//Gross mean effective pressure in bar
pmp=0.5;...............//Pumping mean effective pressure in bar
... |
8013882261ceea56867a655d99dc610a061caf85 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/demos/surface/Macros.sci | 20c788d1b533dccf7a098d3776d89229f7962aa9 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 6,513 | sci | Macros.sci | function [X,Y]=field(x,y)
// x and y are two vectors defining a grid
// X and Y are two matrices which gives the grid point coordinates
//-------------------------------------------------------------
[rx,cx]=size(x);
[ry,cy]=size(y);
if rx<>1, write(%io(2),"x must be a row vector");return;end;
if ry<>1, write(%io(2),"y... |
b88da70dff835ed00145fecf5b501694b33bc2a2 | a5bfbe555e7cf18882d8897d206086fccefb9632 | /03/b/RAM32K.tst | d4788d0e640aae2a025cd2c4b7715bcba930ed23 | [] | no_license | Sushmitha999/computer-system-design-lab | 86ec2fb04245ad51d7a840f628dcd02f73ba0ced | a8b85e50c241a5e5ef4be9a622338982f78f9899 | refs/heads/master | 2023-01-08T03:07:13.106429 | 2020-10-29T13:00:00 | 2020-10-29T13:00:00 | 291,743,139 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,352 | tst | RAM32K.tst | load RAM32K.hdl,
output-file RAM32K.out,
compare-to RAM32K.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 address%D2.6.2 out%D1.6.1;
set in 0,
set load 0,
set address 0,
tick,
output;
tock,
output;
set load 1,
tick,
output;
tock,
output;
set in 12345,
set load 0,
tick,
output;
tock,
outpu... |
3f8a4bc30a9f91041d0738c8ebf8b94fbc29dcd8 | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Keijzer_03.tst | abe55bf6f9935e576dbd5861f85da662a777082f | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | Keijzer_03.tst | x
f(xs)
-3.000000 -0.000000
|
374f083c5838a2d8e0953d7fad5708670fe8cfe4 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/buffer.sci | 9f2e6b87a9336e1cd6f3fb6c17db048d51e14b0d | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,819 | sci | buffer.sci | <<<<<<< HEAD
=======
function [y, z, opt] = buffer (x, n, p, opt)
>>>>>>> 6bbb00d0f0128381ee95194cf7d008fb6504de7d
//This function buffers the given data into a matrix of signal frames
//Calling Sequence
//[y] = buffer (x, n)
//[y] = buffer (x, n, p)
//[y] = buffer (x, n, p)
//[y, z, opt] = buffer (...)
//Parameters
/... |
2e1bb7ae12740365d4c9c8b1b4b98f057b95acb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH11/EX11.5/115.sce | 0ba03f77e6fd367949d2016383355abba1a3ecd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 115.sce | // problem 11.5
H=50
Q=1.2
u1=18
y=160
y2=180-y
Cv=0.94
g=9.81
V1=Cv*((2*g*H)^0.5)
Vw1=V1
Vr1=V1-u1
Vr2=Vr1
Vw2=Vr2*(cosd(y2))-u1
w=9810
P=(w*Q*(Vw1+Vw2)*u1)/(g*1000)
n=P*1000/(w*Q*H)
disp(n*100,P,"power developed in Kw and efficiency of the wheel")
|
7063d8a90e13a161cdc975d3a86a99dad8bd4f0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH4/EX4.4/Ch04Ex4.sce | ba9a253413e48da3d9b69244ee4cf709322b7476 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | Ch04Ex4.sce | // Scilab Code Ex4.4 : Page-4.14 (2004)
clc;clear;
theta = 30; // bragg's angle, degree
lambda = 1.5418e-10; // X-ray wavelength, m
n = 1; // Order of diffraction
d = (n*lambda)/(2*sind(theta)); // Wavelength from Bragg's law, nm
h = 1, k = 1, l = 1; // plane
a = d*(h^2+k^2+l^2)^(1/2); // interatomic... |
80e38e2f20b59fdd37551f00de0852ebc5e1bbd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH1/EX1.1/eg_1_1.sce | 70ae10166fc7d5017817e1f3b637b5159b7e6829 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,304 | sce | eg_1_1.sce | clc //clears the command window
clear//clears all the variables
i=1;w=1;//flags
bin=432.2//given octal number which should be expressed in base 10
temp1=floor(bin);//separating integer part from the given number
temp2=modulo(bin,1);//separating decimal part from the given number
temp2=temp2*10^3;//convertin... |
9ec784df29b5be9490c400591524aa301509b047 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH19/EX19.1/Ex19_1.sce | 7f03128baf5d0ed8faf5e12bade018870f9f9545 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | Ex19_1.sce | //Example 19.1
//Analysis of Wiredrawing
//Page No. 640
clc;clear;close;
Ab=10; //in mm
r=0.2; //in %
alpha=12; //in degrees
mu=0.09; //no unit
n=0.3; //no unit
K=1300; //in MPa
v=3; ... |
3655ea3a6535e297a57965646427945586d06cb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH4/EX4.29/ex4_29.sce | 59e8a21b89bea68ebfc6ef75b69e3e969ec33abb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | ex4_29.sce | // Exa 4.29
format('v',6)
clc;
clear;
close;
// Given data
V_CC = 18;// in V
V_BE = 0.7;// in V
R1 = 510;// in k ohm
R1 = R1 * 10^3;// in ohm
Beta = 130;
R_E = 7.5;// in k ohm
R_E = R_E * 10^3;// in ohm
R_C = 9.1;// in k ohm
R_C = R_C * 10^3;// in ohm
// The value of I_CQ
I_CQ = (V_CC-V_BE)/( (R1/Beta)... |
6a71e40790a17f8978524209fd866ad67ee49e25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH2/EX2.6.5/2_6_5.sce | efd26533c5ba8a99de68b51289f1bc96b644d976 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,533 | sce | 2_6_5.sce |
//chapter_no.-2, page_no.-69
//Example No.-2-6-5
clc;
//(a) Program_to_find_gold-film_surface_resistance
t=80*(10^(-10));//F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.