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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf38b5427459b954f5d42de6e3d5a79a2576bc1a | dd5c6e5360bc76673636700fb5ec3836e70d77ee | /laratest.tst | 9fbd57b8964a0474ee72c6d241b779b224fcfa6b | [] | no_license | simolex/js_test | 629decd8a5db9568e5c016fc5012160b045e10f1 | e72a7d62b891a2058ca940078c9605d5c5214f0a | refs/heads/master | 2020-07-23T13:17:43.479411 | 2019-10-07T21:45:10 | 2019-10-07T21:45:10 | 207,569,722 | 0 | 0 | null | 2020-02-12T22:55:59 | 2019-09-10T13:39:03 | JavaScript | UTF-8 | Scilab | false | false | 2,726 | tst | laratest.tst | server {
listen 80;
listen 443 ssl http2;
server_name .laratest.tst;
root "/home/vagrant/code/laraval/web";
charset utf-8;
location / {
try_files $uri /app.php$is_args$args;
}
# DEV
# This rule should only be placed on your development environment
# In product... |
ae073d38d4000dd5442063f7bcfb2b4a3d27164b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH12/EX12.20/12_20.sce | a073a24265f6d203e543bd70eb01585a612ed08d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 821 | sce | 12_20.sce | clear;
clc;
w1=1000;w2=1500;w3=2000;w4=3000;w5=5000;w=100;Z=%i*100;
F=((w*w)-(w2*w2))*((w*w)-(w4*w4))/(((w*w)-(w1*w1))*((w*w)-(w3*w3))*((w*w)-(w5*w5)));
H=Z/(%i*w*F);
A=((w1*w1)-(w2*w2))*((w1*w1)-(w4*w4))/(((w1*w1)-(w3*w3))*((w1*w1)-(w5*w5)));
B=((w3*w3)-(w2*w2))*((w3*w3)-(w4*w4))/(((w3*w3)-(w5*w5))*((w3*w3)-(w1*... |
4b1be4dc88ed0875bfc1c7eba374c604e5fd36b2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/xpoly.man.tst | 0e4ae8dd9ed61b7cbab125d9f2be38b0a6ba314e | [
"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 | 151 | tst | xpoly.man.tst | clear;lines(0);
x=sin(2*%pi*(0:5)/5);
y=cos(2*%pi*(0:5)/5);
plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
xset("dashes",5)
xpoly(x,y,"lines",1)
xset("default")
|
8eec9bd9c5770448ad2e8dff4c2bc6cdc2e728cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH21/EX21.5/Example21_5.sce | ae2cf941a5931ae9f857967eae222fb63eeb7585 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | Example21_5.sce | //Given that
n = 100
//Sample Problem 21-5a
printf("**Sample Problem 21-5a**\n")
n1 = 50
n2 = 50
W = factorial(n)/(factorial(n1)*factorial(n2))
printf("The total number of possible configuration is %e\n", W)
//Sample Problem 21-5b
printf("\n**Sample Problem 21-5b**\n")
n1 = 100
n2 = 0
W = factorial(n)/(... |
bb30db0a33ff2e154953a61412c2c003adef99c3 | 0b49de312685c7ca5b2ad71845b859c3a3c7fd5d | /vendor/ast-sudoku/src/cmd/sudoku/pseudocoup.tst | de5571a6de1a3cb2cc430787ab5e370e0af5aabe | [] | no_license | htoigo/sudokurry | 0ac9bc4472b4169a2f87753b477217338b06982b | a7f78fe3cdaa2bacb81fb4595b906a34e674880d | refs/heads/master | 2021-01-01T18:31:07.985262 | 2018-06-04T17:38:46 | 2018-06-04T17:38:46 | 98,352,641 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417,458 | tst | pseudocoup.tst | # : : generated from pseudocoup.rt by mktest : : #
# regression tests for the pseudocoup command
UNIT pseudocoup
TEST 01 basics
EXEC ...47962...4...395926.......31....69...936.....9...283.5.8947164.8...952.97.52\
.3.
OUTPUT - $'3 1 5 4 7 9 6 2 8
7 8 4 2 6 1 3 9 5
9 2 6 5 8 3 1 4 7
5 3 1 7 2 8 4 6 9
8 4 ... |
4b3a0702d624d0b1b012edab91a38e264c436fc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.4/Ex5_4.sce | 0afe20cb0969324d7fcf392bfca6b62cef2890fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex5_4.sce | //pagenumber 287 example 4
clear
ib=20*10^-6;//ampere
beta1=500;
re=10;//ohm correction in the book
r1=4.7*10^2;//ohm correction in the book
ic=ib*beta1;
voltag=ic*r1;//voltage drop at 4.7*10^3ohm
vc=(10-voltag);
rb=(vc-0.6)/ib;
disp("rb = "+string((rb))+"ohm");
//re included
voltag=ic*re;//voltage drop... |
9c0641258cc29d283e68e0de22a3f49a658a3f77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/DEPENDENCIES/students_t_distri.sci | 6c9fcaf5931242b74ba0a89dbbb807433d0bdac5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sci | students_t_distri.sci | function[t] = students_t_distri(X,u,std,n)
t = (X-u)/(std/sqrt(n));
endfunction |
f76104f1d7670a8394a8d1ae2a3ecdd39708fbb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH4/EX4.13/4_13.sce | 26dbca3b3a5d7ac9ba7f1c37f4b924b1528a00bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | 4_13.sce | clc
//Intitalisation of variables
clear
n= 4
n1= 1
n2= 1.5
R= 2 //cal deg^-1 mole^-1
m=3
//CALCULATIONS
Cv= ((3*n-5)+n1+n2)*R
Cv1= ((3*n-6)+2*m*(n2-n1))*R
//RESULTS
printf ('Molar heat capacity of acetylene = %.f cal deg^-1 mole^-1',Cv)
printf ('\n Molar heat capacity of ammonia = %.f cal deg^-1 mole^-1',C... |
8aee17a3118b47b28d24d1a58bdd0ede7659f79f | 47adabef6eb8924aff50314b05cfd89f90e19aec | /macros/http_url_split.sci | 254087506c6ad63f912d293bd67be08b79fae1f6 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sci | http_url_split.sci | function [host, resource, port] = http_url_split(URL)
// This function returns the hostname, resource path and port of a given URL
endfunction
|
e13fb500d8e41061282c353d9f4247a486a1fb2d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096.zip/Electronic_Measurements_And_Instrumentation_R._K._Rajput_2096/CH2/EX2.12/ex_2_12.sce | c3bb20c7a3dd7c5f6aa71f3cf17670ca7d4612b9 | [] | 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 | 252 | sce | ex_2_12.sce | errcatch(-1,"stop");mode(2);
//Example 2.12 // calculate the unknown resistance
;
;
//given data :
R1=20; // in kilo-ohm
R2=30; // in kilo-ohm
R3=80; // in kilo-ohm
Rx=(R2*R3)/R1;
disp(Rx,"the unknown resistance,Rx(killo-ohm) = ")
exit();
|
3b04ac7f7c9d0e30ada30fd3327dc0dbefc7e925 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH2/EX2.20/Ex2_20.sce | 6be2051cea9cf87157a364a33675f13fdd3d9394 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | Ex2_20.sce | //page 54
//Example 2.20
clear;
clc;
close;
P = [-1 4 5; 0 2 -3; 0 0 8];
disp(P,'P = ');
disp(inv(P),'inverse(P) = ');
a1 = P(:,1);
a2 = P(:,2);
a3 = P(:,3);
disp('The vectors forming basis of F^3 are a1'', a2'', a3''');
disp(a1','a1'' = ');
disp(a2','a2'' = ');
disp(a3','a3'' = ');
disp('The coordinates... |
b89f40d97a27ad18a0da156c941ab7d303979c8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH8/EX8.1/Ex8_1.sce | 9f485a2dcadc8e21a748467e9a4da4ac336f03d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | Ex8_1.sce | clc;
clear;
iC=21 //collector current in mA
iE=21.4 //Emitter current in mA
//Calculation
alpha=iC/iE
mprintf("common-base current gain= %1.2f",alpha)
|
02d30903316461ac40490e466d2ed3a7b3644b8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH3/EX3.3/3_3.txt | 3469e65b3283312f85448aa2ffd942f730a706cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | txt | 3_3.txt | //Caption:Find the energy stored in the magnetic feild
//Exa:3.3
clc;
clear;
close;
//i=current in the ckt (in Amperes)
//x=total flux linkage
function i=f(x),i=x/(6-(2*x)),endfunction;
//Refer to eqn:3.18
W_m=intg(0,2,f);//Energy stored in magnetic feild
disp(W_m,'Energy stored in magnetic feild (in Joules)=... |
bf8b6e6d71857c6d3dc2c42f954e61f7ec2adf27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.4/example9_4.sce | 9675111a042471d0ff4b285ba6a92476f16d009d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | example9_4.sce | //clc()
D = 100;//kg of overhead product
xfa = 0.956;
xdw = 0.074;
xdb = 0.741;
xda = 0.185;
//water balance gives
F = D * xdw / (1 - xfa) ;
W = F * xfa - xda * D;
W1 = 100;
B = xdb*D;
Bused = B * W1 / W;
disp("kg",Bused,"Quantity of benzene required = ")
|
afafc1e9b41cafc237fedf133a81aa576c887d19 | e806e966b06a53388fb300d89534354b222c2cad | /macros/imfindcircles.sci | c8f749132a21ccb305b59136f5c091ae71b5111a | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sci | imfindcircles.sci | function [points, varargout] = imfindcircles(image, Rmin, Rmax)
[lhs, rhs] = argn(0)
image_list = mattolist(image)
select lhs
case 1 then
out_centres = opencv_imfindcircles(image_list, Rmin, Rmax)
case 2 then
[out_centres radii] = opencv_imfindcircles(image_list, Rmin, Rmax)
varargout(1) = ... |
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... |
f94973b978ccdae453ec4ade9e78ff625a86b6e3 | 463377b6374a24bbe111707a34e24949f3bd2543 | /estpoly.sci | f1ea48deca0c98ed7e33401ec01dd3488a866e9e | [] | no_license | solothinker/Scilab-Identification | 3a46c0f3b8b1a7430f8a799be5e1310e2723b535 | cdad0d7292c31c29d377b640f6966a7c3bb81bb9 | refs/heads/master | 2022-01-05T12:39:07.410803 | 2019-06-15T02:18:13 | 2019-06-15T02:18:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,508 | sci | estpoly.sci | // Estimates Discrete time estpoly model
// y(t) = [B(q)/F(q)]u(t) + [C(q)/D(q)]e(t)
// Current version uses random initial guess
// Need to get appropriate guess from OE and noise models
// Authors: Ashutosh,Harpreet,Inderpreet
// Updated(12-6-16)
//function [theta_estpoly,opt_err,resid] = estpoly(varargin)
functio... |
51aed3f50cd0f5c55b78c36e14d7781629b1db66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/761.sci | eec1e7342b6cf2a79f0c36e94e4327852b618cb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sci | 761.sci | m1=120 //kg
m2=175 //kg
m3=295 //kg
ID=6 //cm
P=17 //bar
H1=125.7 //Kj/Kg
H2=271.9 //Kj/Kg
H3=2793 //Kj/kg |
33de7cc28ccfeebeafeaf972f444addad8f8cfdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH9/EX9.9/Ex9_9.sce | d19fad1ba81f9c0c75695f22f41118868c8d607f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 597 | sce | Ex9_9.sce | // chapter 9
// example 9.9
// What should be te amplitude of modulation index
// page-572
clear;
clc;
// given
Edc=120; // in V (battery voltage)
K=1/3; // transformer turn ratio
E01_rms=210; // in V (Fundamental output voltage of secondary)
// calculate
E0_fund=E01_rms*K; // calculation of Fundamental voltage compone... |
2d39d8008cbe95ecca5636299b9becae747e39e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH9/EX9.8/Ex9_8.sce | deefe6bd3515cbcc3e4a178ffe2f6989acc5f940 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_8.sce | //Example 9.8, page 358
clc
//Energy of K shell
z=26
k=2
E_k=13.6*(z-k)^2//in ev
v=7.8*10^3//in V
//for L shell
l=10
E_l=13.6*(z-l)^2//in ev
h=E_k-E_l
R_m=1.1*10^7
x=R_m*(z-2)^2//x=1/lamda
lambda=1/x
printf("\n The wavelength is %e m",lambda)
|
06f3f8134efc87e90ca334fa7df08807dfb7df78 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre3/ex10q3.sci | 4ec439d409c098685fd86c0f355a43faa4d4498c | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sci | ex10q3.sci | function[y]=f3(t,u)
y(1)=u(2);
y(2)=-9*u(1);
endfunction
clf
N=101;t=linspace(%pi/2,5,N);
h=(5-%pi/2)/(N-1);
y=zeros(2,N);
y(:,1)=[0;1];
for i=1:N-1
y(:,i+1)=y(:,i)+h*f3(t(i),y(:,i));
end
plot2d(t,y(1,:),4)
plot2d(t,y(2,:),4)
|
af50b059b9487272b5189efa4d4613540fc00cc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH8/EX8.14/8_14.sce | ad4dd1faad3163dcb3bf564a0f3ebac67f8aa88e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | 8_14.sce | clc
//initialisation of variables
t1=1100 //K
t2=275 //K
g=1.4
pa=101.32
qs=250 //kj/kg
r=0.287 //kj/kgK
//CALCULATIONS
p1=(t1/t2)^(3.5)*pa //(g/g-1)=3.5
pb=2.2075*p1
va=(r*t2)/pa
vb=(r*t1)/pb
mep=(0.75*qs)/(va-vb)
printf('mean effective pressure is %2f units',mep)
|
286519261cac19ecf7ee8d19ad2b2659b6a0888d | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH5/EX5.1/1.sce | 16677dc70b6109c36e36bd4296439c8cc7006e6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1.sce | clc;funcprot(0);
//Example 5.1
//Initializing the variables
l = 60 ; //Length of pipeline
rho = 1000; // Density of liquid
a = 0.02; //Acceleration of fluid
//Calculations
delP = rho*l*a; //Change in pressure
disp(delP/1000,"Increase of pressure difference required (kN/m2):"); |
9461efe524529b23c1bf64399e38e5d8020f3d32 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH3/EX3.11/Ex3_11.sce | ab798279fdc531836b48198292b76f48c8579f18 | [] | 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 | 524 | sce | Ex3_11.sce | //Variable declaration
n1=300 // Total insulators
m1=294 // insulators having capacity of withstand shock
//Calculation
function ans = comb(n,r)
ans = factorial(n)/(factorial(r)*factorial(n-r))
endfunction
prob = comb(m1,1)/comb(n1,1) // Resultant pr... |
b39146a60d3438ba3dcd9cbccd636fbd90a0d102 | 09c4a8bcbc605cc3a5a45779e9218e6f309b0132 | /MC2/question-1-4.sci | 3dcb6269ccebc7fee2d75b183917eef35cdf869e | [] | no_license | emilemathieu/ImportanceSampling | 8224833f7255160230532329aeb220723338eea2 | 2afeb94bc6b1063d0a1f24fc41b79c434b34a5ca | refs/heads/master | 2021-05-28T20:54:32.251555 | 2015-06-01T17:57:00 | 2015-06-01T17:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,349 | sci | question-1-4.sci |
function [Y] = payoff_call_basket(a,S_T,K)
// S_T est une matrice d*N
// I_T et Y sont des vecteurs 1*N
I_T= a' * S_T;
Y=max(I_T-K,0);
endfunction
function [Y] = payoff_put_basket(a,S_T,K)
// S_T est une matrice d*N
// I_T et Y sont des vecteurs 1*N
I_T= a' * S_T;
Y=max(K-I_T,0);
endfunction
functio... |
0a05424922ef09c74d56890fb06a749cbf14e634 | aef3e3348815d4440ef5b66c289901f270599a04 | /arcaglgo.sce | f2aae608e505061ca776a696cc0a2e50f8b4f2fd | [] | no_license | itsdevansh/NARVAL | 9beeeba0654871954bcbf7e7e49c1255f4930cfe | 7dba2b096104ad126e518624115193e0436d6698 | refs/heads/main | 2023-07-19T01:29:51.836160 | 2021-08-29T16:38:42 | 2021-08-29T16:38:42 | 401,090,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | arcaglgo.sce | nodx=[600 400 800 300 500 700 900 200 400 600 800 100 300 500 700];
nody=[900 700 700 500 500 500 500 300 300 300 300 100 100 100 100];
he=[1 1 2 2 3 3 4 4 4 5 5 6 6 7 8 8 9 9 9 10 10 10 13 14];
ta=[2 3 4 5 6 7 5 8 9 9 10 7 11 11 9 12 10 13 14 11 14 15 14 15];
n=15;
[g] = NL_G_MakeGraph('ARC',n,ta,he,nodx,nody);
... |
a8fce27001506c1b7ec8d93fd5a736ecdb92de80 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/scicos_blocks/WFILE_f.sci | 4ffff7f423c8e1e0e034072070aed8023fd81409 | [
"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 | 2,269 | sci | WFILE_f.sci | function [x,y,typ]=WFILE_f(job,arg1,arg2)
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(o)
case 'getoutputs' then
x=[];y=[];typ=[];
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg1(2);label=graphics(4)
... |
958de059f6ef301203639bd2ddfae68ea318d0c3 | 4129507554864db19209e2ecb47beabec1e500ca | /builder.sce | 1cde81913106d531d3b103f8bc35875015bd840e | [] | no_license | Samuel442/virtualHartSci | 3f9685d4156f6af635b8761eab8dfe09f73c64de | e615a4660f4e29747ce8571d415094c5b107475b | refs/heads/main | 2023-07-24T21:11:34.455117 | 2021-07-13T11:51:29 | 2021-07-13T11:51:29 | 386,402,738 | 0 | 0 | null | 2021-07-15T19:28:59 | 2021-07-15T19:28:59 | null | UTF-8 | Scilab | false | false | 149 | sce | builder.sce | toolbox_dir = get_absolute_file_path("builder.sce");
tbx_builder_macros(toolbox_dir);
tbx_build_loader(toolbox_dir);
tbx_build_cleaner(toolbox_dir);
|
f638c5cad03628a9176cea3d643d199c353d964a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.23/Ch05Ex23.sce | ca690d4d8f5e5c49aeb3da328f6389191b5ef259 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,695 | sce | Ch05Ex23.sce | // Scilab code Ex5.23: Pg 179-180 (2008)
clc; clear;
N_1 = 600; // Number of turns in a coil in first case
N_2 = 900; // Number of turns in a coil in secnd case
N_3 = 900; // Number of turns in a coil in third case
l ... |
03dc2e9690b3226a9909eebb914fac048c136d30 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP2/trisup.sci | 3f4e49e846b434beb5ba43f2d0da5ff300121088 | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sci | trisup.sci | function[u, e] = trisup(a, b)
[n m] = size(a);
if n <> m
error('not a squared matrix');
end
[n2 un] = size(b);
if n2 <> n | un <> 1
error('wrong dimensions for b');
end
for k = 1:n - 1
if abs(a(k, k)) < %eps
error('diagonal terms cant be null');
... |
282e3e6952314a1dee7ba97331d47655cee5d345 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH6/EX6.a.2/Example_a_6_2.sce | 23575d587b27bcc26ed6160155f19d4875f4a2f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | Example_a_6_2.sce | //Example_a_6_2 page no:234
clc;
I=5;
Z1mag=10;
Z1ang=-60;
Z2mag=16;
Z2ang=70;
Z1real=Z1mag*cosd(Z1ang);
Z1img=Z1mag*sind(Z1ang);
Z1=Z1real+(Z1img*%i);
Z2real=Z2mag*cosd(Z2ang);
Z2img=Z2mag*sind(Z2ang);
Z2=Z2real+(Z2img*%i);
Z=Z1+Z2;
Zmag=sqrt(real(Z)^2+imag(Z)^2);
pf=real(Z)/Zmag;
active_power=I^2*real... |
0549f9260cfbe55a3b751e55b6d013a8003253ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH8/EX8.3/example_8_3.sce | 3e8594cc8e0ee4e485c9863b19593deaede18e2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,714 | sce | example_8_3.sce | clear;
clc;
// A TeTwtbook on HEAT TRANSFER by S P SUKHATME
// Chapter 8
// Condensation and Boiling
// ETwample 8.3
// Page 322
printf("Example 8.3, Page 322 \n \n");
m = 25/60 ; // [kg/sec]
ID = 0.025 ; // [m]
OD = 0.029 ; // [m]
Tci = 30 ; // [C]
Tce = 70 ; // [C]
g = 9.8 ; // [m/s^2]
Ts = 10... |
bc148702942e5862115b4c4cb37edb923ce4e91d | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH3/EX3.17/example17_sce.sce | 01dc9dc639406b1c309b0eceb8c9b5375d52f160 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | example17_sce.sce | //chapter 3
//example 3.17
//page 110
printf("\n")
printf("given")
Vz=6.2;Pd=400*10^-3;Es=16;
Izm=Pd/Vz
R1=(Es-Vz)/Izm
Pr1=(Izm^2)*R1
Izmin=5*10^-3;
Izmax=Izm-Izmin;
printf("maximum current is %3.4fA\n",Izmax) |
8c1c1711876e2db7f9ca1ea1205971d30a758677 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH3/EX3.17/EX17.sce | e996728352c8292735825454d55a5d6e00ceabed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | EX17.sce | // Example 3.17: (a) R, maximum possible value of load current
// (b) Range of V
clc, clear
Vz=50; // Diode voltage in volts
Izmin=5e-3; // in amperes
Izmax=40e-3; // in amperes
disp("Part (a)");
ILmin=0;
V=200; // Input voltage in volts
R=(V-Vz)/(Izmax-ILmin); // in ohms
ILmax=((V-Vz)/R)-Izmi... |
88f3edc0f9df90316f458ac171b2a3609990466c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH5/EX5.26/Ex5_26.sce | 1418acab9b06ee01f4890aaf658f3c712fbc6d65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | Ex5_26.sce | //Example 5_26
clc();
clear;
//To calculate the braggs angle and Wavelength
theta2=87 //units in degrees
theta=theta2/2 //units in degrees
h=1
k=1
l=1
a=0.2 //units in nm
d=a/sqrt(h^2+k^2+l^2) //units in nm
lamda=2*d*sin(theta*%pi/180) //units in nm
printf("lamda=%.3f nm",lamda)
|
cf9e3c15bdbd79fe2a3d659b0766b72c1ece597c | b68df8531fbde626d59584a0a180a857e14ea301 | /SP/assign1/testScript/SPA1-tst.ai3iZ/tests/calc/calc-001.tst | ce82eed7cb8817ea9c4e103a72992ca944d6d498 | [] | no_license | spoofdoof/2018 | 2acd30b84e776b66b157babe9913ddca7676e157 | 61b1ea260e374f4f7aa3ebfdfc20dc02c325fd6d | refs/heads/master | 2021-10-09T18:49:53.985046 | 2019-01-02T13:41:49 | 2019-01-02T13:41:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12 | tst | calc-001.tst | 3 5 + print
|
8b32ae7c219908f61ed379fbb9d1a8ef4ca495d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH6/EX6.5/example_6_5.sce | 8e7eb917e3bd783d3fdd3d383c90dbc0cab5c4fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,187 | sce | example_6_5.sce | //Chapter 6
//Example 6.5
//page 210
//To find bus voltages and Reactive power injected using GS iterations
clear;clc;
//Ybus matrix from the network
Ybus=[3-9*%i -2+6*%i -1+3*%i 0;
-2+6*%i 3.666-11*%i -0.666+2*%i -1+3*%i
-1+3*%i -0.666+2*%i 3.666-11*%i -2+6*%i
0 -1+3*%i -2+6*%i 3-9*%i]
//Case(i)
/... |
726c80577279e41607926b4e4ba7eb6926ed68c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH3/EX3.1/Ex3_1.sce | b753e42f6140babf740a6337531643e9b6940e08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | Ex3_1.sce | clear
//
//
//
//Variable declaration
d=2.82*10^-10; //lattice spacing(m)
theta=10; //glancing angle(degree)
n=1; //order
//Calculation
theta=theta*%pi/180; //angle(radian)
lamda=2*d*sin(theta)/n; //wavelength(m)
//Result
printf("\n wavelength is %0.5f angstrom",lamda*10^10)
|
58203cebf7a55414191c0f4c25a9d23e7d7aab9f | a8447bb190e75c3452a418bcdffbb356b7f3ec43 | /LTP RAP 3.0napls/r3hvBg.sce | 56de9b10958115dfcc39757230f3905ce8c4a7ac | [] | no_license | br-bieegl/napls3-erpTasks | d7014b2716bced6d1b70af760b8f0508f02724be | 5d3297776af95b2ba8981fe5ebbb8672831061a0 | refs/heads/master | 2021-01-22T09:58:19.920934 | 2015-02-18T21:10:10 | 2015-02-18T21:10:10 | 25,929,348 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,486 | sce | r3hvBg.sce | #######################################################################
########### SCENARIO HEADER ###########
#######################################################################
#*The scenario header defines all the parameters needed for the scenario
#and resets any of the default ... |
1403f9c9b58c6c6e2e9b3b56d0d22e3e2aa3d9e7 | c9e04373e33a2721547c7ae2be20ee84f115be1c | /evaluationData/totalrevenue.sce | 84294246a78f5702f2cd8211349e155d3e6e316f | [] | no_license | lspxian/junsp | f944ce163267608cb9cdb939a0ac809f724fb396 | ca1571bbc30e6a9a183fa8d675567e169288acf4 | refs/heads/master | 2021-01-23T14:10:34.141815 | 2017-10-06T17:03:10 | 2017-10-06T17:03:10 | 34,068,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | totalrevenue.sce | total= read("TotalRevenue.txt",-1,2);
time = total(:,$-1);
total= total(:,$);
plot2d(time,total);
|
5e2bbcf38bd48ec0c769e00f4001169f1a083090 | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH5/EX5.11/ch5_11.sci | 5042cb8f887269b282f02ec2dff093ab1b93c302 | [] | 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 | 445 | sci | ch5_11.sci | // to find fundamental mmf wave,speed and its peak value
clc;
p=4;
S=60;
g=180*p/S;
ph=3;
m=S/(p*ph); //slots/pole/phase
K_b=sind(m*g/2)/(m*sind(g/2)); //breadth factor
I_L=48;
I_P=I_L/sqrt(3);
I_Pmax=I_P*sqrt(2);
c=24; //conductors
N_ph=S*c/(ph*2); //turns/phase
F_m=(4/%pi)*K_b*(N_ph/p... |
d44ee1fc723bb07eedbaeb471aaaeb78cea1754e | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH9/EX9.6/9_6.sce | d11ea141b5925bed5fbf5af6688ec0930a410027 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_6.sce | clc;
clear;
a11=1;
a12=2;
b1=10;
a21=1.1;
a22=2;
b2=10.4;
x1=(b1*a22-a12*b2)/(a11*a22-a12*a21);
x2=(b2*a11-a21*b1)/(a11*a22-a12*a21);
disp("For the original system:")
disp(x1,"x1=")
disp(x2,"x2=")
a21=1.05;
x1=(b1*a22-a12*b2)/(a11*a22-a12*a21);
x2=(b2*a11-a21*b1)/(a11*a22-a12*a21);
disp("For the new sys... |
2024e08f96ee964875a3ab61efd86c25ae342746 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH3/EX3.10/P3_10.sce | 5bcfc04ab4a058bae36770afd7a4b346885b672a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | P3_10.sce | //EXAMPLE 3.10
// DTFT of a sequence
clc;
clear;
syms a n M w;
x=a^n;
X=nusum(x*(exp(-%i*w*n)),n,0,M-1)
disp(limit(X),'The DTFT of the given sequence, X = ')
|
758e7381ec25b8a128150b812333acf741132c11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH5/EX5.13/ex_5_13.sce | 3b6fa50e5f6fdb89885ae7cfedee2f020e347ff1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | ex_5_13.sce | //Example 5.13 //hysteresis loss
clc;
clear;
close
Hx=125;//AT/m
ah=200;//cm^2
ba=0.15;//Wb/m^2
le=ah*Hx*ba;//J/m^3
lo=50;//loos
po=lo*le;//W/m^3
kg=8.5*10^3;//kg/m^3
lkg=po/kg;//watt
disp(lkg,"hysteresis loss is ,(W)=")
|
3586eb9f5b80057a8e13433517afdfb39610f1bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.28.a/EX3_28_A.sce | 2c16c96f9a597e54f72d406536ae64f42624f6ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | sce | EX3_28_A.sce | //Example 3.28.A
clc;
syms s t;
x=laplace(2);
y=laplace(1);
z=x*y;
f=ilaplace(z);
disp(f);
|
76e54c898d916f32c532511b23c8b3aa8d8596cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH4/EX4.13/Ex4_13.sce | 1125961e44c48e2e249cb11ae38e3583bb2b9c25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sce | Ex4_13.sce |
//Variable declaration
rpi = 2 //dynamic junction resistance(K ohms)
beta = 50. //common emitter current gain
f = 1 //frequency(MHz)
beta1 = 2.5 //common emitter current gain
f1 = 20*10^6 //frequency(Hz)
//Calculations
f... |
48a9e568a6d4570c0d16d643dbc2dfd2273a2aeb | 2a39d29b2cb27e98632f6810ed3c2a22a56fa8eb | /Materias/LabCalcNum/Rafael/lagrange_interp.sci | db4e9347dbe3a5ad19d87d9c9f197a72dea31637 | [] | no_license | rafael747/my-stuff | 74358384bc1a5b381d1951dfaef87efdf4cb53c2 | 8614aefdc3ca9afdc1534557f73719af8494f7fa | refs/heads/master | 2021-01-17T12:47:48.206860 | 2020-06-04T15:10:20 | 2020-06-04T15:10:20 | 57,989,835 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sci | lagrange_interp.sci | function [y_interp] = lagrange_interp(x, y, x_interp)
n=size(x,2) //numero de pontos
soma=0 //soma acumulada
for k=1:n //passando por todos os pontos
produto=y(k) //fixa o valor y(k)
for j=1:n //passa por todos os pontos
if j ~= k then //menos quando k = j
produto = produto * ((x_i... |
c7094bef61cbd7c770c2160fb59d92b28ced3a63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH10/EX10.15/Ex10_15.sce | 35279d50a0037492142f2012d44fd10658bae08a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_15.sce | Bt=12.5*10^6
Bc=30*10^3
K=7//frequency reuse factor
N=Bt/Bc//total no. of available channels
M=N*(1/K)//user capacity per cell
Nu=3//no. of users/channel
NU=N*Nu
K1=4
M1=NU*(1/K1)
disp(M,'capacity of 1G AMPS FDMA analog cellular system in users/cell')
disp(M1,'capacity of 2G IS-136 TDMA digital cellular system in us... |
9d290d369802714f55d2ba8caa5ce296f374ec37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH23/EX107.1/107.sce | 4f53d4cdad8104833c1b2e1152f00b09a41c57b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 153 | sce | 107.sce | clc
//initialisation of variables
d=1.5//mm
s=900//kg/cm^2
//CALCULATIONS
P=2*%pi*(d)^2/4*s//kg
//RESULTS
printf('the maximum shear P=% f kg',P)
|
8f36ca57953f867982da2cd36b9905636e3e17ce | c3d38db94d5862857932065e0c266a64e426002a | /tst/Ex2.tst | 6210b26ee41eb67f0a090357f1851d07349ef0d5 | [] | no_license | fingolfin/carat | 69806199557c0b46b752d83b0755c627ed5877ec | 21741c23edb7d5cf410e7dc1698f7fb942573e9e | refs/heads/master | 2020-09-03T15:33:29.255011 | 2019-05-23T07:31:58 | 2019-05-23T07:31:58 | 133,804,402 | 0 | 0 | null | 2018-05-17T11:35:02 | 2018-05-17T11:35:02 | null | UTF-8 | Scilab | false | false | 492 | tst | Ex2.tst |
echo "### Test Ex2-1"
../bin/carat/Symbol Ex2_G
echo "### Ex2-1 return code $?"
echo "### Test Ex2-2"
../bin/carat/Bravais_catalog << EOF
3;2-2;1
n
EOF
echo "### Ex2-2 return code $?"
echo "### Test Ex2-3"
../bin/carat/Order -o Ex2_G
echo "### Ex2-3 return code $?"
echo "### Test Ex2-4"
../bin/carat/QtoZ -D Ex2_Go
... |
9086c7bd6ea3cb4fac066f85acf5dab4cd62b53b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH6/EX6.7/Ex6_7.sce | 26be82b4e6ec699e880acc295c5cbb85f5deffb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,598 | sce | Ex6_7.sce | //Variable declaration
Rbb=8*10**3 //base resistance(k ohms)
eta=0.7 //efficiency
R1=0.2 //R1(k ohms)
Rt=40*10**3 //Rt(ohms)
Ct=0.12*10**-6 //capacitance(F)
Vv=2 //capacitor is charged to voltage(V)
Iv=10*10**-... |
624f800629cea3206211960d5b855b0933d2385e | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/3_25_data.sci | 7c14c237c31961605fe1359751e10dea81ad5119 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sci | 3_25_data.sci | //Compression ratio of the engine
r=10;
//Temperature at start of compression(in K)
T1=310;
//Pressure at start of compression(in bar)
p1=1;
//Amount of heat addded during the cycle(in kJ/kg)
Hs=2730;
//Maximum pressure(in bar)
p3=70;
//Gas constant(in J/kgK)
R=287;
|
773dfcc60dcf61e1a2bf1362da742d7670f5442c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH19/EX19.5/example_19_5.sce | b7b67116fff53d277c53fd1281a19c1de686d972 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | example_19_5.sce | clear;
clc;
disp("--------------Example 19.5---------------")
n=16; //cidr
fa1=205; //bytes of 1st address in decimal
fa2=16;
fa3=37;
fa4=32;
fab1=dec2bin(fa1,8); //convert the bytes to binary
fab2=dec2bin(fa2,8);
fab3=dec2bin(fa3,8);
fab4=dec2bin(fa4,8);
la4=fa4+n-1; //determine the last byte of the l... |
85af7a73700d65b1d4999554c74a8629dd6d38f1 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH5/EX5.8/ex5_8.sce | c96a7cf8a555a9886bb574e52651304cc11f7e4e | [] | 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 | 144 | sce | ex5_8.sce | errcatch(-1,"stop");mode(2);// Example 5.8, page no-313
Cd=0.6
g=9.8
h=400*10^-3
V=Cd*sqrt(2*g*h)
printf("V = %.2f m/sec",V)
exit();
|
fa8ad9c2c53cc0e7c17213196bf90796ac64ad59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH14/EX14.10/Ex14_10.sce | dfe7a8af18cfe7a5b2ff2cd816be9aaada723c03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 858 | sce | Ex14_10.sce | // Example 14_10
clc;funcprot(0);
// Given data
PR=2.00;// The pressure ratio
T_1=70+460;// R
T_3=80.0+459.67;// R
n_s_e=65/100;// The isentropic efficiency of the expander
n_s_c=65/100;// The isentropic efficiency of the compressor
k=1.40;// The specific heat ratio
// Calculation
// (a)
COP_rBa=(((PR)^((k... |
bc78fc6a55276913ad90a3823ba480bafdacab9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH9/EX9.2/Ch09Ex2.sce | 09ae99b314e726f490b47ca141d6ee1773adf8e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Ch09Ex2.sce | // Scilab Code Ex9.2: Page-9.24 (2004)
clc;clear;
Eg = 1.12; // Bandgap of silicon, eV
me = 0.12*9.1e-031; // Effective Mass of the electron, kg
e = 1.6e-19; // Electronic charge, C
mh = 0.28*9.1e-031; // Effective Mass of the hole, kg
k = 1.38e-23; // Boltzman constant, joule per kelvin
T = 300; ... |
049899fd62cfb016f4856ddc8aad50d3d9153328 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH8/EX8.1/P1_first_critical_speed.sce | 06b4e11e5f31f5710c93ae065a6aea0885fbca4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | sce | P1_first_critical_speed.sce | clc
//Example 8.1
// First critical speed
//------------------------------------------------------------------------------
//Given Data:
m1=220
delta1=0.03e-3
m2=440
delta2=0.008e-3
res1= mopen(TMPDIR+'1_first_critical_speed.txt','wt')
Sigma_w_delta=(m1*delta1)+(m2*delta2)
mfprintf(res1,'Sigma_w_delt... |
ef7c745196069fe2c7bc0914fc805b7810508165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/CH4/EX4.7/4_7.sce | 7f80c63004440ef52aec3da006f17b18f9144987 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | 4_7.sce | //clear//
clc
clear
exec("4.7data.sci");
W = 0:1:60;
function w=f(W,Y)
w=zeros(2,1);
w(1)= (kprime/FA0)*((1-Y(1))/(1+e*Y(1)))*Y(2);
w(2) = -alpha*(1+e*Y(1))/(2*Y(2));
endfunction
x=ode([0;1],W0,W,f);
for i= 1:61
F(i) = (1+e*x(1,i))/x(2,i);
end
F= F';
for i= 1:61
rate(i) = (kprime)*((1-x(1,i)... |
5815ebe40ab24cb67110275aeb19de5848236201 | b86d4c3dc69c2d16f049e6b1f991c7eca7fd99ee | /projects/05/Pong.tst | 1e91184ccc9d585ffb36a62e516bec9375dbd32d | [] | no_license | spillow/nand2tetris | e57b5cfb57efc4286de3d2e09b5c85ffe3e3683c | f4ad7a787f7f0ea4374ddeb0379a7722b3217020 | refs/heads/master | 2020-12-31T00:11:51.082299 | 2020-08-07T09:39:59 | 2020-08-07T09:39:59 | 86,547,074 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | tst | Pong.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/05/ComputerMax.tst
load Computer.hdl,
// Load a program written in the Hack machine language.
// The program computes the maximum of RAM[0] and RAM[1]
// and wri... |
0745ba85ac5d7ab21f47b29f1d9b8334fa308540 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH4/EX4.1/Example_4_1.sci | 04a6bfc894a19df9364255f7e4fd4b8bc86be904 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sci | Example_4_1.sci | clear;
clc;
printf("\n Example 4.1");
//Calculating modified reynold's no.
a = 800; //it is in m^2/m^3
Product_rate = 0.5; //it is in g/sec
Reflux_ratio = 8;
Vapour_rate = 4.5; //it is in g/sec
G = (4.5*10^(-3))/((%pi/4)*(0.1^2));// units are in kg/m^2.sec
meu = 0.02*10^(-3); ... |
b0e0f31b18b51c6062f99d367f062cb0ee0413ca | a29c13fa4c58d566270fb640a4d1f184f92c1223 | /02_Software/02_Control_Design/03_Start-Up_Process/polyfit.sci | 42ad53a14cf218336e6df2b85f63a760b08753dd | [] | no_license | li-bre/li-bre-wind | e15bc80f955d02731fe6e7eb255f24478a2395ae | d65584798c48461484e3a3531797612e3ba18c32 | refs/heads/master | 2022-02-28T15:32:22.893410 | 2022-02-08T15:54:47 | 2022-02-08T15:54:47 | 232,623,593 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,708 | sci | polyfit.sci | function [polyFunction, yCalc, statParams] = polyfit(xVar, yVar, polyDeg, matlabForm, doGraph, polyChar)
//----------------------------------------------------------------------------//
// polyfit: polynomial regression for Scilab http://www.scilab.org/ //
// Author: Javier I. Carrero, jicarrerom@unal.edu.co ... |
c15fd64368242993f78cf3859e51f8a2ee0edd20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH15/EX15.6/15_06.sce | 69db894662fbd5ae211133897c73c98162a7376b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | 15_06.sce | //Example No. 15_06
//Crank-Nicholson Implicit Method
//Pg No. 497
clear ; close ; clc ;
h = 1 ;
k = 2 ;
tau = h^2/(2*k)
for i = 2:4
f(1,i) = 50*( 4 - (i-1) )
end
f(1:5,1) = 0 ;
f(1:5,5) = 0 ;
A = [4 -1 0 ; -1 4 -1 ; 0 -1 4]
for j = 1:4
for i = 2:4
B(i-1,1) = f(j,i-1) + f(j,i+1)
... |
fa914a703132d1d3df43bf4c6128ec5f4d3ac8c1 | a1f60bb672ee40fedc4910c768550d10403cd556 | /projects/02/Mul4Sign.tst | c1970c45efffc22101d577fb374d0cb729fb4a8b | [] | no_license | kaarthikrajamv/computer | f23a6f50eb7b31474990e8af18caae6a88b91798 | 250caade7a89726e8b77f8df9c3f1e3246ce7c80 | refs/heads/master | 2021-01-21T03:20:50.360384 | 2017-11-06T11:47:35 | 2017-11-06T11:47:35 | 101,890,787 | 0 | 0 | null | 2017-11-06T11:47:36 | 2017-08-30T14:22:13 | Assembly | UTF-8 | Scilab | false | false | 598 | tst | Mul4Sign.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add16.tst
load Mul4Sign.hdl,
output-file Mul4Sign.out,
compare-to Mul4Sign.cmp,
output-list x%B1.4.1 y%B1.4.1 out%B1.8.1 overflow%B4.1.4;
set x %B1011,
set y %... |
77b862041db598c9f7599403938a8abd519c8cae | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH5/EX5.13/ex5_13.sci | 73ff83543b09baac60dd06c3d7550e5271e79f5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sci | ex5_13.sci | //Chapter 5,Ex5.13,Pg5.17
clc;
E2=440 //Secondary voltage
V2=400 //voltage at full load
//Given that power factor=0.8(lagging)
percentreg=((E2-V2)/E2)*100
printf("\n Percentage regulation=%.2f percent\n",percentreg)
|
53db08a2c9651d99b1822405e642272275a3f163 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/percent/%lssnr.sci | 41a6b9fc7b886e4ce03558f645438cf90a720b9f | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sci | %lssnr.sci | //[r]=%lssnr(s1,s2)
//%lssnr(s1,s2) effectue le test d'inegalite entre systeme d'etat et transfert
//correspond a l'operation s1<>s2
//!
r=%t
//end
|
972902fe8a9d53cbf98d5eeee3e64bf6a040c633 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Space/Trajectories/Cassini saturnus.SCI | 8c15a4eb8ecfe61ab462466f8c8b19e61c0ce391 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 3,625 | sci | Cassini saturnus.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
codeblock readtextfile(ScriptDir+"\Astronomy\_SUB\LoadPlanetMoonsKepler.sci");
planetname="Saturnus";
startdist=10000000;
ssysframe=ssys_create;
sc=T_getscene;
#sc.VolumeShadowAdd(0,color(0,0,0,0.5),1000,1000*300);
sc... |
bdf16162e469d79a9d13686207b051f7f7cb9d3a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/AP49JNW/ATWM1_Working_Memory_MEG_AP49JNW_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 6fb6f3212cde4ca6f0460decf8424985faff07c6 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,618 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_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... |
3532c482ac6033ef6493c4612c5ad2096962808e | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_5/Scilab_programs/Root_locus_4.sce | b9f22398e562d3cf50edbd60f592a57c1f52809a | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sce | Root_locus_4.sce | clear
close
clc
s = poly(0,'s');
G = s^2/(s^2 - 1);
Glin = syslin('c',G);
clf();
evans(Glin,100);
sgrid();
|
dc37dbe60ac8ac9b83c7bc05967917ce4bae6131 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH8/EX8.8/ex8_8.sce | 46fa371f87cf7f1827a9398fae62fef619cdd84c | [] | 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 | 179 | sce | ex8_8.sce | errcatch(-1,"stop");mode(2);//Example 8.8, page no-511
wn=sqrt(3)
x=3.2/(2*wn)
printf("Damping coefficient = %.3f\nNatural frequency of Oscillation = %.3f",x,wn)
exit();
|
d6cdd1b32dcb81b8ed090abd4e1776811c39c013 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/dsgnmtrcs_fcn.sce | fcfd858ab0eaeead5f0255888d6e7b97a37ccbf3 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 3,850 | sce | dsgnmtrcs_fcn.sce | global file_name path fname extension chip_num board_num brdtype b_elements
brd_sz=[];
function Board_settings()
global board_num brdtype handles;
Choose_Board3= findobj('tag','Choose_Board3');
if (board_num == 2) then
brdtype = '';
brd_sz.cab=7;
brd_sz.clb=7;
brd_sz.tot... |
c996b3940284682e3d702e3f02b0e501e697e847 | 02427d9d608ef9018bc666d8532338ef5e008a07 | /PAL/1_makefile/tests/3.out | bcc8ac0b5f4d6cc9ba6c1dc5769b33a23dcf218d | [] | no_license | michalsustr/CTU | aebd874999ee53bc3bd3f07ef7b3461458c84826 | 00a1a152e1ce445427eb9e043b962387fb12ab64 | refs/heads/master | 2021-01-10T06:31:32.424103 | 2015-12-31T00:21:34 | 2015-12-31T00:21:34 | 48,609,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 38 | out | 3.out | all:target1
target1:
#target2:target3
|
1b352f31dd0398dff253243470c52cf1fb58be66 | 94d8b66f6512f2f17f77000729fd8ac999484ed3 | /workspace/Analysis/EKFSlam/2D-2Transponders-Line-Pure-Range-Only.sce | 79f0ab0df4f411e750848c97f9473a879f9db294 | [] | no_license | utctao/reliable-slam | 7885c098574afb5284675a6f022d368f7f303ba6 | 1f00c584d9dacfc17e31e0aa91b0d717998b0310 | refs/heads/master | 2021-01-20T19:49:49.038094 | 2013-07-22T21:50:55 | 2013-07-22T21:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,199 | sce | 2D-2Transponders-Line-Pure-Range-Only.sce | clear; close; close; close; close;
funcprot(0);
// Personal laptop workstation (LINUX)
path_in='/media/Documents/Etudes/ENSTA-Bretagne/Stages/ENSI3-UFRGS/reliable-slam/workspace/Simulations/Scenarios/2D-2Transponders/';
path_out='/media/Documents/Etudes/ENSTA-Bretagne/Stages/ENSI3-UFRGS/reliable-slam/workspace/Analysi... |
4b78d4a325e10d613e3354ed7dc273671d22d0df | f1d98f30cf89c5cd6339af6cecba8f945b5ec75a | /Project/Chapt2/eq.sce | f9764037a8603a2fe237557359e057447d00c38c | [] | no_license | robin29man/scilab_practice | 1a43a27b7fd732fb8ad8a34e0665351467a10678 | 5dbd37cd3a0f35d238bd1cc519f903924036ed51 | refs/heads/master | 2020-05-24T16:34:56.604967 | 2019-05-22T13:32:39 | 2019-05-22T13:32:39 | 187,362,476 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13 | sce | eq.sce | y=2*x^2+3*x+4 |
c443f29413a6e0bcb3494ed2b48ca0180d866e92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.47/ex2_47.sce | 89d8b1b07dabd6a406cf4636562b12f80e7161e4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | ex2_47.sce | clc
Vr=10; //Assigning values to parameters
Vl=15;
Vc=10;
V=sqrt(Vr^2+(Vl-Vc)^2);
V=10+%i*0+0+%i*15+0-%i*10;
[r,t]=polar(V);
disp("Volts",r,"Voltage"); |
30e1383b1ea1f205361fc31a6f8f27c78387824a | aac095b3736bd9d1ff203763f3420ff7e6e14ecd | /cont_frm_write.sci | 73ccdd8f5b7f57085079b6e9d1affe7ee0385bc0 | [
"MIT"
] | permissive | raehasandalwala/xcos_on_cloud | 388df5b76285ebbc216a1125615c77540c120c69 | d60cc9807701acf3b65daea84c304fdc5a29c487 | refs/heads/master | 2020-03-25T04:45:15.950408 | 2018-08-03T05:29:46 | 2018-08-03T05:29:46 | 143,411,471 | 0 | 0 | MIT | 2018-08-03T10:03:45 | 2018-08-03T10:03:44 | null | UTF-8 | Scilab | false | false | 1,027 | sci | cont_frm_write.sci | function calculate_cont_frm(num,den)
H=cont_frm(num,den);
[A,B,C,D]=abcd(H);
cont_frm_write(A,B,C,D);
endfunction
function cont_frm_write(varargin)
loop = argn(2) //Counting number of variables
filename='cont_frm_value'
printf(filename);
fileid = strcat([pwd(), "/",filename,".txt"]) //Location... |
d6063449952f80d18720c3ab01d3ea298ed90c44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH13/EX13.1/Ex13_1.sce | 18e1019e8da36ca0c7fce84c6ea8b67a5b4e73d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 6,374 | sce | Ex13_1.sce | printf("\t example 13.1 \n");
// at atmospheric pressure,Pt=760 mm Hg
printf("\t approximate values are mentioned in the book \n");
x(1)=0.077; // mole fraction of C4
x(2)=0.613; // mole fraction of C5
x(3)=0.310; // mole fraction of C6
printf("\t for T 100 F \n");
Pp(1)=3170; // vapour pressure of C4, from fig ... |
11f170c104c90052ab074e556b10b91ec8fcf172 | ff1325c4f8bc7aae332f9dfbae7b15e8243c7d51 | /optMatrice.sce | 11c3a08b03795835b34a275ab5bd2de7fbd3aac5 | [] | no_license | jperret21/calcul_numerique | c17d274a1d9a4ec42c510fbfb7a29cbe5e985572 | 1379d876b42849664bde200b5a1fde0221715b06 | refs/heads/main | 2023-01-14T16:22:24.308899 | 2020-11-26T13:36:57 | 2020-11-26T13:36:57 | 314,207,969 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | optMatrice.sce | //---------------------------EXERCICE 3-------------------------------------//
function [res]=matmat3b(A,B)
m=size(A)(1)
n=size(B)(2)
p=size(B)(1)
C=zeros(m,n)
for i= 1:1:m
for j= 1:1:n
for k= 1:1:p
C(i,j)=A(i,k)*B(k,j)+C(i,j)
end
e... |
c4fa71bab9b5f23edc32cee6f36a8636c0dc0923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH5/EX5.4/exa_5_4.sce | 348b62fb9be44cd6c2bd4b42a453006267802e52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | exa_5_4.sce | // Exa 5.4
clc;
clear;
close;
// Given data
D= 0.102;// in cm
sigma_P= 0.286;// in Ωcm
q= 1.6*10^-19;// in C
miuP= 500;
Vb= 5+0.35;//in V
A= %pi*D^2/4;// in cm^2
N_A= sigma_P/(q*miuP);// at/c
C_T= 2.92*10^-4*(N_A/Vb)^(1/2)*A;//
disp(C_T,"The value of transition in pf/cm^2")
|
5793d74970d0ebfe25c0f38ae50ec2f924ff44be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH9/EX9.2/ch9_2.sce | fd1d06e6dbc293d9aa1d9e14583e093c52e757ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | ch9_2.sce | clear;
clc;
V_s=230;
V_m=sqrt(2)*V_s;
a=45;
V_or=(V_s)*sqrt(1/%pi*((%pi-a*%pi/180)+sind(2*a)/2)); printf("rms value of o/p voltage=%.3f V",V_or);
R=20;
I_or=V_or/R;
P_o=I_or^2*R; printf("\nload power=%.2f W",P_o);
I_s=I_or;
VA=V_s*I_s;
pf=P_o/VA; printf("\ni/p pf=%.4f",pf);
I_TA=sqrt(2)*V_s/(2*%p... |
32b6bc092f9a03db4668285f2a91e555577f1bff | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH9/EX9.2/example9_2.sci | 9ccb935cfab681504dff3a953265c9c493014e15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | example9_2.sci | //Programming Example 9.2
//Lowercase to Upercase converson using 1 dimensional array
function[] = main()
//read in the line
line =input("Enter a line: ","string");
SIZE= length(line);
for count = 1:1:SIZE
letter(count) = part(line, count);
end
//di... |
7e6cf8e673488c78659932f35f3afe8edb3b9f1a | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/Draw_Skeleton.sci | 4cb3705f5995d59b30c84e6eaceb6914caf40bc5 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,161 | sci | Draw_Skeleton.sci | function Draw_Skeleton(para,Vs,Os,StrInf,StrId,NumStr,StrSz,data,Color_P)
StrID=StrId(para(1),para(2),para(3),para(4),para(5),para(6),para(7)); //find ID of substructure according to the parameter [p i 1 g m]
StrSzcum=cumsum(StrSz);
if StrID>1 then
offset=StrSzcum(StrID-1);
else
... |
d84dc7d9220b9c5ad3f04b5de4b1113ab9ac7e53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.22.1/Ex6_22.sce | 33adb2003f0f64977d8a770124d00ba4ff64e055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Ex6_22.sce | clc
clear
T1=87+273; //in K
r=14; //Compression Ratio
T3=1795+273; //in K
T4=677+273; //in K
G=1.4;
T2=T1*(r^(G-1));
printf('T2= %2.1f K',T2);
printf('\n');
Cp=1.005;
Cv=0.718;
W=[Cp*(T3-T2)]-[Cv*(T4-T1)];
Qs=Cp*(T3-T2);
Eff=(W*100)/Qs;
printf('Efficiency: %2.1f Percent',Eff);
... |
52156f7342ab011590cc53cacc0ecf678666fa7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH6/EX6.4/4.sce | 45e3262e6c2ccbbe8632f32c5bd16eff97d8b199 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | 4.sce | clc
//Example 6.4
//Calculate the gauge pressure in the tank
q=300//gal/min flow rate
d=3.068//in inner diameter
a=(%pi)*(3.068/12)^2/4//ft^2
//1 ft^3 = 7.48 gal
//1 min = 60 sec
v_avg=q/a/60/7.48//ft/s
f=0.0091//dimentionless fanning friction factor
dx=3000//ft
rho=62.3//lbm/ft^3
dp=4*f*(dx/(d/12))*rho*(v_... |
e1e83b4091403b600014e3e1eab460e534e75bb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.18/example1_18.sce | bcf72a977ba070b3b47050c039b7d9176dcb63fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | sce | example1_18.sce |
//exapple 1.18
clc; funcprot(0);
// Initialization of Variable
//part1
A=50+12/60+48/3600;
time=A/15*3600
hr=round(time/3600);
b=time-hr*3600;
mi=round(b/60-1);
c=time-hr*3600-mi*60;
disp("time is" );
disp(hr,"hours");
disp(mi,"minutes");
disp(c,"seconds");
//part2
A=8+18/60+6/3600;
time=A/15*3600
... |
8e7d23465d69b22ab97ca8d4bf6b4b915f3d7fe2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH9/EX9.3/ex_9_3.sce | 7accc0f1149dfec23f33cc51d7de2a38a2a4dcbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | ex_9_3.sce | //Example 9.3 : maximum length of surfacef
clc;
clear;
close;
format('v',7)
//given data :
sigma=36;//in MN/m^2
gama=0.27;// in J/m^2
E=70*10^9;//in N/m^2
C=((2*E*gama)/(sigma^2*%pi))*10^-6;
C2=2*C;
disp(C2,"maximum length of surface flow,C2(micro-m) = ")
|
30d0fa5b8436bd4fb1a135c0e0a79f87b4f0d63c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH3/EX3.2/Example32.sce | baa23266897dfed2d3a47dcb4e4b41c087dd07b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,703 | sce | Example32.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 3 Example # 3.2 ")
// we have to determine minimum depth xm at which a water main must be buried to avoid freezing
//Initial temperature of s... |
73a4fb9724bfbac7d2fc86370ce98fb4c0e0bfa9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH8/EX8.5a/Exa_8_5a.sce | 6e7a694df94cdc591789c704f5264caa20c0791c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | Exa_8_5a.sce | //properties of DFT
//a1)product
xn=[1 2 1 0];
XDFT=fft(xn,-1)
hn=xn.*xn
HDFT=fft(hn,-1)
HDFT1=1/4*(convol(XDFT,XDFT))
HDFT1=[HDFT1,zeros(8:12)];
HDFT2=[HDFT1(1:4);HDFT1(5:8);HDFT1(9:12)];
HDFT3=[0 0 0 0];
for i=1:4
for j=1:3
HDFT3(i)=HDFT3(i)+HDFT2(j,i);
end
end
disp(HDFT3,'DFT of x[n]^2 is');
//a2)per... |
e4090f6cf4989823d29a5dddfed5c25fc764fe1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /905/CH2/EX2.9/2_9.sce | 427383d237e44ba1b7ce04c34f72160eb3c89575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,666 | sce | 2_9.sce | clear;
clc;
// Illustration 2.9
// Page: 123
printf('Illustration 2.9 - Page: 123\n\n');
// solution
//*****Data*****//
// a-water b-air
dp1 = 10^-3; // [diameter of spherical drop of water, m]
Tair = 323; // [K]
P = 101.3; // [kPa]
Twater = 293; // [K]
R = 8.314; // [cubic m.Pa/mole.K]
M_a = 18;... |
cd58d7c31af3a6ed8b2e237d095deb7a517d08e6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/sincd.man.tst | 139f41961174d2ca2d3e146a2398693a34632de7 | [
"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 | 35 | tst | sincd.man.tst | clear;lines(0);
plot(sincd(10,1))
|
3424ce365170d6211544585405fc3ce17066e8df | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH3/EX3.13/Example3_13.sce | a43ff963af344e03d64c3e0803597cee25f128c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | Example3_13.sce | close();
clear;
clc;
//resistance 'R', inductance 'L', angular frequency 'w', phase difference 'theta'
R = 20; //ohm
L = 15*10^(-3); //mH
w = 1000; //rad/s
theta = 45; //degree
//net reactance of parallel LC combination = 20 ohm or -20 ohm
C1 = poly(0,'C1');
pc1 = 1/(%i*w*L) - 1/(R*%i) + %i*w*C1;
C1 = roots(... |
a6910ac77079f5c082e9822eb2f0e7dcfc6a6d7e | a30001e45f0342ced961e0431af0f297bf00a538 | /TraceFileDiagnostics/SciLabScripts/anim_cylinder_translate.sce | 99ac0b30376bb42083675c8ed4489e9858e7c8dd | [] | no_license | jsayres82/TraceTool | 54697a1c744d0838e894a9bfdce800a4ba6dbbde | 68826d7b31d0fa064b758d24fc408dbe27763e8b | refs/heads/master | 2021-08-30T08:03:07.854850 | 2017-12-16T23:12:05 | 2017-12-16T23:12:05 | 109,863,651 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,648 | sce | anim_cylinder_translate.sce | // anim_cylinder_translate.sce
clear; xdel(winsid());
exec('C:/Users/jsayres/Documents/Visual Studio 2012/Projects/ServiceTool - Copy/ServiceTool/SciLabScripts/Euler2R.sci',-1);
exec('C:/Users/jsayres/Documents/Visual Studio 2012/Projects/ServiceTool - Copy/ServiceTool/SciLabScripts/GeoVerMakeCylinder.sci',-1);
... |
f1b3076f332a9dc256e62080576e2028325199cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1499/CH7/EX7.29/q29.sce | f7868d490c3bb2b01654b7fcfd9881789f2917d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 432 | sce | q29.sce | A=[-1 0;0 -2];
B=[0;1];
[r c]=size(A)
I=eye(r,c)
P=cont_mat(A,B);
disp(P,"Controllability Matrix=")
d=det(P)
if d==0
printf("matrix is singular, so system is uncontrollable");
else
printf("system is controllable");
end;
C=[1 2];
P=obsv_mat(A,C);
disp(P,"Observability Matrix=");
d=det(P)
if d==0
... |
83621e97a6dc490029db1a69504c2f2919378af1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.4/12_4.sce | e5d3d2f91d4259845800b760d469f30274124790 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | 12_4.sce | clear; clc; close;
Vcc = 10;
a = 3;
Rl = 8;
Vceq = Vcc;
Vce = Vceq;
Icq = 140*10^(-3);
Rl_dash = (a^2)*Rl;
Ic = Vce/Rl_dash;
Vce_min = 1.7;
Vce_max = 18.3;
Ic_min = 25*10^(-3);
Ic_max = 255*10^(-3);
Po_ac = (Vce_max-Vce_min)*(Ic_max-Ic_min)/8;
disp(Po_ac,'Ac Power delivered(Watts) = ');
|
da2dd54f1cfb79b41ea8654f5b7543a84aeb6587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH8/EX8.3/Ex8_3.sce | 637594ae89332846946c319baa145934ccfcf4eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 364 | sce | Ex8_3.sce | clc
clear
//Initialization of variables
cp=0.25 //Btu/lbm R
T0=520 //R
T1=3460 //R
dG=21069 //Btu/lbm
dH=21502 //Btu/lbm
//calculations
dq=cp*(T0-T1)
ds=cp*log(T0/T1)
dE=dq-T0*ds
eta=dE/dq
dw=eta*dH
de=-dG+dw
//results
printf("Loss of available energy = %d Btu/lbm",de)
disp("The answer is a bit differe... |
922abeb7a0e910be66e5046364aed2df95af25c5 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/gsw.tst | 507ada6c9c1a45d507566aab00ea0d487b6bd18f | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,837 | tst | gsw.tst | grosche groschi V;SBJV;SG;1;PRS
ässe ässid V;SBJV;PL;3;PRS
ligge liittid V;SBJV;PL;1;PST
lüüte lüütid V;SBJV;PL;2;PRS
tue tüegsch V;SBJV;SG;2;PRS
schnöre schnöred V;IND;PL;2;PRS
lauffe lauffsch V;IND;SG;2;PRS
leere leeri V;SBJV;SG;3;PRS
verlüüre verlüürisch V;SBJV;SG;2;PRS
trääge träiti V;SBJV;SG;1;PST
zünde zündid V;S... |
3a58fb50cf6c66d0e84562d8df4b7183cd804e66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH13/EX13.2.b/13_2b.sce | 97c0abdd3553803ce4ac917ac158d75b931e4c4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | 13_2b.sce | clc
//initialization of varaibles
T1=350+460 //R
v1=6 //cu ft/lb
m=1 //lb
R=53.34
v2=2*v1
cp=0.24
//calculations
disp("From steam tables,")
vg=3.342 //cu ft/lb
P1=77.5 //psia
P2=P1
h1=1204.8 //B/lb
v2=2*v1
T2=1106 //F
h2=1586.7 //B/lb
Q=h2-h1
W=P1*144*(v2-v1)
//results
printf("Final temperature = %... |
3408155bb403ce9e5a7c1182ea97ce940a06c459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH3/EX3.2/Ex3_2.sce | f1c13142cb34028e4a778d50bf45c2612bbe6ab2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_2.sce | //Chapter 3 Liquids
clc;
clear;
//Initialisation of Variables
d= 0.789 //gram per cc
r= 0.010 //cm
h= 5.76 //cm
g= 980.7 // cm /sec^2
//Calculations
R= d*h*r*g/2
//Results
mprintf("Surface Tension = %.1f dynes per cm",R);
|
261687d9955716c2aada088b18d70f59c05acc12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH5/EX5.16/example16.sce | 06657101572d25bb739121821ea8a847614e64bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,469 | sce | example16.sce | clc
clear
//input data
b1m=46//Rotor blade angle at entry at mean section in degree
b2m=75//Rotor blade angle at exit at mean section in degree
a1m=75//Nozzle angle at exit at mean section in degree
DhDt=0.6//Hub to tip ratio
N=7500//Mean rotor speed in rpm
Dh=0.45//Hub diameter in m
//calculations
R=0.5//D... |
7a11a28cf20a58bda789c519d77d14b5e7cbfb02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH17/EX17.7/Ex17_7.sce | 7a07c14320ad6f5720b8793d91f5264d7c43b25a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 158 | sce | Ex17_7.sce | clc;
r1=10000;
r2=10000;
rf=40000;
req=(r1*r2)/(r1+r2);
c1=0.0000001;
c2=0.000000068;
f0=ceil(1/(2*3.14*((req*c1*c2*rf)^0.5)));
disp('Hz',f0,"f0=");
|
ce0c406fcb57a1cf90ade842d51256768dc5e2c6 | 0398247443eeb413d3cfd5e012ea5d40e4c8b562 | /08/tests/macros/noboot/popD/popD.tst | f1243514b9d45018a182c8b8af763dd82c852d35 | [] | no_license | willbr/the_elements_of_computing_systems | 1cfee98bf6eeca101f4a428a35b838aefbf27afa | ee8f19720958159a22bf90eb6a5f32ea8348e6fa | refs/heads/master | 2016-09-06T00:34:17.333924 | 2013-01-20T22:02:59 | 2013-01-20T22:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | tst | popD.tst | load popD.asm,
output-file popD.out,
compare-to popD.cmp,
output-list
D%D1.6.1
RAM[0]%D1.6.1
RAM[256]%D1.6.1
RAM[257]%D1.6.1
RAM[258]%D1.6.1;
set A 2,
set RAM[0] 257,
set RAM[256] 69,
repeat 100 {
ticktock;
}
output;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.