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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
572d5f92c312356e3e20b2004cc9e0c4e4c090e8 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab08_18i190002/ex4.sci | 92e2e3b0f06b3b63229072285ba6007fc2154975 | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,155 | sci | ex4.sci | //NAME: Shubham Sharma
//ROLL NO: 18i190002
//COURSE: Msc PhD OR
clear,clc
//We will make rthe use of rand() to compute the uniform distribution of 0 and 1 that is an inbuild function.
dem3=[]
supp3=[]
//Formation of column vectors of random entries between 20 and 40
for (i=1:2000)
r=20*rand() + 20
y=20*rand() ... |
89af8eb6bfb75b5a18cb140a44fdd72776b9a6e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH12/EX12.11/Ex12_11.sce | 4b20258ac28e45b7bda25590f8b0e1c6db13ca4f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,856 | sce | Ex12_11.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex12_11.sce
clc;
clear;
Vl=400;
V=Vl/sqrt(3);
Z_R=complex(20*cosd(30),20*sind(30));
Z_Y=complex(40*cosd(60),40*sind(60));
Z_B=complex(10*cosd(-90),10*sind(-90));
... |
418b487a1a771de2cf5325b5e9cf08967d19581a | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH2/EX2.1/2_1.sce | 18f449df58e34c2bd9d0370966ca889796251b05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_1.sce | //Eg-2.1
//pg-50
clear
clc
close()
H=[1 1/2 1/3;1/2 1/3 1/4;1/3 1/4 1/5];
//two significant figures
H_1=[1 .5 .33;.5 .33 .25;.33 .25 .2]
Hinv1=inv(H_1);
//four significant figures
H_2=[1 .5 .3333;.5 .3333 .25;.3333 .25 .2]
Hinv2=inv(H_2);
disp("inverse matrices")
disp(Hinv1)
disp(Hinv2)
|
0e42c1307b7ce3d418ba98a118dbb9f085ba34ed | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/bisection.sce | ad74a86f80c56a7e17f45cf86edc888a1b5648f0 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,856 | sce | bisection.sce | //> Find root of equation $f(x) = 0$ using bisection.
//> \texttt{x1} and \texttt{x2} is initial search interval
//> \texttt{tol} is optional and is set to $10^{-9}$ by default.
function root = bisection( f, x1, x2, tol, NiterMax )
if ~exists("tol", "local") then
tol = 1e-9
end
if ~exists("NiterMax", "loca... |
aab0c90aa923f9e1dfb38462c0d14afb51e3a712 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH11/EX11.2/11_2.sce | 8a636e5e81a12cab1a4dbb8edf79462b66b61097 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | 11_2.sce | clear;
clc;
Za=%i*200;Zc=-%i*500;
Zt1=(Za/2)+(sqrt((Za*Za/4)+(Za*Zc)));
A=real(Zt1);
B=imag(Zt1);
printf("Iterative impedances Zt1 = %d + j(%d) ohms\n ",A,B);
Zt2=(-Za/2)+(sqrt((Za*Za/4)+(Za*Zc)));
C=real(Zt2);
D=imag(Zt2);
printf("Iterative impedances Zt2 = %d + j(%d) ohms",C,D);
|
b505a01d53b050fef9e54adf28949062bd273694 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.10.b/solution4_10.sce | ec317545f2b3a99475d9b14b4703a673e6f6426b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,226 | sce | solution4_10.sce |
//Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0)
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution4_10.sce')
//Obtain path of data file
data... |
485d3a163190806fa6f83782c9dd9e6e93d5eb29 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2poly/rc2poly1.sce | 1025211398fb4ab37c46062291744106ed76b32a | [] | 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 | 352 | sce | rc2poly1.sce | //check o/p when the xero lag auto correlation has not been specified
X = [7 6 5 8 3 6]
[a, efinal] = rc2poly(X);
//output
//!--error 10000
//Zero lag autocorrelation, R0, not specified.
//at line 34 of function rc2poly called by :
//[a, efinal] = rc2poly(X);
//at line 2 of exec file called by : ... |
f80330616cdd638a7c9118338be73ade24d33c04 | 13b0f479f56e4c3f226e08a77671d750c2a59e47 | /linear-systems/solve_gauss_seidel_custom.sce | badf817e62f52f030a1a345ad0d836f19b43ed04 | [
"MIT"
] | permissive | lsDantas/Numerical-Linear-Algebra | cd73df6761e9dcac5bfe8f51317c907672d41b47 | daeec474c6647ba8578e200814565e987711d7d7 | refs/heads/master | 2022-11-19T17:46:53.534130 | 2020-07-21T16:20:11 | 2020-07-21T16:20:11 | 281,447,235 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,357 | sce | solve_gauss_seidel_custom.sce | ///////////////////////////////////////////////////////////
// Custom Gauss-Seidel Method
//
// Description: Solves a linear system of the form
// Ax = b through the Gauss-Seidel method. This
// implementation uses a custom approach to invert
// matrices.
///////////////////////////////////////////////////////////
// ... |
bb77272a474b55b94ee624a8d4e6cf9f510c68c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.12/3_12.sce | b11cd88ff37d15ec416a0ebf680cf85b7a2de89f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sce | 3_12.sce | Vc_0m=100
Vc_0p=Vc_0m
T=(400+100)*2E-6
i_0p=100/500
P_0p=i_0p^2*400
disp(P_0p) |
8486dbfdc0dc0afa4f44c59256d063d883db8cb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.16.b/solution8_16.sce | 5dc20613c993b2c00808801ece757060cc2342a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | solution8_16.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution8_16.sce')
//Obtain path of data file
datapath = path + filesep() + 'data8_16.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the throat of the weld t (mm)
t = (Mt * 1000)/(2 * %pi * tau * ((D/2)^2))
//Calculate th... |
4ea4a9d5e6f744081fbe7b09c0008a1f46c2c047 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH7/EX7.4/Exa7_4.sce | ac51cd9333166a681c385d6efa51c5ea75fcea8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,309 | sce | Exa7_4.sce | //Exa 7.4
clc;
clear;
close;
//Given data
A0=-1275;//in Rs
A1=150;//in Rs
G=150;//in Rs
i=10;//in % per annum
n=5;//in years
//Formula : (A/G,i,n) :(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100)
A=A1+G*(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100) ;//in RS
disp(A,"The annual equivalent o... |
97e3c922a579c68f08102de6ebeb23aca4fa67da | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/serialpkg.tst | 0a56b4764a5e562f7f37fea5aefb1f6bec82f4dc | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,221 | tst | serialpkg.tst | DROP TABLE books;
CREATE TABLE books(
book_id NUMBER NOT NULL PRIMARY KEY,
title VARCHAR2(200),
author VARCHAR2(200) );
BEGIN
INSERT INTO books
VALUES (1, 'Oracle SQL*Plus', 'GENNICK,JONATHAN');
INSERT INTO books
VALUES (2, 'Oracle PL/SQL Programming', 'FEUERSTEIN, STEVEN WITH BILL... |
a6f3fade042a73b0b342acd27795c3bda9270a7a | 002b6230874dea6e4d76defafc1ae293b5744918 | /library/Demos/LocalRegions/Tests/LocProject_Diff2D_Tri_Ortho_Basis_P6_Q7.tst | 69e2430aba1fb8f057a0faa01859daeb975a6b92 | [
"MIT"
] | permissive | SCOREC/nektar | f3cf3c44106ac7a2dd678366bb53861e2db67a11 | add6f04b55fad6ab29d08b5b27eefd9bfec60be3 | refs/heads/master | 2021-01-22T23:16:16.440068 | 2015-02-27T17:26:09 | 2015-02-27T17:26:09 | 30,382,914 | 6 | 7 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | tst | LocProject_Diff2D_Tri_Ortho_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>LocProject_Diff2D Tet Ortho Basis, P=6, Q=7</description>
<executable>LocProject_Diff2D</executable>
<parameters>3 1 2 6 6 7 7 0.0 0.0 1.0 1.0 0.5 1.0</parameters>
<metrics>
<metric type="L2" id="1">
<value tolerance="1e-12">... |
b7c8030491bfaca8bba258c6dff0ecd0645eedae | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/DeletePolyline.sci | bd94b06b338dea44b1ee5bb8fcf8970668400ffa | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sci | DeletePolyline.sci | function listOutput = DeletePolyline(listInput, iIndex)
listOutput = listInput;
listOutput(iIndex) = [];
endfunction
|
6ab68182888d6f55191ebcee1e36a29a90fbde47 | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /2c Program to solve algebraic and transcendental equation by Secant method..sce | 872d00f4f21927a66d08c7140c275551c5a1e930 | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | 2c Program to solve algebraic and transcendental equation by Secant method..sce | deff('y=f(x)','y=x^3-2*x-5');
x1=2,x2=3
n=1;
c=0;
printf('successive iterations\tx1\tx2\tx3\tf(x3)\n')
while n==1
x3=(x1*f(x2)-x2*f(x1))/(f(x2)-f(x1));
printf('\t%f\t%f\t%f\t%f\n',x1,x2,x3,f(x3));
if f(x3)*f(x1)>0 then
x2=x3;
else
x1=x3;
end
if abs(f(x3))<0.000001 then
break;
end
c=c+1;
end
printf('th... |
ca86fa2e5c9006a18bae623f5d583193a0b7aca6 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_hrz_ind/~BivLCM-SR-bfas_ap_hrz_ind-PLin-VLin.tst | 1ea78508b0612884e4cad544151a9ebd6a888585 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ap_hrz_ind-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.252481D+00
... |
46756e37a1e9ab8492bf247da1f2e82984523026 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH3/EX3.3.1/Ex3_3_1.sce | a554b87fa1f57a821d83525e5c1f755d7f185f54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,120 | sce | Ex3_3_1.sce | clear
clc
//In KCL NaCl H20 system
r=3;//no.of reactions
C=8;//no. of constituents
Z=2;//no.of restricting equations
C1=C-r-Z;//no. of components
printf('C1=%.1d',C1)
//If salts present in equal amounts
C1=C-r-(Z+1);//no. of components
printf('\nC1=%.1d',C1)
//If KCL NaCl as strong electrolytes
r=1;//no... |
0385f3ebf5b2c9e8801cdef5a2c527b992e0da26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.8/EX17_8.sce | b6c2ae4a00f21433391f6a0353862b4f03d1fa39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | EX17_8.sce | clc;funcprot(0);//EXAMPLE 17.8
// Initialisation of Variables
T=175;.......................//Torque due to brake load in Nm
N=500;.........................//Engine speed in rpm
//calcuations
BP=(2*%pi*N*T)/(60*1000);.......................//Brake power developed by engine in kW
disp(BP,"Brake power developed by e... |
29e0c5a141588ac0d77335ea05059ba7ea3d5da4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH13/EX1.1/EX2_8.sce | 70e1220c4ecd8e47e9ed18f24cbf5dd516291145 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | EX2_8.sce | // to calculate force acting on 1mx 2m
clc
A=1*2
v=(100*1000)/3600 // 100km/hr
mprintf('Velocity of the wind = %f m/s',v)
density=1.2// in kg/m3
p0=(density*v^2)/2
mprintf(' \n P0= %d N/m2',p0)
F=p0*A
mprintf('\n Force F=p0A = %d N',F)
|
82c8786a1849d192ad2da9c30a8c749948722e63 | b846ffaa3e3e3311c37e95270bbe930fdf91a314 | /matricinverse.sci | c29bce78420b6d613919ae66ba3b2e492ec7df30 | [] | no_license | rahulgarg28071998/mathlab-practical-scilab | 100a15f74f94942d32a8be8125b4020a7e265ede | a83cc6b817fcca9268a59583eab372109552f2f8 | refs/heads/master | 2020-03-11T15:22:05.161498 | 2018-04-18T15:19:11 | 2018-04-18T15:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sci | matricinverse.sci | clc
clear
m=3
n=3
disp("Enter elements of first matrix:")
for i=1:3
for j=1:3
A(i,j)=input(" ")
end
end
disp(A)
for i=1:3
for j=1:3
P(i,j)=A(i,j);
end
end
for i=1:3
for j=4:6
if(i==(j-3)) then
P(i,j)=1;
else P(i,j)=0;
end
... |
19c28569b8f19b40f43a9507608427d6dc8ef6c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH13/EX13.14/Ex13_14.sce | 431a2050e03995a8fa109c356744748bcb33e8e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,484 | sce | Ex13_14.sce |
// Given:-
// For 140% theoretical air, the reaction equation for complete combustion of methane is
// CH4 + 2.8(O2 + 3.76N2) ------ CO2 + 2H2O + 10.53N2 + .8O2
// For product side
yCO2p = 1.0/(1.0+2.0+10.53+.8)
yH2Op = 2.0/(1.0+2.0+10.53+.8)
yN2p = 10.53/(1.0+2.0+10.53+.8)
yO2p = 0.8/(1.0+2.0+10.53+.8)
Rbar = 8.3... |
2fffd85941b4c2e766da17c3f8781621c53af23a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3506/CH2/EX2.9/Exp_2_9.sce | c47664c6d58ca426c7e64dfa552355696d5702cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,294 | sce | Exp_2_9.sce | //Optical Fiber communication by A selvarajan
//example 2.9
//OS=Windows XP sp3
//Scilab version 5.5.1
clc;
clear all;
//given
lambda=1.3;//wavelength of operation in um
n1=1.5;// refractive index of core
n2=1.48;// refractive index of cladding
k0=2*%pi/lambda;//constant in /m
//case-1
b=0.5//normalized pr... |
613ab792edcf52195b27e3d379027a8f51c87d7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH2/EX2.2.C/Example2_2_c.sce | 8f0a9dd57a1e283bd81b5a13ecfe9f72d1b9c7a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Example2_2_c.sce | //example 2.2.c
//check the signal is periodic or not
clc ;
t =-6:0.01:6;
y =(5*cos(4*%pi*t))+(3*sin(8*%pi*t));
plot(t,y);
disp ( 'Plot shows that given signal is periodic with periodicity=1/2' ) ;
|
58e6491339b708e1a1ab4070a2c22456438c87a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH7/EX7.19/Ex7_19.sce | 398435d6bdfdaaa1fac1696757d301c99d971b9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,003 | sce | Ex7_19.sce |
clc
clear
//Input data
P=8//Power in MW
N=5000//Speed in rpm
p=40//pressure in bar
T=500//Temperature in degree C
p2=0.1//Pressure in bar
in=0.85//Internal efficiency of turbine
nm=0.96//Mechanical efficiency
nn=0.92//Nozzle efficiency
a=15//Nozzle angle in degrees
Vb=300//Blade velocity in m/s
//Calcul... |
2efa2805ab3d718d50f454d1ac8767e24ed74811 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/SQS2.prev.tst | 55fa98dd9a886c631564efb06bb9bf5f3a0aff45 | [
"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 | 240,096 | tst | SQS2.prev.tst | 1 3483 3^4*43(3mod8)
3 27891 3^3*1033(1mod8)
5 75627 3^3*2801(1mod8)
7 146691 3^4*1811(3mod8)
9 241083 3^3*8929(1mod8)
11 358803 3^3*97(1mod8)*137(1mod8)
13 499851 3^5*11^2(3mod8)*17(1mod8)
... |
ce84d12b5cc3510fa558c977a03b71447956924a | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH1/EX1.1.13/1_1_13.sce | 90c529311b2a4745f5d50bf08bcc0da5784f997c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | sce | 1_1_13.sce | disp('the augmented matrix is')
a=[1 0 -3 8;2 2 9 7;0 1 5 -2]
disp(a)
disp('R2=R2-2*R1')
a(2,:)=a(2,:)-2*a(1,:)
disp(a)
disp('interchange R2 and R3')
a([2,3],:)=a([3,2],:)
disp(a)
disp('R3=R3-2*R2')
a(3,:)=a(3,:)-2*a(2,:)
disp(a)
disp('R3=(1/5)*R3')
a(3,:)=(1/5)*a(3,:)
disp(a)
disp('R2=R2-5*R3 and R1=R1+... |
2bd1d91d9a30eb6aa89de920d41f552040269595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH9/EX9.17/9_17.sce | c1449b713b4ee509058e400b3fc221b5ef919c45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | sce | 9_17.sce | //9.17
clc;
a='8A3';
disp('The decimal no. is')
x=hex2dec(a);
disp('',x)
|
b293a06d2d449f9842cc0b2fefd189ae57ce7e25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.8/Example78.sce | bf6c198bc37a20bb1efb7539247cd6f34baaa407 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,093 | sce | Example78.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 8")
disp("From Velocity tiangles")
disp("C is velocity in m/s, angles are in degrees")
Ca = 255;//m/s
alpha2 = 60;
Cw2 = ... |
0df5262df4921b9c486df06175f074476daa1e91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.33/ex4_33.sce | 719963848669271c1d17e0379deb9d1462fbad1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 760 | sce | ex4_33.sce | // Exa 4.33
clc;
clear;
close;
// Given data
V_BE = 0;// in V
V_BB = 12;// in V
R_B = 680;// in kohm
R_B = R_B * 10^3;// in ohm
I_B = (V_BB-V_BE)/R_B;// in A
beta_dc = 175;
I_C = beta_dc*I_B;// in A
V_CC = 12;// in V
R_C = 1.5;// in kohm
R_C = R_C * 10^3;// in ohm
V_CE = V_CC - (I_C*R_C);// in V
disp("P... |
4eb37831315b4dcfa2b964c7cf4b9e9d4bab5193 | 12817c122486397fcb765ebb74f61e7d383d8821 | /integralportrapecios.sci | 668c11dd80428aeb087b928f884a5754a7a53b1e | [] | no_license | jluisfgarza/NumericalMethods | d58b0d901e1f64ff0db8939106df2950bb7f1a65 | 6b74a992e6ea891191b8bab79e9c09a149fecba7 | refs/heads/master | 2021-01-10T09:50:44.828082 | 2020-04-20T11:29:30 | 2020-04-20T11:29:30 | 53,004,641 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,406 | sci | integralportrapecios.sci | clear
////////////////////////////////////////////////////////////////////
// Autor:
// Juan Luis Flores Garza A01280767
// Integración por metodo de trapecios y parabolas
//////////////////////////////////////////////////////////////////////
// PARABOLA
function dArea = parabola(iA, iB)
// pide nu... |
8b201350e7e09dbbd3c5511bda69af44ea0a8b26 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_B._Kumar_And_S._B._Jain_135.zip/Electronic_Devices_And_Circuits_B._Kumar_And_S._B._Jain_135/CH5/EX5.16/EX16.sce | e8e8f40f753dd2777af0ba7ef4b152cee9a6cc20 | [] | 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 | 258 | sce | EX16.sce | errcatch(-1,"stop");mode(2);// Example 5.16: Io
,
bta=100;
VBE=0.7; // in volts
// From Fig. 5.30
// Writing KVL for the indicated loop
I_ref=(10-VBE)/10; // in mili-amperes
Io=bta*I_ref/(2*(1+bta)); // in mili-amperes
disp(Io,"Io (mA) =");
exit();
|
7cbfe97fe91079ba75a4f6913927ece32cf4476c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH6/EX6.29/ex6_29.sce | 02d46d969b6e992814e702694fd2df3bced7518a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | ex6_29.sce | // Exa 6.29
clc;
clear;
close;
// Given data
V_SS = 25;// in V
V_GS = 0;// in V
R_S = 18;// in kohm
R_S = R_S * 10^3;// in ohm
I_D = (V_SS-V_GS)/R_S;// in A
disp(I_D*10^3,"The drain current in mA is");
V_DD = 25;// in V
R_D = 7.5;// in kohm
R_D = R_D * 10^3;// in ohm
V_D = V_DD - (I_D*R_D);// in V
disp(V... |
3aff33fa4f8de3e4ccfcba5ea951868f3af3b6fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH6/EX6.6.1/6_6_1.sce | d61d5388442384482c478d1e20c8d989adbd412b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | 6_6_1.sce | disp('To obtain a least sqaure line from the given data')
disp('Placing the x coordinates of the data in second column of matrix X we get:')
x=[1 0;1 1;1 2;1 3]
disp(x,'X=')
disp('Placing the y coordinates in y vector')
y=[1;1;2;2]
disp(y,'y=')
disp('Product of transpose of X and X=')
p1=x'*x
disp(p1)
disp('P... |
93c444651dbdd376582f4ffc6b89d76a6c205b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH13/EX13.4/Ex13_4.sce | 48776b901f6afba797fe2db0accda41222124c6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex13_4.sce | clc//
//
//
//Variable declaration
n1=1.563; //refractive index of core
n2=1.498; //refractive index of cladding
//Calculation
delta=(n1-n2)/n1; //fractional index change
//Result
printf("\n fractional index change is %0.4f ",delta)
|
fdd29636d1af1e805f9bf7ce0e54b26b7bbe9ddf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.13/EX20_13.sce | c91b136e16007cab84d5ecb05b4d9db3fc707ffe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,262 | sce | EX20_13.sce | clc;funcprot(0);//EXAMPLE 20.13
// Initialisation of Variables
nc=1.25;......//Index of compression
ne=1.3;......//Index of expansion
etamech=0.85;.......//Mechanical efficiency
p1=1;.........//Suction pressure in bar
p2=7.5;.......//Delivery pressure in bar
t1=25+273;....//Suction temperature in bar
Vamb=2.2;.... |
4d7161e5f1bd5c7f0fa6dc5d6cae3fb4a4ac9ee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH3/EX3.6/3_6.sce | 191dd3ba7f9a24decc0373079c2a5dd7cb34b63d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | 3_6.sce | clc;
clear;
num=input("Input a number: ")
sum=0;
for i=1:100000
sum=sum+num;
end
disp(sum,"The number summed up 100,000 times is=") |
c10b3afce00ca278eb4417566e76472d2f885d39 | 3a11df70b5f5b856da599098aa46b015099f34e9 | /logic_gates/Or16.tst | 2eee320291c3f20a99d641165f42791acf1fbd61 | [] | no_license | nkyorov/logic-gates-hdl | 7da52af49a0c333e3f755a9ec552746662580cd3 | 1deff96f5a6631ce7c5b7ea2db8a7250f2d37908 | refs/heads/master | 2021-04-27T00:46:58.298377 | 2019-05-25T12:32:09 | 2019-05-25T12:32:09 | 122,660,544 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | tst | Or16.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/01/Or16.tst
load Or16.hdl,
output-file Or16.out,
compare-to Or16.cmp,
output-list x%B1.16.1 y%B1.16.1 out%B1.16.1;
set x %B0000000000000000,
set y %B0000000000000... |
9f8bf263e9e9b561df6242b09e4d0578b7d97627 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/demos/other/button_led_demo.dem.sce | dcd0982d58d9deea9eb8699b39e54dc3fb5e759b | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 462 | sce | button_led_demo.dem.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
global %microdaq;
if (%microdaq.private.mdaq_hwid(1) == 1000) then
messagebox("This demo utilizes DSP core which is not avaliable in E1000 series devices.", "MicroDAQ Demos", ... |
a5a0fb294282f1ed922797a3de0521886de9f5df | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab7/q1.sce | 3ef7dc99dcd874e432eeb5936517df3643cd0dec | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sce | q1.sce | s = poly(0,'s')
G = 1/((s+4)*(s+3)*(s+12));
// part a
scf(0);
G1 = (s+.01)/s*G;
evans(G1, kpure(G1))
zeta = .2
m = sqrt(1-zeta^2)/zeta;
x = -4:.01:0;
os_line_1 = m.*x;
os_line_2 = -1*m.*x;
plot(x,os_line_1,'r');
plot(x,os_line_2,'r'); // k = 660.3
// part b
scf(1);
evans(G1, kpu... |
7368cab645ecbb1fd04f7ab457c6b43b6bf88e1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH8/EX8.6/6.sce | 7eabf993a5732213e1ae7e1031aa6c7ddcfff024 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | 6.sce | //variable declaration
mewe=0.39; //mobility of electrons(m**2/Vs)
mewh=0.19; //mobility of holes(m**2/Vs)
e=1.6*10**-19;
ni=2.4*10**19; //intrinsic concentration(per m**3)
//Calculation
rhoi=1/(ni*e*(mewe+mewh)); //resistivity(ohm m)
//Result
printf('resistivity is %0.3f ohm m ... |
226c3aa2ab32a5ca6582f7ad5e9abeab445acc6e | 734830c483d7180158343b9b5599994878b8b197 | /make-tests/autograder_make01.tst | 74c01527bef8517f173424e9aade148ab6a94807 | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | tst | autograder_make01.tst | java -ea make.Main -f make-tests/autograder_make01.mk -D make-tests/autograder_file01 T1
|
3abe528f27c0c7ebd5ff5e675bb7483ebe93b185 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH9/EX9.6/example_9_6.sce | 849b2624c462912523f60f2720bb2fe378fca0ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | example_9_6.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 9
// Mass Transfer
// Example 9.6
// Page 364
printf("Example 9.6, Page 364 \n \n");
l = 1; // length, [m]
w = 0.25; // width, [m]
T = 293 ; // Temperature, [K]
rho_infinity = 0; // [kg/m^3]
R = 8314; // [J/ kg K]
// From Table... |
226cc438258491cac07d6ee5a1cbb4105c52d3e0 | fd53e4d4cb8520b84e44cf3729508c4b479fac3a | /1547.1/Tests/SS_mid.tst | a57abefe2a98ee668c0a4831eb5608943a349465 | [] | no_license | FREA-ENT/svp_1547.1 | ea1b7feb92671c3f5a3bbb503f39f76cc655fe59 | 728cde3b52bfd65db1eeecb05d62003d25aff9dc | refs/heads/master | 2020-05-23T21:28:02.374723 | 2019-05-07T22:24:02 | 2019-05-07T22:24:02 | 186,955,692 | 0 | 0 | null | 2019-05-16T05:13:03 | 2019-05-16T05:13:03 | null | UTF-8 | Scilab | false | false | 1,317 | tst | SS_mid.tst | <scriptConfig name="SS_mid" script="SA11_ramp_rate">
<params>
<param name="rr.n_r" type="int">1</param>
<param name="eut.rr_up_min" type="float">1.0</param>
<param name="eut.i_low" type="float">1.0</param>
<param name="eut.rr_msa" type="int">5</param>
<param name="eut.t_dwell" type="float">5.0</pa... |
4aed29ce28b9a2076e817ca483a8c406e514f836 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/bartlett/bartlett5.sce | e46e201f159acfa9d80aae241c0d6f1b7c79a6b2 | [] | 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 | 73 | sce | bartlett5.sce | //very large i/p
w=bartlett(3e2);
disp(w);
//output
//matches matlab o/p
|
49b6a45c0b9dfae84d773ca40103ff02ba99ecfd | 18bf68cdf766092ccdcba8d231e8140063833a5a | /SingularTriangularPhaseSpectrum.sce | 066005e8115f4389cb79b36480177e6cde42a7a1 | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | SingularTriangularPhaseSpectrum.sce | clear;
clc;
clf;
dt = 1/100
t1 = 0:dt:1
y1 = t1
t2 = 1+dt:dt:3
y2 = 2-t2
t3 = 3+dt:dt:4
y3 = t3-4
x = zeros(1,1024)
y = [y1 y2 y3 x]
disp(length(y))
t = 0:dt:(length(y)-1)/100
disp(length(t))
subplot(211)
plot(t,y)
N = length(y)
n = 0:N-1
k = 0:N-1
fd = k/N
mag = abs(fft(y))
mag1 = mag/N
subplot(212)
plot2d3(k(1:1... |
94ecc2052fbd6d4cace19a8e7fef56b248a8a9b6 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_0610_ota_iopad/Frequencey_response_0611.sce | 686ec706a1a5f86c065e54c0e2169eda306a7ab4 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,487 | sce | Frequencey_response_0611.sce | // Frequency Response
// Experiment Condition: Input (+- 100mV)
Input_Amplitude= 200; // (mV)
// Gain_OTA 1uA Feedback_OTA 10nA
Freq_resp_1uA_10nA = [
// Freq(Hz) Amplitude (mV)
10E06 44;
5E06 44;
1E06 120;
500E03 196;
100E03 408;
50E03 464;
10E03 204;
5E03 168;
1E03 144;
500 144;
100 140;
];
Freq_resp_10uA_100nA = [... |
7926755a8f6ddc7e5bd00c2956f291a33d981b7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH3/EX3.7/7.sce | 0f48b741cb4dd42586a413b5d45e5fdf4f6dfc2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | 7.sce | clc; funcprot(0);
//Example 3.7 Similar Flows
// Initialisation of variables
c = 3/12; //chord length in feet
V = 100*1.467; // velocity in ft/sec
R = 0.002378;
mu = 0.000000373;
// Calculations
RN = rho*V*c/mu;
//Results
disp(RN , "Reynolds no:");
|
d0f0d0fefa43ba2639b531ee5d5a7324eff2f710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.2/1_2.sce | 992d95c1e210b444229c50c98f63e969d05ca6a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | 1_2.sce | //water//
//page 1.8 example 2//
clc
W1=7.1;//Mg(HCO3)2 in water in mg/L//
W2=8.1;//Ca(HCO3)2 in water in mg/L//
W3=4.2;//MgCO3 in water in mg/L//
W4=10;//CaCO3 in water in mg/L//
W5=24;//MgSO4 in water in mg/L//
M1=100/146;//multiplication factor of Mg(HCO3)2//
M2=100/162;//multiplication factor of Ca(HCO3)2/... |
fe38122e046dca89651601d5f5d08550f041aca9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/macros/sci2for/adderr.sci | ac25fd2ae1574c356dbf90c2bcd5287ee804d8fd | [
"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 | 492 | sci | adderr.sci | //[errn,nwrk]=adderr(nwrk,txt)
//Cette macro ajoute une erreur dont le texte du message est donne dans txt
// dans la table des erreurs possibles et retourne
// errn : le numero associe a cette erreur dans le sous programme fortran
// il faut alors inserer dans le code fortran les lignes suivantes
// if(...... |
b6159b41d6c855f62003a70e539930dbf6f00f0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH13/EX13.10/13_10.sce | 5c877028374cc38ce79fae87d016524f74b46377 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,026 | sce | 13_10.sce | //pathname=get_absolute_file_path('13.10.sce')
//filename=pathname+filesep()+'13.10-data.sci'
//exec(filename)
//Mass flow rate(in kg/s):
m=5/60
//Pressure at which steam is discharged(in bar):
p3=1
//Initial pressure(in bar):
p1=10
//Initial temperature(in K)
T1=200+273
//Adiabatic index of compression:
n=... |
5246951958bdc17098d000d059c44d5386d956fd | ffdc4ec3a1491d15ec095d583f06308f73e8a6ce | /sfml-app.cpp.tst | 1ee1311a82e6244fe77b9da6f6b733886c1e252f | [] | no_license | Narlar1730/SNAKE | dc5f0e80a38934e819c49c36789770ec8e21dfd5 | 1d68ee4d241962b78559831e51f206c420af6205 | refs/heads/main | 2023-06-12T20:33:36.932316 | 2021-06-28T02:28:16 | 2021-06-28T02:28:16 | 380,882,767 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,608 | tst | sfml-app.cpp.tst | #include <SFML/Graphics.hpp>
#include <iostream>
#include "piece.h"
using namespace std;
bool MouseDown = false;
char CurrentSelection = ' ';
//Board Can be optimized, make binary tree maybe?
char Board [784] = {};
void initBoard()
{
for(int i = 0; i < 784; i++)
{
Board[i] = ' ';
}
}
//Function to round ... |
ed0571a6c7d7bcbdb34d2becbc1d1c2e0d71c832 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.14/Example1_14.sce | ed86675b5d9257ec4d01cee002b05789b61f508d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,063 | sce | Example1_14.sce | // Example 1.14
clear; clc; close;
format('v',7);
// Given data
Pout=24;//in KW
P=8;//no. of poles
N=720;//in rpm
VL=415;//in volt
IL=57;//in Ampere
f=50;//in Hz
phase=3;//no. of phase
cosfi=0.707;//power factor
MechLoss=1000;//in watts
Rs=0.1;//in ohm/phase
//Calculations
Ns=120*f/P;//in rpm
S=(N... |
b00f40ee8d1c32f4fcece6c562f5b0a1675b6754 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/mfprintf.man.tst | b76448ca6e5b5108f2f9bdfc92f034e3eb0e5f0f | [
"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 | 583 | tst | mfprintf.man.tst | clear;lines(0);
mprintf('For iteration %i,\tResult is:\nalpha=%f",10,0.535)
t=msprintf('For iteration %i, Result is: alpha=%f",10,0.535)
mprintf('The hexadecimal value of %i is %x',123456,123456)
x=1.23456789;
mprintf('!%f!%15f!%.1f!%#.0f!%.13f!',x,x,x,x,x);
x=-341.234567;
mprintf('!%g!%15g!%.1g!%#.0g!%.13g!',x,x,x,... |
ad2d057c1e87d299633e6743acd030298c762a5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH5/EX5.39/5_39.sce | ff47463832435c2692b6f45d213246f717c50c6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5_39.sce | //ques-5.39
//Determining transport number of Silver ions in Silver nitrate
clc
p=0.80;//Percentage strength of AgNO3 solution
x=0.519;//AgNO3 in anode solution after electrolysis (in g)
m=51;//weight of anode solution (in g)
y=(p/100)*m;//AgNO3 in anode solution before electrolysis (in g)
i=1;//current passes (... |
3efb55e5e42d0d56aeb61c49e1183b88fe3df06b | 6cf80409d4e157ac517d2b8c9ba452ad5b57cd20 | /LAB1-110155777-LEONARDONEVES.o.sce | f045da16217e7b9c20217dcfe178f0fde9b1f905 | [] | no_license | sevenleo/ALA | 76ecf03133d848be8bcd3f0385483b7c1bbcd989 | 955004f43e7ff7112c58bc17ce65ff0ea750d4d1 | refs/heads/master | 2021-01-10T21:22:55.591070 | 2013-11-07T01:06:07 | 2013-11-07T01:06:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,654 | sce | LAB1-110155777-LEONARDONEVES.o.sce | //desenha quadrado
function[] = desenhaQuad(M, u0)
a=get("current_axes")
Xmin=-0.5
Ymin=-0.5
Xmax=0.5
Ymax=0.5
a.data_bounds=[Xmin,Ymin;Xmax,Ymax]
a.isoview="on"
V = [0,1,1,0;0,0,1,1]
U0=[u0',u0',u0',u0']
C=(M*V+U0)/8
//disp(C)
//arestas
xsegs( [C(1,2),C(1,3)... |
6650920ee9c82613cb9644cc68db3c0cc0e59e95 | 44a742973d9db97b35c88d4c28f538a48a3029c8 | /pl/math/test/testcases/directed/acos.tst | 98bf4cb8157690f1ce9ca48a83d01d9c292c5562 | [
"LLVM-exception",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ARM-software/optimized-routines | ac3349617ef6c7119050e1a26f33a040448a5c7b | 4bdee55e42855a884f9da47abfe8c612b8534294 | refs/heads/master | 2023-08-15T11:56:21.269079 | 2023-08-14T12:34:34 | 2023-08-14T12:34:50 | 45,979,634 | 478 | 85 | NOASSERTION | 2023-09-12T08:13:38 | 2015-11-11T12:12:32 | C | UTF-8 | Scilab | false | false | 973 | tst | acos.tst | ; acos.tst
;
; Copyright 2009-2023, Arm Limited.
; SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
func=acos op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
func=acos op1=fff80000.00000001 result=7ff80000.00000001 errno=0
func=acos op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
f... |
550010f75660da9289892c07f0aa81bef14c391e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH8/EX8.2/Ex8_2.sce | 2a1ccd39daddf9b9cc5dbd7a0d8dac4032249736 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,324 | sce | Ex8_2.sce | // Example no 8.2
// To compute transmission bit rate, average and peak signal to quantization noise ratio
// Page no. 424
clc;
clear all;
// Given data
fs=8*10^3; // Sampling frequency in Hz
n=8; // Number of bits per sample
stepsi... |
1cd7593ef1b64b00c1c67ab76c3e09d2debad913 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Germanic/gsw.tst | 7941ef278ac229cc4b2a5269f666f57906425cb2 | [] | 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 | 8,708 | tst | gsw.tst | finde V;IND;SG;2;PRS
finde V;SBJV;SG;2;PRS
finde V;SBJV;PL;1;PRS
finde V;SBJV;SG;1;PRS
finde V;SBJV;PL;3;PRS
finde V;SBJV;SG;3;PRS
finde V;IND;SG;1;PRS
finde V;IND;SG;3;PRS
finde V;IND;PL;1;PRS
finde V;IND;PL;2;PRS
finde V;IND;PL;3;PRS
finde V;SBJV;PL;2;PRS
poschte V;SBJV;PL;2;PRS
poschte V;IND;SG;3;PRS
poschte V;SBJV;... |
cad5bcbcd82d03a197addf05fe0b0c7e2ddb2e78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH9/EX9.08/9_08.sce | 54e4c9eca141f4c691330a3ca53051997a2f5eef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 915 | sce | 9_08.sce | //Optimum cruise speed//
pathname=get_absolute_file_path('9.08.sce')
filename=pathname+filesep()+'9.08-data.sci'
exec(filename)
//Plotting velocity with drag force
V=175:25:455;
[m n]=size(V);
for i=1:n
CL(i)=2*W/p*(3600/V(i)/5280)^2/A;
Cd(i)=Cd0+CL(i)^2/%pi/ar;
Fd(i)=Cd(i)/CL(i)*W;
FD(i)=Fd(i)/100... |
f89b9fcffedf37a98c85ad4a4cf1961b6ca71f4f | a1161d9e9d26e0a7b20c31269be145f13d9d3e89 | /QA/tests/na_k/nak_ti.tst | fd963898af93ecc19beabfe7dcdbac2f32b67f8a | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | nwchemgit/nwchem | c06e7e1fe11b3afad17b167f29a97c4fa3ad0fda | c5a8125298a6ea7d6eb27b07c196ea8041aa7198 | refs/heads/master | 2023-09-05T17:18:34.513866 | 2023-09-02T02:56:47 | 2023-09-02T02:56:47 | 111,318,191 | 425 | 164 | NOASSERTION | 2023-09-11T16:34:14 | 2017-11-19T17:48:21 | Fortran | UTF-8 | Scilab | false | false | 630 | tst | nak_ti.tst | Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Iteration = 0
Energy = 0.000E+00
Itera... |
87eb470c047959e405c2c0c264ecaa13cddd8ae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH7/EX7.10/Example710.sce | 06008189f2fa33abce4485794f424bcf4d9897eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,028 | sce | Example710.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 7, Example 10")
disp("For no loss up to throat Ps in bars")
P01 = 4;//bar
gam = 1.33;
Ps = P01*(2/(gam+1))^(gam/(gam-1))
T01 = 1100;... |
6ae99fb7af41bae3699ea55b8877a12ae00ebc32 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.1_8.tst | f0d2ef9c4e356aae6e5f65fdeca89b85dc27a417 | [] | 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 | 27,476 | tst | bow.1_8.tst | 1 12:0.011494252873563218 13:0.2 27:0.09090909090909091 36:0.08333333333333333 41:0.375 50:1.0 58:0.16666666666666666 67:1.5 70:0.18181818181818182 82:0.1 85:0.14285714285714285 98:0.3333333333333333 109:0.5 113:1.0 176:0.5 197:0.2 230:2.0 341:1.0 381:1.0 405:1.0 438:1.0 473:0.5 497:1.0 500:1.0 506:1.0 522:0.2 535:1.0 ... |
2ce4794516c748d15c4e49fb49dc71e7d84b9049 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH1/EX1.4/Example1_4.sce | 416b5ad61605035663ff0a5babf51627ee6edf39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | Example1_4.sce | //Given that
height = 1.70 //in meter
elapsed_time = 11.1 //in sec
//Sample Problem 1-4
printf("**Sample Problem 1-4**\n")
//the angle between the two radius is
theta = elapsed_time / (24 * 3600) * %pi*2 //in radians
//we also have d^2 = 2 * r *h
//as d is very small hence can be considered as a arc
//d =... |
28640b4d6c76556d8c8ad251602a1beb92b0683a | 8baa4268cc19995abb706bcc05c80afb319e1669 | /test/delete.tst | 3df98838a1c9f1569e9768d3158fb9884835a03c | [] | no_license | nicoloison/CPSC471-Project | 53c3362e0251f3c37edf0ab9769277d15670dc21 | db0db7d7be776d6d6958d920596bc708d3347e82 | refs/heads/master | 2020-04-18T13:42:30.599190 | 2014-12-26T10:58:19 | 2014-12-26T10:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | tst | delete.tst | curl localhost/recipes/delete.php
curl "localhost/recipes/delete.php?recipe_name=ribs"
curl "localhost/recipes/delete.php?recipe_name=ribs&author_name=adjuric" |
4acb039fabe9c60595cae3596c58e39839d4a9df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH5/EX5.8/Ex5_8.sce | 1bcc67c67a195de40ef9cecae418b2e284a7f66b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | Ex5_8.sce | //chapter 5 example 8
//=============================================================================
clc;
clear;
// Given Data
R = 10; // circumference to pitch ratio
e = 1.6*10^-19; // charge of electron
m = 9.1*10^-31; // mass of electron in Kg
c = 3*10^8; // vel. ... |
7801dfb3d4c174afa01a689e2117181d6b585fcb | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testsparse.sce | 07b46df7d5cce24924e2d27022c561b15960f594 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | testsparse.sce | A=eye(5,5) //identity matrix
typeof(A) //constant type
A=sparse(A) //converts A into a sparse matrix
typeof(A) // sparse type
A(3,2)=1 // sparse matrix value assignment
full(A) //convert back to a "regular" matrix
sprand(5,5,0.2) //"random" sparse matrix
|
6d0ff92780ea6351508f36a25c855bfa057fcc07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH6/EX6.6/Example6_6.sce | 3da951ecab7df083692ace136e1e479a956b68b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Example6_6.sce | //chapter-6,Example6_6,pg 494
Vp=0.1*10^3//deflection plate voltage
e=1.6*10^-19//charge of electron
l=1*10^-2//axial length of plates
del1=1*10^-3//output in mm
m=9.1*10^-31//mass of electron
D=0.22*10^-2//distance between centre of plates and screen
t=0.1*10^-6//time of flight
del=((Vp*e*l*D)/... |
0785aa5eaec50c2fb11b9fe1022a50187c1238be | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Engineering_Thermodynamics_S._S._Khandare_2144.zip/Engineering_Thermodynamics_S._S._Khandare_2144/CH2/EX2.13/exa_2_13.sce | 27ce00a2e271a31e44ad6f6d14f439268a808462 | [] | 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 | 225 | sce | exa_2_13.sce | errcatch(-1,"stop");mode(2);// Example 2.13
;
;
// Given data
Q= 120;// in kJ
W= 150;// in kJ
E= Q-W;// change in internal energy in kJ
disp(abs(E),"The internal energy of the system decreases by (in kJ)")
exit();
|
6a40b9b1d274bf6bf3cf6dfdae0f2fa11bc569f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH4/EX4.3.b/ch4ex3b.sce | 52f7301c7576cd825db4fc7168ab37d57b86ec94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | ch4ex3b.sce | //example 4.3
//(b) X(S) = (2*s^2+5)/s^2-3*s+2 Re(s)>-1
s =%s ;
syms t ;
[A]=pfss((2*s^2+5)/((s^2-3*s+2))); //partial fraction of F(s)
F1 = ilaplace(A(1),s,t)
F2 = ilaplace(A(2),s,t)
//F3 = ilaplace(A(3),s,t)
F = F1+F2;
disp(F,"f(t)=") |
2d03762287ebd5ff3711e4789758d6ccd3b41c91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.15/Ex15_15.sce | ae0c135a88b69a98534589096a03caadae2267fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex15_15.sce | //Finding resistance
//Example 15.15(pg. 401)
clc
clear
lab=10//la=10*lb ratio of length of A to length of B.
Aab=1/2//Aa=1/2*Ab ratio of area of A to area of B
RHOab=1/2//RHOa=2*RHOb ratio of resistivity of A to resistivity of B
Ra=2//resistance of A in ohm
Rb=(Ra*Aab)/(lab*RHOab)//resistance of B in ohm
//Si... |
e42df8b33b111101ac8761c36a49df6f6ae163de | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.15/Ex10_17_15.sce | 6f04be0cb469785ae4e67975576bba2a331937ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex10_17_15.sce | //Section-10,Example-1,Page no.-CT.50
//To calculate change in enthalpy(dl_H) for the process.
clc;
dl_G1=-86 //dl_G at 298K
dl_G2=-84 //dl_G at 308K
T_2=308
T_1=298
T=303
P=(dl_G2-dl_G1)/(T_2-T_1) //P=(dl_G/dl_T) in kJK^-1
dl_G3=(dl_G1-dl_G2)/2
dl_G=-85
dl_H=dl_G-(T*P)
di... |
71da173473adde56a2390838a6f29462beeaef9c | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH9/EX9.17/EX9_17.sce | 1b77c850225732b365c49b3baac7387547c1663a | [] | 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 | 413 | sce | EX9_17.sce | clc;funcprot(0);//Example 9.17
//Initilisation of Variables
N1=3;..//Number of shields in first scenario
N2=2;..//Number of shields in second scenario
//calculations
Q3byQ0=1/(N1+1)
Pr1=1-(Q3byQ0)
Q2byQ0=1/(N2+1)
Pr2=1-(Q2byQ0)
disp(Pr1*100,"Percentage reduction in heat transfer rate when Number of shields is ... |
efed1a012754e4c507a7896f379ca99a3c8979e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH3/EX3.27/ex3_27.sce | 1eb0cd78f5ce0a3053f2ed09a70eac24dcd79624 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | ex3_27.sce | clc;
s=12; //sum of squares
hv=sqrt(s); //heating voltage =sum of square roots
disp(hv,"Heating voltage in volts = "); //displaying result
disp(s/10,"Power dissipated in Watt = "); //displaying result
|
8d7a03be20d9b8c463a7954db7bee8954b42ae16 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787.zip/Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787/CH6/EX6.5/Exa6_5.sce | b34edcc28ffcc99b425e1536c59324f59b29f4e7 | [] | 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 | 184 | sce | Exa6_5.sce | errcatch(-1,"stop");mode(2);//Exa 6.5
;
;
//given data
delVEB=200;//in Volts
delIE=5;//in mA
rin=delVEB/delIE;//in ohm
disp(rin,"Dynamic input resistance in ohm : ");
exit();
|
ae81fb57e0eec3c85e003cb413530adbc3ab5136 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.2.ii/Ex4_2ii.sce | 03b44d0648bfc5364d5a439e205c6476e10fcc6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex4_2ii.sce | //Caption: Transmission Bandwidth
//Example 4.2.ii
//page no 167
//find The transmission Bandwidth
clc;
clear;
//Given data
bandwidth=4.2*10^6;
fm=bandwidth;
q=512// Quantization levels
v=9;
bw=v*fm;
disp(bw*10^-6,"The transmission Bandwidth is ");
disp("MHz");
|
ee35b5d713897b702cb4c7a8a6191fae8f6336a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH1/EX1.7/1_7.sce | bcba13a1940f977eb2c0d218191dffd4d52e8ccf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | 1_7.sce | v_stall_mph = 100; //stalling speed in miles per hour
rho = 0.002377; //aimbient air density in slugs per cubic feet
W = 15900; //weight of the airplane in lbs
S = 342.6; //wing planform area in sq.ft
//Calculations
v_stall_fps = v_stall_mph*(88/60); //converting stalling speed in feet per second
//The maximu... |
8937be5debec8bb8632bbf9dcf0d9214df9bc948 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH23/EX23.9/Example9.sce | 412f71a70b64e41ac6954a665d61f4d09e09ee7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,525 | sce | Example9.sce | clear
flag=1
mode(-1)
clc
printf("Example 9 : Show the method of using lstatcall and struct stat to display file attributes\n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs are part of systems... |
1dc2e240260fea63d42f24f138de339b52ae1be8 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/mpc/mpc.sci | fbf7d8452a2dfcb877c68c7ab5c09e35242f56dc | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 971 | sci | mpc.sci | function [y,stop] = mpc(Tsp,fan)
global fdfh fdt fncr fncw m err_count stop p q xk_old heat
fncr = 'scilabread.sce';
fncw = 'scilabwrite.sce';
a = mgetl(fdt,1);
b = evstr(a);
byte = mtell(fdt);
mseek(byte,fdt,'set');
if a~= []
temps = b(1,4); heats = b(1,2);
fans = b(1,3); y = t... |
46b2ea4d02c0157c89ddbe4350566a1ff2d4fc2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH9/EX9.5/9_5.sce | 82ca6ae7a80e074fa96193d6fa329f242d69c5f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | 9_5.sce | clc
clear
//Initialization of variables
kp=74
//calculations
f=poly(0,"f")
vec=roots(f^2 *(100-6*f) - kp^2 *(1-f)^2 *(9-6*f))
fn=vec(3)
//results
printf("Fractional conversion = %.3f",fn)
|
d9d8c341056fc9bac4de78d360d1a641553617ad | 8d3abe46ed6df330bf41e007d83d7cd513990771 | /Courbes.sci | e3bdc12f7ff1b3935a5fa23ae8e6104e7acf0bb6 | [] | no_license | Tim3128/Projet_Maths_Fi | f3ab9ef119effa1611c9d6338ffd5b2fd59fc9e2 | 8c94ca0135c05e15b573b7ec9d29f91fbfa4035d | refs/heads/master | 2021-01-19T22:54:48.327826 | 2017-06-06T13:44:35 | 2017-06-06T13:44:35 | 88,890,935 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,101 | sci | Courbes.sci | exec("Prix_actifs.sci",-1)
exec("Couverture.sci",-1)
exec("Evolution_portefeuille.sci",-1)
function prime_2D()
S1=[0:100]
S2=50
for i=S1+1
V(i)=F(0,S1(i),S2)
S(i)=max(0,S1(i)-S2)
end
plot2d(S1,[S,V],[5,15])
plot2d(S1,S1,11)
xlabel("$S_0^1$")
legends(["$(S_0^1-S_0^2)_+$",... |
b2ecdd0d04e2aa8cc0de0536411be55b9402a52e | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/BCK/Scripts/Test/test_isosurface.SCI | a4f73305cb508abc4de035aaf1dd9d658ed1bdb6 | [
"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 | 1,103 | sci | test_isosurface.SCI |
codeblock readtextfile(ScriptDir+"\TOOLS.sci");
#fnc=functor("0.5*x*x+0.3*y*y-0.6*z*z+1","x","y","z");
fnc=PolynomialFunctor("x","y","z");
fnc.AddPolynomialComponent(0.5,2,0,0);
fnc.AddPolynomialComponent(0.3,0,2,0);
fnc.AddPolynomialComponent(-0.6,0,0,2);
fnc.AddPolynomialComponent(-0.5,0,0,0);
fnc.AddPolynomialC... |
666727fb68392ebe44382a23cc9d8b9b1a79b8b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.29/Example39_29.sce | 520026cbae33f6b7a7a7b949eae4d2cee59ae519 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 946 | sce | Example39_29.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.29 :
// Page number 710
clear ; clc ; close ; // Clear the work ... |
3a8ec7f18acf1f7873bb9f59c13473cbffac1bbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH15/EX15.5/Ex15_5.sce | 21e76a53cca0543c646db6f9ae3e5927f3772237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,550 | sce | Ex15_5.sce | // Initilization of variables
v=10 // m/s // speed of the car
r=200 // m // radius of the road
t=15 // seconds
// Calculations
omega=(v/r) // radian/seconds // angular velocity of the car
// Velocity in x & y direction is given by eq'n
v_x=omega*r*sind(omega*(180/%pi)*t) // m/s // value of v_x is -ve but we cons... |
d86f8af2125b8419e573aa8b836d9231acb074cf | 599f0a0e4ce3b87cc146adbf7d6d77955208d020 | /RCA/RCA4Bit.tst | 61805928ea061649e5e5ab52a6f6595c74e63bc1 | [] | no_license | rachit173/System-Design | 92c80fe16da8cddfcb8297e7939c6487d8e3e0c5 | d084aabf33fb9b1dcacaf4ac21a312493a1ef7f3 | refs/heads/master | 2021-08-31T15:08:35.064961 | 2017-12-21T20:51:47 | 2017-12-21T20:51:47 | 115,045,974 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | tst | RCA4Bit.tst | load RCA4Bit.hdl,
output-file RCA4Bit.out,
compare-to RCA4Bit.cmp,
output-list a%B1.4.1 b%B1.4.1 s%B1.4.1 carryout%B5.1.5;
set carryin %B0;
set a %B0000,
set b %B0000,
eval,
output;
set a %B0000,
set b %B1111,
eval,
output;
set a %B1111,
set b %B1111,
eval,
output;
set a %B1010,
set b %B0101,
eval,
output;
set a ... |
2dab5a185b4cb7166667da46ecf0b3eebf930290 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.26/ch1_ex_26.sce | 18b2768c4604e67e7bef8f2f01e14ec2a32f54d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | ch1_ex_26.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 26
disp("CHAPTER 1");
disp("EXAMPLE 26");
//VARIABLE INITIALIZATION
I1=5; //current source in Amperes
v2=100; //voltage source in Volts
r1=20; //in Ohms
r2=10; ... |
3f10a4ba75928848d0bf8dbb1c0fa082c0fd6eac | 6a33d438f31db2317186f313f957132d973fadcd | /meg_prosody.sce | baba257f267d3d6b2ae55281ce31073bd5ff67a6 | [] | no_license | ctmdev/presentationMegProsody | 9d7c0eab771e5a6331407304a3d1463bfad500b0 | f778555317c35fbf77a183e34c755351375ac77b | refs/heads/master | 2021-01-01T16:55:46.429810 | 2013-01-18T12:32:00 | 2013-01-18T12:32:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,462 | sce | meg_prosody.sce | #active_buttons = 1;
#button_codes = 3;
#target_button_codes =3;
randomize_trials = false;
#Set default_attenuation and default_pan levels to same as Clicks3ms
default_attenuation = 0.2;
default_pan = 0.0;
write_Codes = true;
pulse_width = 10;
begin;
array {
sound { wavefile { filename = "C:\\Users\\Presentation Us... |
c92231725d0d54be4fde69211cc561c9e2cbe1c5 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testuicontrolbis.sce | fa16fd32340d023ae55a54af37e93086481ce1ec | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,831 | sce | testuicontrolbis.sce | hfig = figure(...
'Tag', 'myfigure', ...
'BackgroundColor', name2rgb("lightblue")/255, ...
'Figure_name', 'My Figure', ...
'Position', [20 20 300 250]);
hobj1 = uicontrol(hfig, ...
'Style', 'text', ...
'Tag', 'val1', ...
'String', 'a text', ...
'HorizontalAlignment', 'left', ...
'FontAngle', 'italic'... |
9b69028d41c3792d68750428717a0f4bc66bda7d | fe42802d7bd704d330c1618c1ed2b14b4678fb1e | /ImageProcessing/lib.sci | 6838c12924e2718199187af1d7787cd5370a682b | [
"MIT"
] | permissive | douglasCardinot/iniciacao | c0e7f4952b3532f67cbf185dc40b363e112e47a1 | a711a845d8790ad7099224a5e414f3190a56bb88 | refs/heads/master | 2020-07-02T05:07:37.534416 | 2014-10-17T19:30:55 | 2014-10-17T19:30:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,888 | sci | lib.sci | function logicalImage = toLogicalImage(foto)
stacksize('max');
imgPath = "img/";
RGB = ReadImage(path+imgPath+foto);
image = RGB2Gray(RGB);
clear("RGB");
invertedImage = uint8(255 * ones(size(image, 1), size(image, 2))) - image;
clear("image");
logicalImage = SegmentByThreshold(invertedI... |
9ced39e3c3bff85f16c694bb26993bdf519c9d7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH2/EX2.11/EX2_11.sce | 79c4551affb39bbc55f693c334989faf3b2794f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX2_11.sce | // difference between pressure inlet and throat of the venturimeter
// ex 2.11 pgno.48
clc
a2=0.06 // diameter of the throat
a1=0.1 // diameter of the pipe
p=0.85*1000 // kerosene fo sp. gravity
q=0.05 // flow rate
a=a2/a1
a3=1-a**4
P=(q*q*p*a3)/(2*((3.14/4)*a2*a2)^2) // presssure
mprintf('P1-P2 = %e Pa',P)... |
29f8422c78335fd6a93537f465894696482fab8c | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.7_20.tst | 9b01157ae64ee8c451e48d2ab7b745bc09601e12 | [] | 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 | 25,864 | tst | bow.7_20.tst | 7 4:0.08333333333333333 12:0.5 13:0.16666666666666666 18:0.6666666666666666 22:0.5 26:1.0 27:1.0 30:0.5 32:0.25 44:1.0 49:0.18181818181818182 52:1.0 65:0.2 66:1.0 78:0.5 86:1.0 143:0.5 145:1.0 198:1.0 241:1.0 242:0.037037037037037035 249:0.2222222222222222 260:1.0 286:2.0 296:0.2857142857142857 679:1.0 686:1.0 1145:1.0... |
42f8b2541b21eb210a42fbc4e87ae7dc7925f0f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH9/EX9.4/Example_9_4.sce | f4c5b9e17d0e97230c0e95501575a55ad2c17b6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | Example_9_4.sce | // Chapter9
// Page.No-398
// Example_9_4
// Second order butterworth lowpass filter
// Given
clear;clc;
f1=500; // Cut-off freq in Hz
Holp=-2; // Passband gain
R1=10*10^3; // Assumption
R2=-R1*Holp; // Using Holp=-R2/R1;
printf("\n Resistance R2 is = %.1f ohm \n",R2) // Result
Q=0.707; // Figure of merit Q ... |
93aac0162f3bc0bb3ac36053d079f89871ab8364 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH7/EX7.4/Ex7_4.sce | 90bd4878e623bc08decee72e35d87ff16b97e02d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | Ex7_4.sce | //determine the mean speed of turbine
// ex 7.4 pgno.174
clc
p=60e6 // power
h=40// meter
no=0.85 // overall efficiency
x=0.5 // flow ratio
g=9.8
Ku=1.6 // speed ratio
Q=p/(9800*no*h) // flow in kaplan turbine
mprintf('\n Q = %d m3/s',Q)
Vf=x*sqrt(2*g*h) // velocity of flow
mprintf('\n Vf = %d m/s',Vf)
... |
cf29daf1af436f5fc6421e88156f1e45f28f5d8b | 63caf364e3cd490a11bed6793a45f6f1eab8508e | /src/VMTranslator/fixtures/FunctionCalls/DoubleCall/DoubleCallVME.tst | 5f444d2942ab12c01266f0f85fdea2d287746a5f | [
"MIT"
] | permissive | tuzmusic/HackManager | ddb07e7553555146f5f84badd9e819614377d5b7 | 5c47e5541cb7372315355d9799f04fc0235a549d | refs/heads/main | 2023-04-24T07:31:49.115985 | 2021-05-17T15:27:46 | 2021-05-17T15:27:46 | 332,580,583 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | tst | DoubleCallVME.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/08/FunctionCalls/DoubleCall/DoubleCallVME.tst
load, // Load all the VM files from the current directory
output-file DoubleCall.out,
//compare-to DoubleCall.cmp,
o... |
45b76034c67811a7c3848157761fb06ced0eaf35 | 3073307fa4b6da9371518f0718c199501b8c5c71 | /rungeKutta4.sci | 10a4830020c47aca4d251fad527ba697956ecc4e | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 618 | sci | rungeKutta4.sci | //Realiza el método de Runge Kutta de orden 4 para aproximar la solución
// de una ecuación diferencial ordinaria.
// a,b : Extremos del intervalo
// N: número de puntos
// y0: condición inicial
function [w] = rungeKutta4(a,b,N,y0)
h = (b-a)/N;
t = a;
w = zeros(N+1,1);
w(1) = y0;
for i=2:(N+1)
... |
90bd8d2203a39a0669d707cce283936b547771f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH10/EX10.15/Ex10_15.sce | f1e755894c866f774fab521b7408ce34c3d64a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_15.sce |
clc
clear
//Input data
x=1/5//Scale model
h=1.5//Head in m
P=5//Power in kW
N=450//Speed in rpm
h1=30//Head in m
//Calculations
N1=(x*N)/sqrt(h/h1)//Speed in rpm
Ns=(N*sqrt(P))/h^(5/4)//Specific speed
P1=((Ns*h1^(5/4))/N1)^2//Power in kW
//Output
printf('Speed is %3.0f rpm \n Power is %3.0f kW',N1,P1)... |
beb7242080923e59ee588ad9f5581d3832cb4d49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH11/EX11.11/11.sce | 62d5a62f297b90a86e748e0c945454a83e178686 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sce | 11.sce | clc
clear
//INPUT DATA
l=1*10^-3//length of rectangular plane sheet of doped silicon in m
b=1*10^-3//breadth of semi rectangular plane sheet of doped silicon in m
t=0.5*10^-3//thickness of rectangular plane sheet of doped silicon in m
RH=1.25*10^-3//Hall coefficient of the materialin m^3 C^-1
I=1*10^-3//current ... |
902dfec19c9265cd06833e65659933bcf0c13459 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test1-6.tst | 3e7f6cf1e4674ff498a52c08fbdcb65504445d23 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | tst | test1-6.tst | main
var a;
{
let a <- 22;
while a > 0 do
call outputnum(a);
call outputnewline();
let a <- a - 1
od
}. |
fd5e1070ec08ff46de91e3c56293d87339d8ad9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.15/ch6_15.sce | 34cbdc2578f6e1667d252a0655c4b04755e5e3a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | ch6_15.sce | clear;
clc;
V=400;
V_ml=sqrt(2)*V;
v_T=1.4;
disp("for firing angle = 30deg");
a=30;
V_o=3*V_ml/(2*%pi)*cosd(a)-v_T; printf("avg output voltage=%.3f V",V_o);
disp("for firing angle = 60deg");
a=60;
V_o=3*V_ml/(2*%pi)*cosd(a)-v_T; printf("avg output voltage=%.2f V",V_o);
I_o=36;
I_TA=I_o/3; printf(... |
2caa45a0a1fcd1ddd021a3e90bb4714f212ab79e | 30b70ac9ee3b0b45089d331e5ed941bff7180df3 | /OptimisationDeterministeTD3.sce | c56487ae36e9c24c02e03ca2ba25c27e5b80981c | [] | no_license | AdrienKamdem/Gradient-descent-optimisation-algorthms | fe890f72cf6e6f048735b3acf2a30adcb961ec2c | 57ec5635f0031a849bdac69b9e1de224721f95d5 | refs/heads/main | 2023-08-03T20:30:39.275246 | 2021-09-30T16:48:42 | 2021-09-30T16:48:42 | 412,139,994 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,267 | sce | OptimisationDeterministeTD3.sce | //////////////////// Adrien Kamdem ING2 GMI2 ///////////////////////
/////////////////////////////////////////EXO3
// qts1
function POFQ = PasOptimalFonctionQuadr(A,b,x0,itermax,epsilon)
// initialisations
k=0;
dk = -(A*x0+b)
pk = (norm(dk)^2)/(dk'*A*dk)
xk = x0
xk1 = xk + pk*... |
dde1cf018dd96a179cbeb6308233a92f9d7dcd2b | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/prbs_analysis/optimize.sce | fb4ecc13c718bba60aac985608ff0a137577059b | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 1,234 | sce | optimize.sce | mode(0);
filename = "30Apr2014_12_30_50.txt";
clf
exec('costfunction.sci');
exec('label.sci');
exec('second_order.sci');
data = fscanfMat(filename);
time = data(:, 5);
heater = int(data(:, 2));
fan = int(data(:, 3));
temp = data(:, 4);
ss_op_pt = heater(2);
for i=2:length(heater)
if heater(i) ~= ss... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.