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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a845ec850a6a63d9037ebb054661d90bc79b30ea | d56141249002a5da7c4a2641dbdfc609809046a8 | /PiLab/ban(StdOutput).sce | 8cbdf6e70b5e49b4eae1ab6127dfaec5e10bfc26 | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,057 | sce | ban(StdOutput).sce | // this code convert the band structure data to column format.
// so other user can use it easier.
clear; clc; exec(PiLib);
// Parameter ===========================================================
work_dir='C:\MyDrive\Work\PiLab_projects\Sn_AlO_single'
project_name='Sn_AlO'
// Main ===================================... |
9fad231f7ec4ea0f9d779bab5dc4156bd81c385f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH1/EX1.5/Example1_5.sce | b167d047515fc38daf20871d3239d14b2f5dff4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,478 | sce | Example1_5.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 1: Electromechanical Fundamentals
// Example 1-5
clear; clc; close; // Clear the work space and console.
// Given data
no_of_conductors = 40;
A = 2; // A = Parallel paths
path = A;
flux_per_pol... |
1e6a5008654ccf5c9dfabc651c93a0335a8ed400 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_7/Scilab_codes/q1_c.sce | 4bcd033b77f38a555c516c048a79bfd635d7b81a | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | q1_c.sce | s = poly(0,'s');
G = 1/((s+3)*(s+4)*(s+12));
//z = 3;
for z = 0:0.01:3
K = G*(s+z)/s
evans(K);
end
|
3e9e460b8373811237ad7353e6a1e42532bde610 | 5d546194d838993b19721a5041c3386c71f4e0eb | /Module-1_bash-jupyter-git/data/art/artists_random.tst | afe2d0b6f1f31360277d4c2d318b2a0625d204ff | [] | no_license | acpandey/Applied-Bioinformatics-HW | 0d922c44bfee116770f4159bdff1ed6b2ec3e540 | f09ac3bc33338b872a18ef6c0ec0eb3164d832e8 | refs/heads/master | 2020-03-28T16:11:16.893913 | 2018-09-13T16:40:42 | 2018-09-13T16:40:42 | 148,668,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,301 | tst | artists_random.tst | TESTA, Pietro (1611-1650) Baroque Italian painter (Rome)
TARAVAL, Louis-Gustave (1738-1794) Neoclassicism French graphic artist
KOBELL, Jan I (1755-1833) Rococo Dutch graphic artist (Rotterdam)
TAUNAY, Nicolas Antoine (1755-1830) Rococo French painter
TERBRUGGHEN, Hendrick (1588-1629) Baroque Dutch painter (Utrecht)
AG... |
538121fd908e504f4fb3447815d641b0ed61d716 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.27/2_27.sce | d64752e410c1bdc798394a9fa9b21e6946dda0ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | 2_27.sce | clc,clear
printf('Example 2.27\n\n')
V=230
N_1=1000,N_2=950
R_a=0.5, R_sh=230 //armature and shunt field resistance
I_L1=10
I_sh = V/R_sh
I_a1 = I_L1 - I_sh
//T (prop.) phi*I_a (prop.) I_a with phi constant and T is constant due to full-load
I_a2=I_a1
E_b1 = V - I_a1*R_a
E_b2=E_b1*(N_2/N_1) //N (pro... |
ac495c8a658bc31ab643f33832940c5e991d072f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/MA23.prev.tst | be102636d983d4c14a0ffc4d9ee6e5d59f97a0a4 | [
"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 | 233 | tst | MA23.prev.tst | [[3,1,2,-1],[1,3,-1,2],[-1,-2,1,-1],[-2,-1,-1,1]] * [a,b,c,d] = 19*a^3+18*a^2*b+18*a*b^2+19*b^3+42*a^2*c+18*a*b*c-12*b^2*c+30*a*c^2+12*b*c^2+7*c^3-12*a^2*d+18*a*b*d+42*b^2*d-30*a*c*d-30*b*c*d-6*c^2*d+12*a*d^2+30*b*d^2-6*c*d^2+7*d^3
|
65cfb4ea9913a503dc393cea4b8e3c80562bced8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH10/EX10.5/Ex10_5.sce | 5a9fc5f6425b6f18490ea7d12e82af07e84237ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 700 | sce | Ex10_5.sce | // chapter 10
// example 10.5
// calculate critical current at 5K
// page 314
// given
clear;
clc;
T=5; // in K (given temperature)
d=3; // in mm (diameter of the wire)
Tc=8; // in K (critical temperature for Pb)
H0=5E4; // in A/m (critical magnetic field at 0K)
pi=3.14; // value of pi used in the solution... |
7737d60b489ba725e0779c5a034debd1db6be2f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH4/EX4.5/Example_4_5.sce | 3cc247a08944cbf3a8c39e988372dffafc78ae0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Example_4_5.sce | //Example 4.5
clear;
clc;
//Given
n=1;//moles of ice
Ttrans=286;//melting temperature in K
P=1;//pressure in atm;
delHtrans=2090;// enthalpy of transformation in J mol^-1
Tb=373;//boiling temperature in K
delHv=40850;// enthalpy of fusion in J mol^-1
//to calculate the change in entropy
delSv=delHv/Tb;//... |
6ae56c51b0f3d1751bee999c7654c07d67104c6b | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH4/EX4.23/EX4_23.sce | 11b8ebd7be952886a29e20e0cc6f3730bd2bcf88 | [] | 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 | 1,070 | sce | EX4_23.sce | clc;funcprot(0);......//Example 4.23
//Initialization of variables
D=3*10^-3;.........//Diameter of the capillary holes in m
L=0.5;...........//Length of the capillary holes in m
U=0.3;.......//Velocity of water in kg/s
T=355;...........//Temperature of devise casing in K
T1=333;........//Inlet Temperature of wat... |
6c7e752307ee51f8de6c3355dc4aa3878f2bacfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH31/EX31.2/Ex31_2.sce | e08e1bf8162ee30a3e780e53b1058922d295940b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sce | Ex31_2.sce | //Example 31.2
m_parent=239.052157;//Atomic mass of parent nucleus (Pu 239)(u), See Appendix A
m_final=235.043924+4.002603;//Final atomic mass of products of decay (U 235 and He 4)(u), See Appendix A
delta_m=m_parent-m_final;//Difference in mass (u)
E=delta_m*931.5;//Energy emitted in decay (MeV)
//E=delta_m*c^2, ... |
aa4ea1f69434973721b8fd19ff22eefe77f97b9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH5/EX5.1/exa5_1.sce | 38653f182179d135ef02421dc56d777e397350f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | exa5_1.sce | clc;
//Example 5.1
//Page no 159
//solution
Brf=200; //kHz
Bif=10; //kHz
//Bandwidth improvement is found by substituting into equati
BI=(Brf/Bif);
disp(BI,"BI = ");
disp("and noise figure improvement is found by substituting into equation 5-3 (refer pgno 157)");
NF=10*log10(BI);
disp('dB',NF,"NF = ")
|
17c1655cc01571d2ea1bb8cf1734756fcbe461f5 | 1603404a66ca1e24f41670ecff65a078e611bf97 | /cron/saltcheck-tests/package/install.tst | 5ea2cd0026aaac15964a67fea1b95191a02ce1f1 | [
"Apache-2.0"
] | permissive | saltstack-formulas/cron-formula | 1a97b5ca8e271c813e88314ecc8e30c8481273ba | 2f4c7889412c14dff2040efa3b87a4415d5770ac | refs/heads/master | 2022-07-28T11:11:01.481341 | 2022-07-17T18:42:22 | 2022-07-17T18:42:22 | 98,590,657 | 7 | 30 | Apache-2.0 | 2022-01-14T10:39:30 | 2017-07-28T00:32:16 | Ruby | UTF-8 | Scilab | false | false | 281 | tst | install.tst | # -*- coding: utf-8 -*-
# vim: ft=sls
{%- set package_name = 'cronie' %}
{%- if grains.os_family in ['Debian'] %}
{%- set package_name = 'cron' %}
{%- endif %}
verify_cron.package:
module_and_function: pkg.version
args:
- {{ package_name }}
assertion: assertNotEmpty
|
8408e218a3a1e4e32415af7001f97cac1eba8c17 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH10/EX10.4/Ex10_4.sce | 7aab01fcf16527cca57540b67444037fba10af99 | [] | 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 | 628 | sce | Ex10_4.sce | // Variable declaration
alpha = 0.05 // level of significance
x = 48
n = 60
p0 = 0.70
// Calculation
// null hypothesis: if p=0.70 , Alternative hypothesis if p>0.70
Z_thr = 1.645 // theoritical value of Z
Z_prt = (x - n*p0)/ sqrt(n*p0*(1-p0)) // practical value of Z
// Result
printf ( ... |
a6090f2d728b13de75ec1e7fd1f53e8cb4389224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.23.iii/exa12_23_iii.sce | de1fd6f1cf076116ae2ce18c5b27a75e7f336d69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | exa12_23_iii.sce | //caption:stability_using_Nyquist_criterion
//example 12_23_iii
//page 535
disp("for K=10")
g=(10*(s+10)*(s+40))/(s*(s+1)*(s+4));
g1=(10*(s1+10)*(s1+40))/(s1*(s1+1)*(s1+4));
GH=syslin('c',g);
GH1=syslin('c',g1);
nyquist(GH);
nyquist(GH1);
//mtlb_axis([-1.5 0.2 -0.3 0.3]);
xtitle('Nyquist plot of (0.1*(s+10)*(s+40))/(s*... |
29f2041473316c5903c907a38ace88ddeed623f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH2/EX2.15/ex2_15.sce | 55c64ae43fcfd2c43cb78f4e378ccd70c211d285 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,040 | sce | ex2_15.sce | // Exa 2.15
clc;
clear;
close;
format('v',6)
// Given data
bita = 50;
V_CC = 25;// in V
V_BB = 10;// in V
R_C = 15 * 10^3;// in ohm
R_B = 40 * 10^3;// in ohm
R_E = 5 * 10^3;// in ohm
V_BE = 0.7;// in V
I_B= poly(0,'I_B');
I_E= (1+bita)*I_B;// in A
// Applying KVL to Base-Emitter loop,
// V_BB = I_B*R_B ... |
55557db6a3084bc716fc19b0e045bffd00fb1a82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH3/EX3.2/3_2_sci.sce | f6d2c4da1c89b56874cc5e1e72ccb41cf4694efc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,039 | sce | 3_2_sci.sce | //Fabrication and Thermal characteristics
//Example 3.2
Xa=50;//Ambient temperature//
P20=25;//on state power loss at 20%load in Watts//
P200=350;//on state power loss at 200%load in Watts//
Rjc=0.02;//junction_case thermal resistance//
Rcs=0.05;//case_sink thermal resistance//
Rsa=0.12;//sink_atmosphere thermal... |
0b548f8d1f412b4542725cdf0a19cd4fdc2c5feb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.4/example13_4.sce | bde3db6905263e3140921337c068f08dee50ae41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | example13_4.sce | clc
// Given that
x1 = 1 // coordinate on x axis for first plane
y1 = 0 // coordinate on y axis for first plane
z1 = 0 // coordinate on z axis for first plane
x2 = 1 // coordinate on x axis for second plane
y2 = 1 // coordinate on y axis for second plane
z2 = 1 // coordinate on z axis for second plane
// Sample Proble... |
23cec12f946eabb2f00e21daa500f1eb87714753 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH14/EX14.3.1/Ex14_3_1.sce | f4de66c743fe05987e9f22e366efb0e6cc0eaab7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex14_3_1.sce |
clc
//initialization of variables
Rat1 = (6.5/3)*(1-0.47)// as Rat = x0/y0
m = 0.14
H = (6.5*10^3)/3600 // Extract flow in g/sec
L = (3*10^3)/3600// Solvent flow in g/sec
d= 10 // cm
A = 0.25*%pi*d^2 // cm^2
l = 65 // cm
//Calculations and Results
Kya = ((H/(l*A))*(1/(1-((m*H)/L)))*(log((1-0.14*Rat1)/(0.47)... |
5a4c10393726ab7887a458c00770c42edda05ca2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH8/EX8.5/Ex8_5.sce | f340cd8b4f5c4485584684531a022faef8ae56e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,682 | sce | Ex8_5.sce | //chapter-8 page 339 example 8.5
//==============================================================================
clc;
clear;
//For a 2 cavity klystron amplifier
V0=1200;//Beam voltage in V
I0=0.028;//Beam current in A
f=8*10^9;//frequency in Hz
d=0.001;//gap spacing in either cavity in m
L=0.04;//spacing be... |
b7422b48ad74a77d1141adcb9c2b3e68bc31c753 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH3/EX3.30/Ex3_30.sce | 67df7f5849a66f40b4af77bd1ab7720e05a8d8a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | Ex3_30.sce | // SAMPLE PROBLEM 3/30
clc;funcprot(0);
// Given data
v_1=6;// m/s
v_2=0;// m/s
e=0.6;// The coefficient-of-restitution
theta=30;// degree
// Calculation
// Assume a for '
v_1n=v_1*cosd(theta);// m/s
v_1t=v_1*sind(theta);// m/s
v_2n=0;// m/s
v_2t=v_2n;// m/s
function[X]=velocity(y)
X(1)=(v_1n+v_2n)-... |
d719f21d4c74e858c0c52d03c498d9baca6a9f81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH3/EX3.19/3_19.sce | c142dcff21bc10176aad6edde7118cdfbaa2e37f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | 3_19.sce | //Example 3.19
//Gauss Seidel Method
//Page no. 75
clc;clear;close;
x0=0;y0=0;z0=0;
deff('x=f1(y,z)','x=(32-4*y+z)/28')
deff('y=f2(x,z)','y=(35-2*x-4*z)/17')
deff('z=f3(x,y)','z=(24-x-3*y)/10')
for i=1:6
x0=f1(y0,z0);
y0=f2(x0,z0);
z0=f3(x0,y0);
printf('\tx(%i) = %g\n\n\ty(%i) = %g\n\n\tz(... |
aac341327e6a9e95f943f4be7d9fb6f51b2ca1eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.21/1_21.sce | 631cbf6881270bb735759012befd20a67beefeae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 873 | sce | 1_21.sce | clc
clear
//Input data
P1=1.03;//Pressure at the beginning of compression stroke in bar
T1=303;//Initial temperature in K
P2=40;//Maximum pressure in the cycle in bar
Q=550;//The heat supplied during the cycle in kJ/kg
r=1.4;//Isentropic compression ratio
Cp=1.004;//Specific heat at constant pressure in kJ/kg K... |
d814d91703ec663582e5477423d51a8a41c2120a | 0ade4f8a7ec375e54db514312b562334ab304d3e | /data/benchmark/Keijzer_02.trn | a6517a3ae6e3223bee85dee0f5535f97f8b65953 | [] | no_license | zeta1999/go-pge | 39ac86612d4a90c1e53d2c45c1177e98b3bcf4e4 | 99a4b600185145bcc047e8e42cecfd2346b6b16d | refs/heads/master | 2021-01-01T11:10:20.053388 | 2014-01-16T16:06:50 | 2014-01-16T16:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | trn | Keijzer_02.trn | x
f(xs)
-2.000000 -0.000000
|
2780019c091ba0cfbf7cde342bbebfaf709d1cbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH6/EX6.9/Ex6_9.sce | 80595c4303dab27111a5fae85de72eb7e6013a95 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Ex6_9.sce | clear;
clc;
//page no. 198
D = 6;//ft
d = 2;//in
V1 = 200;//fps
rpm = 250;
theta = 150;//degrees
u = (rpm/60)*2*%pi*0.5*D;
v1 = V1-u;
v2 = v1;
V_2x = v1*cos(theta*%pi/180) + u;
V_2y = v2*sin(theta*%pi/180);
V2 = sqrt(V_2x^2 + V_2y^2);
Q = 0.25*%pi*(d/12)^2 *V1;
F_x = Q*1.935*(V_2x-V1);
P = F_x*u/5... |
b2016a2428893b2803d29f3b9ca63f3ee0b69825 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH10/EX10.13/Ex10_13.sce | 92b72d252575c85a685e324b364409b38053ff1b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | Ex10_13.sce | // Example 10_13
clc;funcprot(0);
// Given data
Q_H=30.0*10^3;// Btu/h
W_in=1.50;// hp
T_0=30.0+459.67;// K
T_H=70.0+459.67;// K
// Calculation
// (a)
COP_act_hp=Q_H/(W_in*2545);// The actual COP of heat pump
n_T=COP_act_hp;// The first law thermal efficiency of the heat pump
// (b)
E_HP=((1-(T_0/T_H))*CO... |
0c5d4feabe98867189db8a1d2375bfe277304138 | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 7/HackALU16Bit.tst | 601bc1dae661923e31e12ff0025ef6751c7e6fe2 | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,753 | tst | HackALU16Bit.tst | load HackALU16Bit.hdl;
output-file HackALU16Bit.out;
output-list X%B1.16.1 Y%B1.16.1 zx%B3.1.3 nx%B3.1.3 zy%B3.1.3 ny%B3.1.3 f%B3.1.3 no%B3.1.3 Z%B1.16.1 zr%B3.1.3 ng%B3.1.3;
set X 17383, set Y 6792, set zx 1, set nx 0, set zy 1, set ny 0, set f 1, set no 0, eval, output;
set X 17383, set Y 6792, set zx 1, s... |
6fafc76279be0284687d103550b3b6d983fc8876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/10_03.sci | 4418e53e3b7068e7ae178a28ecda904a9bfb5e80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sci | 10_03.sci | //Rate of flow in gm:
Q=[0 500 800 1000 1100 1200 1400 1500];
//Suction pressure in psig:
ps=[ 0.65 0.25 -0.35 -0.92 -1.24 -1.62 -2.42 -2.89];
//Discharge pressure in psig:
pd=[53.3 48.3 42.3 36.9 33 27.8 15.3 7.3];
//Motor Current in amps:
I=[18 26.2 31 33.9 35.2 36.3 38 39];
//Acceleration due to gravity in f... |
ae50f97fc87aa05076a142fcdda76981c323c4d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH29/EX29.7/29Ex7.sce | 6762c97a73b051fc7158156f8c6288117527f150 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | 29Ex7.sce | //Chapter 29 Ex7
clc;
clear;
close;
facevalue=10; //since the stock is calculated over 100
discount=3/4;
brokerage=1/4;
shares=96;
cost1share=facevalue-discount+brokerage; //cash required to purchase Rs.100 stock
costshares= cost1share*shares;
mprintf("The cost of %.0f shares is Rs.%.0f",shares,costshares... |
19350d4345ace9d717c4339ea02f15a2a7f88143 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH2/EX2.20/Ex2_20.sce | 9f9de5c9ef4bf41e66ab7e3bbe7833563627c1e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Ex2_20.sce | //Ex_2_20
clc;
clear;
close;
format('e',9);
//given data :
I1=100;//A
I2=10;//A
l=20/100;//m
r1=1/100;//m
r2=11/100;//m
mu0=4*%pi*10^-7;//permeability of air
//Force of attraction between Conductor & AB
F1=mu0*I1*I2*l/2/%pi/r1;//N
//Force of repulsion between Conductor & CD
F2=mu0*I1*I2*l/2/%pi/r2;//N
/... |
a5e7b163f0e72022a915cca9bc80e06682dd69db | 777ac7fa75f240739af167655f7fab95cba80ef6 | /docs/Basics.New/Soft.tst | 5924da6d16801fba39db0870ea6d0135a642a943 | [] | no_license | Karabur/TML-project | 8d498d8133f4b1ea8e8c3fe6f6f47f7ab5de4b5c | 0bfe006b0e66628427b769bc1be903875e77d5b7 | refs/heads/master | 2021-01-02T09:20:39.055827 | 2013-12-28T22:02:15 | 2013-12-28T22:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | tst | Soft.tst | Title:
TestName: Проверка примитива SoftChoice;
Difficulty: A1;
FullTime: 0;
Questions: 1;
EndTitle.
StartTest:
Question: 1;
Weight: 1;
BeginText:
Укажите цвет, наиболее близкаий к красному.
При правильном функционировании системы Ваша оценка составит 1.
EndText;
SoftChoice:
AtX: 8;
AtY: 8;
Width: 500;
Height:... |
1a73f1f862bc765a1cdba139976db5b1cf891b36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH1/EX1.8/Ex1_8.sce | 5fb79314487cde1c849dc541836e4cd0168f6ef3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_8.sce | clc
//Chapter1
//Ex_1.8
//Given
a=1/%inf
b=-1/1
c=2/1
p = int32([1,1,1])
// 1/%inf = 0 ; (0/1 -1/1 2/1) hence lcm is taken for [1 1 1]
LCM = lcm(p)
h=a*double(LCM)
k=b*double(LCM)
l=c*double(LCM)
mprintf('miller indices = %d %d %d',h,k,l)
|
9603dff38cffd722a4c9949bf574a85d190c217b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH4/EX4.23/ex4_23.sce | 88773c3ad448d948cfbbb446be4f1000a30407f9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4_23.sce | //Page Number: 4.21
//Example 4.23
clc;
//Given,
delfd1=50; //Hz
f1=120; //Hz
delfd2=20000; //Hz
f2=240; //Hz
//(a)PM
delf1=(f2/f1)*delfd1;
n1=delfd2/delf1;
disp(n1,'Frequency multiplication factor in PM');
//(b)FM
n2=delfd2/delfd1;
disp(n2,'Frequency multiplication factor in FM');
|
0d7eaf49a6a83aa00edf2d788467f912564dd6c5 | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /lteZadoffChuSeq/lteZadoffChuSeq.sci | 1b0d393b4427a9937a62b20392b1560f68c3a068 | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,380 | sci | lteZadoffChuSeq.sci | function seq = lteZadoffChuSeq(R, N)
// LTEZADOFFCHUSEQ generates root Zadoff-Chu sequence of complex symbols as per LTE specifications.
//
// SEQ = LTEZADOFFCHUSEQ(R, N) generates the Rth root Zadoff-Chu sequence (SEQ)
// of length N.
// Reference:
// 3rd Generation Partnership Project, Technical Specifica... |
068766115110c97b0f1c7ba96f7de4bbaf5942d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH3/EX3.8/chapter3_ex8.sce | c8a1e5e1cb9d82a96b44394ddb1964e5fc55bf02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | chapter3_ex8.sce | clc
clear
//input
ra=0.05;//armature resistance of a d.c. shunt generator in ohms
rf=120;//feild resistance of a d.c. shunt generator in ohms
li=98;//load current in amperes
lv=240;//load voltage in volts
ia2=60;//reduced current in armature in amperes
//calculations
//generated e.m.f. remains constant
i... |
e2676393579de6d630e7e9b21578f0b1b6a58632 | fbd17575bab2ee4dc49cc7d13b5b94d24ab9482c | /TP2/puissiter.sci | cef0b31c8cc23b2d65ac349b6bf451973aa53e41 | [] | no_license | 1saac-W/MT09-Analyse-Num-rique | 05b509981dfa00e3b7b550716b1487cbbf0a3fed | 0853f8053254f5dd23179073187ada3d936aff84 | refs/heads/master | 2020-09-27T04:34:36.549125 | 2020-01-05T16:02:18 | 2020-01-05T16:02:18 | 226,431,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,041 | sci | puissiter.sci | N1=100
N2=1000
N3 = 10000
tol = 10^-7
//ex1
A1 = [-2.5 -4.5 -1; -16 -5 -8; 11 9 5]
xa1 = [0 1 -1]'
xb1 = [1 1 1 ]'
xc1 = [1 0 -2]'
xd1 = [10^-16 1 2]'
//ex2
A2 = [1 7 4; 3 5 4; -13 -3 8]/4
xa2 = [1 2 3]'
xb2 = [1 -1 1]'
//ex3
A3 = [-1.48 1.5 -0.99; 7.98 2 3.99; -1.02 -3 -0.01]
xa3 = [1 1 1]'
function [vp,vecp, kk]... |
9f02d708247dfc564405efea462638918e3619f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH26/EX26.1/26_01.sce | a6e8af00cebefc17236b1fddb49f87c2db406027 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | 26_01.sce | clear
clc
//Lets say F(Ri)/F=F_ri
F_50=0.3;F_100=0.4;F_200=0.3;
//The time required(min)for 3 size of particles is
t_50=5;t_100=10;t_200=20;
//Cosidering solids to be in plug flow with tp=8 min
tp=8;
//1-XBavg=[1-XB(50 um)]F(50 um)/F+ [1-XB(100 um)]F(100 um)/F+.......
//Because for 3 sizes of particles,R1:R2:R... |
6ebe297b2923b3e471f2968ebd24c62ce852723a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH8/EX8.1/Ex8_1.sce | e14f6c82d95b61e0dbc9a43d8e03f8a1fb33755c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,951 | sce | Ex8_1.sce | // exa 8.1 Pg 227
clc;clear;close;
// Given Data
Fmin=250;// N
Fmax=300;// N
del=8;// mm
C=8;// spring index
tau_d=420;// MPa
G=84;// GPa
// 1. Wahl's correction factor
Kw=(4*C-1)/(4*C-4)+0.615/C;// Wahl's correction factor
printf("\n Wahl''s correction factor = %.3f ",Kw)
// 2. Wire diameter
// tau_d=Kw*8*Fmax*C/%pi... |
c2ebec5786482ce48b4690824c3cdaddb22a3cdc | 4b23780b6d64c6c05ac10deda01521b98af8284f | /Item03/main.sci | b0580af20a613b75c4c0a6c1f71211f4dc394d05 | [] | no_license | SumrainChan/Numerical-Calculation-Collection | 7ab48f125e2b2a16906270f894adb0760d15b55f | d583df6ba68ba25962c7f08985c0f0c70e53b051 | refs/heads/master | 2020-07-10T13:07:07.093579 | 2019-08-25T09:11:48 | 2019-08-25T09:11:48 | 204,269,639 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sci | main.sci |
A = [4, 2, 3, 0;
-2, 3, -1, 1;
1, 3, -4, 2;
1, 0, 1, -1;
3, 1, 3, -2]
Q = [[]]
R = [[]]
H_set = [[[]]]
//[Q, R] = classicalGramSchmidt(A)
//[H_set, Q, R] = Householder(A)
b = [10; 0; 2; 0; 5]
[x, norm2error] = getSolution_Error(A, b)
|
42a1a86272fd59badf06c213e843748acf6bdefc | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH6/EX6.17/example6_17.sce | 0667836dd6bf27ea51cc5a1dbddf8fc67829191e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,822 | sce | example6_17.sce |
clear;
clc;
printf("\t Example 6.17\n");
//moisture content reduces from 25 to 2
r=7.5*10^-5; //constant drying rate in kg/s
A1=.3*.3**2; // area of the sppecimen
Nc=r/A1; //drying rate
Xcr=.15/0.85; //.15 is the critic... |
8a6f806a3f5ca7cd9321c47677d785f414da9829 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH1/EX1.10/Ex1_10.sce | 29f38810935fe2111c2047d4fb3eadfe1eaa01c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Ex1_10.sce |
//what is the resistance of each coil
V=200
I=25
P1=1500
R1=(V*V)/P1
R=V/I //total resistance
R2=R*R1/(R1-R)
disp('R2='+string(R2)+' ohms' )
|
95a211658e2048217b1951904d98c31d1f55f4f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH11/EX11.3/exa11_3.sce | 3f7a756bc1c765fbdfaa37015e82391110c3050d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | sce | exa11_3.sce | // Example 11.3
// Frequency-Response Calcuations
s=%s;
num=20*(s+25)
den=s^2+20*s+500;
omega=[0:1:1000]; // diffrent value of frequency for frequency respose plot
H_s=num/den; // Given transfer function
H_omega=horner(H_s,%i*omega);
a_omega=abs(H_omega);
theta=atan(imag(H_omega),real(H_omega))*(180/%pi);
sub... |
da2d185d62b89d6d95fd5c3a6a0d6843b56cceb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.c.204/Ex3c_4.sce | 31b6e5abb6a991ac9e7a6e1f38cd01a8a0f5ff16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex3c_4.sce | // Scilab Code Ex3c.4: Page-184 (2008)
clc; clear;
d = 0.3; // Separation between the two slits, cm
D = 60; // Distance between the source and the slit, cm
lambda = 59e-006; // Wavelength of light, cm
bita = lambda*D/d; // Fringe width, cm
printf("\nThe fringe width = %4.2e cm", bita);
// Result
/... |
405de8c77c37a53c975febd76b69a56cf56c7570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH9/EX9.15/9_15.sce | 9a77fad7dd220e0ca6f3fea2d383f56d242971f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | 9_15.sce | // At 25 bar, 350 degree
h1 = 3125.87; s1 = 6.8481;
// 30 degree
h0 = 125.79; s0 = 0.4369;
// At 3 bar, 200 degree
h2 = 2865.5; s2 = 7.3115;
// At 0.2 bar 0.95 dry
hf = 251.4; hfg = 2358.3;
sf = 0.8320; sg = 7.0765;
h3 = hf+0.92*hfg;
s3 = sf+(0.92*sg);
// Part (a)
T0 = 303;
f1 = (h1-h0)-(T0*(s1-s0));
f2 =... |
855bcc6da0b355ed4af9493979314f709091dcc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH3/EX3.1/3_1.sce | 1150f198dcc91ac37ee5df50e8708d355e67d554 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | 3_1.sce | clear; clc; close;
//part a
Ie = 3*10^(-3);
Vcb = 10;
Ic = Ie;
disp(Ic,'Ic (A):');
//part b
Vcb = 2;
Ie = 3*10^(-3);
Ic = Ie;
disp(Ic,'No effect of changing Vcb & Ic remains same, Ic(A) is : ');
//part c
Ic = 4*10^(-3);
Vcb = 20;
Ie = Ic;
Vbe = 0.74;
disp(Vbe,'Vbe(volts) is :');
//part d
Ic = 4*1... |
84ac7fd255979568a0e9b6a1f3fd8a1a2791d74e | b3385e278ba1e11155ec4a0d21d3abb3b4ec8c33 | /okuhata basic.sce | f2324159f2f441885f6c179588c4e9a017896441 | [] | no_license | akashmahale237/ael | 7443658b7bb04f72e775fda0f0abe643207d660d | 549e47cd7fd25b8dfca51f0502cec4d632328abe | refs/heads/master | 2020-03-28T08:54:12.647042 | 2018-10-23T01:39:00 | 2018-10-23T01:39:00 | 147,997,869 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 926 | sce | okuhata basic.sce | clc;
clear all
d1=input("Enter Distance: ")
if d1>10 then:
hre=input('Enter the receiver antenna height 3m < hre< 10m : ');
for i=1:1:5
frequency=input('Enter Frequency of operation in MHz: ');
dist=10:1:100
f=20*log10(frequency);
Lo=(32.45+ 20*log10(dist)+20*log10(f)-((1.1* log10(f... |
235eecb2b836c03bb4cb40701806cdd736eff55e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH4/EX4.8/ex4_8.sce | 00578177d51f3acbedfc2248e0e9e610c1725f97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | ex4_8.sce | //chapter 2
//broadside array
printf("\n");
Gdmax=5.01108;//antilog[7/10]
n=10;
lamda=1;
d=Gdmax/(20*lamda);
printf("the minimum distance between array is %gm",d);
|
aff3c884f5caa58d97dcdf6da299855e0d0f6387 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH13/EX13.2/Ex13_2.sce | 0102fca2a03349098fb3f37b18157483dc0cfc5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Ex13_2.sce | clear
//
//Given
//Variable declaration
L=3*1000 //Length in mm
W=50*1000 //Point load in N
a=2*1000 //Distance between the load and fixed end in mm
I=1e8 //Moment of Inertia in mm^4
E=2e5 //Youngs modulus in N/sq.mm
//Calculation
//case(i):Slope at the free end
... |
a117c251a5fcf9fdc0cc23e4e5137a7acea12da9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH9/EX9.1/Ex9_1.sce | f3e805f779bb694463820103a891234eeea06c78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Ex9_1.sce | //Example 9_1
clc();
clear;
//To find its mass and how large a cube of ice has the same mass
pu=18680 //units in Kg/meter^3
s=2*10^-2 //units in meters
vu=s^3 //units in meter^3
mu=pu*vu //units in Kg
printf("Mass Mu=%.3f Kg\n",mu)
pi=920 //units in Kg/meter^3
vi=mu/pi //units in meter^3
ss=vi^(... |
9883cb065f41f547472cfb30b6b5a837437189c7 | 3497c2d86f407202ec8c351b9e0bc4e68c8bc4e1 | /Algorithms/Adam.sci | 70488f73613905d06bdbcd3afabc3b6192260d29 | [] | no_license | sparshgupta3/Adam-Optimization-Project | dedc323207d5ca9d403890e7ced90858a15eeb6d | 5b8b3cbb0e331889d2595e04d4ac81ddefe706ab | refs/heads/master | 2020-09-22T10:07:12.106455 | 2019-12-01T11:32:01 | 2019-12-01T11:32:01 | 225,150,301 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 834 | sci | Adam.sci | //Rosenbrock Function or Banana Function
function f = funcx(x)
f = 100*((x(2) - x(1).^2).^2) + (x(1) - 1).^2;;
endfunction
function g = grad(x)
g = [-400*x(1)*(x(2) - x(1).^2) + 2*(x(1) - 1);200 * (x(2) - x(1).^2)];;
endfunction
xnew=[4;4];
beta1=.9;
beta2=.99;
alpha=.01;
t=0;
mprev=0;
vprev=0;... |
c732b48dae0d42eb5b33bc9d4c568f84eaaa153d | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH15/EX15.3/15_3.sce | 0a5a8bda659cdd03a16e65ebe12941275583111b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 698 | sce | 15_3.sce | clc;
clear;
x1=[4.888889 3.888889];
x2=[7 11];
x3=[10 8];
x4=[150 175];
x5=[77 80 9 6];
profit=[x1(1)*x4(1) x1(2)*x4(2)];
total=[x1(1)*x3(1)+x1(2)*x3(2) x1(1)*x3(1)+x1(2)*x3(2) x1(1) x1(2) profit(1)+profit(2)];
e=1000;
while e>total(5)
if total(1)<=x5(1) then
if total(2)<=x5(2) then
... |
709933be08babfac1a1dd07eddba0185ec2093aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH6/EX6.5/Ex6_5.sce | eece39a05d9bc314c80a788d09ca2a44027f48d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,855 | sce | Ex6_5.sce | // Example no 6.5
// To determine the analog bandwidth, output SNR improvement if modulation index is increased from 3 to 5 and tradeoff bandwidth for this improvement.
// Page no. 277
clc;
clear all;
// Given data
fm=5*10^3; // Audio bandwidth of FM signal
betaf1=3; ... |
4bd9bc963240bb18c6bc4caaed5daba159c51f12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH1/EX1.1/ex1_1.sce | 1adeedb852bb26156982c09a13c814b94056fbe3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | ex1_1.sce | clc;
clear all;
l = 2 ; // Length in meters
a = 6.25e-5; // Cross Sectional area in square meter inverse
deltal = 3e-3; // Increase in length in meters
f = 1e3; // Tension in Newtons
Y = (f*l)/(a*deltal); // Young's modulus
disp('N/m^2',Y,'The youngs modulus of the wire is');
// Slight variation in answer.. the... |
b98af8e6ebc5286ac04c5adb08df94b13c3ddc31 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/interpolacionNewton.sce | 61d6a50141bcde8a86723f77926548f01277f530 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,208 | sce | interpolacionNewton.sce | // Problema 5
//x = [1 4 6 5]';
//y = log(x);
//interpolacionNewton(x,y,2)
function yint = interpolacionNewton(x,y,xx)
//Newtint: Newton interpolating polynomial
//yint = Newtint(x,y,xx): Uses an (n - 1)-order Newton
//interpolating polynomial based on n data points (x, y)
//to determine a value of the dependen... |
cf59a2819eeaa7911ab089ae9c5640322aa2f9a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH2/EX2.23/Ex2_23.sce | 5540da369363980ac075873b6e87d8a5fa9c455b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | Ex2_23.sce | //Example 2.23: Reduce expression using Boolean laws
clc // Clears the console
disp('A''BCD + A''BC''D + B''EF + CDE''G + A''DEF + A''B''EF')
disp('= A''BD + B''EF + CDE''G + A''DEF')
disp('But A''BD $ B''EF = A''DEF and this reduces to ')
disp('= A''BD + B''EF + CDE''G')
//the reduced expression is displayed.
|
52734a2f61b13e6afd2d6bf4f71196f8f7dc2d9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH4/EX4.10/EX4_10.sce | 64855f9218f8bd4092b441c8f35d20d281a6b055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | EX4_10.sce | clc
// initialization of variables
P1=2000 // initial pressure in kPa
T1=600 // initial temperature in degree celsius
p2=600 // final pressure in kPa
T2=200 // final temperature in degree celsius
d1=0.06 // diameter of inlet pipe in metre
d2=0.120 // diameter of outlet pipe in metre
V1=20 // velocity at inlet... |
adde8960c7dc683a2ace522dcac17f649f733514 | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /сайлаб/twelve.sce | 7710184201c479637b2032c90bdcf602d3e2a16e | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | twelve.sce | xname('ЗАДАНИЕ 12.1')
clc
x=-5:.1:5; y=x^3/3-x^2/2-6*x+1;
plot2d(x,y,axesflag=5); xgrid()
xtitle('График функции: y=x^3/3-x^2/2-6*x+1', 'x', 'y'),
clc
function y= gg(x)
if q==1 then y=x.^3/3-x.^2/2-6*x+1 else
y=-(x.^3/3-x.^2/2-6*x+1) end
endfunction
funcprot(0);
function [f,g,r]=z(x,r)
f=gg(x)
g=num... |
c67c842228bdbdd9f9eccb3d5bb53fbce9360b82 | fc97dca636256fc30f018840e244a173c06ec54b | /hard/tests/parametersFoundWhenNoneRequired.tst | f0185293c078a1e58e328e2251c942aeab0478f0 | [
"MIT"
] | permissive | tuomasb/compiler | 23fd2190bc6911380a5acf45241c1f2b2580538f | aa366ace6f2c29b5e0080faf8c50dcb7be0b02f4 | refs/heads/master | 2020-05-17T21:51:17.977674 | 2014-06-09T00:24:17 | 2014-06-09T00:24:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | tst | parametersFoundWhenNoneRequired.tst | int getOne() {
return 1;
}
main {
int s;
int[] array;
array := new int [3];
array[0] := 0;
array[1] := 1;
array[2] := 2;
s := getOne(array);
return s;
}
|
ca1d136e21a12184d55c6baf85a496ff9428506f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH12/EX12.5/Ex12_5.sce | b35245a0455a63d11b51d1f56db940c305547ea5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,394 | sce | Ex12_5.sce | //Variable declaration:
T1 = 99.0 //Mean film temperature (°C)
T2 = 98.0 //Plate surface temperature (°C)
g = 9.807 //Gravitational acceleration (m/s^2)
//From Appendix:
T3 = 100.0 //Saturation temperatre (°C)
h_vap1 ... |
c16727c16e2d8aa7de25afcf8b0a44987e9e0e86 | a5935ffd4c3e88a093772c6425f2ca451f4fea86 | /DENNISTSP/tsp/data/qatar194.tst | 5f4c482ee5906630fd38c1b5c9101d51b96f94dc | [
"MIT"
] | permissive | Sebelino/Avalgprojekt | 1d4453deac2b3929e52671f2bb7fdb4e902ce187 | 18609887211e7e886910faaa7bbebe686c2c1aeb | refs/heads/master | 2021-01-01T17:17:17.009999 | 2013-12-06T18:23:55 | 2013-12-06T18:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,467 | tst | qatar194.tst | 194
24748.3333 50840.0000
24758.8889 51211.9444
24827.2222 51394.7222
24904.4444 51175.0000
24996.1111 51548.8889
25010.0000 51039.4444
25030.8333 51275.2778
25067.7778 51077.5000
25100.0000 51516.6667
25103.3333 51521.6667
25121.9444 51218.3333
25150.8333 51537.7778
25158.3333 51163.6111
25162.2222 51220... |
c29152d6d803f1c1ccecccdb4488065998df1b91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.10/12_10.sce | 5fb0b6db84ad35e0ef29ebcdb33931c23f63e0e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | 12_10.sce | //To find number of teeth
clc
//Given:
G=4
phi=14.5 //degrees
//Solution:
//Least number of teeth on each wheel:
//Calculating the least number of teeth on the pinion
t=2*%pi/tand(phi)
//Calculating the least number of teeth on the gear
T=G*t
//Results:
printf("\n\n Least number of teeth on the pinion, t = ... |
6a14b4bf0a25bc3417abf0efaba06f3bc2399df1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.20/example11_20.sce | 6a92a54008ea21502f334b676b7bb7e9183def56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | example11_20.sce | clc
T = 273.15 - 30;//K
R = 8.314;
//lnPs = 14.2410 - 2137.72 / (T-26.72)
//dlnPs/dT = Hv / RT2
Hv = 2137.72 * R * T^2 / ( T - 26.72 )^2;
disp("kJ/kmol",Hv,"Heat of vaporization = ") |
7ffa82f2917247a41bb88a3bed53f82fff4694c2 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/risetime/risetime4.sce | 4b21ccc836385a0b27a998e5375d0f1fd8b21655 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | risetime4.sce | x=[0;
0.0112910099304681;
0.0375437844553138;
-0.0502505723940154;
0.0237536810920502;
0.00286337692936232;
-0.0268585407773543;
-0.00670100836859748;
0.00681025234400021;
0.0743232780915911];
fs=4e6;
[R LT]=risetime(x,fs);
disp(R);
disp(LT);
//output
//0.0000002
//
// 0.0000008
|
53c1a444175e610342bbf9cd3e6394c05b3a5ba4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH6/EX6.7/Ex6_7.sce | f8f1383aa4184543257c3f3a8cba50bcec69b145 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 714 | sce | Ex6_7.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 6.7
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
Lambda=10.6e-6;//Wavelength of the laser in m
f=200e-3;//Focal length of the lens in m
D=50e-3;//Diameter of aperture of focusing lens
rs=2*Lambda*f/... |
d43a76f62634394491893ba2b1294421cec05275 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3705/CH2/EX2.7/Ex2_7.sce | 9008e96b4af25b250db2d24a2decf1421950df6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_7.sce |
clear//
//Variable Declaration
//Say the ratio of stress in steel to concrete is R
R=14.286
sigma_co=6*10**6 //Stress in concrete in Pa
Ast=3.6*10**-3 //Area of steel in m^2
Aco=86.4*10**-3 //Area of Concrete in m^2
//Calculation
sigma_st=R*sigma_co //Stress in steel in Pa
//Here stress is below the allo... |
3130df4fcdc9431151b223ca57129288db753d79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH13/EX13.6/Example_13_6.sce | 990304a9793ffaa24ceb435bc27b0d5a27b5e772 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | Example_13_6.sce | //Chemical Engineering Thermodynamics
//Chapter 13
//Thermodynamics in Phase Equilibria
//Example 13.6
clear;
clc;
//Given
x1 = 0.1;//Mole fraction of dichloromethane (CCl2H2)
x2 = 0.9;//Mole fraction of methyl acetate (C3H6O2)
M1 = 85;//Molecular weight of CCl2H2
M2 = 74;//Molecular weight of C3H602
D1 ... |
f594d4b0ca9ca4a6689a5afe68955ff5d9836c28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH6/EX6.6/Ex6_6.sce | 2470cbdc54db927b5c2cdf4ad7acf93acbea3e57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 474 | sce | Ex6_6.sce | //Example 6_6
clc();
clear;
//To calculate the speed of the pellet before collision
h=0.30 //units in meters
g=9.8 //units in meters/sec^2
v=sqrt(2*g*h) //units in meters/sec
m1=2 //units in Kgs
m2=0.010 //units in kgs
v10=((m1+m2)*v)/m2 //units in meters/sec
printf("The speed of the pel... |
1bc4e71dd83abc6cfb31d10ea2cbe3baa2dada4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH3/EX3.8/31ex3.sce | 7d17901bf032942fc9a034a6777fd3b6b58b12cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 100 | sce | 31ex3.sce |
//simplify 12a-2[3a-(4-2(a-3))]
clear;
clc;
close;
a=poly(0,'a');
p=12*a-2*[3*a-{4-2*(a-3)}]
|
1d1d53ef28cf1f8c7d899455ba940e9aae0fd3d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH3/EX3.15/Ex3_15.sce | e85a3808f0098b74f21942bf4d6fdcbadcfa51e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,029 | sce | Ex3_15.sce | // Chapter 3 example 15
//------------------------------------------------------------------------------
clc;
clear;
// Given data
a = 4*10^-2; // width of waveguide
b = 2*10^-2; // narrow dimension of waveguide
c = 3*10^8; // velocity of EM wave in m/s
m1 = 1; // for TE10
m2 ... |
1ca4e2d9e4e6c9c79cc7b32636f37fa363123634 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.12/Ex12.sce | 378227a1fa07d731a962e0441252702f56fa9f99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 442 | sce | Ex12.sce | //Ex:12
clc;
clear;
close;
p_t=13;//Tranponder output power in db w
b_t=1;//Transponder output backoff in db
g_t=30;//satellite antenna gain in db
g_r=59.2;//Earth station antenna gain in db
l_fs=195;//Free space loss in db
l_a=-2;//Edge of beam loss in db
l_air=0.2;//Air atmospheric loss in db
l_o=0.4;//Oth... |
893376e642775de45fb3bf11ce0323e13458157b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH13/EX13.8/ch13_8.sce | dbc8d67e6ee335c30a51de0325c98d0ea67fcb24 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | ch13_8.sce | //Determine the percent increase of busbar voltage
clear
clc;
vx=3;// percent reactance of the series element
sinr=.6;
V=vx*sinr;
mprintf("Percent drop of volts=%.1f percent\n",V);
|
54247d0c6204156d0cf9b8f9229620808d05c02a | 891e9f4e3fce67f553f07f24cef2e802423770b9 | /fgoalattain/fgoalattainTests/demo3.sce | 4c91d05e1ef12379c86e76f58d3d3b7708304522 | [] | no_license | animeshbaranawal/FOSSEE | ae6b6c1a39803ad0fb26780b7f960a62431c71d2 | 75b1b18dcfd935f7ebbe89b44573c8076dae4267 | refs/heads/master | 2022-06-24T14:20:49.508846 | 2022-05-30T17:13:09 | 2022-05-30T17:13:09 | 50,281,099 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | demo3.sce | function f3=objfun3(x)
f3(1)=x(1)+x(2)-9*x(1)*x(2)
f3(2)=x(3)-87*x(4)+x(1)
f3(3)=x(5)-6*x(4)*x(3)
endfunction
x0=[1,3,2,5,4];
A=[-3,7,6,1,2];
b=[9];
Aeq=[1,2,3,4,5];
beq=[3];
goal=[-6,8,-2];
weight=[7,0,3];
[z,gval,attainfactor,exitflag,output,lambda]=fgoalattain(objfun3,x0,goal,weight,A,b,Aeq,beq)
|
2c7150ed1d21a94fc2f941b197cae23b8d9a7712 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/WirePt.sci | d62acaf3ddee40fab26be93210f2e84389debebf | [] | 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 | 102 | sci | WirePt.sci | // 08.09.15
// 09.09.10 registered
function Out=WirePt()
global WIREPT
Out=WIREPT;
endfunction;
|
f00f722781c266ed9b07d69757eb1639c0fcead0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH12/EX12.4/example4.sce | dcb2c056708812e51820573d2745721a55a16f70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,046 | sce | example4.sce | // calculate transistor power dissipation and efficiency
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 12-4, page 387
clear;clc; close;
// Given data
R1=490;// in ohms
R2=68;// in ohms
Rc=120;// in ohms
Re=20;// in ohms
Vcc=30;// in volts
Rl=18... |
af881c85e25a76001339176df07854dad4af3fa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH3/EX3.5/3_5.sce | 05fbbaa12212423ddf8626a60cfb1aeb5004adf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,371 | sce | 3_5.sce | //Example 3.5
//calculate
//(a)effective thickness of air and liquid films.
//(b)the overall heat transfer coefficient based on i.d of pipe.
//(c)the overall heat transfer coefficient based on od of insulation.
//(d)the percentage of total resistance offered by air film.
//(e)the rate of heat loss per meter leng... |
fd7d30f63dc3c87f55d1483fd876d19abfc484f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH7/EX7.4.c/ex_7_4_c.sce | 032334dff75bd90cf3b940cb07f8862dc989d404 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | ex_7_4_c.sce | //example 7.4(c)//
clc
//clears the screen//
clear
//clears all variables//
disp('D7 is active. Since D7 has the highest priority, it will be encoded irrespective of the logic status of other inputs. Therefore, the output bits are A=0, B=0 and C=0') |
575e19498bff2e5dfa2872903cbe15aaa72fe595 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH14/EX14.4/14_4.sce | cb9698d76424287ae93677c1e4a72fab047411f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | 14_4.sce |
clc
//initialisation of variables
g=1.4
R=96//ft-lb
p1=140//lb/in^2
p2=130//lb/in^2
T=288//k
r=6//in
g1=32.2//ft/sec^2
//CALCULATIONS
v1=R*T/(144*p1)
v2=v1*(p1/p2)^(1/g)
k=g/(g-1)
k1=p2/p1
w=(%pi*sqrt((2*g1*k*v1*p1*144*(1-(k1)^(1/k)))/(1-((k1)^2/g)/81)))/(v2*4*r*r)
//RESULTS
printf (' weight of air fl... |
dc35b319127862f737348a562f70b328942f29ab | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH4/EX4.12/ex_4_12.sce | 8c7ef529a5670b19ff4af617805a2572a7cbcafa | [] | 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 | 1,360 | sce | ex_4_12.sce | //find stress after putting the system in lathe
clc
//soluton
//given
Ds=18//mm//diameter of steel
Dc1=24//mm//inner diameter of copper rod initially
Dc2=40//mm//outer diametr of copper
Fs=10//N/mm^2//stress in steel rod
pi=3.14
As=(pi*Ds^2)/4//mm^2//area of steel rod
Ac=(pi*(Dc2^2-Dc1^2))/4//mm^2//area of c... |
beaff4bc1205800e7281dca49c235e88327f5668 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH3/EX3.2cs/Casestudy3_2.sce | f5fcac5242a3845aa11d99f3613c25b15339d4ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Casestudy3_2.sce | // Case Study:-Chapter 3,Page No:77
// 2.Solution of the Quadratic equation
printf("Input values of a, b, and c \n");
a=input("a =");
b=input("b =");
c=input("c =");
discriminant = b^2-4*a*c;
if(discriminant<0)
printf("\n\nROOTS ARE IMAGINARY\n");
else
//Computes root1 and root2
... |
199885d1272754b5c6527f96df78f3c0053b502a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH34/EX33.21/EX33_21.sce | 843109f99a0cf556cc31b9aab72b996775116570 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | EX33_21.sce | // Grob's Basic Electronics 11e
// Chapter No. 33
// Example No. 33_21
clc; clear;
// Iin is 1.5 mA, R is 1 kOhms, and Rl is 10 kOhms. Calculate Vout.
// Given data
Iin = 1.5*10^-3; // Input votage=5 Volts
Ri = 1*10^3; // Input resistance=1 kOhms
Rl = 100; // Load resistance=100 Ohm... |
35b24f26b0665af8b74c04638915b9e66e72b178 | 754c43daf02dbbce34ba8676304db3cf1ad6e80d | /lec7.sce | 0e44136f6c39f81f9e3b22fe7636065252853153 | [] | no_license | KobaltKoding/SS-Scilab | d3c677e9f5045a80a4108588a7aadf68d2de1bc8 | e8b9001f5995785e4b49975838a94f3822055460 | refs/heads/main | 2023-01-23T13:37:40.318533 | 2020-11-25T09:18:52 | 2020-11-25T09:18:52 | 315,562,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | lec7.sce | clc ;
n=0:1:100;
fs=0.02;
T=1/fs;
t=n*T;
x = cos(2* %pi * 0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
n=0:1:100;
fs=0.04;
T=1/fs;
t=n*T;
x = cos(2* %pi * 0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
n=0:1:100;
fs=0.4;
T=1/fs;
t=n*T;
x = cos(2* %pi *0.02*(n/fs) ) ;
plot2d3(n ,x) ;
figure;
|
e37fe1cc21ae58842ae35ec24c576a4ad8f7da50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH3/EX3.7/Ex3_7.sce | 2b0ff18614080451791270c97672ac6adc3a198b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex3_7.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
h=5//ft
h1=3//ft
r=200//ft
f=0.5//ft
v=60//ft/s
w=62.0//ft/s
q=1.5//ft/s
g=32.2//ft
//CALCULATIONS
V=sqrt(q)/(w/(g*r))/2//ft/s
F=sqrt(f*g*r)//ft/s
T=(v)^2/(g*r)//degree
//RESULTS
printf('The value of t... |
b2d786938bacb73bff712643ec1f760875844be2 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/C7a_NEWMARK_CTS.sce | 166971e39908dc6e0db9ec15399f4e2e4d91987e | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,700 | sce | C7a_NEWMARK_CTS.sce | // MÉTODO DE NEWMARK COM CONSTANTES TIME STEPS
Gama = evstr(NewmarkBeta(1).string)
Beta = evstr(NewmarkBeta(2).string)
if Beta>=Gama/2; Dtmax = evstr(NewmarkBeta(3).string); end
T1 = evstr(NewmarkBeta(4).string)
Dt(1) = evstr(DeltaT_CTS.string)
// Valores crítico, máximo e mínimo para o passo de tempo
if B... |
ebb18a1bdd65fe5035283f222475d91611ab7aa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH2/EX2.5/Ex2_5.sce | 40ac3bf20d56b5d4b4d547abb2632f6810fe1745 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Ex2_5.sce | clc
T=300 //K
k=8.617*10^-5 //eV/K
q=1.6*10**-19 //C
m0=0.91*10^-30//kg
x=1//cm
t=100*10^-6//sec
epsilon=50//V/cm
vp=x/t
disp(vp,"drift velocity in cm/s is")
up=vp/epsilon
disp(up,"mobility in cm^2/Vs is")
Dp=(k*T*up)
disp(Dp,"diffusivity of minority carriers in cm^2/sec is")
|
4d74c00db70b3fa92ea49b0c5105a3d6f50a1202 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.22/ex5_22.sce | 70cbd1e423031f50e9b28921a55de0ff35a008b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | ex5_22.sce | // Exa 5.22
clc;
clear;
close;
format('v',8)
// Given data
A = 10000;
Beta = 0.02;
Zi = 1;// in k ohm
Zi = Zi * 10^3;// in ohm
Zo = 10;// in k ohm
Zo = Zo * 10^3;// in ohm
// The input impedance
Zif = Zi*(1+(A*Beta));// in ohm
Zif= Zif*10^-3;// in k ohm
disp(Zif,"The input impedance in k ohm is");
// T... |
811d59e90d4437898a33a723c873b52d860ebdda | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.85/Ex4_85.sce | f8a4ca7d2dad9303308cb35fd9b8098f9d149db8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 557 | sce | Ex4_85.sce | clc;
g1=1.5; // gain factor of amplifier
g2=80; // gain factor of generator
vo=250; // output voltage at no load
s=0.2; // feedback potentiometer setting
// for generated voltage= 80V field current is 1 A
ifl=vo/g2; // field current for generated voltage= 250V
vi=ifl/g1; // amplifier input voltage for field curr... |
3a4f3a7b03b8c3ed94dbd986cb9af016b9820e32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3176/CH3/EX3.5/Ex3_5.sce | 7ec584068a7bdf210f3c2f4773eceb1e681d3b4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,456 | sce | Ex3_5.sce | //Ex3_5
// A Simple Illustration of Histogram Equalization
// Version : Scilab 5.4.1
// Operating System : Window-xp, Window-7
//Toolbox: Image Processing Design 8.3.1-1
//Toolbox: SIVP 0.5.3.1-2
//Reference book name : Digital Image Processing
//book author: Rafael C. Gonzalez and Richard E. Woods
clc;
... |
021b2948b3928e35535216caeeee78abbcdc2886 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.19/Ex1_19.sce | 782778393682af3e9491dbbde621ae141704b33c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | Ex1_19.sce | clear
//
//
//
//Variable declaration
D4=0.4 //diameter of 4th ring(cm)
D12=0.7 //diameter of 12th ring(cm)
p1=16
p2=8
n=4
//Calculation
x=n*p1/(n*p2)
D20=sqrt((D4**2)+(x*((D12**2)-(D4**2)))) //diameter of 20th dark ring(cm)
//Result
printf("\n diameter of 20th dark ring is %0.3f cm"... |
9b44f545e61e9b8fb716b5101912dc6de3e9c5f0 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/mergedcomponents/setupinfs/layout.tst | 7165abde8fef75065f64c00c7e0302cfa06ec0a7 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | Scilab | false | false | 154 | tst | layout.tst |
[SourceDisksFiles]
@@:testroot.cer = 1,,,,,,,,3,3 ; copied specially by syssetup (BUGBUG--SHOULD NOT BE IN A BUILD RELEASED EXTERNALLY!)
|
eb842db3e9679d8bef6ae014e2d80804dcf1cb62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH12/EX12.5/example12_5.sce | 8c80977d702b36d69a4917b5092ef1bac6a78256 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | example12_5.sce | //clc()
//C2H4(g) + H2O(g) = C2H5OH(g)
//2CO2(g) + 3H2O(l) = C2H5OH(l) + 3O2(g) H = 1366.91kJ (A)
Hc2h4 = -1410.99;//kJ/mol
Hvap = 44.04;//kJ/mol
Hc2h5oh = 42.37;//kJ/mol
//C2H4(g) + 3H2O(l) = C2H5OH(l) + 3O2(g) H = -1410.99kJ (B)
//H2O(l) = H2O(g) H = 44.04kJ (C)
//C2H5OH... |
96461fa0ac08395f1464d6a1ba3c8aa1d99bfa82 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_12/trapecio_compuesto_puntos.sce | e1fd7235297938c28d017b2c1336d4e6e80432b0 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sce | trapecio_compuesto_puntos.sce | function I = trapecio_compuesto_puntos(x, y)
n = length(x)
h = (x(n)-x(1))/(n-1)
I = (h/2)*(y(1)+2*sum(y(2:n-1))+y(n))
endfunction
|
080404906397a476bf1d9a13c9c06ec79c8a570a | 4a33e080edd00748440b770f738c4bbb5ebc05f9 | /statistic.tst | baf1554873ea0477c6ee3f193040149279a2afec | [] | no_license | nholeg/Simple-Paiment--Kapitalbank-Training | d04779742af82f5e49826072993fb37e911ab9e4 | a5bb6cc7f72caff3434add39e24fd5649c3b6815 | refs/heads/main | 2023-07-02T13:43:44.030309 | 2021-08-10T09:49:20 | 2021-08-10T09:49:20 | 394,600,935 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | tst | statistic.tst | PL/SQL Developer Test script 3.0
8
-- Created on 18.05.2017 by OLEG
declare
-- Local variables here
i integer;
begin
-- Test statements here
dbms_stats.gather_schema_stats (ownname => 'EDU');
end;
0
0
|
65f00afca53021879d9e3be32fed5d5c9e3c788e | 4a6780403b9e1124bb28fe55b8a02bd1b5030da3 | /Medfilt1/medfilt1.sci | 4a8cbeeed7b7ec9abbed462320eff8b9059682b5 | [] | no_license | ayushbaid/Scilab_spt | 7f18527da77b6ff1e47f023ac8a7ff60ace21514 | 2d2b318573eedbc1ced1cadd4659282a8a7cf400 | refs/heads/master | 2021-01-22T13:58:11.828430 | 2015-11-16T13:23:16 | 2015-11-16T13:23:16 | 47,536,828 | 0 | 0 | null | 2015-12-07T07:37:55 | 2015-12-07T07:37:55 | null | UTF-8 | Scilab | false | false | 277 | sci | medfilt1.sci | function y = medfilt1(x,n,blksz,DIM)
funcprot(0);
if(argn(2)<1|argn(2)>4)
error('Incorrect number of input arguments.');
else
y=zeros(x)
x1=[0, x, 0];
for i=2:length(x)+1
y(i)=median([x1(i-1),x1(i),x1(i+1)])
end
endfunction
|
d32334be1c6aefbcd4b9fadb61bb474b3193827d | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH6/EX6.2/Ex6_2.sci | 4df22b604ff91a8e3cb28495157c298cde3ff157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sci | Ex6_2.sci | clc();
clear;
// To calculate the thickness of turbulent boundary layer at a distance of 12 inch
x = 12/12; // Distance from leading edge in ft
v = 33; // Stream flowing velocity in ft
n = 15.4*10^(-5); // kinematic viscosity, feet^2/s
... |
1dfa6e86870709e9e8d121d1adf2c4670d6e85ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH4/EX4.7/ex_4_7.sce | 1ca15104074f0cac9f484b176921c67dd504ea34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_4_7.sce | ////Ex 4.7
clc;
clear;
close;
format('v',5);
AOL=500;//unitless
Rio=300;//kohm
Ro=100;//ohm
ACL=AOL/(1+AOL);//unitless
Rif=Rio*(1+AOL)/1000;//Mohm
Rof=Ro/(1+AOL);//ohm
disp(ACL,"Close loop gain, ACL");
disp(Rif,"Value of Rif(Mohm)");
disp(Rof,"Value of Rof(ohm)");
|
b503e2b66d404506da68a5df1597c2a06f0d1553 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.67/ex_1_67.sce | ff5ea9cf06adda2337826fa8e9f09c6decafc99d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | ex_1_67.sce | //Example 1.67// percentage error
clc;
clear;
close;
//given data :
f=100; // in Hz
V1=250; // in volts
I1=0.05; // in A
L=1; // in H
R=V1/I1;
V=250; // in volts
XL=2*%pi*f*L;
Z=sqrt(R^2+XL^2);
Vr=(V1*R)/Z;
Ve=Vr-V;
Pe=abs(Ve/V)*100;
disp(Pe,"percentage error,Pe = ")
|
955167ddc937fb1df9a253516a7ef27bb33b8067 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH6/EX6.10/Ch06Ex10.sce | fafb2bebc324fc1d8be56f9963e3149ce9063ab7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch06Ex10.sce | // Scilab Code Ex 6.10: Page-6.18 (2004)
clc;clear;
k = 1.38e-23; // Boltzmann constant, joule per kelvin
T = 300; // For simplicity room temperature is taken, kelvin
e = 1.6e-19; // Charge on electron, C
EF = 5.5; // Fermi Energy, eV
E = EF+(EF/100); // New energy, eV
F_E = 0.1; // Fermi fu... |
25543e8ec7ab575aa053ed3ee5ec150b139f42f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH4/EX4.16/Ex4_16.sce | 04e11d4fc3943a7a05690af36c01ff3d9afd3003 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,278 | sce | Ex4_16.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 4 : DIRECT CURRENT MACHINES
// EXAMPLE : 4.16
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
Out_hp = 20; // Output of the Motor in HP
eta... |
342ef3db82e275dea748e1e9666b8f6d1760d330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.8/example8.sce | afc211eae88d33321faa3dc3d1fc01405ff10865 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,137 | sce | example8.sce | clc
clear
//input data
N=9000//The rotational speed in rpm
dT0=20//The stagnation temperature rise in K
DhDt=0.6//The hub to tip ratio
l=0.94//The work donee factor
ns=0.9//The isentropic efficiency of the stage
C1=150//Inlet velocity in m/s
P01=1//The ambient pressure in bar
T01=300//The ambient temperature ... |
62b6815dc86cdf9f25c2df81299e1963d3330b95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.32/Exa_2_32.sce | 3361dc69f57e1f979a894e17ad16387a2bb80c27 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Exa_2_32.sce | //Exa 2.32
clc;
clear;
close;
format('v',6);
//Given Data :
p1=5;//bar
p2=50;//bar
V=0.001;//m^3/Kg
m_dot=10;//Kg/s
wsf=integrate('-V',"p",p1*10^5,p2*10^5);//J/kg
wsf=wsf/1000;//KJ/Kg
Wsf=abs(wsf)*m_dot;//KW(leaving -ve sign as it is to indiacte heat is supplied)
disp(Wsf,"Power required in KW : ");
|
b6978898202ec4639c5da8a968a903fafe80d5b4 | 663857eeaf229747b6f19ba93d35654aed648084 | /masseRessort_charneux/Implicit_exo.sce | 47ac66c92b5ec164857c7a9c42beacae1bde545a | [] | no_license | DimitriCharneux/M3DA | 0a61e0365d1daf7b57a071f1da2025ac5991693d | b0d4baf1115b0577c5295401d8fc81552f779ced | refs/heads/master | 2021-06-14T11:09:03.784206 | 2017-01-12T10:10:28 | 2017-01-12T10:10:28 | 68,389,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,506 | sce | Implicit_exo.sce | getd();
global noeuds;
global g ;
global m ;
global k;
global dt;
global segments;
global L0;
global _MYDATA_;
//dv = vt - vt-1
//at = dv/dt
//vt = vt-1 + dv
//xt = xt-1 + vt * dt
//xt = xt-1 + (vt-1+dv)*dt
//m.at = mg + F(xt)
//m.dv/dt = mg + F[xt-1 + (vt-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.