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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c0bc3de77f005bfeee1438e41a902185bef9b3c4 | a27117f570df5615cbad07adf0e508ac092b0f9d | /prob2.sce | 981611161cbe8aa22e8665b5b91ab5b44afd97b6 | [] | no_license | SammithSB/Scilab-Assignment | e8243b5092c0689f52c034818b349327bcfd3f33 | 99345a4f72a33990147318d963ff81b966c7944d | refs/heads/main | 2023-04-08T11:44:56.996159 | 2021-04-23T12:16:33 | 2021-04-23T12:16:33 | 360,826,533 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | prob2.sce | //Find the triangular factors L and U for the matrix A = [1,2,4;0.5,6,3;0.2,-2,9]
clc;clear;
A=[1,2,4;0.5,6,3;0.2,-2,9];
U=A;
disp(A,'The given matrix is A=')
m = det(U(1,1));
n = det(U(2,1));
a=n/m;
U(2,:) = U(2,:) - U(1,:)/(m/n);
n = det(U(3,1));
b= n/m;
U(3,:) = U(3,:) - U(1,:)/(m/n);
m = det(U(2,2));
n... |
47ed90ba28c313ebea2102da17829206d0c3b544 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/8_2_data.sci | 4ef1226b874215332e582b62cc86704d19d9c942 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sci | 8_2_data.sci | //Bore of the engine(in cm)
D=10;
//Length of stroke for square engine(in cm)
L=10;
//Number of cylinders
k=4;
//Volumetric effciency
nv=0.75;
//Speed(in rev/s)
N=40;
//Density of air
Pa=1.15;
//Coefficient of air flow
Cd=0.75;
//Area of orifice(in m^2)
A2=0.25*%pi*0.03^2; |
d1904e19af471128ffddd0e0341200ea9d3b3ceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH13/EX13.1/Ex13_1.sce | 897bdfbaf15f3a3428a3090984d78dab0504fa41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex13_1.sce | //Chapter 13 : Thin Film Preparation Techniques and their Applications
clear;
//Variable declaration
delV1=2*10**-3 //milivolts to volts
delI1=4*10**-6 //microAmpere to Ampere
//Calculations
Rs=delV1/delI1
//Result
mprintf("Series Resistance = %d V/m",Rs)
|
01d088c6829d4cd71031be3a95934dffb1a53ea5 | a3821dccf6d2cf3720781d6ed6b66c49e03cdab4 | /Source/WebContent/TypeScript/Api/Enum.tst | eee038cc75f782a338350b794f4603f9fa41bbd4 | [] | no_license | backlof/Imglib | 9cfb1047b766f9e05f69f3b32eea1c4e463187f0 | f7d16e0be0e286dde7cb62a6576f73015cbba397 | refs/heads/master | 2021-05-07T06:58:05.503869 | 2018-02-07T12:48:29 | 2018-02-07T12:48:29 | 111,833,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | tst | Enum.tst | ${
using Typewriter.Extensions.Types;
Template(Settings settings)
{
settings.IncludeProject("Host");
settings.OutputFilenameFactory = (file) => {
return file.Name.Replace(".cs", ".ts");
};
}
}namespace Api {$Enums(x => x.Namespace == "Imglib.Host.Controller.Model")[
export enum $Name {$Values[
$Name ... |
7dd7f96701d7e90c3e3aea874b91757be6d2ae73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.25/25.sce | 0436bc31f38feff4e140f00f1f5a9aa4cdfffafa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | 25.sce | clc
// Given that
lambda = 5893 // mean wavelength in angstrom
n = 2 // order
N = 5000 // Grating lines per cm
theta = 2.5 // Separation in second
// Sample Problem 25 on page no. 166
printf("\n # PROBLEM 25 # \n")
d_theta = %pi/180*theta/60 // Angle in radian
d_lambda = d_theta*sqrt((1/(n*N)^2)-(lambda*1e-... |
07fe9872c8f14a70134bb9fd39788cc3a56a1679 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.27/ex3_27.sce | 27b86e778e2247e2b3c65a296e8d7aeaa9f31bec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,365 | sce | ex3_27.sce | //Caption:In a single phase transformer Calculate (a)The efficiency at full load, unity power factor. (b)The efficiency at full load, 0.8 lagging power factor. (c)The efficiency at full load, 0.8 leading power factor.
//Exam:3.27
clc;
clear;
close;
P_f1=1;//power factor unity
P_f2=0.8;//power factor 0.8 lagging o... |
5275e346803dc42e06356a5f6368c4a92bdc2acb | b39dfe4655bc09a15e7cf35b887e89ef12f4c8e5 | /Atividade 5/PME3402_Grupo13_Atividade5.sce | 31b28284e647712ead48159a3e55af8cfc7c86d8 | [] | no_license | vitoramr/PME3402-Laboratorio-de-Medicao-e-Controle-Discreto | 6a57131edff44859fb5c2c1c5b0dea0cc37735da | 8228b3ae442a3bb64208c924afc0daf418abe3c2 | refs/heads/master | 2023-01-09T23:08:48.007029 | 2020-11-19T22:43:27 | 2020-11-19T22:43:27 | 288,795,340 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,020 | sce | PME3402_Grupo13_Atividade5.sce | /*
=============================================================================
Escola Politécnica da USP
PME3402 - Laboratório de Medição e Controle Discreto
--------------------------------------------------------------
ATIVIDADE 5 - CONTRO... |
cf97f095a52cb1680c24b6a08c5ac3979dc1682d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH7/EX7.1/Ex7_1.sce | 98d6372dbd80a536c3dcef9f6f07899fea2ae760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | Ex7_1.sce | clear
//
//
//Initilization of Variables
sigma1=30 //N/mm**2 //Stress in tension
d=20 //mm //Diameter
sigma2=90 //N/mm**2 //Max compressive stress
sigma3=25 //N/mm**2
//Calculations
//In TEnsion
//Corresponding stress in shear
P=sigma1*2**-1 //N/mm**2
//Tensile force
F=%pi*4**-1*d**2*sigma1
//In Compression
//... |
947a82df72af706edda6414f2d885bb4efec4f25 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /unloader.sce | 2e1dd1cd0fada750d43bdd867f8bcdd0f58f641d | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | unloader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce: Please, do not edit this file
try
getversion("scilab");
catch
error("Scilab 5.4 or more is required.");
end;
fileQuit = get_absolute_file_path("unloader.sce") + "etc\" + "arduino.quit";
if isfile(fileQui... |
f8539a9fc0cc7eac7ba6cb6e73b011be3b002ea0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH5/EX5.20/Ex5_20.sce | c7d7f8f75ca819bb1cb9076855ecfc8ad09728bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex5_20.sce | //===========================================================================
//chapter 5 example 20
clc;
clear all;
//variable declaration
L = 170; //length of the wire in mm
dL = 0.2; //increase in length in mm
L1 =100; //length of the second wire in mm
//calculations
S = sqrt(... |
fe37292831e444bafb0301b96d80e7fe62fa9f00 | 16f807178d75bf8f92b14bf909e62d286193cc13 | /edsonjParametersmodif.sce | cba98d5eebefcd6f32060abd321c352a3227c1ec | [] | no_license | renzo-source/LABORATORIO-03-Linealizaci-n-num-rica-del-sistema-MoDiCA-X | 11440801c8552f7f613fca0b05be21a8b6ccbab4 | d6a990da1a41b86f726620c28c1af1da5d50c0d7 | refs/heads/master | 2022-12-04T17:48:33.145635 | 2020-08-16T04:13:16 | 2020-08-16T04:13:16 | 279,112,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | edsonjParametersmodif.sce | //Parameters model of pendulum
M=0.696 //Masa del carro (Kg)
m=0.017 //masa del pendulo (Kg)
l=0.3 //longitud de la barra (m)
g=9.8 //aceleracion gravitacional (m/s2)
b=0.001 //coeficiente de friccion (Ns/m)
I=0.0011 //Inercia del pendulo (Kgm2)
|
a5ec4be8584c4c24bc4487262ffc0140ae61cd69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH4/EX4.4/Example4_4.sce | 02619fc0fca9e3242af8f3f9c064b293bce9cfbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 932 | sce | Example4_4.sce | //clear//
//Example 4.4
// Continuous Time Fourier Transform
//and Frequency Response of a Square Waveform
// x(t)= A, from -T1 to T1
clear;
clc;
close;
// CTS Signal
A =1; //Amplitude
Dt = 0.005;
T1 = 4; //Time in seconds
t = -T1/2:Dt:T1/2;
for i = 1:length(t)
xt(i) = A;
end
//
// Continuous-tim... |
9d32cd4ffdbdcdf885f886918f7efeac804cd8ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH3/EX3.2/Exa3_2.sce | 63f42a520ce4291bb46b9ac987e7b5b71f92b607 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Exa3_2.sce | //Exa 3.2
clc;
clear;
close;
// given data
AF=100;//unitless
A=2*10^5;//unitless
Ri=1;//in Mohm
Ro=75;//in ohm
//let R1 =1 ohm
R1=1;//in ohm
//formula : AF=1+RF/R1
RF=(AF-1)*R1;//in kohm
B=1/AF;//unitless
RiF=(1+A*B)*Ri*10^6;//in ohm
RoF=Ro/(1+A*B);//in ohm
disp(RF,"Value of RiF in kohm is : ");
disp(R... |
09cdb42e696f4fab456b79b866916544532e45f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH1/EX1.8/Ex1_8.sce | e05a86be27f6c3445a203da563a812c34dc0b32a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | Ex1_8.sce | // Problem 1.8,Page no.12
clc;clear;
close;
alpha=%pi/2 //degree //In case of semicircle
//Semicircle-1
r_1=20 //cm //radius of semicircle
y_1=4*r_1*(3*%pi)**-1 //cm //distance from the base
a_1=(%pi*r_1**2)*2**-1 //cm**2 //area of semicircle
//Semicircle-2
r_2=16 //cm //radius of semicircle
y_2=4*r_2*(3*%pi)*... |
be9da2e0145b0c97a75489b4241e08a6aa0db5c3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Systems_S._Ghosh_773.zip/Control_Systems_S._Ghosh_773/DEPENDENCIES/6_2.sce | e9388ccfeefc007b729201859bba8b95067dbaa9 | [] | 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 | 101 | sce | 6_2.sce | errcatch(-1,"stop");mode(2);function [y]=series(sys1,sys2)
y=sys1*sys2
endfunction
exit();
|
67a16b914e85834709bfec0bfc82645a3c0cbe64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH8/EX8.3.1/Ex8_3_1.sce | e4bcca8fcd0c8743660d40d79d44f573845c25d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | Ex8_3_1.sce |
clc
//initialization of variables
l = 0.07 // flim thickness in cm
v = 3 // water flow in cm/sec
D = 1.8*10^-5 // diffusion coefficient in cm^2/sec
crat = 0.1 // Ratio of c1 and c1(sat)
//Calculations
z = (((l^2)*v)/(1.38*D))*((log(1-crat))^2) //Column length
//Results
printf("the column length needed is %.1... |
9c2fbfe57d3340cb3d4c5e9583c46519647cd384 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.3/3.sce | f166ade9dac3f2c788df0eb3ec52c69ede4ad57d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,131 | sce | 3.sce | //binary to decimal conversion//
//example 3//
clc
//clears the command window//
clear
// clears //
p =1;
// initialising //
q =1;
z =0;
b =0;
w =0;
f =0;
//bin= input ( Enter the binary no to be converted to its decimal equivalent : )
//accepting the binary input from user//
bin =1100.11;
d =modulo(bin... |
5705b39825273efb6c32587a7b55ca678aafe23d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH9/EX9.8/Example9_8.sce | d84dc04d890996dabbf297ff4ecf5e1ca951a6fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,711 | sce | Example9_8.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 9: POLYPHASE INDUCTION (ASYNCHRONOUS) DYNAMOS
// Example 9-8
clear; clc; close; // Clear the work space and console.
// Given data (Exs.9-5 through 9-7)
P = 8 ; // Number of poles in the SCIM
f ... |
d0b089831c50955a3bf46453ee07facd982494d5 | 1485852dd59aafc286600126cf832a32e10f117f | /macros/getStructuringElement.sci | 055e2bb9562f375d2ccca82e0fee0a8e94c7eae1 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 2,522 | sci | getStructuringElement.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
865580448581f82f86b453477c4f230320c454ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH8/EX8.10/FIR_LPF_1.sce | a9c2bade08db7263e728fd3782c289891a7a2b97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 937 | sce | FIR_LPF_1.sce | //Graphical//
//Figure 8.9 and 8.10
//PROGRAM TO DESIGN AND OBTAIN THE FREQUENCY RESPONSE OF FIR FILTER
//LOW PASS FILTER
clear;
clc;
close;
M = 61 //Filter length = 61
Wc = %pi/5; //Digital Cutoff frequency
Tuo = (M-1)/2 //Center Value
for n = 1:M
if (n == Tuo+1)
hd(n) = Wc... |
bffc287d6fa16bd4a5058f0f2970715b26879ed6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH4/EX4.14/example_4_14.sce | 8767c48c2841d9df6a531d8ce90985752f607ddb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 730 | sce | example_4_14.sce | //Scilab Code for Example 4.14 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
close;
a=.5;
A=1/(sqrt(2)*%pi);
t=-10:0.1:10;
x=A*exp(-a*t.*t);
disp("Guassian pulse signal x(t)=(1/sqrt(2)*%pi)*exp(-a*t^2)");
disp("X(w)=integral(exp(-a*t^2)*exp(-%i*w*t)) w.r.t dt");
disp("d(X(w))/dw=-%i*w/(2*a)*inte... |
431933ac3374c609fee9cad0f6d67c20eb7a7456 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH25/EX25.21/25Ex21.sce | f0cdb3bbee68a47bf506fdb6ec661f228ebe0ec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | 25Ex21.sce | //Ch25_Ex21
clc;
clear;
close;
r=7; h=24; w=1.25;
l=sqrt(h^2+r^2);
area=%pi*r*l;
lengthCanvas=area/w;
mprintf("The length of canvas is %.0f meter",lengthCanvas);
|
1e0a2eac2662bd54f9bb4d63c645fc0d7dd2b4ba | 1a8ee276de64397a0a64bc48cad795f585998670 | /assignment1/gauss_jordan.sce | a35b7bec1859f0ee31ffb2aa252b2b7c8a50e249 | [] | no_license | siddhantrao23/scilab | 3217b1d0a5c18f1ffa6751cfbca95bd71a621db2 | 5974b784340b457f70fc21484c6ff252d3a5eda4 | refs/heads/master | 2020-12-30T08:20:14.057086 | 2020-04-04T11:25:19 | 2020-04-04T11:25:19 | 238,926,043 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | gauss_jordan.sce | rows = 3;
cols = 3;
A = zeros(rows, cols);
disp("Enter the 3x3 matrix A");
for i = 1:rows
for j = 1:cols
A(i,j) = input("value for A:")
end
end
n = length(A(1,:));
aug = [A, eye(n,n)];
for j = 1:n-1
for i = j+1:n
aug(i, j:2*n) = aug(i, j:2*n) - aug(i, j) / aug(j, j) * aug(j, j:2*n);
en... |
9c98a779e36397093fe3d996850ccf57f143b246 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH12/EX12.2/Ex12_2.sce | be3c1ab170677cc4ff6c6efbbc66f35cb92999c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex12_2.sce |
clc
//given
ne=31
na=25
nb=90
nc=83
Ta=10 //lbft
//Ne-Nf/(Nc-Nf)=-83/31
k=114/83//k=Nc/Nf As Ne = 0, on simplification we get Nc/Nf= 114/83
j=-90/25//j=Na/Nb
//Nc=Nb, Thus Na/Nc=-90/25
//Na/Nf=(Na/Nc)*(Nc/Nf) ie Na/Nf=k*j
//Tf*Nf=Ta*Na
Tf=Ta*k*j
printf("\nTorque exerted on driven shaft = %.1f lb.ft\n",T... |
17e8ca46622085357866029de7d523375ed816e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH7/EX7.13/Chapter7_Exampl13.sce | 79fc590b1d06f6dc99f13d6e3adedc0f1a889697 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,087 | sce | Chapter7_Exampl13.sce | clc
clear
//INPUT DATA
t2=50;//dry bulb temperature in Degree c
t1=30;//dry bulb temperature in Degree c
t11=25;//wet bulb temperature in Degree c
V=300;//volume in m^3
Ra1=287.3;//rate of flow
p=760;//pressure in mm of Hg
pva=23.74;//Saturation pressure in mm Hg
cp=1.005;//specific pressure
ps2=92.54;//Satu... |
5828b38d266560b060a03f312ea9aab9806b5b7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH17/EX17.2/Example17_2.sce | e440f910785cd24ac00edeb330d23712b4637acd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,288 | sce | Example17_2.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 10: POWER SYSTEM STABILITY
// EXAMPLE : 10.2 :
// Page number 270
clear ; clc ; close ; // Clear the work space and cons... |
497423e66e54c01a4b62e4ac3616daaeef795626 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH25/EX25.07/25_07.sce | a4c7906798dba02a1ca48b668c2b3357af4efe07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,308 | sce | 25_07.sce | //Problem 25.07: (a) For the network diagram of Figure 25.8, determine the value of impedance Z1 (b) If the supply frequency is 5 kHz, determine the value of the components comprising impedance Z1.
//initializing the variables:
RL = %i*6; // in ohm
R2 = 8; // in ohm
Z3 = 10; // in ohm
rv = 50; // in volts
theta... |
6b50cfb2bce7540e1d80508f590d171e0e791a32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH12/EX12.4/EX12_4.sce | d6916b9ecb6e1ccdf884e058815c452cbdbaef59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 870 | sce | EX12_4.sce | //Example 12.4
//Probability to find the required sample size.
disp('Let A be the event of choosing a sample size of 6 containing two red, one green , two blue and one white blue ball.');
funcprot(0)
function c = combination ( n , r )
c = prod ( n : -1 : n-r+1 )/ prod (1:r)
endfunction
disp('The number of combin... |
3aee2573e4bd66b5f8b15884065a1713840d7592 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.5/Ex4_5.sce | 60a719ee03e5cb9e0d82d6f1d33808e9b6642a79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Ex4_5.sce | clear
//variable declaration
A1=150.0*12.0 //Area of 1 ,mm^2
A2=(200.0-12.0)*12.0 //Area of 2,mm^2
X1=75
X2=6
Y1=6
Y2=12+(200-12)/2
A=A1+A2
xc=(A1*X1+A2*X2)/A
printf("\n xc= %0.2f ",xc)
yc=(A1*Y1+A2*Y2)/A
printf("\n yc= %0.2f mm",yc)
printf("\nThus, the centroid is at x = 36.62 mm and y = 61.6... |
d5b8926cf80b7155371700dc5cee212dc7aff8e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH3/EX3.3/Ex3_3.sce | f2d9ccad097fe4b67e407074e4cfb59905396acd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | Ex3_3.sce | //Part A Chapter 3 Example 3
clc;
clear;
close;
format('v',6);
t_ice=0;//degree C
E0=0.003*t_ice-5*10^-7*t_ice^2+0.5*10^-3;//V
t_steam=100;//degree C
E100=0.003*t_steam-5*10^-7*t_steam^2+0.5*10^-3;//V
t=30;//degree C
E30=0.003*t-5*10^-7*t^2+0.5*10^-3;//V
t=((E30-E0)/(E100-E0))*(t_steam-t_ice);//degree C
dis... |
03216e1de638b480fe7a5bf44fbcf154efce3fe5 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLGammaLn-Netezza-01.tst | 01f583ab602b123ea5defd6761397f4ab321c80c | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,214 | tst | FLGammaLn-Netezza-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
dd0a2899b6d4b31e27f2c0983d1e3a5cd56b87c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH4/EX4.13/Chapter4_Example13.sce | 748c688c6f6ef050b4f8aa8f4491151b792c538a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,668 | sce | Chapter4_Example13.sce | clc
clear
//Input data
Tu=645;//The temperature at the end of compression process in K
usu=310;//The internal energy at the end of compression process in kJ/kg air
pu=(15.4*1.013);//The pressure at the end of the compression process in bar
Vu=0.124;//The volume at the end of the compression process in m^3/kg ai... |
a7205b0eb2a0afa6c8fa559100db3d5d36046ae4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG36.prev.tst | 6cd562b3415a1845442cb806e8c66dce08eb65c6 | [
"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 | 1,269 | tst | PG36.prev.tst | - 4*a - 3*a^2 - 2*a^3 - a^4 + w - 2; a + 3*a^2 + 2*a^3 + a^4 + x + 2; a^3 + y - 2; 3*a + 3*a^2 + 2*a^3 + z + 2; w^3 + x^3 + y^3 + z^3
isolated Signature: /z.01
isolated variable: z with Coefficient 1
remaining RelationSet: - 4*a - 3*a^2 - 2*a^3 - a^4 + w - 2; a + 3*a^2 + 2*a^3 + a^4 + x + 2; a^3 + y - 2; w^3 + x^3... |
1626d6ea1375ee9130dceaf002807b9282e37bcc | 991911b2a5fe25b4515d60ea80978b8550f90178 | /SCILab/Scripts/graficos_exemplo3d4.sce | f508dc1337c3e74d389642f8a4324a59afdbc543 | [] | no_license | fongoses/comunicacao-dados-2013-2 | 48d2f0cd592ea50c8b1ec6f815c8de62f122c4de | 2981e42c5be4550ccd8dd4d4ef93b4397a1ea0d3 | refs/heads/master | 2016-09-10T10:44:16.480842 | 2013-12-17T12:48:45 | 2013-12-17T12:48:45 | 32,294,010 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | graficos_exemplo3d4.sce | kp=xget("pixmap");xset("pixmap",1);
xset("wwpc"); // clean pixmap
t=%pi*(-5:5)/5;
//first plot, to fix boundaries
plot3d1(t,t,sin(t)'*cos(t),35,45," ",[1,2,4]);
xset("wshow"); // show pixmap
if driver()=='Pos' then st=4;else st=2;end;
for i=35:st:80, // loop on theta angle
xset("wwpc");
plot3d1(t,t,sin(t)... |
ea1ce894dc16d8cb624c0792053f306f0e85ff53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH2/EX2.4/Chapter2_Example4.sce | db1bb49a96e99ad544093e843c099ccc7068d8af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,076 | sce | Chapter2_Example4.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-2, illustration 4, Page 36
//Title: Expressing weight percent into mole percent
//=================================================... |
da82303ede106801aee9a2f203c39fb368c690ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH15/EX15.07/15_07.sci | 60f2b9ac752b435faede537f7d6ddfd968c4646c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sci | 15_07.sci | //system//
s=%s;
sys=syslin('c',12/(s*(s+1)*(s+2)))
nyquist(sys)
show_margins(sys,'nyquist')
gm=g_margin(sys)
if (gm<=0)
printf("system is unstable")
else
printf("system is stable");end;
|
b44777bca8211cf5d74a28fc212d07c9f7b330dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH1/EX1.1/ex_1.sce | 861aafa77b17e0692ebd6013453d4f0d6eda2d81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | ex_1.sce | // PG (6)
// Taylor series for e^(-x^2) upto first four terms
deff('[y]=f(x)','y=exp(-x^2)')
funcprot(0)
deff('[y]=fp(x)','y=-2*x*exp(-x^2)')
funcprot(0)
deff('[y]=fpp(x)','y=(1-2*x^2)*(-2*exp(-2*x^2))')
funcprot(0)
deff('[y]=g(x)','y=4*x*exp(-x^2)*(3-2*x^2)')
funcprot(0)
deff('[y]=gp(x)','y=(32*x^4*exp... |
475b273dd60f6a0b1701b057a1fc7c152ba1eacb | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/unr_format_02.tst | 3c9dd3f5cfb7e385127e4fd355d9608ca9185487 | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | tst | unr_format_02.tst | // @Harness: verifier
// @Purpose: "Test for unresolved formats"
// @Result: "UnresolvedFormat @ 7:19"
architecture unr_format_02 {
format F = { s[15:0] }
addr-mode AM {
encoding = F where { s = 1 }
encoding = F2 where { s = 0 }
}
}
|
a7142747109c06c7c02abc66e510a76f372b0300 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH11/EX11.4/11_4.sce | bb5ca41032c22753ea966996989803e57c5e6946 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | 11_4.sce | clc;
clear;
format('v',11);
w=2*%pi*10^7; //from inspection of the given E field.
f=w/(2*%pi);
c=3*10^8; //c=velocity of the wave in air.
lemda=c/f;
k=2*%pi/lemda;
disp(lemda,"The wavelength(in meter)=");
disp(k,"The propagation constant,k(in rad/m)=");
|
338a6bbda7464b9e533dcc6cb1461445e614086d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH14/EX14.12/Ex14_12.sce | 556e59dc3741934ff3b966de2d9a89d05ad79b24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,129 | sce | Ex14_12.sce | clear
clc
// Given that
L = 60 // Cooling load in kW
p = 1 // Pressure in bar
t = 20 // Temperature in degree celsius
v = 900 // Speed of aircraft in km/h
p1 = 0.35 // Pressure in bar
T1 = 255 // Temperature in K
nd = .85 // Diffuser efficiency
rp = 6 // Pressure ratio of compressor
nc = .85 // Copressor ef... |
84e38d7d9e854f8e6a5852b9d86f6425abadbafb | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH44/EX44.02/44_02.sce | 25f12181bc41dcce34c51fb2b14766db8b708ddb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | sce | 44_02.sce | //Problem 44.02:A transmission line has an inductance of 4 mH/loop km and a capacitance of 0.004 μF/km. Determine, for a frequency of operation of 1 kHz, (a) the phase delay, (b) the wavelength on the line, and (c) the velocity of propagation (in metres per second) of the signal.
//initializing the variables:
L = 0.00... |
ab0935c06bf26922bf6f871d7e3eb0aa23c04a83 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /Ramp_Test/start.sce | ab899a7867d913a8ec71df49b783b6936b0aa3ee | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | start.sce | getd ../common_files/
exec ../common_files/loader.sce
exec ser_init.sce
exec ramp_test.sci
xcos ramp_test.xcos |
be6938982000b5a8901fb0c5f96e405ec59785bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH13/EX13.2/Ex13_2.sce | 5e748de4b4abb550a73a32d450d05db0f878799a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | Ex13_2.sce | //Chapter 13: Fuel and Combustions
//Problem: 2
clc;
//Declaration of Variables
C = 90 // %
O = 3.0 // %
S = 0.5 // %
N = 0.5 // %
ash = 2.5 // %
LCV = 8490.5 // kcal / kg
// Solution
mprintf("HCV = LCV + 9 * H / 100 * 587\n")
mprintf(" H... |
17cbb7e56f550fe78956ade6b2d3234dbb9f09cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.26/Chapter5_Exampl26.sce | d0fc60ebb1f3ea5b497f297319c2851946535671 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | Chapter5_Exampl26.sce | clc
clear
//INPUT DATA
k=0.05;//clearance
p1=0.98;//initial pressure in bar
pd=6.4;//delivery pressure in bar
n=1.32;//index of compression and expansion
p0=1;//initial pressure
t1=305;//temperature in K
v0=17;//volume in m^3
t0=288;//teperature in K
vs=0.02;//volume per stroke in m^3
//CLACULATIONS
nv=1... |
6efcf9a1989eedb8cb72ac8af69a1da682b76d01 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318.zip/Electrical_Measurements_Measuring_Instruments_K._Shinghal_2318/CH4/EX4.6/ex_4_6.sce | 65a5b2909f9e6f945c91e00259c287c82e087cc9 | [] | 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 | 152 | sce | ex_4_6.sce | errcatch(-1,"stop");mode(2);//Example 4.6: Resistance
;
;
vr=5;//V
r=10;//k-ohm
x=vr*r*10^3;//
R=x;//
disp(R*10^-3,"resistance is ,(k-ohm)=")
exit();
|
c2d701671190d482cd46b4033ff2080a395a949b | 3a0f15f7dcecb91239592e081ea54e118343d278 | /assets/scene/spawner.sce | c24304719ec81a582116aeb0fa96badfae99d4c1 | [] | no_license | JBrown88/dod | 547d53d451f97205d65a272b4a9961d6ff571339 | 703a1a0e89291abae4999334aa0101bd9df78d01 | refs/heads/master | 2023-02-18T22:41:26.649143 | 2021-01-06T14:14:30 | 2021-01-06T14:14:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,717 | sce | spawner.sce | {
"Scene": {
"ptr_wrapper": {
"id": 2147483649,
"data": {
"value0": 1,
"value1": 13,
"value2": {
"Tag": "Box Spawner",
"Id": {
"uuid": "ecd01f1d-7f74-45b1-9911-4d3f10de6553... |
386a2bc8822820c29082ca0e9cf0531e8ff4fb05 | bd9ba5abb6de1e9d9485b5e98b2b68868aab21db | /Graph/plotting X [value 0-10] & y[sin(x)] with 'o' lines.sce | 5b63afaa4281427eebaa23e5146bf7aa85ab2e35 | [] | no_license | ShubhamRattra/Scilab_programs | c61b6538a064afe82c99507c1064cd55bbd870fa | de2bf6ab0de0b1a19c4903bb13819edc39f93d0e | refs/heads/master | 2023-03-04T17:53:58.414180 | 2021-02-11T08:08:11 | 2021-02-11T08:08:11 | 296,920,175 | 2 | 2 | null | 2021-01-11T15:53:39 | 2020-09-19T17:37:42 | Scilab | UTF-8 | Scilab | false | false | 47 | sce | plotting X [value 0-10] & y[sin(x)] with 'o' lines.sce | x = 0 : 0.1 : 10;
y = sin(x);
plot(x,y,'o');
|
3c7ad0926e157c5b07c6423332d50404d74fd71d | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/modulate/modulate2.sce | 4ba06affeb1affea2324fa62bb5bcc0afc60ec56 | [] | 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 | 240 | sce | modulate2.sce | //i/p arg x is a matrix
x=[1 2 3; 4 5 7;8 9 8];
fc=100;
fs=500;
y = modulate(x,fc,fs,'am');
disp(y);
////output
// 1. 2. 3.
// 1.236068 1.545085 2.163119
// - 6.472136 - 7.2811529 - 6.472136
//
|
3a006a390f6ba4a7b4620eb45f17d70a1766ef79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH12/EX12.7/12_7.sce | fc3755f0482d51497ad9e9d5a67709c9f0a295ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | 12_7.sce | clc
//Initialization of variables
cp=0.25
t2=3460 //R
t1=946.2 //R
etat=0.45
Q=-489
t3=520 //R
etat2=0.384
//calculations
Qa=cp*(t2-t1)
w=etat*Qa
eps=-w/Q
I=w+Q
Qa2= cp*(t2-t3)
W2=etat2*Qa2
eps2=-W2/Q
I2=W2+Q
//results
printf("In case 1, Effectiveness of cycle = %d percent",eps*100)
printf("\n in ca... |
79eacd2748f705a9c317589555bae400b4fb6123 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH13/EX13.1/Ex13_1.txt | 5d588c97ab79d53fbab51577c21e47543c7de589 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | txt | Ex13_1.txt | //Caption:Find the frequency of voltage generated
//Exa:13.1
clc;
clear;
close;
p=16//Number of poles
n=375//Speed of alternator(in r.p.m)
f=(p*n)/120
disp(f,'Frequency of voltage generated(in c/s)=') |
a40e94570d92c2c279cbc532dc85d28bbed80131 | d7633cb5f07c988a044ff9b890b9a281020fd097 | /m3da01/prenom-nom.sci | 6becf723771583b74fea6f81b7bb8f95177134db | [] | no_license | Supabyte/M3DA | 92296615d8501dfad309cd7341480a5589f3fe35 | 3c80475d78ee2d9c4cae8ca7424e56346b58beec | refs/heads/master | 2020-06-22T18:18:46.062697 | 2013-11-23T13:05:13 | 2013-11-23T13:05:13 | 197,769,562 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,852 | sci | prenom-nom.sci | // -----------------------------------------------------------------------
/// \brief Calcule un terme de contrainte a partir d'une homographie.
///
/// \param H: matrice 3*3 définissant l'homographie.
/// \param i: premiere colonne.
/// \param j: deuxieme colonne.
/// \return vecteur definissant le terme de contrainte... |
25a9c77065a20e04a4c4a7fcfedc6ef9a4f7cb6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /497/CH6/EX6.5/Chap6_Ex5.sce | aea88e31cecfa88ad81ee109f0d87858f8f130e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,492 | sce | Chap6_Ex5.sce | //Kunii D., Levenspiel O., 1991. Fluidization Engineering(II Edition). Butterworth-Heinemann, MA, pp 491
//Chapter-6, Example 5, Page 161
//Title: Reactor Scale-up for Geldart B Catalyst
//==========================================================================================================
clear
clc
//IN... |
0cbce7a13ebaac426d03faf69699d6cd219ce123 | 8d84f0f9896b6d830524723e9edec1c30f50cc7b | /Unit 3/projections by least square.sce | 1a98e6af090a03ce6dbdf857ef40dd57631ab7c7 | [] | no_license | saveri1205/Linear-Algebra | 29a40be2c04213cec652cee72ce14411ab0eeb9a | 0d2b0b23bbb9f693f4c1b4e34a1b434378ab3e18 | refs/heads/master | 2021-01-01T13:23:18.102349 | 2020-06-03T10:50:23 | 2020-06-03T10:50:23 | 239,297,246 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | projections by least square.sce | clear;
close;
clc;
A=[1 0;0 1;1 1];
disp(A,'A=');
B=[1;1;0];
disp(B,'B=');
x=(A'*A)\(A'*B);
disp(x,'x=');;
C=x(1,1);
D=x(2,1);
disp(C,'C=');
disp(D,'D=');
disp('The line of best fit is B=C+Dt');
|
21e800329145edc13b0b73d869a5114d89ccc276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH7/EX7.5/7_5.sce | be30d0533395d280bb17404eb1d0df275e856664 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_5.sce | //clc();
clear;
//To determine the wavelength
Eg=1.43*1.602*10^-19; //band gap energy in J
T=300; //temperature in K
h=6.626*10^-34;
c=3*10^8;
lambda=(h*c)/Eg;
disp(lambda);
lambda=lambda*10^6; //converting into micrometre
printf("the GaAs photodetector will cease to operat... |
25b9591b689ee08fd21eabf9c9065afe29be40cc | 6bbc9f4f7e12ef440acd3fe25a51b4f048cde42d | /Image Restoration/Harmonic-Mean-Filter.sce | 6955b864abbff9d34b1244dd15b9b33047c0a84b | [] | no_license | krisbimantara/Image-Processing-SCILAB | 9dee568676b4f2943c54074d8c88c84cb33b3bb2 | bf8e8905efcdd6e3e0096f7a87cce8212fe0f14c | refs/heads/main | 2023-03-27T04:55:37.463238 | 2021-03-29T13:30:26 | 2021-03-29T13:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 844 | sce | Harmonic-Mean-Filter.sce | clc;clear;
a=imread('gtw.jpg');
d=double(mtlb_double(a));
me=d(:,:,1);
hi=d(:,:,2);
bi=d(:,:,3);
bme=me;
bhi=hi;
bbi=bi;
m=(1/9)*ones(3,3);
[r1,c1]=size(mtlb_double(a));
for i=2:r1-1
for j=2:c1-1
a1me=1/me(i-1,j-1)+1/me(i-1,j)+1/me(i-1,j+1)+1/me(i,j-1)+1/me(i,j)+1/me(i,j+1)+1/me(i+1,j-1)+1/me(i+1,j)+1/me(i+... |
6662e7789b6d17a2041cde19bb2f6b050062b1f7 | c83170941847182ab67f9004c167e708f90e9132 | /FOSSEE-Computer-Vision-master/macros/findChessboardCorners.sci | 6b1d1189f469f8ccff6207f507910abf40a9b8ca | [] | no_license | kevgeo/FOSSEE-CV | eb7f7f5490848c045c6638771a0ae27b2d3c6f44 | d155a57114e87ac8c88061fa7bb1005a4ba298ed | refs/heads/master | 2021-01-09T05:40:42.637501 | 2017-02-03T07:58:18 | 2017-02-03T07:58:18 | 80,808,860 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sci | findChessboardCorners.sci | function [found, coordinates] = findChessboardCorners(image1,pts_row,pts_col,flags)
img1 = mattolist(image1);
[found coordinates] = opencv_findChessboardCorners(img1,pts_row,pts_col,flags);
endfunction
|
78b223284207e39cc81af4b51f24f19402523222 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/scan_mdaq_blocks.sci | 8da7ca17fc9477b337ac924c97314042ad0cbd9e | [
"BSD-3-Clause"
] | permissive | pj1974/Scilab | 5c7fb67d5cae5ac0cdf78e3dd66b97ba50f9fc95 | cd54f1bd8502d6914ad6ff5271ca0e6e3d323935 | refs/heads/master | 2020-12-25T17:12:56.934984 | 2015-10-06T17:16:11 | 2015-10-06T17:16:11 | 41,862,822 | 0 | 0 | null | 2015-09-03T14:00:56 | 2015-09-03T14:00:56 | null | UTF-8 | Scilab | false | false | 2,162 | sci | scan_mdaq_blocks.sci | function obj=scan_mdaq_blocks(scs_m)
global %microdaq;
obj = [];
mdaq_sim_blocks = ["mdaq_adc_sim","mdaq_dac_sim","mdaq_dio_config_sim",..
"mdaq_dio_get_sim","mdaq_dio_set_sim","mdaq_encoder_sim",..
"mdaq_func_key_sim","mdaq_led_sim","mdaq_pru_reg_get_sim",..
"mdaq_pru_reg_set_sim","mdaq_pw... |
f244961a3190666bf5e3c0952771c2f76ffe8ff0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3682/CH7/EX7.6/Ex7_6.sce | 47da97769e60ac4d55ebef39d22c8f2ccd341555 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 530 | sce | Ex7_6.sce | // Exa 7.6
clc;
clear;
// Given data
// A notch filter
fo=50; // cutoff frequency for notch filter(Hz)
//Solution
printf('As Given fo=50 Hz. Let C=0.1 μF.');
C=0.1*10^-6; // Farads
// since fo=1/(2*%pi*R*C);
// Therefore R -
R=1/(2*%pi*fo*C);
printf(' \n For R/2, take two resistors of 31.8 k Ohms ... |
d8f5cc0a6a5f78d80e9c8d93761c978d2a5e7e1b | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/chi2conj.sci | 2ba6232d38524368f910a72408bf79e778bbb86c | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sci | chi2conj.sci | exec("chi2probln.sci",-1);
exec("chi2cdf.sci",-1);
exec("nonzero.sci",-1);
function y=chi2conj(x,k)
[df,nsamps]=size(x);
lnp=chi2probln(x,k);
y0=exp((1/(k/2-1))*(lnp+(k/2)*log(2)+gammaln(k/2)));
y0=max(y0,max(0,2*sqrt(k-2)-sqrt(x)) .^ 2);
y=y0;
iterate=%T;
i=0;
cutoff=sqrt(%eps);
while (iterate)
... |
8351299549e23fcd8b8418ee9308e040b45f31ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH1/EX1.4/Example_1_4.sci | 6ad45e48482228d6dc64863481ca70ecdf6c7c85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 969 | sci | Example_1_4.sci | //minimum size of the particle in the mixture of quartz and galena(mm)
clear all;
clc;
printf("\n Example 1.4");
//maximum size of the particle(mm)
d_max=0.065;
//minimum size of the particle(mm)
d_min=0.015;
//density of quartz(kg/m^3)
p_quartz=2650;
//density of galena (kg/m^3)
p_galena=7500;
//minimum ... |
3acb8142b467b2680fbeaa94e880f84c7c5ffc94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH4/EX4.2/FSNT_Ex_4_2.sce | d93b18e037a3f2e71c940a7bf0432931763173b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | FSNT_Ex_4_2.sce | clc
//Chapter 4:Frequency selective networks and transformers
//example 4.2
//given
//Forty decibles corresponds to a voltage ratio of 100:1 therefore since A(jwo)=1
Ajwo=0.01
n=5//no. of harmonics
Q=n/(Ajwo*(n^2-1))//quality point
mprintf('the minimum circuit Q is =Qmin = %f ',Q)
|
1898442c63b8f5ab2a19d31d4c1beccdb851b4cc | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/sci_meshgrid.sci | 50a189110de72d4a42be68bb0f52afcd9e2f2b64 | [
"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 | 777 | sci | sci_meshgrid.sci | function [stk,txt,top]=sci_meshgrid()
// Copyright INRIA
txt=[]
if rhs==2 then
X=stk(top-1)(1)
Y=stk(top)(1)
txt='// translation of meshgrid('+makeargs([X,Y])+')'
if ~isname(X) then
X=gettempvar(1)
txt=[txt;
X+'='+stk(top-1)(1)]
end
txt=[txt;
X+'='+X+'(:)''']
if ~isname(Y) then
Y=gett... |
40198bdf85230d0994d812acd3472551b6a7e79e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.41/Ex17_41.sce | bb104a5c29b632efb5c68b82fb8b7c020ffa48ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex17_41.sce | //Initilization of variables
Wc=100 //lb
r= 1 //ft
F=80 //lb
k=50 //lb/ft
s=6 //in
g=32.2 //ft/s^2
//Calculations
//Work done on the system
U=-0.5*k*(1)+F*(s/12) //ft-lb
//Initial KE is zero
Vo=sqrt(U/(0.5*(Wc/g+0.5*(Wc/g)*r))) //ft/s
//Result
clc
printf('The initial speed is %f ft/s',Vo)
|
4c97a4fbd7ecbd4d9e766063ff08eac0b423f7df | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.03/1_03.sce | f764b8cd8529687f6db54fe7f462433476839e03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 1_03.sce | //pathname=get_absolute_file_path('1.03.sce')
//filename=pathname+filesep()+'1.03-data.sci'
//exec(filename)
//Difference in mercury column(in m):
h=30*10^-2
//Atmospheric Pressure(in kPa):
pa=101
//Acceleration due to gravity(in m/s^2):
g=9.78
//Guage pressure(in kPa):
gp=13550*g*h*10^-3
//Actual pressure:
... |
af9e875b7fffdcec82d4fef8ddc1f7205478073e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH17/EX17.17/Ex17_17.sce | 03b80ad6db8ff9f14a1ace9a382b14fc1e78f2d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,200 | sce | Ex17_17.sce | // Example 17_17
clc;funcprot(0);
//Given data
m_s=250;// tons/hr
T_s=40;// °C
T_wi=30;//°C
T_wo=36;//°C
U_o=2.5;//kW/m^2°C
P_t=0.078;// bar
v=1.8;// m/s
d_i=23;// mm
d_o=25;// mm
rho_w=1000;// kg/m^3
moisture=12;// Percentage
x_2=(100-12)/100;// Dryness fraction
p_t=0.078;// bar
C_pw=4.2;// kJ/kg.°C
R... |
bdcc97107014bb2dfa6148f5ec545645df43f447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH17/EX17.11/Example17_11.sce | e563ac66979ce1099defc3bdb03ed571e03bc9e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 905 | sce | Example17_11.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 10: POWER SYSTEM STABILITY
// EXAMPLE : 10.11 :
// Page number 303
clear ; clc ; close ; // Clear the work space and con... |
feffb36b4a823325ef3ccc7d124006c27e1a1a6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH9/EX9.2.2/Example9_2b.sce | e3f01e30200e884a18cf0a94829ded1769e42ef1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 665 | sce | Example9_2b.sce | clc
// given that
m_capella = 0.05 // magnitude of brightness of capella at 14 parsecs
m_sun = 4.8 // absolute magnitude of brightness of sun
d = 14 // distance of capella in parsecs
D = 10 // distance of capella considerd for observation
// sample problem 2b page No. 333
printf("\n # Problem 2a # \n")
printf... |
c1f4be4040f262e660c676b50211ad3e642cc0d7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/test2p.sci | c63206df12416ef32d1d68b75d783e0f86500f5d | [
"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 | 384 | sci | test2p.sci | function [y]=test2p(n)
//!
// Copyright INRIA
[o,i]=argn(0);
if i < 1 then error(58); end;
if type(n) <>1 then error(53,1); end;
if size(n) <> [1 1] then error(89,1); end;
//
if n < 1 then y=1;
else
p=log(n)/log(2);
rp=1 - p + int(p);
if rp < 1e-7 then p=int(p)+1; else p=int(p); end;
... |
4473ea3550e439559859e9f2205c738bfee6f120 | b387571bdd041f3b3d606bee94a06f97e87cab34 | /Calculo Numerico/Scilab/iteração não-linear/falsa posicao.sce | 42779df5072593f5b759c85b131df01235e214af | [] | no_license | GuilhermeGueds/Faculdade | 6704a9ce91f7cc7874e3fbaefa28555076fab7d7 | 6f84829ea031f80eb04ea2acf78af834d25cd4f9 | refs/heads/master | 2020-03-13T17:52:39.274865 | 2018-08-31T17:00:27 | 2018-08-31T17:00:27 | 131,225,712 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | falsa posicao.sce | clc
clear
disp("falsa posição")
disp("")
function [s] = f(x)
s = (2*cos(x)-(%e^x)/2)
endfunction
a=-1;
b=2;
x = 0;
e = 0.01;
k =1;
x = ((a*f(b))-(b*f(a)))/(f(b)-f(a))
printf(' interaçoes: %d\n', k);
printf(' a: %f\n', a);
printf(' b: %f\n', b);
printf(' x: %f\n', x);
disp("-----------------------------------... |
455504841b449b260c742a2277b016c66de7c48e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH2/EX2.11/2_11.sce | 9ad6ecb83759c80e21cf08e88cd0a7b604b888e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | 2_11.sce | clear all; clc;
disp("Ex 2_11")
a1=60
a=a1*%pi/180
b1=45
b=b1*%pi/180
c1=120
c=c1*%pi/180
f1=300
f2=700
f1_x=f1*cos(b)
f1_y=f1*cos(a)
f1_z=f1*cos(c)
printf('\n\nF1 = (%.1fi+%.0fj%.0fk) N',f1_x,f1_y,f1_z)
FR=800
f2_x=0-f1_x
f2_y=800-f1_y
f2_z=0-f1_z
printf('\n\nF_2x = %.1f N',f2_x)
printf('\n\nF_2y = %.0f N',f2_y)
print... |
f75e6b4554c1d13bf9cab9de796827902c4132aa | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/YU32PFM/ATWM1_Working_Memory_MEG_YU32PFM_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 81764b3ab35da7804174c102d7f07884f149ea38 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
aa3c8c535d614c1880d04625d79fc1dd93ab82cb | 845c8ae1a329364b6568f3529318bf19080ab941 | /hdl/Inc8.tst | a851a1e05defd4615883743434f8680edd593881 | [
"Apache-2.0"
] | permissive | DChristianson/FPGA_lpu | 133a843e4b1df4f225aee01438930d7c42659d08 | 86f6cdc9b0aecfbdccd6ed23b73a5026776db18f | refs/heads/main | 2023-02-26T04:53:41.561411 | 2021-02-04T23:52:08 | 2021-02-04T23:52:08 | 336,049,181 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | tst | Inc8.tst |
load Inc8.hdl,
output-file Inc8.out,
compare-to Inc8.cmp,
output-list in%B1.8.1 out%B1.8.1;
set in %B00000000, // in = 0
eval,
output;
set in %B11111111, // in = -1
eval,
output;
set in %B00000101, // in = 5
eval,
output;
set in %B11111011, // in = -5
eval,
output;
|
39966fbf8c7b8c07bc8f07c3a8251b44f0e69a99 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/percent/%rlr.sci | 8da0008ab3fbb63d949bd499dede9a06558d2f34 | [
"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 | 523 | sci | %rlr.sci | //<s1>=%rlr(s1,s2)
// %rlr(s1,s2) calcule la division a gauche de la matrice de fractions
//rationnelles s1 et de la matrice de fractions rationnelles s2 (s1\s2)
//!
[s1,s2]=sysconv(s1,s2)
[n,m]=size(s1(2))
if n<>m then error(43),end
if m*n=1 then
s1=%rmr(tlist('r',s1(3),s1(2),s1(4)),s2)
else
// reduction de ... |
d86c412edc3044455e188bf62e95c264e0b570b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH15/EX15.5/ex15_5.sce | d5cfcf6f3094cd4d13b21dfed5c306943b10224a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | ex15_5.sce | clc;
r=5; //resistance in ohm
p=1000; //power in Watt
va=100; //potential diff in Volt for a
vb=100000; //potential diff in volt for b
ia=p/va; //calculating current
ib=p/vb; //calculating current
ha=ia*ia*r; //heat in Watt
hb=ib*ib*r; //heat in Watt
disp(ha,"Heat produ... |
6234a094524ac413277654e332793846a7cfb8a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH5/EX5.3/exp5_3.sce | cbffc5d9385394cb393ebbef80f242604ad31d7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | exp5_3.sce | //Example 5.3. frequency of induced emf in the rotor
clc
disp("The given values are,")
disp("P = 4, f = 50 Hz, N = 1470 r.p.m")
ns=(120*50)/4
format(5)
disp(ns,"N_s(in r.p.m) = 120f/P =")
s=(1500-1470)/1500
disp(s,"s = N_s-N / N_s =")
f=0.02*50
disp(f,"Therefore, f_r(in Hz) = s*f =")
|
f1ae6881c04942577a2176f70e19255c08f91f2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH7/EX7.16/Example7_16.sci | 96d49ce90fb855315adeedfafc1267315dd4fb49 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | sci | Example7_16.sci | //Chapter 7_Operational Amplifier Characteristics
//Caption : Largest Amplitude
//Example7.16: An amplifier has a 10 kHz sinewave input signal. Find the largest amplitude that the output of the amplifier can be,without distortion owing to slew rate limiting. Given slew rate=0.5V/u sec.
//Solution:
clear;
clc;
Fma... |
338d0a4217d17d3a7ff238f1e92355790bc783d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH1/EX1.9/Ex1_9.sce | a5cc15bad3144a22eb5f68aa0b96515efbef09ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | Ex1_9.sce | clear;
clc;
disp('Example 1.9');
// Given values
m_dot = 20.4; // mass flowrate of petrol, [kg/h]
c = 43; // calorific value of petrol, [MJ/kg]
n = .2; // Thermal efficiency of engine
// solution
m_dot = 20.4/3600; // [kg/s]
c = 43*10^6; // [J/kg]
// power output
P_out = n*m_dot*c; // [W]
mprintf('\n The ... |
50d26f3b1944b44805f5cdc0a7ee3565eb9e9812 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH17/EX17.25/Ex17_25.sce | c4c06ea729acd8549394af4c6ae3bfb416a92ada | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex17_25.sce | clear
//Given
f=18 //cm
u=1.5
//Calculation
R=(u-1)*f
//Result
printf("\n Radius of the curvature is %0.3f cm", R)
|
79e21a79cde96aa95ce50a2bccb5606ab77793b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH7/EX7.15/7_15.sce | c2d1636fc631f2c18c51c7152adff8603c631d62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | 7_15.sce | clc
//initialisation of variables
i= 1/6400
b= 40 //ft
d= 5 //ft
C= 140
h= 6 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
A= b*d
P= b+2*d
m= A/P
v= C*sqrt(m*i)
V= v*(d/h)
Q= v*b*d
x= h-(Q/(3.09*(b/2)))^(2/3)-(V^2/(2*g))
//RESULTS
printf ('height of pump= %.2f ft',x)
|
ad88ddf8f03bc803f5c2a02ff302d80cc805d9f9 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2mb/test_9.sce | 42acb96d4b9a462e7bc9806139d89d661c0b622e | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | test_9.sce | // Test # 9 : Invalid flag test
exec('./allpasslp2mb.sci',-1);
[n,d]=allpasslp2mb(0.4,[0.3,0.4],'j');
//!--error 10000
//Invalid option,input should be either pass or stop
//at line 68 of function allpasslp2mb called by :
//[n,d]=allpasslp2mb(0.4,[0.3,0.4],'j')
|
231baf3c9142c937435353748f6e4e04c3c8db2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH1/EX1.22/Ch01Ex22.sce | e49a91a1f4219679c312109a264be448c0be3580 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,152 | sce | Ch01Ex22.sce | // Scilab Code Ex 1.22 Page-33 (2006)
clc; clear;
r = 1.746e-010; // Atomic radius of lead atom, angstrom
a = 4*r/sqrt(2); // Interatomic spacing, m
h = 1; k = 0; l = 0; // Miller Indices for planes in a cubic crystal
d_100 = a/(h^2+k^2+l^2)^(1/2); // The interplanar spacing for cubic crystals, m
printf("\nThe ... |
b0f5aba048e151c885ffcf0fd5647838eaa76105 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.1.A/EX3_1_a.sce | fd1c6d887180777530b4b001b8ac006b56c31bf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | sce | EX3_1_a.sce | //Example 3.1.A
clc;
Syms s t;
A=3
laplace(A,t,s)
|
77e7097d1c135d44e010ed5df44a65af541c29c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.14/Ex2_14.sce | b654e813dec11731c31654540ab5bae29648d2e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | Ex2_14.sce | clear
//
//
//Initilization of Variables
//Portion AB
L_AB=600 //mm //Length of AB
A_AB=40*40 //mm**2 //Cross-section Area of AB
//Portion BC
L_BC=800 //mm //Length of BC
A_BC=30*30 //mm //Length of BC
//Portion CD
L_CD=1000 //mm //Length of CD
A_CD=20*20 //mm //Area of CD
P1=80*10**3 //N //Load1
P2=60*10**3 //N /... |
4e342774ac7ddbdd402be9fc021df39157e35013 | d13b729c94c45001726db99bfd7e3c9c2de166af | /sci/snr.sci | 6128ae9243fba69e9d32213485bc92d0daa9ca56 | [] | no_license | uPD71054/squarewave | 94dd1e5593c0494f561bc29767ae29fc77a4f960 | b84608690c45115b6aef3254090b69b35130254f | refs/heads/master | 2021-01-18T12:58:31.044014 | 2017-10-03T15:31:08 | 2017-10-03T15:31:08 | 100,371,426 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sci | snr.sci | function ret = snr(power, f, n)
s = zeros(1, n);
for i = 1:length(s);
s(1, i) = power(1, f * i + 1);
power(1,f * i + 1) = 0;
end
ret = 10 * log10(sum(s) / sum(power));
endfunction
|
2bc81581c8afdf5791e75d0385fbcfb24da4b9ad | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/DATamakerTwoKindBrashes_mn.sce | e8a04e62bb59644a0c08871f4ee84a02e7aae161 | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,835 | sce | DATamakerTwoKindBrashes_mn.sce | clear;
lines(0);
np=200;
q=2;
for w=2.08
s0 = '~/imc/StarBrush/Neutral/n'+ string(np) + '/q' + string(q) + 'den/chi0/mn' + string(w) + '/' ;
nf=66;//number of the latest file
//nf=10;
i=1;
N=np*(q+1);//mass DEN VITAL!!!
for j=1:1:nf
sig=0.01*j;
// v=j;
s = s0 + 'CSBrush_mn' + string(w) + '_' + string(j) + '.pro';... |
3d935f28d5897f89404af765ed321bc3142dd24d | 187a5fa1102c5c3868d4142013abecba26b3e3d6 | /ProyectoFinal.sce | 4c926ab7242bed524a4b25f6b282f5880f8fe127 | [] | no_license | jvazquez96/MetodosNumeros | 9e54917a2f7054f3ed9c7e3cb67b3409663af1b0 | 115768201850b687ea2189a28241c56e36a85019 | refs/heads/master | 2016-09-14T02:35:02.295724 | 2016-05-03T16:20:47 | 2016-05-03T16:20:57 | 57,068,123 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73,311 | sce | ProyectoFinal.sce | clear
///////////////////////////////////////////////////////////////////////////
// ProyectoFinal_1.sce
//
// Programa final para la clase de métodos numéricos. Este programa
// provee una compilación de soluciones para todos los métodos vistos
// en clase:
// TODO FUNCIONA PROFE
//
// Autores:
// Jorge Vazquez... |
8fbf827be21093f0c5f7226d6249ac9310fc1118 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaqToolboxPath.sci | dc8079555db01b69c26ed1f07c505a11b68c094d | [
"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 | 202 | sci | mdaqToolboxPath.sci | function result_path = mdaqToolboxPath()
result_path = [];
path = fileparts(get_function_path('mdaqToolboxPath'));
result_path = part(path,1:length(path)-length("macros") - 1 );
endfunction
|
a041d72e0beb5e92b52fc6e82cc1a604ecc20604 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH9/EX9.8/9_8.sce | b849a9c99d8e2a586e7c0813d95e764ff2c25060 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | 9_8.sce | clc
//initialisation of variables
veff=0.8 //efficiency
rp=7
n=1.2 //constant value
pi=(22/7)
//CALCULATIONS
c=(veff-1)/(1-(rp)^(1/n))
vs=2/c
d=((4*vs)/pi)^(1/3)
//RESULTS
printf('stroke volume is %2fm*m*m',vs)
printf('\nlenght of stroke is %2fm',d)
|
b35b05745ffcc39cb33d1b10f3b87862550a488b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.22/Ex5_22.sce | c771719e977df7ed757c82ce47b2df5341821ca9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ex5_22.sce | // Scilab Code Ex5.22: Page-295 (2008)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
m = 1e-009; // Mass of the particle, kg
v = 1; // Velocity of the particle, m/s
delta_v = v*0.01/100; // Minimum uncertainty in the velocity of the particle, m/s
delta_x = h/(m*delta_v); // Minimum uncertaint... |
0f7b23b239126aa773d70626ad6c68eae04c7532 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH8/EX8.3/8_3.sce | 87e653a0bf3a62c390e52bc82ddf9f5618729581 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | 8_3.sce | clc
//initialisation of variables
t1=253 //temp in k
t3=313 //temp in k
cp=1.005 //kj/kg
r=4 //bar
g=1.4
//CALCULATIONS
t2=(t1*(r)^((g-1)/g))
t4=(t3/(r)^((g-1)/g))
re=cp*(t1-t4)
wi=cp*((t2-t3)-(t1-t4))
cop=re/wi
ma=(3.5164*10)/re
p=ma*wi
//RESULTS
printf('cop is %2f',cop)
printf('\nmass of refrigeratio... |
81da69bfa85db94a6eb8177e4c70f530e96cce7e | 38b89b84da9fe235f5b3a099bff16349b503cb87 | /funcoes.sci | c9430c0a3911ec41ce27525f91e5ebd1aa9641de | [
"MIT"
] | permissive | matheussfarias/preditoracoes | 744c7d422786a7dc9c52ffee58030b480d9f4e1f | 101b917f5193dcd91037f332eb8dce40d867e739 | refs/heads/master | 2020-08-31T06:37:13.684274 | 2019-10-30T21:15:12 | 2019-10-30T21:15:12 | 218,625,603 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sci | funcoes.sci | // funcao de correlacao
function Rx = comat(x,N)
px = xcorr(x,N,'biased');
for i = 1:N+1
Rx(:,i) = px((N+2-i):(2*(N+1)-i));
end
endfunction
//para fins didaticos, a implementacao pura do LMS
function [y,e,wn]=filterLMS(x,d,mi,N)
xn=zeros(N+1,1);
Wn=zeros(N+1,1);
M=length(x);
for n=1... |
86a6a376ae4cef789c09e96a2a7dac67e5c00540 | 8ad9380384d2751d79937ba5d6d581565596b891 | /macros/vtk2ply.sci | efbc1aba6deb0946f1c70c06df8896024ba901dd | [
"BSD-3-Clause"
] | permissive | iamAkshayrao/scilab_point_cloud_toolbox | 1d8845f0830ddb623383c8dbfeadc8a3a35e8801 | 5d592a695b7976f4e63f0ae24d0a14937e474642 | refs/heads/master | 2022-12-17T23:14:11.513116 | 2020-09-25T18:57:02 | 2020-09-25T18:57:02 | 290,829,006 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sci | vtk2ply.sci | function vtk2ply()
// Convert a VTK file to PLY format.
//
// Syntax
// PointCloud(vtkFileName,plyFileName,"vtk2ply")
//
// Parameters
// vtkFileName : input file of vtk format
// plyFileName : output file of ply format
//
// Description
// Input file is an VTK format which is them transformed to PLY format ... |
ac0452ac6af57042ced5a91da0f4e342ecef41b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /27/CH10/EX10.1.1/Example_10_1_1.sce | a738356d6d8634706c99c0fa1b691fa087e36c7d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | Example_10_1_1.sce | //Example 10.1.1 Page 350
//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
//Steven H. Strogatz
clear;
clear;
clc;
close;
x=poly(0,"x");
f = (x^2)-x; //Defining Polynomial--> x(dot)=x^2 -1. Let this be f(x)
disp("Fixed Points are :")
y = roots(f)
lambda1=evstr(2*y(1))
... |
d1a17abb2042ab522e595d999c29c45ac0c2eaa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.6/Ex3_6.sce | dc8b1001d2cbf8b40e0c05934aeb85bb071f2659 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | Ex3_6.sce | //Ex 3.6
clc;clear;close;
format('v',6);
fo=1;//kHz
Ap=1.586;//Band pass gain
C1=0.005;C2=0.005//micro F(Assumed)
R=1/(2*%pi*fo*10^3*C1*10^-6);//ohm
Rf=10;//kohm(Assumed)
Ri=Rf/(Ap-1);//kohm
disp("Design values are :");
disp(R/1000,"Resistance in kohm, R1=R2=");
disp(Ri,"Resistance Ri(kohm)");
disp(Rf,"Resi... |
95eac6317244ec923df878951c8e53875a1d8ceb | f23cac45e0a1e3e9444fd3bb8e11d56a5be97cf8 | /odeholding.sci | 242b31a570415ca4b12d8f8c78d4c2d2a03768e1 | [] | no_license | paulaperdigaoram/YOGURT | 4cd805bfb9a06630fba0d990ad7edbbf3786903b | fc95ba5408e085c91bca2a04084fc36b2ea39f95 | refs/heads/master | 2020-03-22T07:56:53.718648 | 2018-08-23T17:31:35 | 2018-08-23T17:31:35 | 139,734,779 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | odeholding.sci | function dxdt = odeholding(t,x)
Dm = D1211m*10^((121.1-T)/Zm); // s
km = log(10)/Dm; // s-1
dxdt = -km*x(1)
endfunction
|
e0d2407210c4d6cc14fadeab443edd1e4b85fecd | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/bartlett/bartlett2.sce | f9428922565d58061b7f7585c4aba14af63829f2 | [] | 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 | 250 | sce | bartlett2.sce | //when i/p is a column vector
v=[1;2;34;5];
w=bartlett(v);
disp(w);
//output
//!--error 10000
//L must be a positive integer
//at line 26 of function bartlett called by :
//w=bartlett(v);
//MATLAB o/p
// 0
// 0
// 0
// 0
//
|
7da055dedc5c9fef8b1dba55219580e34b466cfb | 6d976a524de332465dfaf499c4cdf8f09499f4fe | /prog_assembly/libs/scilab_code/characterization/char_Scurve.sce | 16265287c4a655ba4bcd13b21c257ba42967cde3 | [] | no_license | skim819/rasp30 | 78b035fa0f1d5e94e434d26324d3238695b1908c | 1efee4f95cda788c2a379cc95a22cee31683d429 | refs/heads/master | 2020-04-07T07:42:52.848775 | 2016-01-27T21:22:55 | 2016-01-27T21:22:55 | 50,114,407 | 0 | 0 | null | 2016-01-21T14:51:37 | 2016-01-21T14:51:36 | null | UTF-8 | Scilab | false | false | 32,385 | sce | char_Scurve.sce | while 1==1,
[a1,b1]=unix_g("~/rasp30/prog_assembly/libs/sh/asm2ihex.sh char_Scurve_swc ~/rasp30/prog_assembly/libs/asm_code/char_Scurve_swc.s43 16384 16384 16384");
[a2,b2]=unix_g("sudo tclsh ~/rasp30/prog_assembly/libs/tcl/write_mem2_NoRelease.tcl -start_address 0x7000 -input_file_name "+hid_dir+"/target_info_... |
07b6eb37ea30cb95240ece3b5ca4b332292f380d | d976bbc11c40569df55ffeebaa44336b1aebb02b | /conditionStabilite.sce | 6d011a155c3115484209424be7b14f5fdb16afed | [] | no_license | jonathanVisbecq/Projet-MODAL-SNA | 212271eb7c47164b32b26823c629ad5f44c8230b | 596e0052536cfe4522371bbd6de0ca0c37ba2f4d | refs/heads/master | 2021-01-02T09:27:42.502076 | 2013-06-19T16:30:39 | 2013-06-19T16:30:39 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 849 | sce | conditionStabilite.sce | //------------------------------------------------------------------------------
// Détermination d'un critère de stabilité du processus par méthode graphique
//------------------------------------------------------------------------------
// Paramètres
lambdaMin = 0.4
lambdaMax = 0.5
step = 0.02
mu = 0.5
tmax = 4000
... |
22840443f1231a3bf09732e74c5ef2b255aa3439 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH5/EX5.5/5ex5.sci | 87212c52b634d9b3755d18101d4c4d6bcc7ca782 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sci | 5ex5.sci | A=[1,-2,3;0,4,5];
B=[4,6,8;1,-3,-7];
k=A+B;
disp(k,'The addition of the two matrices A and B is:')
m=3*A;
disp(m,'The multiplication of a vector with a scalar is:')
p=2*A-3*B |
0b96bcb308509806f1c743181facf12dd28a3e56 | 74084a1c6ef810ee05785941963c7dc1725783cf | /test/UR4.prev.tst | 764eac7f27f87b51f53e3b6ff7162569ca813312 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/common | 338d245dc6a1ef093748fa577129ac30822ec70b | da1e36931decdbdfe201d88207d5a01c207f8c5a | refs/heads/master | 2022-03-21T14:56:42.582874 | 2022-02-07T10:39:22 | 2022-02-07T10:39:22 | 59,970,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 723 | tst | UR4.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<!--
@(#) $Id: index.html 113 yyyy-mm-dd hh:mm:ssZ gfis $
Copyright (c) 2016 Dr. Georg Fischer
2016-09-03: redirect immediately to the servlet
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transiti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.