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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a56cfb29e8d0651dd12ab0efe1d53446089f312d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.32.1/Ex3_32.sce | 5365650c38a04aa855972d9834f3dec3b0777c6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | Ex3_32.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
M=27;
P1=1;
T1=60+273;
n=1.3;
Cvm=21;
Ro=8.314;
R=Ro/M;
//Calculations
... |
dc0624b3b7d70f1fec9d95945daba3093c520a17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2378/CH1/EX1.5/Exa_1_5.sce | df07fea13580e2abd2a212033ef8d4d47c7d2e3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | Exa_1_5.sce | //equivalent k of crane
//Exa_1_5
clc;
clear;
//refer fig_1_27
l1=sqrt(3^2 + 10^2 -(2*3*10*cosd(135))); //length FC in m
l2=10 //length of AB in m
A1=100e-6; //cross section area of FB in m^2
A2=2500e-6; //cross section area of AB in m^2
E1=207e9; //youngs modulus of material
E2=207e... |
ebf16e2e9004bc2a7fca053858f1423b4872ab94 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSeSpectrumAnalyzer.sci | 7f8b1cd6305f877947d2fb8a2c7502d0d019af42 | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,051 | sci | SSSeSpectrumAnalyzer.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [y,f0,df]=SSSeSpectrumAnalyzer(x)
// Electrical Spectrum Analyzer
//
// Calling Sequence
// [y,f0,df]=SSSeSpectrumAnalyzer(x)
//
// Parameters
// x : Electrical Input
// y : Elect... |
e1dd1d7bdc0c08d18c3e03d2c8c69030d8387268 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH9/EX9.2/Chapter9_Example2.sce | a3ee6736f4dcb00df35b899409e616b31f73167b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Chapter9_Example2.sce | clc
clear
//Input data
E=0.025//Energy of the electron in MeV
e=(1.6*10^-19)//Charge of the electron in coloumbs
h=(6.625*10^-34)//Plancks constant in Js
m=(9.1*10^-31)//Mass of the electron in kg
//Calculations
E1=E*e*10^6//Energy of the electron in J
v=sqrt((2*E1)/m)//Velocity of the electron in m/s
l=(h/... |
b0d6245308306572d60e7900af4c5d22d6b2eac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.31.a/example131a.sce | 02666132b798ffeb1948da8edde7af0ff3ed8d35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | example131a.sce | //Example 1.31a
//Determine whether the given signal is periodic or not
clc;
n=0:1/100:10
x=sin(6*%pi*n/7);
plot(x)//plotting the signal and showing it is periodic with period 2pi/(6pi/7); |
d92e7398ba8284bc4bff4e96dd780d8e087e42af | efc2fec9dd841d0ca834702c904e00c52762a9f9 | /isEpipoleInImage/isEpipoleInImage4.sce | 0bf51fe1f01f2cf2c89047cb45e525453841ffec | [] | no_license | surajch77/Scilab-Computer-Vision-Toolbox-TestCases | 64c8e0382e8b9d416c4c27c1ed4272f49bf45b51 | 969f9bcddefea05b42c623aeebe2e0cdcffd6eeb | refs/heads/master | 2021-01-20T20:24:14.345296 | 2016-06-29T15:16:52 | 2016-06-29T15:16:52 | 61,932,313 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | isEpipoleInImage4.sce | f = [0.0000 -0.0004 0.0348
0.0004 0.0000 -0.0937
-0.0425 0.0993 0.9892];
imageSize = [200, 300];
[isIn,epipole] = isEpipoleInImage(f',imageSize)
//epipole =
// 249.42735 103.19399
// isIn =
// T
|
024fffd5a66b75ff56285c3cf826c279c55422b8 | 5f1321e89c543807965d796644be035556a4e9f7 | /matrix/run.sce | 4e3afea7e20b2a2f8b13364e9364351ea391dbcc | [] | no_license | rupakrokade/scilab_api_sig | 1f7c5f7e5bf8460a51b12153cacfb3be7f978bcf | aff9775958830484a64dbe1709678d9725e86d3c | refs/heads/master | 2022-02-21T01:56:07.485115 | 2019-10-04T10:05:30 | 2019-10-04T10:05:30 | 197,972,164 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | run.sce | try exec cleaner.sce
end
ulink
ilib_build('build_matrix',['matrix','matrix','csci6'],"sci_matrix.c",[]);
exec loader.sce
[c, d] = matrix([2,2;2,2], [3,8;4,5])
|
b714959cbb57e04f7695a7712a23cfde80cf252c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH3/EX3.2/Ch03Ex2.sce | c74579af9ac75f8ba47507c6eed5df89d8c3a658 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | Ch03Ex2.sce | // Scilab Code Ex3.2 : Page:132 (2011)
clc;clear;
A = 32; // Gram atomic mass of oxygen, g/mol
N_A = 6.023e+026; // Avogadro's number, per kmol
m = A/N_A;....//mass of the molecule, kg
k_B = 1.38e-23;....// Boltzmann constant, J/K
T = 273;....// Temperature of the gas, K
v_av = 1.59*sqrt(k_B*T/m);....// A... |
432481c6cd1b85dafa298bd7b90fc6bcbd6a4362 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpklp2bpc/test_7.sce | 89cea7e129d2aba04d863883a5f3c7b6f0cdffdc | [] | 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 | 314 | sce | test_7.sce | // Test #7 : Length test for Input Argument #4 or Input Argument #5
exec('./zpklp2bpc.sci',-1);
[z,p,k,n,d]=zpklp2bpc(4,2.2,1,[0.6,0.7],[0.34,0.28]);
//!--error 10000
//Wo must be real ,numeric and scalar
//at line 43 of function zpklp2bpc called by :
//[z,p,k,n,d]=zpklp2bpc(4,2.2,1,[0.6,0.7],[0.34,0.28])
|
c586cb608ceaeae460c3c40c1fa55aca8324166d | 538e0c3891a6925534c9c93ff5a8987735b8d22f | /SciLAB/Assignment_1_sol.sce | a69f82570a3055a1730ba38092cb7cf8feec7f6c | [] | no_license | rajan596/Assignments | 7a047cf0cd04a00497046252b56d9477a2830167 | ce43e931cf74597263f89ddf7a4f0f7e86ac6085 | refs/heads/master | 2021-05-31T07:19:37.526649 | 2016-04-13T07:57:32 | 2016-04-13T07:57:32 | 34,728,601 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,041 | sce | Assignment_1_sol.sce | //creating array
A=[1,2,3;4,9,6;7,8,9]
B=[1,2,3;4,2,3;1,9,3]
//display array
disp("A:")
disp(A)
disp("B:")
disp(B)
// Transpose of A
disp("Transpose of A:")
disp(A')
//Add A+B
disp("A+B : ")
disp(A+B)
//Multiply A*B
disp("A*B : ")
disp(A*B)
// Multiplying individual elements of A with B
disp("A.*B : ")
disp(A.*B)... |
cfc8d11e96ad0602e9fe7b9c516a92f36a8924c0 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/KP85YLZ/ATWM1_Working_Memory_MEG_KP85YLZ_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | e4504730fee8a0b14d6ec99783880f9669548228 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
3690a2f83f1d3277294ca7c93248146ff4c37ce3 | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-h5-wrappers-new/FORTRAN/H5D/testfiles/110/h5ex_d_checksum.tst | 01ed8661b8c5b9bf0530e1e06abf602135cd6d18 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 77 | tst | h5ex_d_checksum.tst | Filter type is: H5Z_FILTER_FLETCHER32_F
Maximum value in DS1 is: 1984
|
b74c072bdd3ac4b211a2c7c15896291d40ea68ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH11/EX11.8/ex11_8.sce | 10819ba12682e4b5dd6f0d1dc28f8e45386f307b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | ex11_8.sce | clc;
t1=327+273; //temp in Kelvin
t2=127+273; //temp in Kelvin
eff=1-(t2/t1); //calculating efficiency
hi=4185; //1 kcal=4185 Joule
W=eff*hi; //calculating Work in joule
disp(W,"Work in Joule = "); //displaying result |
6c71d84d2fbee2180f4cb122cfff698ae21a5df7 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Writetextdata.sci | 51a138847e28a766a8243cc1f6d43d60c46f3309 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sci | Writetextdata.sci | // 2010.04.27
function Writetextdata(varargin)
Fname=varargin(1);
Mt=varargin(2);
D=-1;
for I=3:length(varargin)
Tmp=varargin(I);
if mtlb_findstr(Tmp,'=')~=[]
execstr(Tmp);
end;
end;
Str='';
for J=1:size(Mt,2)
Str=Str+'x'+string(J);
if J<size(Mt,2)
Str=Str+',';
end;
... |
f3a98bac006c345e953cbe0c8f3e2b6198b21da8 | bf63c70e054c641e89a6f7a4623a7634ce9a8a9d | /test/SL1.prev.tst | 5c0d4e9f846e187f17eedded366c5a5667e70f82 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gfis/jextra | 9c8c030faf35f0834843ed8f07cc061ca9d65a64 | bdad8fd33fdf633cf2ff4c1879e1f61935c3d636 | refs/heads/master | 2022-03-13T21:31:56.132450 | 2022-02-12T21:27:40 | 2022-02-12T21:27:40 | 30,127,957 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,806 | tst | SL1.prev.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<mainSymbolList>
<sym id="0" cat="0">The</sym>
<sym id="1" cat="1">word</sym>
<sym id="2" cat="2">der</sym>
<sym id="3" cat="3">gets</sym>
<sym id="4" cat="4">symbol number</sym>
<sym id="5" cat="5">2</sym>
<sym id="6" cat="6">.</sym>
<sym id="7" cat="7">... |
0e9b664685fbff7171ab65cbfbbaeb61ef5bf8a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.27.1/exa7_27_1.sce | e69fa6f055a45e7f9a80e187ea1c1f285d5a00e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sce | exa7_27_1.sce | // Example 7-27-1
// Design of Lag compensator with Bode plots
clear; clc;
xdel(winsid()); //close all windows
mode(0);
// please edit the path
// cd "/<your code directory>/";
// exec("shmargins.sci");
s = %s/2/%pi;
G = 1 / (s * (s + 1) * (0.5*s + 1));
Kv = 5;
K = Kv / horner(s * G,0)
GK = syslin('c',K * G);
[gm... |
44039b8e8646ec0e52ef9efdd46bedbe97f1843c | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH5/EX5.3/example5_3.sce | 3cff0561b9c3b76babe13f21f1ba80cf502e3e46 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | example5_3.sce | //clc()
V = 0.6 * 10^-3;//m^3
T = 473;//K
Tc = 405.5;//K
Pc = 112.8 * 10 ^ 5//Pa
R = 8.314;
a = 0.4278 * (R^2) * (Tc ^ 2.5)/Pc;
b = 0.0867 * R * Tc / Pc;
P1 = (R*T/(V - b) - a/((T^0.5)*V*(V + b)))/10^5;
disp("bar",P1,"Pressure developed by gas = ") |
14cf5506039fc2f127c5687ad912f90dc7f72a5f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH3/EX3.12/Ex3_12.sce | 7d85d1b25f3b3865c7ccca3af533c9e6a14f7f46 | [] | 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 | 953 | sce | Ex3_12.sce | errcatch(-1,"stop");mode(2);//Caption:Calculate (a)Efficiency of transformer (b)Load KVA at which max efficiency occurs and max efficiency (c)voltage regulation
//Exa:3.12
;
;
V1=2000;//in volts
pf=0.8;
I1=10000/V1;//in amperes
P_iron=60;//in watts
V_sc=40;//in volts
I_sc=4;//in amperes
a=2000/200;
P_sc=70... |
ff4ded82dddcbb40215f8cb395131b7c8cbe2a12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH5/EX5.4/ex5_4.sce | c22081ec0b0c44ecc29fd0a5307c64e0c591bf04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | ex5_4.sce | clc;
clear all;
t = 10e-2; // Thickness in meters
r = 8.1e3; // Density in Kg per cubic meters
Y = 8.2e11; // Youngs modulus in Newton per square meter
f = (1/(2*t))*sqrt(Y/r);
disp('Hz',f,'The frquency of produced ultrasonic waves by nickel is ')
|
3c391e1abb52e6b9861ab513a6872a0ca0ab0cd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH16/EX16.8/Ex16_8.sce | 56930df4d993eb1369117f67dfc943813a3f94d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,211 | sce | Ex16_8.sce | // chapter 16
// example 16.8
// Determine turn ratio of demagnetizing winding with primary winding, switch voltagae rating and dc supply current
// page-1015
clear;
clc;
// given
E0=12; // in V
I0=12; // in A
fs=60; // in kHz (switching frequency)
E=230; // in V (rectified ac mains)
alpha_max=0.6; // maximum... |
8e8337a4aa5a0d9c52dbc3f3c1bcd3b07bb6b996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH7/EX7.3.1/7_3_1.sce | 5cae0187c7611c57d2d5a2b91bb8c57b3ea814dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | 7_3_1.sce |
//chapter_no.-7, page_no.-298
//Example_no.7-2-2
clc;
//(a)Calculate_the_electron_drift_velocity
q=1.6*(10^-19);
f=10*(10^9);//operating_frequency
L=10*(10^-6);//Device_Length
vd=f*L;
disp(vd,'the_electron_drift_velocity(in m/sec)is =');
vd=vd*100;
disp(vd,'the_electron_drift_velocity(in cm/sec)is =');
vd=vd/100;
/... |
5f61600d4492a9fe4fcd0cc5e18f3ce835797cd0 | 50998e579b0a8e47026c534b0f40caf9778f8e54 | /lab08_questão_1.sci | 8407ac5010d5fc5fa2cd5642cd9dcd79d6567b27 | [] | no_license | luis69fernando/CN-lista-lab08 | 12e5697ecc7003e70f9e7d03ef95d4dd39f17671 | 46302f053b6f7fa1d3f9f3c9e1ced100d01e0f3e | refs/heads/master | 2020-09-10T17:56:20.550694 | 2019-11-17T17:19:02 | 2019-11-17T17:19:02 | 221,787,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 631 | sci | lab08_questão_1.sci | clear; clc;
function f = diff1(t, y)
f = log(3/2)*y;//y' = f(x, y);
endfunction
function E = Euler(y0, t0, t, h, f)
n = length(t), E = y0;
for i=1:n-1
y0 = y0 + h*f(t(i), y0);
E = [E y0];
end
endfunction
//Informações iniciais :
y0 = 1000; t0 = 0; h=0.1; t = t0:h:5;
... |
4ec4849667c4afb076b5abdcd2a49b0a867c6a09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH7/EX7.04/7_04.sce | f3af164751134e06ce80a5eda5bac05520bfb853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | 7_04.sce | //Problem 7.04:
//initializing the variables:
mdt = 1200; // in lb/min
Cpav = 0.26; // in Btu/lbmol
T1 = 200; // in deg F
T2 = 1200; // in deg F
//calculation:
dT = T2 - T1
Q = mdt*Cpav*dT
printf("\n\nResult\n\n")
printf("\n the heat transfer rate is %.2E Btu/min",Q) |
5328bf16f8aee228528a85780b546e1d4e12a37d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3289/CH8/EX8.1/Ex8_1.sce | c5999edcfa07b0f200c8e0abe9b5c43508b09be3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | Ex8_1.sce | clc
di=0.3 //m
de=0.4 //m
v=0.3
sigmathetamax=250*10^6 //Pa
p0=0
pi=0
//solution a:
a=0.15
b=0.2
r=a
//sigmathetamax=pi*((b^2+a^2)/(b^2-a^2))
pi=sigmathetamax*((b^2-a^2)/(b^2+a^2))
disp(pi,"in Pa is= ")
//solution b:
r=a
//sigmathetamax=-2*p0*(b^2/(b^2-a^2))
p0=-(-sigmathetamax)*((b^2-a^2)/(2*b^2... |
4f02ddbf628e17893e985b79da3421a07b1353ce | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/percent/%lssrs.sci | c7bfa4eb491d14be3da28d7db391bc589d8ba055 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sci | %lssrs.sci | //[s]=%lssrs(s1,d2)
//s=%lssrs(s1,d2) calcule la mise en serie d'une matrice de gain 1/d2
//et d'un systeme lineaire decrit par sa representation d'etat s1.
// --> d2 --> s1 -->
//Cette macro correspond a l'operation s=s1*d2
//!
// origine s. steer inria 1987
//
[a1,b1,c1,d1,x1,dom1]=s1(2:7)
s=list('lss',a1,b1/d2,c... |
0d09fbac16710ebefedcc50c42f041ad2c1aed8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH14/EX14.1/100ex1.sce | 6ac5d60e70344cdcb15582a1da30315ad7333fac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 95 | sce | 100ex1.sce |
//factors of 6a^2 + 3ac
clear;
clc;
close;
p=string('6*a^2+3*a*c ')
disp('=> 3a(2a+c)')
|
cbfe12b03b5685ba3ef331b423f16a1266f635cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH9/EX9.6/Ex9_6.sce | 7e77b6b01f3e81ade494c6f9a0f2e8f01ae0af69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,336 | sce | Ex9_6.sce | // Example 9_6
clc;funcprot(0);
// Given data
L=1.5;// The length in km
D=6;// Diameter in inch
h=80;// m
// Assume
deltah_l=20;// m
g=9.807;// The acceleration due to gravity in m/s^2
nu=1*10^-6;// m/s^2
epsilon=5*10^-5;// roughness in m
// Calculation
D=D*2.54*10^-2;// m
sqrtoffintoRe_D=((2*g*deltah_l... |
9faaca7720107b7357f6b1f64feb771745bdde12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH4/EX4.8/Ex4_8.sce | 289be314be53f28e82a775fbb6b7a6a1b6313d94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | sce | Ex4_8.sce | clc
clear
//At 0.75 bar. From steam tables,
//At 100 deg celsius
T1=100; //deg celsius
hsup1=2679.4; //kJ/kg
//At 150 deg celsius
T2=150; //deg celsius
hsup2=2778.2; //kJ/kg
Cps1=(hsup2-hsup1)/(T2-T1);
//At 0.5 bar. From steam tables,
//At 300 deg c... |
9d829589da73337b62156580f26d21866753a71e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.14/7_14.sce | 8bbbc9ff86a984d7b3e9cd982798cfe1cd206697 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_14.sce | clc
clear
//Input data
r=14;//The compression ratio of a diesel engine
Vc=1;//Clearance volume in m^3
c=0.08;//Fuel supply cut off point
nr=0.55;//Relative efficiency
H=10000;//Calorific value of fuel in kcal/kg
r1=1.4;//Ratio of specific heat of air
Vs=13;//Stroke volume in m^3
//Calculations
rho=Vc+(c*Vs... |
37f1cbd62bc2a1dd516e1d33a87d5ddede1051a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3169/CH8/EX8.1/Ex8_1.sce | 6a7be316986adb8b5ef8eb2e2ecd780ad706a266 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 582 | sce | Ex8_1.sce | //developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear all;
//example 8.1
//calculation of surge impedance,velocity and time taken by the surge to travel to the other end
//given data
L=1.26*10^-3//inductance(in H/km)
C=0.009*10^-6//capacitance(in F/km)
l=400//length(in km) of the transm... |
8f8bf5471f606becbb4c7f7586092bfe801e65f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.11/example10_11.sce | f818e9440bca27469724ea3e43c5ea7de023ada6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,786 | sce | example10_11.sce | //Chapter 10
//Example 10_11
//Page 244
clear;clc;
r=0.1;
xl=0.2;
y=0.04*1e-4;
ll=100;
f=50;
pd=10000;
v_r=66000;
pfr=0.8;
tr=r*ll;
txl=ll*xl;
ty=ll*y;
vr=v_r/sqrt(3);
ir=pd*1000/sqrt(3)/v_r/pfr;
z=tr+%i*txl;
ir_p=ir*(pfr-%i*sin(acos(pfr)));
v1=vr+ir_p*z/2;
ic=%i*ty*v1;
is=ir_p+ic;
vs=v1+is*z/2;
theta1=atan(imag(vs... |
545a7a6fde5c29c701fc997c7d18026f1e581510 | bbc11c0776778eadc6701c4eedfe19ae8dfa1584 | /scilab/substituicaoRetroativa.sce | 5636dd31bdad118855adbc4bca358ae74aa48851 | [] | no_license | ceconelli/Metodos-Computacionais | 842eeebf11cc74acc66fa08d7ca67f9c45f3b268 | 07f4326c4821facaf5989f89d5d959f8000e062c | refs/heads/master | 2020-06-03T03:23:51.762483 | 2017-06-12T16:12:12 | 2017-06-12T16:12:12 | 94,114,311 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | substituicaoRetroativa.sce | y=[5 -2 6 1;0 3 7 -4;0 0 4 5;0 0 0 2];
c=[1 -2 28 8];
x=[0 0 0 0];
for i=4:-1:1
soma=0;
for j=i+1:4
soma=soma+(y(i,j)*x(j));
end
x(i)=(c(i)-soma)/y(i,i);
end
disp(x);
|
c3c27293e0d29bd0891480de286b594df7e0a333 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH11/EX11.6/ex6.sce | 27730e97208cee9d39d1ef9f58de8715522d81f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 415 | sce | ex6.sce | //ex6
//Cooling of a Canned Drink by a Thermoelectric Refrigerator
clear
clc
d=1;//density in kg/L
V=0.350;//volume in L
m=d*V;//mass in Kg
c=4.18;//specific heat in kJ/kg.C
T2=20;//Temperature in C
T1=4;//Temperature in C
Qcooling=m*c*(T2-T1);//heat of cooling in kJ
t=30*60;//sec
Qcoolings=Qcooling/t;//r... |
9eed1bc2bee9bdf1e4bd0e725d394af3dc7574b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH11/EX11.3/11_3.sce | 5944a4aa85ddfb9c055b174f69777c8f51398f0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,057 | sce | 11_3.sce | //Example 11.3
//Page No. 489
//given
//Free strean velocity (v1) and temp.(t1) on side 1
v1=6 //m/s
t1=150 //degree celcius
//same on side 2
v2=3 //m/s
t2=50 //degree celcius
//distant
x=0.7 //m
//The plate temp. is assumed to be equal to the mean of the bulk air temp on the two sides of the plates
T=100 ... |
8ca89501232b9bd2936c19b4e2107d9eff152f48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH11/EX11.3/11_3.sce | b9ca6dd412d7e24949b81c4cc51dd2d7bf8176a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | 11_3.sce | clc
clear
//Initialization of variables
yc=2 //ft
g=32.2 //ft/s^2
d=10 //ft
gam=62.4
rho=1.94
B=10 //ft
//calculations
Vc=sqrt(g*yc)
Ac=yc*d
Q=Vc*Ac
y1=5.88 //ft
y2=0.88 //ft
V1=2.73 //ft/s
V2=18.25 //ft/s
Nf1=0.198
Nf2=3.43
F= 0.5*gam*y1^2 *B - 0.5*gam*y2^2 *B - Q*rho*V2 +Q*rho*V1
//results
printf... |
305b6f8e27bc56904a408304f0466ea837dd6849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH2/EX2.2/Ex2_2.sce | c57b3110601805df046a7ac9d2d2c240165b6664 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,000 | sce | Ex2_2.sce | // chapter 2 example 2
//------------------------------------------------------------------------------
clc;
clear;
// ur1 = 3
// ur2 = 5
// B1 = 2ax + ay
// choosing the unit normal an = (ay + az)/√2
// |Bn1| = ((2ax + ay)*(ay + az))/√2 = 1/√2
//Therefore Bn1 = 1/√2an = (1/√2)*(ay + az)/√2
// Also, Bn2 = Bn1... |
0b20feb2a39306d121071f923ba12e793899581d | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH11/EX11.6/Example11_6.sce | f1cbeebb2654ffc9f23035a9d5655ee4c1b6bcb5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Example11_6.sce |
clear ;
clc;
printf("\t Example 11.6\n");
T1=263.15; //temp.of ice,K
Pv=exp(21.99-6141/(T1)); //vapor pressure,KPa
xw=Pv/101.325; //mole fraction of water
mw=xw*18.02/(xw*18.02+(1-xw)*28.96); //mass fraction
printf("\t mass fraction of watervapor above the surface of ice is :%.5f\n",mw)... |
ad296058c729ad87cf7651ab60e9e746448f38ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH15/EX15.5/Ex15_5.sce | c05eb34331338309b78d7e346c0ddbc416ee9b94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex15_5.sce | //Example 15.5//
a=5.6;//eV //energy band gap
b=2;//ev //given
E=a/b
//Using T=25 degree C= 298K
mprintf("E = %f eV",E)
T=298;//K //temperature
k=86.2*10^-6;//eV K^-1//Boltzmann's constant
c1=(%e^(E/(k*T)))+1
//mprintf("c1 = %e ",c1)
fE=1/c1
mprintf("\n fE = %e ",fE)
|
5e004849bdf5a3e47d603d5585301e8d104cf3be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.27/ex1_27.sce | 5c755386c1d0285c342cc36000b5e5a89c597e81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | ex1_27.sce | // Exa 1.27
clc;
clear;
close;
// Given data
V1 = 20;// in V
V2 = 0.7;// in V
R = 4.7*10^3;// in ohm
I = (V1-V2)/R;// in A
I_D = I/2;// in A
disp(I_D*10^3,"The diode current in mA is");
V_o = I_D*R;// in V
disp(V_o,"The output voltage in V is");
|
5301d273fec9f52e4e5e1c86a8907648954d8779 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH12/EX12.1/12_1.sce | 89851765fe8973f8bd83efaa2697921d24da5e1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sce | 12_1.sce | clear
clc
disp('Exa-12.1(a)');
Z=2;A=4;N=A-Z; // Given values
printf('The following method of representing atoms is followed throughout the chapter\n\t\t x,ySz\n where x=atomic number y=mass number z= Neutron Number S=symbol of the atom\n\n')
printf('The helium can be reperesented as %d,%dHe%d\n',Z,A,N);
... |
8e29fa7d901b366898b73e2bd08517e4fafc68dd | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/bdVpcDesconect.sci | 6e8b0dd9f7c4b3a30ec3fe826684752aee75a529 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sci | bdVpcDesconect.sci | function bdVpcDesconect()
global %VirtualProcessCommPath varBDados
path = getlongpathname(%VirtualProcessCommPath)+'xml';
xmlWrite(varBDados.Process,path+filesep()+"hrtProcess"+".xml");
xmlWrite(varBDados.Config,path+filesep()+"vpcConfig"+".xml");
clearglobal varBDados
endfunction
|
4991128c7229116c58dcc227519be5226c4ed076 | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH6/EX6.1/Ex6_1.sci | 683bd9c8355ce2b1e28e3f14f633a2ca3d439fb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sci | Ex6_1.sci | clc();
clear;
//*****Data*****//
x = 4/12;// [thickness of plate, inch]
v = 33;// [fps]
n = 15.4*10^(-5);// [kinematic viscosity, feet^2/s]
//************//
Re = v*x/n;// [Reynold's number]
delta = 4.64*x*12/sqrt(Re);// [Boundary layer thickness ,ft]
printf("Boundary layer thickness at 4 in. distance is %.... |
6943a940aa2ee49a0e6e9bd961fe3e04a3eae075 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH8/EX8.1/1.sce | 25dd8df7ea58accc8740b2b9375f9cf5a28fad3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 1.sce | clc
R=287; //J/kg K
V1=40; //m^3
V2=40; //m^3
p1=1*10^5; //Pa
p2=0.4*10^5; //Pa
T1=298; //K
T2=278; //K
m1=p1*V1/R/T1;
m2=p2*V2/R/T2;
//Let mass of air removed be m
m=m1-m2;
disp("Mass of air removed =")
disp(m)
disp("kg")
V=m*R*T1/p1;
disp("Volume of gas removed =")
disp(V)
disp("m^3") |
54a323a0e5b58bb9eb1da6724186251e56b08aca | 717ddeb7e700373742c617a95e25a2376565112c | /1448/CH20/EX20.2.i/I20_2.sce | 2c0b736361a8b9a4f0db95694488db936f499da9 | [] | 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 | 217 | sce | I20_2.sce | clc
//Initialization of variables
g2=5
g1=3
E2=6
E1=2
k=1.38*10^-23 //J/K
h=6.626*10^-34 //J s
B=3.18*10^11 //Hz
//calculations
ratio=g2/g1 *(%e^((E1-E2)*h*B/(k*T)))
//results
printf("Ratio= %.2f",ratio)
|
748e6af47687be75ea3322f5ccf9d62b6da849cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.5/Ch02Ex5.sce | 8528af407b2ab0303fd9ad258f472a73d94d0c30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | Ch02Ex5.sce | // Scilab Code Ex2.5:: Page-2.10 (2009)
clc; clear;
lambda1 = 5890e-008; // Wavelength of D1 line of sodium, cm
lambda2 = 5896e-008; // Wavelength of D2 line of sodium, cm
D = 120; // Distance between source and the screen, cm
d = 0.025; // Separation between the slits, cm
n = 4; // Order of dark fringe
x1 =... |
b0dac64232db030e44779d81decfa17cf8dfe14e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH14/EX14.4/Ex14_4.sce | d880380cf791902d81477ab98ce3df4833613e30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Ex14_4.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 14.4
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
DeltaLambda0=30e-9;//Gain bandwidth in wavelength domain in m
Lambda0=1550e-9;//central wavelength in wavelength domain in m
c=3e8;//Speed of ... |
0f967710740f3c7391f5a96fd99a5a49df74bbba | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/systshow.sci | 9bebe2e244cbcd433604b11dc5fd3efb9c569dbe | [
"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 | 433 | sci | systshow.sci | function win=systshow(x,win)
[lhs,rhs]=argn(0)
if rhs<2 then win=xget('window'),end
xset('window',win);xbasc()
wpar=x(1)
wsiz=wpar(1)
xset('wdim',wsiz(1),wsiz(2))
[frect1,frect]=xgetech()
wdm=xget('wdim')
xsetech([-1 -1 8 8]/6,[0 0 wdm(1) wdm(2)])
drawobjs(x)
nx=size(x)
for k=2:nx
o=x(k)
if o(1)=='Block' then
m... |
ad53c9e51a5ed8674908391cd7aad85144303b68 | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /SciLab/laba162.sce | 336381944a178227f9676d6c881c91f83a52ff67 | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,023 | sce | laba162.sce | //Лаба 16
//Транспортная задача 2
//min(2000x1+1500x2+2300x3+1900x4+1700x5+2100x6)
//x1+x2=4 x3+x4=3 x5+x6=6 x1+x3+x5=6 x2+x4+x6=7
//x1>=0,x2>=0,x3>=0,x4>=0,x5>=0,x6>=0
clc
p=[2000; 1500; 2300; 1900; 1700; 2100]
A=[ 1 1 0 0 0 0
0 0 1 1 0 0
0 0 0 0 1 1
1 0 1 0 1 0
0 1 0 1 0 1]
b=[4; 3; 6; 6; 7]
ci=[0; 0... |
c13b65a767aff70526673084dd2e0f1b7647e5d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH21/EX21.7/Ex21_7.sce | cd37817344f3a37e71c1badec6a928ff584e98bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 200 | sce | Ex21_7.sce | //Ex21_7 Pg-1073
clc
R=260000 //resistor R in ohm
C=25*10^(-6) //capacitance in farad
tau=1.1 //time constant
t_delay=tau*R*C //pulse width in sec
printf(" Pulse width = %.2f sec",t_delay)
|
130c08fce8d45e031f49b99e5f38104e26ecfa00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.55/ex2_55.sci | 3afd0c16416bd2df1f7481c992b3043d87ccb623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sci | ex2_55.sci | //Chapter 2,Ex2.55,Pg2.68
clc;
disp("Refer to the diagram shown in the figure")
//Calculation of Vth
//The network is divided into meshes and Kirchoff's laws are applied to the meshes to obtain simultaneous equations
A=[4 -2;-1 4]
B=[-25;10]
I=A\B
printf("\n I1=%.0f A \n",I(1))
printf("\n I2=%.0f A \n",I(2))
... |
409290521a1176d9c442d7d8faa0a0b4924b0515 | 717ddeb7e700373742c617a95e25a2376565112c | /1026/CH8/EX8.16/Example8_16.sce | 955ff3493fc2459a48e7509700378de40966ab39 | [] | 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 | 509 | sce | Example8_16.sce | //chapter8,Example8_16,pg 209
n=2
grat=1/5000//transmission grating
lam=5893*10^-8
dtheta=(2.5*3.14)/(180*60)//change in angular displacement(in radian)
//(a+b)=grat
//dlam=((a+b)cos(theta)/n)dtheta
cos(theta)=sqrt(1-(((n*lam)/grat)^2))
dlam=(dtheta*grat*cos(theta))/n//difference in wavelength
... |
aa580d54e747a31bfff601dd6f1bb85f51f049d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.17/example5_17_TACC.sce | 0944668dff61805eeafabf33997279e429f527ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 787 | sce | example5_17_TACC.sce | //example 5.17
clear;
clc;
disp("C3H6(g)+4.5O2(g)-->3CO2(g)+3H2O(l)");
//Given:
S=-339.23;//standard change in entropy [J/K]
T=298;//temperature[K]
Hf1=20.42;//enthalpy of formation of C3H6(g)[J]
Hf2=-393.51;//enthalpy of formation of CO2(g)[J]
Hf3=-285.83;//enthalpy of formation of H2O(l)[J]
dn=3-4.5-1;/... |
e38ecca84ada9e4cc01b5609834a5544ecfeddc6 | c71594b945f16fe9017f71039bfcfc1412c43e2a | /Or8/Or8.tst | e22b297dff862390894ae7b8f581afa90d820beb | [] | no_license | Quanta770/nand2tetris- | 089432ca788a743897e972a48cd29e451cceba91 | fee41d9230bb4a964526f7ff13cc94a8b73f4a7e | refs/heads/master | 2020-08-06T19:15:30.552297 | 2019-10-25T08:14:49 | 2019-10-25T08:14:49 | 213,120,493 | 0 | 0 | null | 2019-10-25T08:14:50 | 2019-10-06T06:39:34 | Assembly | UTF-8 | Scilab | false | false | 416 | tst | Or8.tst | load Or8.hdl,
output-file Or8.out,
compare-to Or8.cmp,
output-list a%B1.8.1 b%B1.8.1 out%B1.8.1;
set a %B00000000 ,
set b %B00000000 ,
eval,
output;
set a %B00000000 ,
set b %B11111111 ,
eval,
output;
set a %B11111111 ,
set b %B11111111 ,
eval,
output;
set a %B10101010 ,
set b %B01010101 ,
eval,
output;
set a %B00... |
f1df9a2f82f3b5256e62466e8be7bd8105960c8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch12_3.sce | 1bb93b8e6fa57693d56cc1caf891250a98f55bf5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | ch12_3.sce | clc
disp("Example 12.3")
printf("\n")
printf("Given")
disp("The system CBA is WYE connected")
disp("Effective line voltage is 120V")
disp("The three impedances are 20(-30 deg)")
Zmag=20;Zph=-30;
//Let maximum line voltage is Vmax
Vmax=120*sqrt(2)
//Let the line to neutral voltage magnitude be Vn
Vn=Vmax/sq... |
3ebb5e0535d765abf49647415156bb91c240a67d | e754eb2b1f65ee921a01907453d0c2621d7344bf | /1-Diagrama-Bode-Versao-Final.sce | 2e21f0536b863c2297dd6d92579ba6273f72e1fb | [] | no_license | nascimento-luciano/Mathematical-Control-Theory | 5ed2c1fc594081519c73e5ad38f399da6f1f7cf2 | c8e2d1eb17ba1f3f08ad4b13b21bfb28c7c5bd8c | refs/heads/main | 2023-07-30T07:35:12.667973 | 2021-09-15T12:50:01 | 2021-09-15T12:50:01 | 404,374,014 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | 1-Diagrama-Bode-Versao-Final.sce | w=[.1:.1:10];
G1=w;
G1=G1.*w^-1;
G1=20*log10(abs(10/9))*G1;
G2=-20*log10(abs(%i*w));
G3=20*log10(abs((%i*w)^2 +(%i*w)*0.4 + 1));
G4=-20*log10(abs((%i*w)^2*(1/9)+(%i*w)*(8/90) + 1));
G=G1+G2+G3+G4;
plot(w,G1,'r',w,G2,'m',w,G3,'y',w,G4,'b',w,G,'k');
legend('G1','G2','G3','G4','G',[3]);
a = gca (); ... |
3947209901a80d53d22e0b59fdf10b837ec9ec9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX4.2.3/ques4_3.sce | 260fbdba9dc01cd7ef4c6638425aa77d286eb309 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 128 | sce | ques4_3.sce | //error no output
//ques4
clc
disp('definite integral');
syms x a
g=x^3*(2*a*x-x^2)^(1/2);
f=integ(g,x,0,2*a);
disp(f);
|
0094bd8f2d7c9482a9b5b4bddf528d65d364181c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3813/CH1/EX1.5.a/Ex1_5a.sce | b3aa88afcb6557c598300b1479ae3b60d7b37ed3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | Ex1_5a.sce | //Electric Drives:concepts and applications by V.subrahmanyam
//Publisher:Tata McGraw-Hill
//Edition:Second
//Ex1_5a
clc;
clear;
V=250;// voltage in V
Ra=0.4;// Resistance in ohm
Na=480;//Speed in rpm
Va=125;// voltage in V
Ia=40;//Current in A
Vi=V-(Ra*Ia);
N=Na*(Vi/Va);
disp(N,'The speed of the motor i... |
f8fc60ae058d449eef6c93504b69be789531caf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH6/EX6.10/6_10.sce | 3195672f19bd001a73e4ad96230225c06fb9559d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,450 | sce | 6_10.sce | clear;
clc;
//Example - 6.10
//Page number - 228
printf("Example - 6.10 and Page number - 228\n\n");
//Given
T_1 = 298.15;//[K] - Standard temperature
T_2 = 1042;//[K] - Reaction temperature
//At 298.15 K
delta_H_CaCO3_for_298 = -289.5*10^(3);//[cal/mol] - Enthalpy of formation of CaCO3 at 298.15 K
delt... |
899006276b32d66f06fef75bcb18dd0695d7c48d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH12/EX12.15/i_15.sce | 7a29f4e0f1cf44505ec987f5e5bc308e0ae754d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | i_15.sce | // To determine the currents in parallel branches of a network.
clc;
clear;
I=40;
R1=20;
R2=60;
//Current Divider equation I1= I*(R2/(R1+R2))
I1=I*(R2/(R1+R2));
I2=I*(R1/(R1+R2));
disp('A',I1,'The Current in the 20 ohm branch =')
disp('A',I2,'The Current in the 60 ohm branch =')
|
3f003663ed346a4ee56d7f96f4501c6dfccd5c81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH24/EX24.8/example24_8.sce | c380f382bfb661900017c3f2eeae1757451df0bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | example24_8.sce | i=0.2;
v1=120;
f=60;
v2=95;
disp("Part a");
z1=v1/i;
x_l=sqrt(z1^2-r^2);
z2=v2/i;
x_c=x_l-sqrt(z2^2-r^2);
c=1/(2*%pi*f*x_c);
disp("the size of capacitance (in μF) needed is"); disp(c*10^6);
disp("Part b");
vc=i*x_c;
disp("voltage (in V) across capacitor is");disp(vc);
disp("Part c");
v=i*z1;
disp("volta... |
1b8327e1413d1b8a2942c9c5edbc29493a09044b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH8/EX8.10/Ex8_10.sce | d264b82df58817657d1b0904fbff90046e312891 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 879 | sce | Ex8_10.sce | //===========================================================================
//chapter 8 example 10
clc;clear all;
//variable declaration
V = 230; //voltage in V
I = 10; //current in A
T = 30; //time in minutes
x =0.8; //power factor
n = 890; //number of revolutions made
M... |
b7447f201c071e020d95b0993a9340db09df76e7 | 935d5880888b1ef01c8dddaf85af2be07d7940e2 | /AdaptiveSwarmRobotsSimulation-ASRS/stages/Stage1.sce | 60cccaf93fd9a01995b04eb3f627ca23620d024b | [] | no_license | google-code/asrs | c3b35545bce8ae38c8184de002e93e18a67461ee | c9a828a4eb2fbf076116f3c51c44da45a60f9feb | refs/heads/master | 2016-08-05T13:33:11.103066 | 2015-03-15T15:18:57 | 2015-03-15T15:18:57 | 32,267,209 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | Stage1.sce | ___________
| |
|_ |
| _| |
| _|
| |_
| |
| |_ |
|__ | _|
|___________|
|
3e9b94953acd829a6bb7cb62833e440529108c2b | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/Couette_WeakDG_LFRHU_SEM.tst | 617f4825dbde6655966d88e79121b10a503c8ed6 | [
"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,052 | tst | Couette_WeakDG_LFRHU_SEM.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Couette flow, mixed bcs, WeakDG advection and LFRHU diffusion, SEM</description>
<executable>CompressibleFlowSolver</executable>
<parameters>Couette_WeakDG_LFRHU_SEM.xml</parameters>
<files>
<file description="Session File">Couette_W... |
db7b83ff03b854582a5bf1e0780c6b4c5261de95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH1/EX1.1/Ch01Ex1.sce | 6c24ae621e829121afbce1da96f502a84cd2d3c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | Ch01Ex1.sce | // Scilab Code Ex1.1 : Page-1.8 (2004)
clc;clear;
N = 6.022e+23; // Avogadro Number; /mol
E_A = 502; // First ionization energy of A atom, kJ/mol
E_B = -335; // Electron affinity for B atom, kJ
r = 3e-10; // Velocity of the particle at the mean position, angstrom
E_o = 8.85e-12; //Perm... |
70ac9d43f70492633cff863cc3b84fc04fc2e710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH1/EX1.14/Ex1_14.sce | 9ff780f9d7aa4415ed9934324ca5211d16fdddc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,105 | sce | Ex1_14.sce |
//Variable declaration
Idc=0.1 //dc current(A)
Rf=0.5 //forward resistance(ohms)
Rl=20 //load resistance(ohm)
Rs=1 //secondary resistance of transformer(ohm)
//Calculations
//Part a
Vdc=Idc*Rl //dc voltage(V)
Vm=(%pi/2)*(Vdc+Idc*(Rs+Rf)) //mean volt... |
ad0db0ac018123bd8cf06e766e65109eeb68cde2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH27/EX5.5.20/U5_C5_20.sce | 9bf6d7c62b74f317864b0b733207bd35dc25fb20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | U5_C5_20.sce | //variable initialization
h=6.62*10^-34; //Plank's constant (joule second)
c=3*10^8; //Speed of light (m/s)
x=62.4*100; ... |
789264f77e6db52a0f034b0c3cef02f6eeb45b5d | 37ecd78225875673db86fad4abb97404437eb339 | /jacobi.sce | 505ef0a308e3d684830f1db70fc86cb53275bd7b | [] | no_license | andreviniciusmb/Calculo_Numerico | 4a856ffb3887e447dcbd6d39a1b12218e38dc088 | 316a4c29686fd40b25a6353e404d7b1455b2d507 | refs/heads/master | 2022-04-20T13:55:09.969949 | 2020-04-15T19:17:39 | 2020-04-15T19:17:39 | 255,652,623 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | jacobi.sce | // Método iterativo, está menos sujeito ao acúmulo de erros de arredondamento.
function [x0]=Jacobi(a,b,x0)
n = size(a,1)
parar=1
for it = 1:5
for i = 1:n
soma = 0
for j = 1:n
if j ~= i
soma = soma + a(i,j)*x0(j)
end
end
... |
bcd5f5ea0e481aa17801ae461330eca05a791c22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH10/EX10.01/10_01.sce | 13d4a983d7d90e654c740f933f36db8b4c974ef4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 10_01.sce | //Problem 10.01:
//initializing the variables:
DH0co2 = -94052; // in cal/gmol
DH0h2o = -57798; // in cal/gmol
DH0ch4 = -17889; // in cal/gmol
DH0o2 = 0; // in cal/gmol
T = 298; // in K
//calculation:
DH0298 = DH0co2 + 2*DH0h2o - 2*DH0o2 - DH0ch4
printf("\n\nResult\n\n")
printf("\n the standard enthalpy... |
b32ea3efd0d63315fb83bce7b8dce012365fac57 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos/default_color.sci | 281fb8b30f63bddea3175dd25b1c982b23cdc5ed | [
"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 | 71 | sci | default_color.sci | function clr=default_color(typ)
if typ==-1 then clr=5,else clr=1,end
|
9a394feb41f364f097c6743e8a8613aa60e195a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH13/EX13.4/example13_4.sce | 99d97f3a3919eb46478784db4f2b41cd0d98c461 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | example13_4.sce | i=10*10^(-3);
r=10*10^3;
v=15;
fsd=0.02;
disp("Part a");
r1=v/(i-v/r);
disp("the resistance (in Ω) is"); disp(r1/1000);
disp("Part b");
e=2*fsd*100;
disp("the maximum possible error (in %) is"); disp(e); |
5eb69b98a2fb3135706f46803cc98064b845cf10 | 15377b2b4e60d6691378cf1a03c5998fedde45ca | /nc_linear_systems_approach/source/system_approach.sci | 48daa8e7d4d748bc343f90d44fa8db06c9bf897e | [] | no_license | Forbrig/nc_algorithms | de28754ed4321e127ffb6dcd00cb80a9f1cddef7 | de0165aa4dbcc6db36298ab7b46637bfa00364e5 | refs/heads/master | 2021-08-28T10:43:40.414903 | 2017-12-12T01:01:07 | 2017-12-12T01:01:07 | 111,705,263 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,968 | sci | system_approach.sci | //Vitor Guilherme Forbrig (vitorforbrig@gmail.com)
clc(); //clear console
A = [
4, -1, -1, 0, 0, 0, 0, 0;
-1, 4, 0, -1, 0, 0, 0, 0;
-1, 0, 4, -1, 0, -1, 0, 0;
0, -1, -1, 4, -1, 0, -1, 0;
0, 0, 0, -1, 4, 0, 0, -1;
0, 0, -1, 0, 0, 4, -1, 0;
0, 0, 0, -1, 0, -1, 4, -1;
0, 0, 0, 0, -1, 0, -1, 4;
];
I = e... |
b1d7a149bfa95213528a7cf2e523fb711c2ed676 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH4/EX4.8/Ex4_8.sce | 65f3383a4566ee1c5d22c1c5c519101ac9cf8ba8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,407 | sce | Ex4_8.sce |
clc
clear
//Input data
n=6;//Total lancashire boilers in a textile factory
Ws=6;//Each boiler supplying steam in t/h
p=16;//Pressure at which steam is supplied in bar
t=250;//Temperature at which steam is supplied in degree centigrade
CV=43960;//Calorific value of the fuel oil in kJ/kg
no=75;//Overall efficien... |
39fad512539a0d64703706588a77773f5a4488ed | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/NW42UPG/ATWM1_Working_Memory_MEG_NW42UPG_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 603520630b65cb0501eb52dc7d6173b0ae4ebf8a | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,618 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
8f424253fd791736a9d2a4d0d57c5e8e12a1cbb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3417/CH7/EX7.15.1/Ex7_15_1.sce | b71b8805be01a37ae5ef7c02acacfefecee6ca58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | Ex7_15_1.sce | //Ex7.15.1; calculate volume of biogas digester and power available from the digester
//Mass of the dry input
M0=2*5;//M0=2.5 kg/day * 5
pm=50;//unit=kg/m^3
tr=20;//retention time in days
C=0.24;//unit=m^3 per kg;Biogas yeild.
n=0.6;//efficiency of burner
Hm=28;//unit=MJ/m^3//combustion of methane
Fm=0.8;//meth... |
d36b6b8d715fbc22c5a25012e9d8ede29535f66b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1244/CH4/EX4.1/Example41.sce | 19c11d1218e010a1e9fd92fa0abc76dbfd0c882c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 828 | sce | Example41.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Principles of Heat Transfer, 7th Ed. Frank Kreith et. al Chapter - 4 Example # 4.1 ")
// Temperature of air in C is given as:
Tinfinity = 20;
// Temperature of surface in C is given as:
Ts = 100;
// Therefor... |
86016630f7214eac404681f3070ddd26dbe1fc30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.42/ex_1_42.sce | a64466e53d203018bac6788cf997a1ed8409446a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | ex_1_42.sce | //Example 1.42://limitting error
clc;
clear;
Er= 3;//full scale reading
Qs=2.5*10^-6;//full scale reading
Fm=1.25*10^-3;//flow measured by the meter in meter cuber per seconds
dQs= Er*Qs;//magnitude limiting errr
Er1= dQs/Qs;//relative error at flow
PEr= dQs/(Fm*10^-3);//percentage limiting error
disp(PEr," peercentage... |
4ffc633cbfb1f8d70e8e586901bb483fdcc20077 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH5/EX5.3/EX_5_3.sce | 980bd3b803603fa62249efae78d2e13f53a4a7e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | EX_5_3.sce | // Example 5.3:amplifier gain
clc;
clear;
close;
f=40;//frequency in hertz
Avm=40;//mid voltage gain
fl=40;//lower cut off frequency in hertz
Avl= (Avm/(sqrt(1+(fl/f)^2)));//gain at lower cut off frequency
disp(Avl,"gain at lower cut off frequency")
|
856e049bf0bf72b51888eb098fa8c3298a32f964 | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH2/EX2.5/example2_5.sce | a6bc919f0163c6d383eb537b2cc60ad1472b104a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | example2_5.sce | // To convert speed limit to a different unit
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 2-5 in Page 30
clear; clc; close;
// Given data
speed_km = 60; //... |
a5046038d53c6285e9797af1db6ee9af84ac241e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%hm_abs.sci | f5934a5c0ff0f6209597622a64c54e3858b8d5ca | [
"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 | 76 | sci | %hm_abs.sci | function M=%hm_abs(M)
// Copyright INRIA
M('entries')=abs(M('entries'))
|
d4da01ba67c39c7ca3b71f2cc277d284304ba16f | 1485852dd59aafc286600126cf832a32e10f117f | /macros/rgb2gray.sci | 8da330f7a9e90c56dc828cf1b7f77423c2f4fc80 | [] | 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 | 1,483 | sci | rgb2gray.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_... |
2271eb0a7f3129022a2a2d6fbceadec463143521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH24/EX24.14/24Ex14.sce | ffa713d118ad987c68dc109e3b01b81140d184f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | 24Ex14.sce | //Chapter 24 Ex 14
clc;
clear;
close;
tc1=270; rate1=5;
area1=tc1/rate1; //area of floor
//given length is 3/2 of breadth.
//breadth=x then length=(3*x/2) and area= (x*3*x)/2
b=sqrt(area1*(2/3));
l=(3/2)*b;
tc2=1720; rate2=10;
area2=tc2/rate2; //papered area
area3=8; //given area of ... |
a9c69478f00cf783267fd4e3570fc37a53b3f59b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.2/Ex5_2.sce | 05dae0868d517df8ee2da20546cb60cbdaab72bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ex5_2.sce | clc
p = 200000 // present worth in Rs
i = 10 // annual interest rate
i = 10/100
n = 20 // number of years
a1 = (p*i)/((1+i)^n-1) // annual investment using sinking fund factor in Rs
a2 = (p*i*(i+1)^n)/((i+1)^n-1)// annual investment using capital recovery factor in Rs
printf("\nAnnual investment using sinking fu... |
27b3af2130e9059333091897d6fd9be927319c80 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testjustify.sce | c8d378bdf1c8717ce1f9ae28baa609d6dfaea478 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | testjustify.sce | M=['short text';' text with spaces '; 'loooooonnnnnnnggggg text']
justify(M,'l') // left-alignment
justify(M,'r') // right-alignment
justify(M,'c') // center
|
69df829995401718847449c09651bfb9af6ef762 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /xcos_blocks/lpfota_c.sci | 52933b792b53165e7c1f8ac7d023cfc54f147b3d | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 332 | sci | lpfota_c.sci | function block=lpfota_c(block,flag)
if flag ==1
r = 1:block.ipar(1)
block.outptr(1)(r)=block.x(r)
elseif flag==0
kap= 0.7;
C = 5e-9;
Ut = 0.256;
j = 1:block.ipar(1)
block.xd(j)=(block.rpar(j)/C).*tanh((kap*(block.inptr(1)(j)-block.x(j)))/(2*Ut))
end
en... |
fabb31da7d965fa13431117d0d1b79ae6d133e57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.12/Ex1_12.sce | 9bdeee200e8c14e64b8ef3b526ed088d43168a0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | Ex1_12.sce | // Ex 12 Page 353
clc;clear;close;
// Given
VRY=200*expm(%i*0);//V
VYB=200*expm(%i*-120*%pi/180);//V
VBR=200*expm(%i*120*%pi/180);//V
ZA=10*expm(%i*60*%pi/180);//ohm
ZB=10*expm(%i*0*%pi/180);//ohm
ZC=10*expm(%i*60*%pi/180);//ohm
//Phase current
IRY=VRY/ZA;//A
IYB=VYB/ZB;//A
IBR=VBR/ZC;//A
IR=IRY-IBR;//A
PVA=conj(V... |
f25deb2911a609b6a7b45e772183c402c366a83d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH11/EX11.11/ex11_11.sce | 51bb30fd265becad10d52fbcad9d20f8dfb64ef8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | ex11_11.sce | clc;
t1=34+273; //temperature in Kelvin
t2=35+273; //temperature in Kelvin
r=((t2^4)-(t1^4))/(t1^4); //calculating percentage difference in radiation
disp(r*100,"Percentage difference in radiation = "); //displaying result |
46c434dfdc832e29e7f31f16e3f5f0096f6139b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH13/EX13.10/ex13_10.sce | 6c71a88ff43607d18ac2e52d968cef969f7c8ef0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex13_10.sce | clc;
warning("off");
printf("\n\n example13.10 - pg701");
// given
d=0.01; //[m] - diameter of cyclindrical porous plug
D=2*10^-9; //[m^2/sec] - diffusion coefficient
t=60*60; //[sec]
r=d/2;
m=0;
Ca_inf=0;
Ca_0=10;
X=(D*t)/((r)^2);
// from fig 13.14 the ordinate is
Y=0.7;
Ca_c=Ca_inf-Y*(Ca_inf-Ca_0);
... |
fc24edb4784566b2f77c144876ee06bd803b4d7c | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /5 sphere 30 seconds.sce | 1e0ca6b54fbf6e3c9d9699301577e0ee84999497 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 283,986 | sce | 5 sphere 30 seconds.sce | Name=5 sphere 30 seconds
PlayerCharacters=16ML9 - 080
BotCharacters=TileFrenzy Sphere.bot;TileFrenzy Sphere.bot;TileFrenzy Sphere.bot;TileFrenzy Sphere.bot;TileFrenzy Sphere.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=16ML9 - 080
AddedBots=TileFrenzy Sphere.bot;TileFrenzy Sphere.bot;TileFrenzy Sphere.bot;Ti... |
125f60b2bc37407b21a2516b938916c99752e53a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH7/EX7.5/Ex7_5.sce | a7fffe7f3992dca71d97c6824c3e7ea578060043 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_5.sce | //Chapter 7, Example 7.5, Page 199
clc
clear
// Activity of the sample
lambda = 7.466*10**-5
m = 2
Na = 0.6022*10**24
A = 55
sigma = 13.3*10**-24
delta = 10**13
t = 120
Activity= lambda*(m*Na/A)*sigma*delta*t
printf("Activity = %e Bq\n",Activity)
//Answers may vary due to round off error
|
152ad86f07b7a346c32ca6753fdc815582024449 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH11/EX11.11/Ex11_11.sce | d7780da3cfa766f04154228a48dc1b0a7a7989cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 882 | sce | Ex11_11.sce | clear
//
//variable declaration
L=(6) //m
w=(60) //uniformly distributed load,KN/m
Rs=L*w/2 //Reaction at support,KN
//Moment at 1.5 m from support
M =( Rs*1.5-(w*(1.5**2)/2))
//Shear force at 1.5 m from support
F=Rs-1.5*w
B=(200) //width... |
18a90ffe7fd2e3f307bf99bf004611ad83164506 | 3655c97e8146a7ca97eaf60c4eb20ced2238eacb | /scilab/Eight Queens/createInitialStates.sci | baeca195bd79813c1ed5ddf86cd1b9697e89081b | [] | no_license | edielsonpf/genetic-algorithm | 99ae112982b6fee77ecfc55cbd10172b381e1dde | 94c599a23fa3b2f477c7a5062f65248a93cc395a | refs/heads/master | 2020-04-05T22:02:45.016605 | 2018-12-24T14:36:40 | 2018-12-24T14:36:40 | 32,630,334 | 0 | 1 | null | 2019-03-25T12:23:16 | 2015-03-21T11:45:11 | Python | UTF-8 | Scilab | false | false | 834 | sci | createInitialStates.sci | // Função que cria um estado inicial aleatório do problema de 8 rainhas
//Autor: edielson@inatel.br
function populacao = createInitialStates()
populacao = [];
//posição máxima onde uma rainha pode ser colocada no tabuleiro
//MaxSymbol = 8;
MaxSymbol = 6;
//MaxSymbol = 4;
... |
d7ce9e70ba8e13d1c4d45d563b1fee386f3c053a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH6/EX6.3/Exa6_3.sce | b969c0f1b13e1422b3dfc51669404abde0af24f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | Exa6_3.sce | //Exa 6.3
clc;
clear;
close;
//given data
alfaDC=0.98;//unitless
ICBO=4;//in uA
ICBO=ICBO*10^-3;//in mA
IB=50;//in uA
IB=IB*10^-3;//in mA
//Formula : IC=alfaDC*(IB+IC)+ICBO
IC=alfaDC*IB/(1-alfaDC)+ICBO/(1-alfaDC);//in mA
IE=IC+IB;//in mA
disp(IE,"Emitter current in mA : ");
disp(IC,"Collector current in m... |
33d040d6070bf247f41af8c08f1c47640bbcb9c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH6/EX6.4/Ex6_4.sce | c15b44a49d5b006d5402aa34a1a7805797496d61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Ex6_4.sce | //Example number 6.4, Page number 6.47
clc;clear;close
// Variable declaration
B=9.27*10**-24; // bohr magneton(ampere m**2)
a=2.86*10**-10; // edge(m)
Is=1.76*10**6; // saturation value of magnetisation(ampere/m)
// Calculation
N=2/a**3;
mew_bar=Is/N; // number of Bohr magnetons(ampere m**2)
m... |
584d86214b84ba563baed7775e5f2b577f8a3a62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH3/EX3.10/example10.sce | 84943af9a7d9a0f8c7ee7dccf7da22022d147224 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,420 | sce | example10.sce | clc
clear
//input data
H=0.075//Pressure developed by a fan in m W.G
D2=0.89//The impeller diameter in m
N=720//The running speed of the fan in rpm
b22=39//The blade air angle at the tip in degree
b2=0.1//The width of the impeller in m
Cr=9.15//The constant radial velocity in m/s
d=1.2//Density of air in kg/m^... |
273cfc99346138434fcf07524a1c486f0f4a1314 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/binomial/binornd.tst | 17e8dd8c634cb962dd94a12a0dcd1d8be733a924 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,854 | tst | binornd.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// 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_CeCI... |
e0007e46b41b92bafbdfb59c2121d08298e50353 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%r_x_r.sci | 37e53fb957debc12269fc26a883e301efc0d6f90 | [
"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 | 201 | sci | %r_x_r.sci | function f=%r_x_r(s1,s2)
// %r_x_r(r1,r2)=r1.*r2 r1,r2 rationals
//!
// Copyright INRIA
[s1,s2]=sysconv(s1,s2)
[num,den]=simp(s1('num').*s2('num'),s1('den').*s2('den'))
f=rlist(num,den,s1('dt'))
|
88a92496c961e38f4a6cc37d11f8a44ebe962bfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.4/Ex5_4.sce | 954ced5f49b27463f8232b7d0a641cbf5c4cc209 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | sce | Ex5_4.sce | clear;
clc;
disp('Example 5.4');
// aim : To determine
// the final temperature
// Given values
V1 = .2;// original volume,[m^3]
T1 = 273+303;// original temperature, [K]
V2 = .1;// final volume, [m^3]
// solution
// since pressure is constant, so using charle's law V/T=constant
// hence
T2 = ... |
74b0a9808423b608d72eefd791fb8804c6834ec0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH14/EX14.15/Ex14_15.sce | c951a6fc0d06032c9acc8c9e5ae307ffc84975d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Ex14_15.sce | clear
//Given
Vp=220.0 //V
Vs=22 //V
Z=220 //ohm
Is=0.1
//Calclation
Ip=(Vs*Is)/Vp
//Result
printf("\n Current drawn is %0.3f A", Ip)
|
6a79df3722259517d039d0748503690815ac0510 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH14/EX14.1/Ex14_1.sce | d3022f3d9e8eb99e82e93ec9ed7a0fc0dc207da9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | Ex14_1.sce | //Example 14-1, page No - 544
clear
clc
f=310*10^6
len1 =(492*0.97)/f
len2 =(492/f)*0.8
len3 =(984/f)*0.73
z1 =120*log(35/2)
len4 =234/f
z2 = 73/2
printf('The length and radiation resistance of the dipole \n are %.2f feet and 73 ohm respectively',len1*10^6)
printf('\n\nThe length of the folded dipol... |
774f5081094ab01fcbceed19fb58a2fae69bc29e | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/XW75EDU/ATWM1_Working_Memory_MRI_XW75EDU/ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | 2433c36cde115fcb059206c92fb234322ba1632c | [] | 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 | 12,442 | sce | ATWM1_Working_Memory_MRI_Salient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_salient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds = fa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.