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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3cf31eec872f5f7fd379eb55fcd38c0ab536142b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH1/EX1.4/Ex1_4.sce | 05752113497ac8453f1deac49196f6a979c232b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex1_4.sce | // Ex1_4 Page:12 (2014)
clc; clear;
c = 3e+08; // Speed of light in vacuum, m/s
delta_tau = 2.6e-08; // Mean lifetime of an unstable particle at rest, s
d = 20; // Distance travelled by the unstable particle before it decays, m
v = poly(0, "v"); // Declare the speed variable
v = 1/sqrt(roots(d^2*v - (d/c)^2... |
f7d17d5906a0bfeb873e4128aac755cc15456f46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH19/EX19.4/Ex19_4.sce | f3a89bdf6ba207b7ac4c3e722c0fa06814ed47f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Ex19_4.sce | //Example 19.4
d=2.5*10^-2;//Distance between plates (m)
E=3*10^6;//Maximum electric field (V/m)
V_AB=E*d;//Maximum voltage (V)
printf('Maximum voltage = %d kV (approx)',V_AB/1000)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
7a01c148df25b8fb6d46b1c915cbb4465c732ac6 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_arena_add_mask.sci | d1b6955f9b073acd5670b93179ba9a35f767559b | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,336 | sci | kiks_arena_add_mask.sci | function [] = kiks_arena_add_mask(xpos,ypos,color,theRadius)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -------------------------------------... |
dcb2616baf5ba83a0fd8300dcead9b973b234d34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH5/EX5.6/ex5_6.sce | 0f79eac94bf0003a5849a3dc7c4db0c1f5e50774 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | ex5_6.sce | clc;
clear all;
f = 2.87e3; //Fundalmental frquency in Hz/m
r = 2660; // Density in Kg per cubic meters
Y = 4*f^2*r;//The Youngs modulus of he quartz cystal
disp('N/m^2',Y,'The Youngs modulus of he quartz cystal is ')
f1 = 1200e3; // Frequency of vibration in Hertz
t = (1/(2*f1))*sqrt(Y/r);//The thickness of the... |
0c3837685a9846c35779b4488a650734500be137 | b84a4a40dbd2d8bea5236b6ce15dfba9b560bd5a | /bisectionMethod.sci | 1fb02e8545dad534ecc7df9c0c95378377f2a3fd | [] | no_license | ronzohan/SciLab | f8cf060d8d7be63b7520fc97f5f2db9d5f576bd6 | bccd05f1f2a0cf56f1de25d466f496a2ba436b79 | refs/heads/master | 2021-01-10T21:40:00.810683 | 2014-10-01T13:23:07 | 2014-10-01T13:23:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,791 | sci | bisectionMethod.sci | function bisectionMethod(funExp,x_lower,x_upper)
allowedPercentError = 0.0005; //allowed percent error
percentError = 100; //percent error
x_temp = 0; //temporary storage for x
if (x_lower > x_upper) then //if x_lower is greater than x_upper then swap it
x_temp = x_upper;
x_upper = x_lo... |
08ad00bc89519fefc15d9f6619c8fcce2019356e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH2/EX2.5/Ex2_5.sce | e5c8528f81927d33faa03657b1c9adfade19d89c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex2_5.sce | clear
//Given
m=9*10**9
r=0.707
q=5*10**-6
//Calculation
//
E=m*q/r**2 //along AO
E2=m*q/r**2 //along BO
E3=m*q/r**2 //along OD
E11=E+E2
E12=E2+E3
I=(2*E11*r)*10**-4
//Result
printf("\n Electric field at the centre of the sphere is %0.2f *10**4 N/C",I)
|
bd15a5a0ce396bd3439987a616deec29dd1ebf84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH7/EX7.20/7_20.sce | 11778893ada60b0265c4995236c0f81304ab2146 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sce | 7_20.sce | clc();
clear;
// To calculate mew and n
RH=3.66*10^-4;
e=1.6*10^-19;
rho_n=8.93*10^-3;
n=1/(RH*e);
mew_e=RH/rho_n;
printf("n per m^3 is");
disp(n);
printf("mew_e is %f m^2/V",mew_e);
|
b38321d9febf5a8a76f0417f802e818a30a8e166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH7/EX7.13/7_13.sce | cacd76b3033ab2f4a78a19d7cc96796af416d6c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | 7_13.sce | //7.13
clc;
Vm=400*2^0.5/(3^0.5);
Vf=3*3^0.5*Vm/%pi;
Rf=250;
If=Vf/Rf;
Kt=1.33;
Ia=50;
w=2*%pi*1200/60;
Vb=Kt*w*If;
Ra=0.3;
Va=Vb+Ia*Ra;
alph_a=acosd(Va/Vf);
printf("Firing angle of converter in the armature circuit=%.3f degree",alph_a)
|
c7ec863a91e9559ad4554dcc68333c82e5215d5c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/signal/mcr.sci | 542b97c33d8ba188f3658315b5c66c842e3575ac | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,329 | sci | mcr.sci | function [z,flag]=mcr(y,phi,m,lbd0,psi)
//<z,flag>=mcr(y,phi[,m[,lbd0[,psi]]])
//
// Resolution MC ou MCR pour l'identification
// du model d'un systeme sous forme d'entree-sortie :
//
// y(n) = phi'(n) . z + e(n)
//
// Estimation recursive de z minimisant le critere
// quadratique d'erreur entre l'entree relle y et so... |
1f66cb8c35d43883e28b76abd039be8a4dc52d6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH7/EX7.5/ex_7_5.sce | dc8b9e5844078c70ef48a2619a270854b433210f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,135 | sce | ex_7_5.sce | // example 7.5
// solve the boundary value problem u''=u+x;
// u(x=0)=u(0)=0; u(x=1)=u(4)=0; h=1/4;
// we know; u''=(u(j-1)-2*u(j)+u(j+1))/h^2;
// 1) second order method;
x=0:1/4:1;
u0=0;
u4=0;
u1_3 = rand(1,3)
u=[u0 u1_3 u4];
// hence;
disp('(u(j-1)-2*u(j)+u... |
a059770c79a61e4a6432c9c958771d53b6348904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH5/EX5.2/example_5_2.sce | b3a53d016397d5b958cd0c6ba68fe1502227d1b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_5_2.sce | //Chapter 5
//Example 5.2
//Page 103
//example1inpu
clear;clc;
//Given
l = 230 ; //in mi
f = 60 ; //in Hz
P = 125e6 ; //in W
V = 215e3 ; //in V
//From Table A.1 and A.2 for 30ft Rook
//z = R + i(Xa + Xd)
z = 0.1603 + %i * (0.415+0.4127);
//From Table A.1 and A.3 for 30ft Rook
y = %i * [1e-6 / ( 0.0950 + 0.1008)]
//... |
1ded16953124dcce53844118c282feed9e642189 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH14/EX14.5/Ex14_5.sce | 9656c27106744b0bd6a51c91b103b52edf4a0e83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | Ex14_5.sce | //Example 14-5
clc;clear;
// Properties
rho_a=1.20;// kg/m^3
rho_w=998;// kg/m^3
n=1750;
alpha_1=0;
alpha_2=40;
r_1=0.04;// m
r_2=0.08;// m
b_1=0.052;// m
b_2=0.023;// m
v=0.13;// m^3/s
g=9.81// m/s^2
// Calculation
V_1n=(v/(2*%pi*r_1*b_1));
V_1t=0;//since alpha_1=0
V_2n=(v/(2*%pi*r_2*b_2));
V_2t=V_... |
f4b916163bd492a31d1ab606dbb6e0f530c0f1e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH5/EX5.7/ex5_7.sce | 48698eb57d8919c68a4dc38678b4f0c36cdd9934 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | ex5_7.sce | // Exa 5.7
clc;
clear;
close;
// Given data
f_c = 1;// in kHz
f_c = f_c * 10^3;// in Hz
C2 = 0.0047;// in µF
C2 = C2 * 10^-6;// in F
C3 = C2;// in F
C = C2;// in F
R2 = 1/(2*%pi*f_c*C);// in ohm
R2 = R2 * 10^-3;// in k ohm
R3= R2;// in kohm
// Let
R1=30;// in kohm
R_F= R1*0.586;// in kohm
disp(floor(R2... |
910cb604809fc24acf45329d24c79ba1a25a96c3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fiber_Optics_Communication_H._Kolimbiris_2855.zip/Fiber_Optics_Communication_H._Kolimbiris_2855/CH12/EX12.3/Ex12_3.sce | d50b4fd49a9793415549a05bdbe3e592e9b71af3 | [] | 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 | 257 | sce | Ex12_3.sce | errcatch(-1,"stop");mode(2);//Chapter 12
//page no 432
//given
;
all;
Pt1=-18; //in dBm for 50/125 micron fiber
Pt2=-10; //in dBm for 100/125 micron fiber
Pd=Pt1-Pt2;
printf("\n Additional Power = %0.0f dBm",Pd);
exit();
|
84a34c7481ad8f6143a8269581701c3be221afb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH5/EX5.13/Example5_13.sce | 98b559600be11dd5776b1ee439d7eaf52a7c47e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Example5_13.sce | //Gas Stoichiometry
clear;
clc;
printf("\t Example 5.13\n");
R=0.0821;//universal Gas constant, L.atm/K.mol
T=312;//temp in K
V=2.4*10^5;//volume, L
P1=7.9*10^-3;//pressure initial in atm
P2=1.2*10^-4;//pressure final in atm
Pdrop=P1-P2;//pressure drop, atm
n=Pdrop*V/(R*T);//moles of Co2 reacted
Li2CO3... |
b6b5ac33da2cb7bc81dd9318a09ea318c75cb19b | 6bd47868c9c7b3e9469b27f60a4757816a62060b | /Penyelesaian Persamaan Linear/jacoby.sci | 999fbf7b9c7708f49a4d81dba3c18d4c68f58bad | [] | no_license | fahrioghanial/Program-Metode-Numerik | 555401132e47516ff38ab7d38e1056c16e45ab1a | 83cfe9144c72a3adbabbe71923f32ab6209b02e8 | refs/heads/master | 2023-02-28T16:14:24.353765 | 2021-02-04T08:04:46 | 2021-02-04T08:04:46 | 335,882,015 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,597 | sci | jacoby.sci | /*
Mohamad Fahrio Ghanial Fatihah
140810190005
*/
function jacoby()
clear;
clc;
printf('\nProgram Penyelesaian SPL dengan Metode Iterasi Jacoby\n')
printf('Ubah SPL menjadi matriks [A][X]=[H]\n')
printf('Masukkan SPL dalam bentuk matriks\n');
A = input('Masukkan elemen matriks A : ');
H = input('Masukkan eleme... |
7cfe9f2ae04e48f62e7a811b79f05561c3154236 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH6/EX6.1/Example61.sce | 05466073751bbac68a5e9676eb63537985990da3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 817 | sce | Example61.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 6, Example 1")
disp("From saturated steam tables, enthalpy of saturated vapor at 2 MPa:")
disp("Enthalpy in kJ/kg")
h1 = 2799.5
hg = ... |
ca38526565a7cfecbc8b36ec8351140ebb053ef0 | 352a2b6c7e8e0fbc76f9dacb222075df0cc1bbc6 | /TP3/main.sci | 03d6d2ed3dc6f7e94fd39936c5ee402e63175c4d | [] | no_license | BenFradet/RO05 | 443dd2807b521eefdd65ff901d25b46bce8a0838 | 0aa5855de282bfccacae999536f1424a303ca72e | refs/heads/master | 2020-06-06T17:45:47.138916 | 2014-12-18T15:32:12 | 2014-12-18T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,475 | sci | main.sci | // Author: Benjamin Fradet
// To execute with Scilab 5.5.1
exec('generateMarkovSeq.sci', -1);
exec('generateHMMSeq.sci', -1);
exec('viterbi.sci', -1);
exec('baumWelch.sci', -1);
exec('forwardBackward.sci', -1);
// preprocessing
// read csv file
data = csvRead('processedDataset.csv');
n = size(data, 1);
// remove he... |
e33431bd20abc9d81405b6dd9b1c14c9d13b4622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.13.u1/Ex5_13_u1.sce | c94889846c16c58b218e4cfb17251f6a42074f5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,164 | sce | Ex5_13_u1.sce | //Example 5_13_u1
clc();
clear;
//To determine the crystal structure and indices of plane and lattice parameter of the material
theta21=20.7 //units in degrees
theta22=28.72 //units in degrees
theta23=35.36 //units in degrees
theta24=41.07 //units in degrees
theta25=46.19 //un... |
454efa85c34986247a9f9ff16ed4dd9a5bd47e24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.8/Ex1_8.sce | d841b77c7b87a18555b1d2e30491e88e07b4f003 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_8.sce | //Example 1_8
clc;
clear;
close;
format('v',6);
//given data :
//6*I1-3*I2=2 from mesh 1
//-6*I1+14*I2=4 from mesh 2
A=[6 -3;-6 14];//coefiicient matrix
B=[2;4];//coefiicient matrix
X=A^-1*B;//Matrix multiplication
I1=X(1);//A
I2=X(2);//A
disp(I1,"Current in 2ohm & 4ohm resistor(A)");
disp(I2,"Current in ... |
8d5d3d66eaa0c6aebb4b21a8e8d5ba07858942f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH2/EX2.5/2_5.sce | e32e6a511510168daee52b5a83c529c47529d4ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 456 | sce | 2_5.sce | clc
//initialisation of variables
r=10000//ft
l=400000//people
q=1000000//mgd
w=100//gpcd
w1=150//gpcd
m=50//percent
g=1.5//ft
h1=2.32//cfs
h2=139//cfs
d=12//ft
c=100//ft
l=10.8//ft
l2=0.85//ft
l1=1000//ft
//CALCULATIONS
a=r*w/q//mgd
b=l*w1/q//mgd
a1=a*g//mgd
b1=b*g//mgd
D=d*sqrt(h1/%pi)//in
D1=d*... |
0c5248e8481e161d95f486260ccb5f26938aea98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH8/EX8.3/Example8_3.sce | ee80a653cd94d25705a554078186de0c26ed1ed7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 465 | sce | Example8_3.sce | //clear//
//Caption: Program to calculate link rise time
//Example8.3
//page 291
clear;
clc;
close;
t_tx = 15e-09; //transmitter rise time
t_mat = 21e-09; //material dispersion related rise time
t_mod = 3.9e-09; //rise time resulting from modal dispersion
t_rx =14e-09; //receiver rise time
tsys = sqrt(t_tx^2... |
dd00c1749c77eeb18ae78500bca2223b95f9a22d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH4/EX4.1/Ex4_1.sce | 21da92162203d28b81753ec543044ca80ed982d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | Ex4_1.sce | // Scilab Code Ex4.1: Page-233 (2008)
clc; clear;
c = 3e+008; // Speed of light in vacuum, m/s
v = 3e+004; // Speed of earth, m/s
d = 7; // Effective length of each path, m
lambda = 7000e-010; // Wavelength of light used, m
n = 2*d*v^2/(lambda*c^2); // Fringe shift
printf("\nThe expected fringe sh... |
eec7d5b22e67202e72f4cb039460b80d63a77186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH9/EX9.14/Ch09Ex14.sci | 7a54276001511b57043dacaf71d2c0d860bc7e80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sci | Ch09Ex14.sci | // Scilab Code Ex9.14: Probability of electron moving in 1D box : Page-207 (2010)
a = 2e-010; // Width of 1D box, m
x1 = 0; // Position of first extreme of the box, m
x2 = 1e-010; // Position of second extreme of the box, m
P = integrate('2/a*(sin(2*%pi*x/a))^2', 'x', x1, x2); // The probability of find... |
b7368550a7bc0a6eeffa92f03325234189a0dc3f | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_clust/normcdf.sce | 2ed7cae9d79bc15bfac186ce2377e1d976b46b7d | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | normcdf.sce | // Calculating the normcdf
y = [1,2,3,4,5,6,7,8]
res = armaClust("normcdf",y)
|
7d33d14d8d07ef06ae08606db32f18e7aac5f753 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH6/EX6.5/6Ex5.sce | 67b7ee91830078f92a314136e8f38c0710cc5222 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | sce | 6Ex5.sce | //chapter 6 Ex 5
clc;
clear;
close;
Atotal=36; Btotal=44;
avgA=40; avgB=35;
avg=(Atotal*avgA+Btotal*avgB)/(Atotal+Btotal);
mprintf("The average weight of whole class is %.2f kilograms",avg);
|
78deaa2f834f63c96d88229681084808e9338488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.03/20_03.sce | 2e320ea7b7ae920225fe41ddd08466bda7a178a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 20_03.sce | clear;
clc;
rating=25e6;
vb=11e3;
x=.16/4;
faultMVA=rating*1e-6/x;
mprintf("the fault MVA from method 1=%dMVA",faultMVA);
//method 2
Ifault=1/(x*%i);
Ib=rating/(sqrt(3)*vb);
Isc=Ib*25;
MVA=sqrt(3)*vb*Isc/1e6;
mprintf("\n the fault MVA from method 2=%dMVA",MVA);
|
3857170a440a1b0638720328dafc33c78604e3ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH1/EX1.15/exa_1_15.sce | cc68fbba590bb7d1bbf2f01a643b501efe50b932 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | exa_1_15.sce | //Exa 1.15
clc;
clear;
close
// given data
Tf=80;// in degree C
I=200;// in amp
h=4000;// in W/m^2degree C
rho=70*10^-6;
L=100;// in cm
R=0.1;// in ohm
d=3;// in mm
d=d*10^-3;
As= %pi*d;
//Formula I^2*R= h*As*(Tw-Tf)
Tw= I^2*R/(h*As)+Tf;
disp(Tw,"Central temperature of the wire in °C") |
e61f13301ce16a5e0a230194cd276691c5cae6ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH9/EX9.3/Ex9_3.sce | eb74d5c7c54aa7afce2ba569ddcf81ff91deff21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,371 | sce | Ex9_3.sce | // chapter 9
// example 9.3
// fig. 9.5
// Determine rms load current at fundamental frequency, rms value of load current, power output and average supply current
// page-550
clear;
clc;
// given
Edc=220; // in V (dc source)
R=10; // in ohm
L=10; // in mH
C=52; // in uF
f=400; // in Hz
// calculate
L=L*1E-3; // changin... |
f9c0b0d5623e3bd9c9eda9fd740200988cd80e4e | 77dace712a0cfc3334d8447c1eab838505efcd67 | /L3_TSI_Photoshop/Photoshop/filtres.sci | 2d8927f48b556a3b3e0edf9f094b98b41aacee66 | [] | no_license | dianaheddadji/Project | 2a9a3e40278b68e1aa3e73114ae08d730ed09a67 | ac689ca896ad0137c6df17efb353bcc88e314778 | refs/heads/master | 2020-04-25T07:15:31.450109 | 2020-01-07T19:16:06 | 2020-01-07T19:16:06 | 172,608,699 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,460 | sci | filtres.sci | function cny =canny(image)
image = nb(image)
cny = edge(image,'canny')
endfunction
function y = bonus(x)
[nl,nc]=size(x)
y = [];
for i=2:nl-1
for j=2:nc-1
y(i,j)=(x(i,j)+x(i+1,j+1)-x(i,j+1)-x(i-1,j+1)-x(i+1,j)-x(i-1,j)-x(i+1,j-1)-x(i,j-1)-x(i-1,j-1))
end
end
endfunction
... |
5a2e3e12f479420b0df841c580dedea0d2618eaa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH1/EX1.2/Ex1_2.sce | ebf88c0b35dc58c2fc302df6f5dc4f09f8891892 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | Ex1_2.sce | clc
//Chapter1
//Ex_1.2
//Given
R=8.314 // in J/mol/K
T=27 //in degree celcius
T=T+273 //in Kelvin
M_at=14 //in g/mol
//From Kinetic Theory
V_rms=sqrt((3*R*T)/(2*M_at*10^-3))
disp(V_rms,"rms velocity of Nitrogen molecule in atmosphere at 300K in m/s is")
V_rmsx=V_rms/sqrt(3)
disp(V_rmsx,"rms velocity in one... |
721bef2a98880f4d9a4cf29f1b2808037d052f88 | d7087cf730b37f76170323e080c090f8094979ac | /test/exec/and_or_command_1.tst | 02e7d711066a7c940785c7377aa6d49783defe78 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | tst | and_or_command_1.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
echo true || echo false && ! echo maarek && echo joseph
</stdin>
|
e640dad98472de9bbbe1b08d3985a1287de467b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH7/EX7.6/Example7_6.sce | da2b0718149e04b2620de40919af77b516d7ace9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sce | Example7_6.sce | //Exa 7.6
clc;
clear;
close;
format('v',5);
//Given data :
Ph=3;//phase
r=10.4/2;//mm
r=r/10;//in cm
d=2.5;//meter
d=d*100;//in cm
t=21;//degree C
T=t+273;//K
b=73.6;//cm-Hg
mo=0.85;
mv_l=0.7;
mv_g=0.8;
go=21.21;//kV/cm : assumed
del=3.92*b/T;//Air density factor
//Formula : Vdo=go*del*mo*r*log(d*10... |
938a36d51daae794864535a85d243fe8e4cedeb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH1/EX1.3/exm1_3.sce | 46720cce56e71784ce4afbf353bb42519b171cde | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | exm1_3.sce | // Example 1.3
// SAMPLE PROGRAM 1: PRINTING A MESSAGE
//Printing Begins
printf("I see,I remember") //Printing using printf() function
//Printing ends
//We can also print a message using disp() function in scilab
disp("I see,I remember") //Printing using disp() function
|
dcc34ae096df83f850ae03f6df8930ca461d03e3 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/gpio_in_fixloc.sce | 746850465a4eb1336375885dd6cc0313c3970a1a | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,196 | sce | gpio_in_fixloc.sce | //****************************** GPIO In Fix location *******************************
if (blk_name.entries(bl) =='gpio_in_fixloc') then
GPIO_IN_check=1;
gpin.entries=[]
gi_idx2=size(evstr(scs_m.objs(bl).model.opar(1)), "r");
fd_io= mopen (fname+'.pads','a+'); // DEDICATED PADS code
for ii = 1:gi_id... |
88e68e5af98c72bbba7f4e67a75537720ab5f13d | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH13/EX13.4/ex4.sce | 3ab556040f059eb92018f8d31fde35d6ce20dcc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | ex4.sce | //ques4
//calculating amount of water vapour condensed on cooling
clear
clc
//from example 3
w1=0.0255;//w1=w, humidity ratio at initial temperature
ma=108.6;//mass of air in kg
P=100;//kPa net pressure
//at 5 C mixture is saturated so Pv2=Pg2
Pg2=0.8721;
Pv2=Pg2;
w2=0.622*Pv2/(P-Pg2);
mc=ma*(w1-w2);
prin... |
ce26c9b505728d3107c7b96543cd78f418034273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH1/EX1.10/Ex1_10.sce | 53ac2e73e1ef9d2b3878c13c85faadc0cbcf38f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex1_10.sce | //Example number 1.10, Page number 1.38
clc;clear;close
//Variable declaration
lamda=5893; // in micron
n=3 // unitless
d_lamda=6 // in micron
//Calculation
N=(lamda)/(n*d_lamda) // number of rulings
//Result
printf("N = %0.1f",N)
printf("\nThe number of rulings needed is 328. This is the minimum requirement.")
|
0bd1afc02f349e9220a963bd5545d18eea3f44ab | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/overload_numeric_runme.sci | 36ed57cfab3f37d43420e1971e0f7da7ed052513 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sci | overload_numeric_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:26b1a4f7fe6b3fa0272af72c80b93fcd88e0093f20b888090a5d480091adcd1d
size 417
|
29ab0d89b446c7964be46cca791ac93d05e55495 | 683d2599aa2be1a5f74b928d545b20e7ea656cd1 | /microdaq/macros/microdaq_blocks/mdaq_mem_write.sci | 01111914ba35eea4f97dd4d69099476cbbf65e5a | [
"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 | 3,073 | sci | mdaq_mem_write.sci | function [x,y,typ] = mdaq_mem_write(job,arg1,arg2)
mem_write_desc = ["This block writes data to MicroDAQ memory.";
"Block with mdaq_mem_get function can be used ";
"to get data from Standalone and Ext model.";
"";
"Set block parameters:"];
x=[];y=[];typ=[];
select job
case 'set' then
... |
4991cd0e9c567e27cb080e39f608f6d258f01bb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH2/EX2.1/Ex2_1.sce | 3e115170e8a426e1bb7fa216d6c1bf3f2eeeb013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 836 | sce | Ex2_1.sce |
//Ex2_1
clc;
//Given:
f=19;// atomic mass no. of F
a=197;// atomic mass no.of Au
p=239;// atomic mass no. of Pu
//solution:(a)
m1=f/(6.02*10^23);
Rf=1.4*(f^(1/3))*10^-13;// in cm
V1=1.3333*3.14*(Rf)^3;
df=m1/(V1*10^14);// density in 10^14 g cm^-3
printf("\n The density nucleus of F(19) in 10^14 g cm^... |
d5e3029c5db5734bc3b1f61c120ba89f9d4b634f | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH5/EX5.22/ex_5_22.sce | 44803a83fa06fc8cdc7dcddffbf1130a2c2d4f6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | ex_5_22.sce | //find b1 in fig 5.24
clc
//solution
//given
P=80000//N
ft=70//N/mm^2//stress
//b=3*t
//A=b*t
//A=3t*t
//P=ft*A
//t^2=80000/210
t=sqrt(80000/210)//mm
b=3*t//mm
////when the link is shown by dotted line, it will be subjected to direct stress as we;; as bending stress
//A1=b1*t
//fo=P/A
//fo=P/(b1*t)
//f... |
2f5eaa450a062c50fd7362d207cd0777bc766d50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH8/EX7.1/EX7_1.sce | 286136d0bf0657e93dcdf060f1af786d6ca1e2ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | EX7_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 07
// Example No. 7_1
clc; clear;
// Three 50 Ohms resistors R1, R2 and R3 are in series across an applied voltage of 180 V. How much is the IR voltage drop across each resistor?
// Given data
R1 = 50*10^3; // Resistor 1=50k Ohms
R2 = 50*10^3; // Res... |
9831ed67b6d9c3868e54545b5f34e91eb4373faf | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/updatevtps.sci | 2b716247b7633840f35751db2b0754339006e8bc | [
"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 | 386 | sci | updatevtps.sci | function [vtps_n,vnms_n]=updatevtps(nv_old,vtps_n,vtps_1,vnms_n,vnms_1)
//add new variables
// Copyright INRIA
for k=nv_old+1:size(vtps_1)
if find(vnms_1(k,1)==vnms_n(:,1))==[] then
vnms_n=[vnms_n;vnms_1(k,:)]
vtps_n($+1)=vtps_1(k)
end
end
for k=1:min(size(vtps_n) , size(vtps_1))
for l=1:3
if vtps_n(... |
d253205bd86409d607efddf5210f6032412c33f6 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.7/EX8_7.sce | fe9c9a6055746b456d364d09e2ed82eb7db0a6e9 | [] | 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 | 2,356 | sce | EX8_7.sce | clc;funcprot(0);//Example 8.7
//Initilisation of Variables
Tci=50;......//Inlet temparature of water in K
Thi=500;......//Inlet temparature of oil in K
mc=25;....//Flow rate of water in kg/s
mh=20;.....//Flow rate of oil in kg/s
U=1;..........//Overall heat transfer coefficient in W/m^2C
A=40;....//Area of tube ... |
15f7f4dafdb1057c84178d14f93aaf5cd2d92f6a | 8236d6101d21f50dda499c4ead7862c922885aee | /Scilab/testTripleWave.sce | 3f0a7c643358b7393c6224e742829046155236eb | [
"MIT"
] | permissive | manasdas17/NightcoreThis | fdd498dc39ad870b7439e3bdaf63fa3e4fa97b56 | fce141ad69f159e4cd4d9e741c6603761d882411 | refs/heads/master | 2021-01-22T09:04:10.071096 | 2016-01-30T11:27:52 | 2016-01-30T11:27:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | testTripleWave.sce | //Generates a Test wavfile for testing our filters
//Contains a wav file with three sine waves
//Now it's easy to check if a sine is filtered or not!
t = [0: 0.000001: 1];
sin_500Hz = 0.3*sin(2*%pi*500*t);
sin_1000Hz =0.3*sin(2*%pi*1000*t);
sin_5000Hz =0.3* sin(2*%pi*5000*t);
testsign = sin_500Hz +sin_1000Hz + sin_500... |
d5b276623ee8cd987739e1714942811bb347dc6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH9/EX9.4/Ex9_4.sce | 42bb95e563f30b0e946765c2e28e43ad1afc324f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 628 | sce | Ex9_4.sce | clc
// initialization of variables
// The reaction equation is
//CaHb + c(O2+3.76N2)---> 10.4CO2 + 1.2CO + 2.8O2 + 85.6N2 + dH2O
// using atomic balancing
// C:a=10.4+12
//N:3.76c=85.6
//O:2c=20.8+1.2+5.6+d
//H:b=2d
// Solving these equations using matrix
A=[1 0 0 0;0 0 3.76 0;0 0 2 -1;0 1 0 -2]
B=[11.6... |
31b22b9d91d9dde4f198ed772ba2f3b0c52d3f24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH11/EX11.5/Ex11_5.sce | b4106e20deb922a5eec052d23dd7365bd9efc297 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,753 | sce | Ex11_5.sce | clear;
clc;
disp('Example 11.5');
// aim : To determine
// (a) the intermediate pressure
// (b) the indicated power output
// (c) the steam consumption of the engine
// given values
P1 = 1400;// initial pressure, [kN/m^2]
x = .9;// dryness fraction
P5 = 35;// exhaust pressure
k = .8;// diagram factor of... |
66609265f6ac189d7f9295c2e74f83392f175237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/17_20_data.sci | eaa3283d133d8fca89675405a54deefbbe9cf616 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sci | 17_20_data.sci | //Area of indicator diagram(in mm^2)
Area=2000;
//Length of indicaor diagram(in mm)
l=100;
//Deflection of pointer(in bar/mm)
d=2/10;
//Stroke of the engine(in m)
L=0.1;
//Bore of the engine(in m)
D=0.1;
//Speed of the engine(in rpm)
N=1000;
//Mechanical effciency
nm=0.75; |
e424038083f495b5317fdf0eba8a6216f663ffcd | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/MMS_Compressible_Poiseuille_testIP.tst | 69176b8351c6710eb10cc6ab8fff4a54802c5d09 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,089 | tst | MMS_Compressible_Poiseuille_testIP.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Manufactured Compressible Poiseuille's flow to test IP</description>
<executable>CompressibleFlowSolver</executable>
<parameters>MMS_Compressible_Poiseuille_testIP.xml</parameters>
<files>
<file description="Session File">MMS_Compres... |
3fe3a039c2e776c8d6ed077b8b69612ca14f6358 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLCountPos-NZ-01.tst | 3e986c790ace49c67592cf5f0aa51bcd1a6c992b | [] | 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 | 4,688 | tst | FLCountPos-NZ-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.
-... |
44c360d68f1035e25a796c770e9c14058be7f1f4 | 292fdfbcaae1142141fcb8c7c2f73dcdb871a582 | /Tests/2-pi.tst | 5ffd9bd59dcaab42e5d21db84c80ea8f8ead39e6 | [] | no_license | Nyktalop/TpCppM1S1 | f11b362f753656c5c1c7fbc963a71ced6ece211b | 67a3adae4d943d5e0a6b580b277b39e591d3ad39 | refs/heads/master | 2020-08-22T13:54:17.437596 | 2019-12-07T17:35:26 | 2019-12-07T17:35:26 | 216,409,340 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | tst | 2-pi.tst | deuxpi = 2 * 3.1415926536; # 6.2831853072
rayon = 3*8; # 24
circonference = deuxpi * rayon; # 150.796447373
circonference |
5a2afa45c408702a0dce1a51f789cb1ea2b1e324 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH3/EX3.9/ex3_9.sce | 9a281174b142c2d262cd94a0a497d965b0f02ac7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | ex3_9.sce | // Exa 3.9
clc;
clear;
close;
// Given data
V_Z = 20;// in V
R_L = 1.2;// in K ohm
R_L = R_L * 10^3;// in ohm
R = 220;// in ohm
I_ZM = 60;// in mA
I_ZM= I_ZM*10^-3;// in A
Vi_min = (R_L + R)/R_L*V_Z;// in V
disp(Vi_min,"The minimum value of Vi in V is");
V_L= V_Z;// in V
I_L= V_L/R_L;// in A
Vi_max= (I_Z... |
3afe28ea8d49fa1473c1300de7c643f89e386b18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.9/Ex5_9.sce | 871d962cef7c8972bd76b5b0bd17407992b36c4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | sce | Ex5_9.sce | //Chapter-5,Example 5_9,Page 5-28
clc()
//Given data:
//We have alpha particle,neutron,proton and electron.
//To find: shortest wavelength
printf('We know, lam=h/sqrt(2*m*E) //de Broglie wavelength \n \n')
//Wavelength is inversely proportional to mass of particle for constant energy
printf(' i.e., ... |
d3133cf88ec4ae4225e659ca609c483885e39151 | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.27/ex4_27.sce | 0bc967d71af15a09f56f56568373a093aba33210 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | ex4_27.sce | //Example 4.27
//use of flags with integers and floating point numbers
i = 123;
x = 12.0;
y = -3.3;
printf(": %6d %7.0f %10.1e: \n\n", i, x, y);
printf(": %-6d %-7.0f %-10.1e: \n\n", i, x, y);
printf(": %+6d %+7.0f %+10.1e: \n\n", i, x, y);
printf(": %-+6d %-+7.0f %-+10.1e: \n\n", i, x, y);
printf(... |
a7c64e2c0e643773b6e803e851016b380d8cf1ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH19/EX19.6/Ex19_6.sce | b8a96525c6b63112c9b0da1fcb77b46d091942f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | Ex19_6.sce | clc;
close();
clear();
//page no 608
//prob no. 19.6
code=[0 1 0 1 1 0];
t=[0:.01:2] //for x-axis
a=[sin(2*%pi.*t)] //for y-axis
y=[]
x=[]
for i=1:length(code)
if code(i)==1 then
a=-a;
end
y=[y a]
x=[x 2*%pi.*(t+2*(i-1))]
end
clf
plot(x,y)
a=gca(); // Handle o... |
346a007af49dc075025d7fddd140c94910497d4f | 8aa106b4c282b806b391d9931e08b1ff33968bb0 | /basicFilters/filter_definition_zeroHoldEverySecond.sce | 23b426479203a8142a91ebc8f0917f636d75e93a | [
"BSD-3-Clause"
] | permissive | lekston/scilab_matlab_examples | d8109c5356453f3a22fcad43b88784ad45eeb9f4 | 5e840c25a34c72c806c907e9fb24c9fc6561c799 | refs/heads/master | 2016-08-04T11:44:26.938623 | 2014-09-07T23:34:09 | 2014-09-07T23:34:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,017 | sce | filter_definition_zeroHoldEverySecond.sce | // Second order linear state space system derived from a transfer function
// with natural frequency 1Hz = 6.28 rad/s , damping 0.9 ,
// sample rate of 50Hz
//
// x_n = A*x + b*u
// y = c*x + d*u
//
// Matlab code:
// fcm_tf = tf(2*pi*2*pi,[1, ... |
c845de7695ae8a6de8fa71f92dca65a0da3bbaab | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH2/EX2.5/c2_5.sce | 58e0cb757855765b7a431d988b9831b2850c085c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,027 | sce | c2_5.sce | //(2.5) A silicon chip measuring 5 mm on a side and 1 mm in thickness is embedded in a ceramic substrate. At steady state, the chip has an electrical power input of 0.225 W. The top surface of the chip is exposed to a coolant whose temperature is 20 degree Celcius . The heat transfer coefficient for convection between... |
e3f26aa9aeca8b679c10bf4076f204a6186d2553 | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH6/EX6.14/Ex6_14.sce | dd0d0a424b578a9349d59764ff5c1996ef7aa677 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex6_14.sce | //Example 6.14
clc
clear
x = [1 3 4 6];
y = [-3 0 30 132];
n = length(x);
Y = 0;
X = poly(0, "X");
//X = 5;
for i = 1:n
t = x;
t(i) = [];
p = 1;
for j = 1:length(t)
p = p * (X-t(j))/(x(i)-t(j));
end
Y = Y + p*y(i);
end
Y5 = horner(Y,5);
disp(Y5,"y(5) = ")
|
495b2678764c9a0149488e0abb138543f8693002 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH10/EX10.2/ex_2.sce | 5fda99bd7dad2dd6ad5d875fa7c205e09a766026 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | ex_2.sce | // Chapter 10_Fundamentals of the Metal Oxide Semiconductor Field Effect Transistor
//Caption_Work function
//Ex_2//page 437
phi_m=3.2 //work function for Al-Si junction
xi=3.25 //oxide electron affinity
Eg=1.11
ni=1.5*10^10 //intrinsic carrier concentration
Na=10^14
phi_fp=0.0259*log(Na/ni)
phi_ms=p... |
cce33921f5cc9929f3391c171b5ab4f912807f83 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/PR2/SCENARIOS/Pr2TableManip.sce | cd1c71054a6c482e7178386f63b4bd40aec0341f | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,587 | sce | Pr2TableManip.sce | #************************************************************
# Scenario of Ikea
#
# date : Mon Sep 27 17:34:24 2010
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT HUMAN_ACHILE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.00... |
fc0ba58e2f993ae4e0cd01377c1012ea6506316b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH3/EX3.16/Ex3_16.sce | 6e2aa3e0a9d09687c3beca9689e496cbd6190139 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 856 | sce | Ex3_16.sce | // Chapter 3 example 16
//------------------------------------------------------------------------------
clc;
clear;
// Given data
a = 7.2 ; // width of waveguide in cm
b = 3.4; // narrow dimension of waveguide in cm
c = 3*10^10; // free space velocity of EM wave in cm/s
f = 2.4*... |
b495adc7def470b83f0041786c57ebdbf531996f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.13/Ex3_13.sce | c76ab75c4145e0e22a68fb572c13e03cfe171dcb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | Ex3_13.sce | //===========================================================================
//chapter 3 example 13
clc;clear all;
//variable declaration
R1 = 1000; //resistance in Ω
R2 = 500; //resistance in Ω
eR1 = 1; //error resistance
eR2 = 1; //error resistance
//calcula... |
53e2c6e816ae77c000f4b95263dfe31c4d6392c6 | 8bc1ab9f1d4165ad25962a8bb841b4e0cc161537 | /midproject/test/SBB.TST | 4881568af83a83e8eabe25667943db0018cff657 | [] | no_license | hyeonjang/scheme-simulation | 95779f08da760d726106ce403709f217d5a4a008 | 45190c9a30ddf8d646500060e75f7e6d14157ecd | refs/heads/master | 2023-01-07T05:14:31.351706 | 2020-11-19T15:57:18 | 2020-11-19T15:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 23,019 | tst | SBB.TST | [2] (load "mbase/sbb.m")
Model of type atomic-models with name SBB made.
Processor of type simulators with name S:SBB made.
OK
[3] ;;;first inning
(send sbb inject 'pitch 'fiz 5)
state s =
state s = (5 NONE FIZ 0 0 0 0 5)state s = ... |
5eaf1df020ccb05800cf955eac7584f01f29d7ba | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/pinv.man.tst | 39c92ae6b1d2d5c610bdb2bd6ad6e3e3e02a83dd | [
"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 | 61 | tst | pinv.man.tst | clear;lines(0);
A=rand(5,2)*rand(2,4);
norm(A*pinv(A)*A-A,1)
|
8261a471de844def88a6a6c6a27c65d5eefb7c90 | aab7e40582be003ebdf6f5ad6f1efcdaef4c63d6 | /macros/JSONWrite.sci | fc5deea5b59207f3dc1699674174cad4026790bc | [] | no_license | sengupta/Scilab-JSON | 578370e2470d630afd7c21c5ec5040ee3200d6d0 | 209a65d4b979ce3ff147ebda58c237236783f403 | refs/heads/master | 2021-01-18T18:35:13.647060 | 2012-04-03T13:51:34 | 2012-04-03T13:51:34 | 1,687,912 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sci | JSONWrite.sci | // A simple JSON Writer
function JSON = JSONWrite(Struct)
endfunction
|
aad01a444587088b281ebd7a205a6dc7b4216820 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 02/metodo_de_euler_melhorado.sce | 5e698c73894ed5ea60ae41993752c1eb8e40aca1 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 955 | sce | metodo_de_euler_melhorado.sce | clc
clear
//Condições iniciais
s0=0;
vs0=1;
S0=[s0,vs0];
g=9.78;
m=0.033;
c=0.01;
t0=0;
tf=5;
teta=(%pi)/6;
ro=1.2;
Cd=0.3;
A=0.0003;
//Passo de integração
h=0.5;
dt=h;
t=t0:dt:tf;
function dS=f(t,S)
ds1=S(2);
ds2=g*sin(teta)-(S(2)**2)*(ro)*(Cd)*(A)*(0.5)/(m);
dS=[ds1;ds2];
endfunction
//Método de Euler mel... |
afb1c28ae182db6689f599e30544f8cd28831573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.9/Example1_9.sce | a5d197d8a76689d14a8e74e3d3d80ac30d870309 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | Example1_9.sce | // Example 1.9
clear; clc; close;
format('v',7);
// Given data
R2=0.04;//in ohm
X2=0.2;//in ohm
//Calculations
R2dash=X2;//in ohm (for Tm=Tst)
//formula : R2dash=R2+rex
Rex=R2dash-R2;//in ohm/phase
disp(Rex,"(i) External resistance required in ohm/phase : ");
disp("For Tst=Tm/2, Tm=k*E2^2/2/X2 and Tst=... |
781721a13b282d7e3d564c80b1de50b5c469d31a | c3c2a2b04082bc735cff2cb13db4e82defd9163b | /Swisscom_Virtualization_Suite/Tests/tcSendMsgsToQueue.tst | c1b7c53640d65b30d4cdc44e0f7bea84ef681439 | [] | no_license | Sdeepak2017/Docs | 02d07603d50b3898756913e2eec3448f09aa8f45 | 016f34b47eeb79f7cc131167f12dda9f61a627d7 | refs/heads/master | 2020-03-19T11:36:17.521201 | 2018-09-12T10:02:42 | 2018-09-12T10:02:42 | 136,464,259 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,025 | tst | tcSendMsgsToQueue.tst | <?xml version="1.0" ?>
<TestCase name="tcSendMsgsToQueue" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="01/24/2017" host="U272282" />
<lastEdited version="10.0.0" buildNumber="10.0.0.431" author="admin" date="01/24/2017" host="U272282" />
</meta>
<id>615B44... |
fbd1bea06951b10b5891aacbc5275acf450b37da | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RPS0.prev.tst | 50f94727fd02e0c93212b6437bddaa91b3623dc1 | [
"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 | 15,375 | tst | RPS0.prev.tst | # (8*t + 1)^3 = 2 * m^2 + n^2 ?
0 1
1 3^6 = 2 * (2*5)^2 + (23)^2 proper representation by 10^2 + 23^2
= 2 * (2^2*3)^2 + (3*7)^2
= 2 * (2*3^2)^2 + (3^2)^2 [3]
2 17^3 = 2 * (2*17)^2 + (3*17)^2
... |
5d34d1ed14c45d02d99ae1a931e23842738bf950 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH16/EX16.4/16_4.sce | f1fa4e6116e25079dcd75eadc2a61f4d17138a00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | 16_4.sce | clear
clc
l=300
l1=120
l3=120
l2=l-l1-l3
U=.25
Ic1=40
Id1=60
r=.1/100
r1=l1*r;
r2=l2*r
r3=l3*r
Va=300
Vb=300
dV=abs(Va-Vb)
Ia=(dV+(r1*.5*U*l1)+(r2*.5*U*l2)+(r3*.5*U*l3)+(r2*(Ic1+U*l1))+(r3*(Ic1+U*l1 +Id1+U*l2)))/(r1+r2+r3)
I=Ic1+Id1+(U*l)
Ib=I-Ia
Vc=Va-(Ia-.5*U*l1)*r1
Vd=Vb-((Ib-.5*U*l3)*r... |
24679cb2c53a1ffd079e0fc3e237ee4127f4e3f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.8/Ex5_8.txt | 8d7966dd929dfea24621b3841399e196edf8b75b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | txt | Ex5_8.txt | //Ex:5.8
clc;
clear;
close;
ht=100;// transmeter height in m
hr=50;// receiver height in m
d=1.4142*(sqrt(ht)+sqrt(hr));// max range in miles
printf("The max range = %f miles", d); |
6d639eb8cc05cf66e99123a5bf39d0cead10be90 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.vowel-10-1tra/result2s0.tst | d571689bf9e0c13ab6872816d1809f0225759e99 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 973 | tst | result2s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
aa43ca3d48522e4ed6b5bb61cb595eee9137218e | 730525102bab797ddfaddb04578a0ce3959cddb9 | /Data/elec/ele2-4-1056-4.tst | 56ce98164372bc6fb9a06e53543fc88e40f9c06d | [] | no_license | youndoldman/FuzzyEnergy | 974660a390b30c83aa8ea218ef4d29c6fcdcebdd | 22edd4553702a9ede49bca68ef1aea584a3c8a52 | refs/heads/master | 2021-06-21T02:54:57.234859 | 2017-08-10T19:26:15 | 2017-08-10T19:26:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,769 | tst | ele2-4-1056-4.tst | 5.000000 3.000000 49.980000 75.000000 4039.780029
0.700000 0.210000 6.990000 1.400000 331.850006
0.700000 0.210000 6.990000 1.400000 215.149994
8.000000 4.800000 53.279999 16.000000 3023.929932
11.000000 3.300000 54.959999 165.000000 6970.020020
4.000000 3.600... |
a05a1d513d732bcd51424b039448b7e7243e21b7 | 78ff3e16a288175ff606f38ee5ee877d4844773e | /12_chapter/12_04_solution.sce | 2c12d3f3410fd08e4c17671a05ea6d8d146c8ab8 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,453 | sce | 12_04_solution.sce | //Solution 12-4
WD=get_absolute_file_path('12_04_solution.sce');
datafile=WD+filesep()+'12_04_example.sci';
clc;
exec(datafile)
//unit conversions
P_i = P_i * 10**6; //from [MPa] to [Pa]
c_p = c_p * 10**3; //from [kJ/kg.K] to [J/kg.K]
T_i = T_i + 273; //from [C] to [K]
A = A * 10**-4; //from [cm^2] to [m^2]
R = R * 10*... |
433981488b1f0b5edd9600aa119db8502fc2c2b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH14/EX14.10/14_10.sce | 94f37567f606caab81929d06f40cef33ec2aa725 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | 14_10.sce | //Jet of water
//refer fig. 14.18 and 14.19
//time taken to move a horizontal distance of 5m
t=5/20 //sec
//During this period vertical downward velocity gained by water (Vw)
Vw=0+(9.81/4)
//Horizontal component of velocity of plate (HCp)
HCp=0
//Vertical component of velocity of plate (VCp)
VCp=1 //m/sec
/... |
e15014e5427cef62ee760a7d03d9c02e83053771 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/67.ted.sci | 7aeac2c2dfa644b08c35fdc8bd8602f97753f61c | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 22,029 | sci | 67.ted.sci | as other speakers have said it s a rather daunting experience a particularly daunting experience to be speaking in front of this audience but unlike the other speakers i m not going to tell you about the mysteries of the universe or the wonders of evolution or the really clever innovative ways people are attacking the ... |
998370679091e2af4e6847a39e611ca296af34e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.6/example6.sce | f13e07979064392ab4be907c192833cac787a90e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | example6.sce | //determine the transfer function of the transformer coupled network
printf("syms R1 R2 C2 C1 L1 L2 M L3 \n G=s^3*R2*C1*C2*M/(((s^2*C2*(L3+L2))+1+s*R2*C2)*(S^2*L1*C1+s*C1*R1+1)-M^2*s^4*C1*C2)\n Transfer function=G")
|
e0804849c93dae2aba5df68006a70b1b8c5c2552 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH7/EX7.14/Ex7_14.sce | da8c561dcb93d85424258f3a77b29fba339087bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,538 | sce | Ex7_14.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 7.14\n\n\n");
// Chapter 7 : Mixtures Of Ideal Gases
// Problem 7.14 (page no. 338)
// Solution
//To solve this probelm,it is necessary to determine the properties of the saturated mixture 90 F.If the air is saturated at 90 F,the partial pressure of the... |
ededc20b1e30eb7c3728cb07f2aa880dd0321026 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH3/EX3.3.e/3_03_example.sci | e33077f2d5ed2a192c3a21fea08c434529e3dea0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sci | 3_03_example.sci | //Example 3-03 Gravity Driven flow in IV bottle
rho = 1020 //density of IV fluid [kg/m^3]
h_bottle1 = 1.2 //height of bottle for blood pressure balance
P_gauge2 = 20 //gauge pressure required for sufficient flow rate
g = 9.81 //gravitational acceleration [m^2/s]
|
3686229e2381518c626f4c7d7bd8b834ea8a5513 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH11/EX11.3/Example11_3.sce | 6602b335cef913410588326e4a596da97c5fbafa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Example11_3.sce | //chapter-11,Example11_3,pg 505
R1=0//resistance
C=0.1*10^-6//capacitance
f=1*10^3//frequency
L=(1/((2*%pi*f)^2))*(1/C)//inductance
printf("inductance of circuit\n")
printf("L=%.6f H ",L) |
fa07315244cd2a9106a38d69dadf4b47a460fe71 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/kmctr-hw.tst | 29aabab9c946a116fa5e3c4d4c7d2655d8e6bb03 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 21,362 | tst | kmctr-hw.tst | *Testcase KMCTR fc0
sysclear
archmode z
r 1A0=00000001800000000000000000000200 # z/Arch restart PSW
r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW
r 200=41000000 # LA R0,0 R0->function code 0
r 204=4110f500 # LA R1,PB R1->parameter block address
r 208=41200000 # LA R2,FO ... |
8516e5f34a8aa8f043d51fa60eafccb892062992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH5/EX5.a.11/A_Ex5_11.sce | 5356c7731f62a509cd9b5d33e68ac4afeabeb01c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 573 | sce | A_Ex5_11.sce | // Chapter 5 additional Example 11
//==============================================================================
clc;
clear;
//input data
// (311) plane in simple cubic lattice
h = 3; // miller indice
k = 1; // miller indice
l = 1; // miller indice
a ... |
1792fdaaa7928961fe78e4ced58caa1b890dd427 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Elements_Of_Electromagnetics_M._N._O._Sadiku_42.zip/Elements_Of_Electromagnetics_M._N._O._Sadiku_42/CH10/EX10.6/sadiku_10_6.sce | 6a316cf8730ac69f857b756fb7323856e8b13d24 | [] | 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 | sadiku_10_6.sce | errcatch(-1,"stop");mode(2);;
;
a=2*10^-3,b=6*10^-3,t=10^-3,l=2,c=5.8*10^7;
Ri=l/(c*%pi*a*a);
Ro=l/(c*%pi*((b+t)^2-b^2));
Rdc=Ro+Ri;
disp(Rdc*10^3,'Resistance in mOhm');
exit();
|
21d39e96fede62b62e738c09a908ea68a3fd5fd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.43/43.sci | 2b878312a9508c7d8e449c20e0129a39802b9d4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sci | 43.sci | clc;
clear all;
disp("average HT coefficient")
D=2/100;//m diameter of tube
tf=30;//degree C
m=2940;//kg/h
ts=100;// degree C
L=5;//m
k=0.12;//W/m.C
cp=2000;//J/kg.K
v=5.14*10^(-6);// m^2/s
rho=850;//kg/m^3
m1=m/3600;//kg/s
As=%pi*D^2/4;
U=m1/(As*rho)//m/s
Pr=v*rho*cp/k
ReL=10^3*ceil(U*D/v/10^3)
Nu=0.0... |
e81f6f5ea249126e1c6a046497a7cc8954b8aecf | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH13/EX13.3/ex13_3.sce | d1ad6c3410a934352440083b251b71bb479638ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,898 | sce | ex13_3.sce | clear;
//clc();
// Example 13.3
// Page: 352
printf("Example-13.3 Page no.-352\n\n");
//***Data***//
P = 10;//[MPa] given pressure
T = 250;//[C] Temperature
// Let the total number of moles in the feed be one, then
n_T_0 = 1;//[mol]
n_CO = 0.15;//[mol]
n_CO2 = 0.08;//[mol]
n_H2 = 0.74;//[mol]
n_CH4 = ... |
2f814c3f320a68c103b29e3f2c06deae2f825f2c | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Turkic/kaz.tst | f2e53d2a47ebf20b44022cf524b139c2ceb86d53 | [] | 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 | 63,868 | tst | kaz.tst | кepeк eту V;SG;3;NEG;PST
кepeк eту V;FRML;SBJV;SG;2;FUT
кepeк eту V;FRML;PL;2;PST
кepeк eту V;FRML;IMP;SG;2;NEG
кepeк eту V;SBJV;PL;2;INFM;FUT
кepeк eту V;SG;3;PST
кepeк eту V;PROG;PL;3;PRS
кepeк eту V;PL;1;PST
кepeк eту V;PROG;PL;1;NEG;PST
кepeк eту V;PRF;SG;2;INFM;PST
кepeк eту V;PL;3;NEG;PST
кepeк eту V;FRML;PL;2;NE... |
976241d0a6cd1f894d15bc6d71ee715b0a6d5495 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH9/EX9.2/2.sce | 821fd2317916f9cc0b98249efe40315217594694 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | 2.sce | clc
// p_a-p_b=-1/2*rho*C^2*(1/R_A^2-1/R_B^2)
rho_w=1000; // kg/m^3
g=9.81; // m/s^2
h=0.0115; // m
rho=1.22; // kg/m^3
R_A=0.4; // m
R_B=0.2; // m
C=sqrt(rho_w*g*h*2/(rho*(1/R_B^2-1/R_A^2)));
m=rho*C*R_B*integrate('1/R','R', R_B, R_A);
disp("Mass flow rate =")
disp(m)
disp("kg/s")
|
933a87d68d2aba85231bd501148e4256311bf572 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH4/EX4.8/Exp4_8.sce | fe30895fc0d19a4b6a4068e30dddcf7afa09776b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,955 | sce | Exp4_8.sce | //Example 4.8
clc
disp("V_L = 230 V, R_a between lines = 1.8 ohm")
disp("(V_oc)_line = 230 V, I_scc = 12.5 A for same I_f = 0.38 A")
disp("The value of open circuit e.m.f is always line value unless and until specifically mentioned to be a phase value")
disp("Therefore, Z_s = (V_oc)_ph / (I_scc)_ph |for same I_... |
717d334ea6ca4d22af9b6c41744b7e3999267ff7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH27/EX27.15/27_15.sce | fb5a98929b36bfe68ed45af8bbfd8a4783d874b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | 27_15.sce | clear//
//Variables
Pcdc = 10.0 //Power rating of amplifier (in watt)
n = 0.785 //Maximum overall efficiency
//Calculation
PT = 2 * Pcdc //Total power dissipation of two transistors (in watt)
Poac = (PT * n) / (1-n) //Maximum power output (in watt)
//... |
679486779e5a849e44e823574a10d1cfd4c4bca7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH4/EX4.7/Ex4_7.sce | bd1e6f5a1cf5bd912d442ea0cc99deed9de36724 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | Ex4_7.sce | //Chapter 04:Number Theory and Cryptography
clc;
clear all;
function dec_hex(num)
rem=[]
i=1
len=0
while num >0
rem(i)=pmodulo(num,16)
num=int(num/16)
i=i+1
len=len+1
end
disp("Hexadecimal Equivalent:")
for i=len:-1:1
select rem(i)
case 10 then
disp('A')
case 11 then
disp('... |
71c66b2a58fb947ba8341806407cb1197c3a790e | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.18.b/solution8_18.sce | da8b04eb48d150b20d3a729468aaf359ec3ec1b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,372 | sce | solution8_18.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) then
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution8_18.sce')
//Obtain path of data file
dat... |
ab99de3e79829e87d3a66051b6da9d838e41f876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH3/EX3.1/3_1.sce | cfe39b9063b2275be4fb1bc399417751780a192b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | 3_1.sce | clc
//Initialization of variables
V=1 //ft^3
m=30 //lbm
//calculations
v=V/m
vf1=0.01665
vfg1=32.38 //ft^3/lbm
x1=0.000515
uf1=169.92
ufg1=904.8
u1=uf1+x1*ufg1
vfg=0.0216
vfg2=0.4240
v2=v
x2=0.0277
uf2=538.4
ufg2=571
u2=uf2+x2*ufg2
Q=m*(u2-u1)
//results
printf("Heat transfer = %d Btu",Q)
|
c1d93f47fad8b50d7e783746e1df931b6b8e8128 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH6/EX6.3w/6_3w.sce | 3c21f473302beca0e2e4b222f07dc0d7296c0ead | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 680 | sce | 6_3w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 6.3w
//calculation of the maximum value of mass of the block
//given data
mus=.2//coefficient of static friction between the block and the table
M=2//mass(in kg) of one block
g=10//gravitational acceleration(in m/s^... |
edb57d07494e32b72b81076dc5acd0198d3bc4c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.28/10_28.sce | be728e2061d84374c8059e713b2b0558d3ae2fd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | 10_28.sce | clear
clc
S=30
SF=1000
V1=33
V2=132
Z1=V1*V1/S
I2=S*1e6/(sqrt(3)*V2*1e3)
x1g=%i*S/SF
x2g=x1g*2/3
x0g=x1g/3
r0g=60/Z1
z0g=r0g+x0g
xt=%i *.1
X1=xt+x1g
X2=xt+x2g
X0=xt
FMVAa=round(abs(S/X1)*100)/100
IFa=abs(1/X1)* I2
mprintf("\n(a)3 phase fault Fault MVA=%.2f MVA, Fault Current=%.2f A",FMVAa,I... |
1ada230dd057a387a94c5021282631b446b75586 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH22/EX4.5.7/U4_C5_7.sce | ceb2ce0cbb5db8952bc27b775d00ebe003bdef03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 841 | sce | U4_C5_7.sce | //variable initialization
ch=12400 //product of speed of light and Plank's constant (eV*Å)
Rch=13.6 //product of speed of light, Plank's constant and R (eV)
z=23 ... |
2c573b698e1098a41f99ea92c44564bb52eda565 | 8b2aa0460ec6250a29ed3fb32790e0211478b29a | /src/teste.sce | 0f789dea71fd9c56eebe2e3fde22fe0f650c67f5 | [] | no_license | samverneck/RealTimeMonitor | 41f37735570aa91cab7765f0800547987f0eb72c | f2ea3d70df9fbeed651b0f0b367b09b9fa84b6fa | refs/heads/master | 2020-12-02T18:09:27.752225 | 2017-06-21T19:52:00 | 2017-06-21T19:52:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | teste.sce | clc
com =-1;
error_number = 999;
while (error_number <> 0)
com = com+1;
try
%serial_port=openserial(com,"9600,n,8,1");
catch
disp(['Não pode ler serial'])
end
[error_message,error_number]=lasterror(%t)
disp("ERROR")
disp(error_message)
disp(error_number)
if com == 1... |
a9e20f46fd7b3f894e9ff58867999f52efa92ef5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.22/Ex5_22.sce | 6103f5fbedfac7b8641ec377a2f313f708d59097 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,518 | sce | Ex5_22.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.22
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
Wsc = 1000; // Power at Blocked Rotor test in Watts
... |
440cfe99297b53dabb20823be52ee2a1fafa1674 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/m2sci/sci_unix.sci | 8b67e8cfdd77d6a0290f2fc939bc1ad05a155a2f | [
"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 | 352 | sci | sci_unix.sci | function [stk,txt,top]=sci_unix()
// Copyright INRIA
txt=[]
if lhs==1 then
V1=gettempvar(1)
V1=gettempvar(2)
txt=['['+V1+','+V2+'] = '+'unix_g('+stk(top)(1)+')';
'disp('+V1+')']
stk=list(V1,'0','1','1','1')
else
stk=list(list('unix_g('+stk(top)(1)+')','-1','?','1','10'),..
list('unix_g('+stk(top)(... |
7343467590ecba8463f15efd6e9794f92de4a735 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH7/EX7.7/Ex7_7.sce | 7f08ac482ac89651b66db2fdb86a92c14c2b3dc3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 952 | sce | Ex7_7.sce | //Book Name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 7
//example 7.7
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
V=480;//terminal voltage in volt
p=2;//number of poles
fst=60;//frequency in hertz
f=50;//decreased frequency in Hz
Xeq=4;//inductive reactance ... |
6ebf52cd3076e3d9c8658fdeeadc7d815a0c92e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH2/EX2.9/ex2_9.sce | 0c34e861d78a147820119048bb7c09c1e0bce4b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | ex2_9.sce | Zg=50; //generator impedance
Zo=75; //intrinsic impedance
Zl=40; //line impedance
Vg=5; //generator voltage
Ts=(Zg-Zo)/(Zg+Zo); //reflection coefficient at source
To=(Zl-Zo)/(Zl+Zo); //reflection coefficient at load
temp=1-(To^2);
temp1=(1-Ts)^2;
temp2=(1-Ts*To)^2;
Pin=((Vg)^2*temp1*temp2)/(8*Zo*temp); //input... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.