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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5a7102543c4698e1efd2262588e8641b4fdc08f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/dutycycle/dutycycle17.sce | bfdfab7924743de046c8ed01232d602d091fb244 | [] | 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 | 101 | sce | dutycycle17.sce | //check o/p when i/p is an empty null vector
x=[0 0 0 0];
[d]=dutycycle(x);
disp(d)
//output
//
//[]
|
a733916037649b420b68f80bc32108c0a6c603bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH6/EX6.5/Ex6_5.sce | abad1528f2357a35d32cf4f36bdaeca98c0f12c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Ex6_5.sce | clc
//to calculate maximum and minimum value of phase constant
lambda=0.8*10^-6 //wavelength in micrometre
n1=1.6*10^-6
//refractive indices in micrometre
n2=1.44*10^-6
maximum=(2*%pi*n1)/lambda
minimum=(2*%pi*n2)/lambda
disp("maximum value of phase constant is maximum="+string(maximum)+"rad... |
c40b3780da19598869fe8b468b887d25fddc29fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH7/EX7.8/Ex7_8.sce | 0f2b32b457591cad941b48b334d6d16736e9ba4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | Ex7_8.sce | // to find JOR power station
// ex 7.8 pgno.179
clc
P=26.1e6 // power in mega watts
H=587.3 // m
N=428 // revloution /minutes
Q=6.85 // m3/s
w=(2*N*%pi)/60
g=9.8
mprintf('\n W= %f rad/s',w)
wt=(w*(sqrt(P/10^3)))/((g*H)^(5/4))
mprintf('\n wt =%f',wt)
Ns=(N*(sqrt(26.1e6)))/(H^(5/4)) // speed
mprintf('\n Ns ... |
4b5632bf578353464a62e8e4d2e4f6177a601d4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.18/Ch01Ex18.sce | 8f96c0ddb730e0853eefff7d635d93c7ade5a15e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch01Ex18.sce | // Scilab Code Ex1.18: Page-1.19 (2009)
clc; clear;
m = 9.1e-031; // Mass of the electron, kg
Ek = 1.27e-017; // Kinetic energy of electron, J
h = 6.6e-034; // Planck's constant
lambda = h/sqrt(2*m*Ek); // de-Broglie wavelength of electron, m
printf("\nThe wavelength associated with moving electron =... |
31192266b10bee7fabde7f835b1a96259049b165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH5/EX5.7/C5P7.sce | b58edcf3a743d62a733b292238331e012e79de12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,179 | sce | C5P7.sce |
clc
//to find tension in the string
//to find acceleration of blocks
// GIVEN::
//refer to figure 5-11(a) on page no. 95
//mass of first block
m1 = 9.5//in kg
//angle of inclination of plane
theta = 34//in degrees
//mass of second block
m2 = 2.6//in kg
//acceleration due to gravity
g = 9.81//in m/s^... |
eb19d952bc8059c5f11befe6c9e3a4bf47a8dbe3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH3/EX3.7/3_7.sce | 34270e5eba8b7ddeeafd9c3f6d30aec5405a2f19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | 3_7.sce | clear;
clc;
//Example - 3.7
//Page number - 92
printf("Example - 3.7 and Page number - 92\n\n");
//This problem involves proving a relation in which no numerical components are involved.
//For prove refer to this example 3.7 on page number 92 of the book.
printf(" This problem involves proving a relation in ... |
a7c0bb7cff9bc2ae21f06490fe6932d1fa633379 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH2/EX2.16/ex_2_16.sce | 0f8c9b6ce70de2c191a0d136c3f1c9f60ec8b5df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_2_16.sce | //Example 2.16 //position of brightest spot
clc;
clear;
//given data
d=.2;// diameter of ring
n=1;//order of ring
w=5D-5;//wavelength used in cm
r=d/2;// radius of ring
f=(r^2)/(w*n);//position of brightest spot
disp(f,"position of brightest spot in cm")
|
ddb8d5064dc95dbabe7ae691f5ebdf5ee06c6b6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH9/EX9.24/Example_9_24.sce | d5355db333d6cb350f9c40ab09781a035335e155 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 904 | sce | Example_9_24.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 9
//Chemical Reaction Equilibria
//Example 24
clear;
clc;
//Given:
//A system consisting of CO, CO2, H2, H2O, CH4
//To determine the number of degrees of freedom
//Formation reactions for each of compounds is written
//a. C + 1/2O2 --> ... |
2b1601dd516917f05d593dfd71437f2b609ca5be | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH7/EX7.16/Ex7_16.sce | ba889de044230a01e3596325223502e8ea1dfa1a | [] | 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 | 521 | sce | Ex7_16.sce | // Variable declaration
alpha = 0.05
beta = 0.10
Mean1 = 20 // mean corresponding to alpha
Mean2 = 21 // mean corresponding to beta
std_dev = 2.4 // standard deviation
// Calculation
Z1 = 1.645 // Z value corresponding to alpha=0.05
Z2 = 1.280 // Z value corresponding to beta... |
b656fe510cab5061242e310605f22a2a4487b2a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH6/EX6.1/6_1.sce | dd553486cb4e81f4d6c586c990754a42c2d5859a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | 6_1.sce | clc
clear
//Initialization of variables
P1=200 //psia
T1=600 //F
P2=2 //psia
J=778
//calculations
disp("from mollier charts,")
h1=1322 //Btu/lb
h2=974 //Btu/lb
vf2=0.01623 //cu ft per lb
hf2=94 //Btu/lb
t2=126 //F
Wtj=h1-h2
Qout=h2-hf2
Wp=(P1-P2)*vf2
Wpj=Wp/J
h3=hf2+Wpj
Qin=h1-h3
etat=((h1-h2)-Wpj)/... |
1aacc69f81936860a85a08edace197472c0f4cc9 | 573c239710e690975744ed5b0442cec77180ee8a | /CodigoRLC.sce | d9de70a365bd49acac6765104c3737b08071aa01 | [] | no_license | balasciot/computacaoParaAutomacao | bb3a9e55393a6d5c630003228a3872d6e1da84b1 | c0b948da70368c606a7e1581088cf20e89080733 | refs/heads/master | 2020-05-03T05:58:39.196994 | 2019-03-29T19:13:19 | 2019-03-29T19:13:19 | 178,462,519 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | CodigoRLC.sce | clear
m1 =100
m2 =100
k1= 100
k2= 100
k3= 100
u=10
b= 100
x0 =[ 0.1 ; 0.00;0 ;0 ] ; // condição inicial
tempototal = 40 ; // em segundos
h = 0.01 ; // passo de integração
n = tempototal / h ; // numero de interações
t=0:h:tempototal;
t0 = t(1) ;
func... |
a6873b5bf4cf7d4c86b715fbf311a42fc5564cf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH10/EX10.5/Ex10_5.sce | 97afc0868b77eacd783b9bf675b4c4901880f81a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | Ex10_5.sce | // Initilization of variables
x=30 // m // distance between two electric poles
Tmax=400 // N // Max Pull or tension
w=3 // N/m // weight per unit length of the cable
// Calculations
// The cable is assumed to be parabolic in shape, its eq'n is y=w*x^2/2*T_0.....(eq'n 1). Substuting the co-ordinates of point B (l/2... |
2bfc6dd895a32d8e0ac7b0d5b56d2f309cb6fa36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH2/EX2.4/exa_2_4.sce | 3e09c139658328139d52d5b605bad16a020a05b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | exa_2_4.sce | // Example 2.4
clc;
clear;
close;
// Given data
V0= 1;// in m^3
t= 300;// in °C
V= V0*(1+t/273);// in m^3
disp(V,"The volume occupied in m^3 is : ")
|
2e0446f423c2d7f21c7b1a0e89d2d6dc54e9d1b2 | 8ce3ae2d36b853adcc9c7cf4ac4da017d1666b56 | /05_source/DB/Scripts/Other/Отправить почтовое сообщение v3.tst | 51cba01f8e97b65ac27dba8cdf7fd690a1701756 | [] | no_license | Orapoveras/TMS | 948d93f7d435af7fcc8b489e34cd9e1d0c82cb70 | 8c7affb0bb102a048d9774d51decb2f90a158a3c | refs/heads/master | 2021-01-10T15:55:39.029628 | 2018-03-10T14:20:00 | 2018-03-10T14:20:00 | 46,549,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,546 | tst | Отправить почтовое сообщение v3.tst | PL/SQL Developer Test script 3.0
29
declare
message_body varchar2(2000);
crlf varchar(2) := chr(13) || chr (10);
begin
message_body := message_body || 'declare ' || crlf;
message_body := message_body || ' message_body varchar2(2000);' || crlf;
message_body := message_body || ' crlf varchar(2) := chr(13)... |
3a83b77313f027b42e1d035e62a008e9f2097554 | 7ace77a53000a46aaae55b4ea9462c4e743025f0 | /free_space_final.sce | 76d8384b09646f334d54d95fc79c8d99728b0666 | [] | no_license | saishraut/acel | 7a962fbf19f32640cb67a313104cff6d283f597a | bb17d46b4077b792b8564b7da3d63af5771ca18a | refs/heads/master | 2020-04-02T10:55:28.952847 | 2018-10-25T08:08:33 | 2018-10-25T08:08:33 | 154,361,984 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 871 | sce | free_space_final.sce | //Free Space Propogation Model
clc;
clear all;
//f=input('Enter the initial input frequency(in MHz)');
f1=input('Enter starting input frequency(in MHz)');
f2=input('Enter final input frequency(in MHz)');
n=input('Enter number of samples:');
dist=input('Enter distance(in Kms.)')
colours = ['r','g','b'];
f=f1;
if(di... |
01e8e0f946e40b526e0e1911954e5b65bcc52ec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH7/EX7.12/7q12.sce | 5c094d9c029da200b2dcba7353ed25f502509e53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | 7q12.sce | clc
//initialisation of variables
H= 450 //mm
h= 150 //mm
k1= 1e-2 //cm/sec
k2= 3e-3 //cm/sec
k3= 4.9e-4 //cm/sec
h1= 300 //mm
//calculations
Kv= H/(h*(1/k1+1/k2+1/k3))
i= h1/H
q= Kv*i*100*3600
//results
printf ('rate of water supply = % 2f cm/hr ',q)
|
418ec77a6d278252646a31f9212c961cc735c9f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH13/EX13.6/Example13_6.sce | 95d3e8077aa54cfb380d96496e1c72aabc0e86ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 612 | sce | Example13_6.sce | ////Chapter 13 Steam Engines
////Example 13.6 Page No 287
///Find Therotical mean effective pressure
//Input data
clc;
clear;
P1=14; //Steam Engine pressure in bar
Pb=0.15; //Back pressure in bar
K=0.72; //Diagram factor
rc=100/20; ... |
22050922c13d0bddb01fe5080ff79762f3ac8aa9 | f7d0f456b8e29ce4f81d9cbe1ca2a57fede3bc5d | /solvers/cyclist/bench/entl/10.tst | 8cb74bdb9f9f712fe1bc89d573b4085c150a9d97 | [] | no_license | mihasighi/smtcomp14-sl | 22467201b3f7e74e2001e259134c040d80afd6b6 | 8dd4ff648e16e31acd193f882082df349e211251 | refs/heads/master | 2021-06-06T17:01:18.752298 | 2018-06-28T10:04:32 | 2018-06-28T10:04:32 | 19,853,856 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | tst | 10.tst | ListO(x,y) * ListO(y,z) |- ListE(x,z)
|
c555f0928fb578b4a315a26130bc091b439e61e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH5/EX5.10/Ex5_10.sce | 9ad34facaa49ae179a539b08a0fc2db76e804b4d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,419 | sce | Ex5_10.sce | //Variable declaration:
qs1 = 5000.0 //Volumetric flow rate of C6H5Cl at standard conditions (scfm)
qs2 = 3000.0 //Volumetric flow rate of air at standard conditions (scfm)
Ta = 70+460.0 //Actual absolute temperature in Rankine scale (°R)
Ts = 60+460.0 ... |
839d53cdd01232059aabf05e9059fb06a3dd5c0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH3/EX3.4/Ex3_4.sce | 1d6c81a92b4ee7459a6828a6ae909addd39a5de0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_4.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 90
clear;
clc;
//Given Data
Rl=2D3;//Load resistance in ohms
esp=50;//Input signal voltage magnitude in volts peak
esf=314/(2*%pi);//Input signal frequncy in hertz
Vr_to_Vdc=6/100;//Ratio of peak to peak ... |
355894bef951ae022b0607f06a37fd70ca416659 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.23.b/solution8_23.sce | 8807cf8bb62274c34e731ce9563f9ad3dc7b1680 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,916 | sce | solution8_23.sce |
//Function to round-up a value such that it is divisible by 5
function[v] = round_five(w)
v = ceil(w)
rem = pmodulo(v,5)
if (rem ~= 0) then
v = v + (5 - rem)
end
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution8_23.sce')
//Obtain path of data file
dat... |
23c438c6a4c99f37cf73619a7031402ecfbd9eb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH2/EX2.6/Ex2_6.sce | dee5aa0caef33c26c61d0f1adcfd2f92b514df9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_6.sce | //Example number 2.6, Page number 2.34¶
clc;clear;close
// Variable declaration
theta=60*(%pi/180) // When the angle of refraction is 30degrees, angle of reflection will be 60degrees
// Calculation
mu=tan(theta) // unitless
// Result
printf("Refractive index of medium=%0.3f",mu)
|
0e7b7f859103df4da606958ffb5ef33e293d0190 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH2/EX2.16/Ex2_16.sce | c310ce2161586e9ab520df83111104638357a4b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_16.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.16
//Given Data Set in the Problem
sg1=1.5
sg2=0.9
g=9.81
dens1=sg1*1000
dens2=sg2*1000
//calculations
pA=1*10^4*g
pB=1.8*10^4*g
//pressure above X-X in left limb is p_left=1... |
611e360316d83a908f70db87d1931a6b19bae61c | 9651e8d97efa545ec67b74488e570618d7175865 | /Project/Improved-Ray-Tracer/scenes/empty_prison/empty_prison.sce | 288ff1cb52939f68f738cf98f6fcdc631c71db0b | [] | no_license | Ghalicb/computer-graphic-concepts | ae3f97be77b285e9f222200699c734f7c658b378 | 8995f1ad7e924c062e2df88b0d88db9fe0b5d95c | refs/heads/master | 2022-09-04T18:24:18.315890 | 2020-05-13T13:36:49 | 2020-05-13T13:36:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,624 | sce | empty_prison.sce | #The origin is at the center of the box
# maximum recursion depth and number of paths per pixel
max_depth 8
paths_per_pixel 1000
# camera: eye, center, up, fovy, width, height
camera 0 0 600 0 0 0 0 1 0 90 1000 1000
# background color
background 0 0 0
# AreaLights : center, color, block_side, x_parts, y... |
c210264776e498b1eb832997c6990e33d163888a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH6/EX6.2/Ex6_2.sce | a0f1a57d7649b9f1466414d22d8d91370d8ad47c | [] | 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 | 261 | sce | Ex6_2.sce | errcatch(-1,"stop");mode(2);//caption:Find output voltage
//Ex6.2
Lo=0//input voltage logic0(in V)
L1=20//input voltage logic1(in V)
V1msb=L1/2
V2msb=L1/4
V3msb=L1/8
V4msb=L1/16
Va=V1msb+V2msb+V3msb+V4msb
disp(Va,'output voltage(in V)=')
exit();
|
51d956a8cd476b8aacc3450fa6aa306bbe6f609b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH1/EX1.12/Ex1_12.sce | f0a047b6ded27850ddbac8560d082efbca57c0d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Ex1_12.sce | clc
//to calculate velocity of beta particle
c=3*10^8 //light velocity(m/s)
u1=0.9*c //velocity of the beta particle relative to the atom in the direction of motion
v=0.25*c //velocity of the radioactive atom relative to an experimenter
u=(u1+v)/(1+u1*v/c^2)
disp(" velocity of the beta particle as observed by t... |
ec9cc82bdd89bbfdc8cea81286d40fcd4638c680 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH5/EX5.21/Example_5_21.sce | 2fec1e7109a379924ce9b8088c33962bb5ad9426 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,673 | sce | Example_5_21.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 21
clear;
clc;
//Given:
P2 = 2800; //pressure of superheated steam (kPa)
P1 = 275; //pressure of withdrawn steam (kPa)
V = 1.070*10^-3; //specific volume of saturated liquid at 27... |
2f8f6a8e29c2af4bee602c5cd62be6338e2264a8 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/stmcb/stmcb5.sce | 8839029656039605abf8b28ab56f137c52cfb08d | [] | 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 | 244 | sce | stmcb5.sce | ai=[1.0 4.410692054951665 8.291296554539644 -7.970990704911278 3.378878204393383];
y=[1 3 4 5];
x=[2 3 5 2];
[b,a]=stmcb(x,y,4,4,5,ai);
disp(b);
disp(a);
//output
//
// 2. 0. 0. 0. 0.
//
// 1. 1.5 - 0.75 1.375 0.
|
36f2de82ce969ebd095a9dedeef1c1c15e7b5134 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH6/EX6.2/Ex6_2.sce | 1840267164a9060f35788d8b2babd76c50757db1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Ex6_2.sce | clc//
//
//
//Variable declaration
V=400; //voltage(V)
//Calculation
lamda=12.26/sqrt(V); //de broglie wavelength(angstrom)
//Result
printf("\n de broglie wavelength is %0.3f angstrom",lamda)
|
3a14f8b5508e0d26f33b218b505353d53a2a4851 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/MultiRegions/Tests/Helmholtz3D_CG_Pyr_VarP.tst | 14e092a513fdc8a15cccec2ae4786a94f87f4d33 | [
"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 | 571 | tst | Helmholtz3D_CG_Pyr_VarP.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Helmholtz 3D CG for Pyramid with Variable P</description>
<executable>Helmholtz3D</executable>
<parameters>Helmholtz3D_Pyr_VarP.xml</parameters>
<files>
<file description="Session File">Helmholtz3D_Pyr_VarP.xml</file>
</files>
<... |
9cb03413bdeafd059cb3b61599bf39dbb72d2841 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH19/EX19.3/19_3.sce | 5e32a16e461c1705a322d679d1f08da3d056217b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 19_3.sce | //Calculate fraction of load carried by fibres
//Ex:19.3
clc;
clear;
close;
ef=430;//in GPa
e=3.6;//in GPa
m=ef/e;
vf=0.15;//by volume
vm=1-vf;
x=vm/vf;
pf=m;
pc=m+x;
y=pf/pc;
disp(y,"fraction of load carried by fibres (15 % by volume) = ");
vf1=0.65
vm1=1-vf1;
z=vm1/vf1;
pc1=m+z;
zz=pf/pc1;
disp(z... |
996475fa9ec70ebcb51536281d655da8c0063538 | f95a4301aef1a5e8894c410a4841c1bd95c7b14c | /equidistant/stiffivpsolver11.sce | c4500029f17db0ba915b894372b4e121c1e0ae5e | [] | no_license | e-scheiber/scilab-ivpsolvers | ee827f13a23d483be1e0863551a3fd314b94ddfc | 0db0a69d57c1f958880d391f268648258f9f984b | refs/heads/master | 2021-01-15T10:42:41.821051 | 2017-08-07T16:26:26 | 2017-08-07T16:26:26 | 99,597,309 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,959 | sce | stiffivpsolver11.sce | function [u,x]=stiffivpsolver11()
// Dispatcher function
// Initializes the data
[deri,x0,y0,h,n]=datas()
//disp(y0)
// Calls the IVP solver
[u,x,Nf]=picard(deri,x0,y0,n,h)
printf('Number of calling f : %d\n',Nf)
// Computes the real solutions
s=zeros(n+1,length(y0))
for i=... |
4f74fd876158004de62820bfaa3eac26984e681a | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/cmd/test/pfr2.tst | a0e0a956f6aef88b53ff7a577d64eea35716caad | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 2,546 | tst | pfr2.tst |
$thermo = VirtualMaterials.Advanced_Peng-Robinson
/ -> $thermo
thermo + n-BUTANE ISOBUTANE
pfr = KineticReactor.PFR()
pfr.In.T = 330 K
pfr.In.P = 3000 kPa
pfr.In.Fraction = 0.9 0.1
pfr.In.MoleFlow = 163
pfr.Length = 12.9 m
pfr.Diameter = 0.6 m
pfr.OutQ = 0
pfr.NumberSections = 40
pfr.NumberRxn = 1... |
d753dc820c9c2a5c02acd5ad71ea9fa3b82fbb1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH17/EX17.2/ex17_2.sce | 57faeea011491cbf7c7f899a6a5662f5bdf33290 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | ex17_2.sce | clc;
clear all;
h=6.626e-34;//planck's constant
me=9.1e-31; //Mass of electron in Kg
T=0;//temperature
n=8.4905e28;
Efo=(h*h/(8*me))*((3*n/%pi)^(2/3));//fermi energy at 0K in J
Efo1=Efo/(1.6e-19);//convertion into eV from J
disp('eV',Efo1,'fermi energy at 0 K');
lemda=6.82e27;
Z=lemda*sqrt(Efo1)/2;//density o... |
9ae02937e0bb14d13dbb5b0d3627a56d213c2f02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH4/EX4.7/Ex4_7.sce | fb1dbee9cd9407b5c63fbf6197c94e8c0353e366 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | Ex4_7.sce | // Example 4.7;iron losses
clc;
close;
clear;
//given
format('v',6)
kva=200;//kVA
pf=0.8;//power factor
rflo=kva*pf;//kW
ef=0.96;//efficiency
ip=rflo/ef;//kW
tl=ip-rflo;//kW
e2=800;//volts
e1=6600;//volts
n21=((e2/sqrt(3))/e1);//turn ratiom
r1=4;//ohms
r2=0.05;//ohms
roe=(r1)*n21^2+r2;//ohms
fli=((kva*10^3)/(sqrt(3)*e2... |
4171586db9e212755af9c6ec49896fca69b7dfb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH16/EX16.4/Ex16_4.sce | 2cbf332dfe33ef3a39f27380eb8cd416e5efa16b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 457 | sce | Ex16_4.sce | clc;
close();
clear();
//page no 522
//prob no. 16.4
f=1; //in GHz
//part a
d=1; //in Km
alfa1_dB=20*log10(f)+20*log10(d)+92.44; //dB
mprintf('(a) The path loss is %.2f dB\n',alfa1_dB);
//part b
d=10; //in km
alfa1_dB=20*log10(f)+20*log10(d)+92.44; //dB
mprintf(' (b) The path loss is %.2f dB\n',alfa... |
25e05240b15b34ea115b592d5d8fbc4bdf059b10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/CH13/EX13.8/13_8.sce | 2d43b596c2ac577155ef3d1428d79fe048bbdf78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 13_8.sce | //clear//
clc
clear
exec("13.8data.sci");
z = 0:1:200;
function w=f(z,x)
w =zeros(1,1);
lam=200-z;
ca=cao*(1-x)
E1=4.44658e-10*(lam^4)-1.1802e-7*(lam^3)+1.35358e-5*(lam^2)-.00086
5652*lam+.028004;
E2=-2.64e-9*(lam^3)+1.3618e-6*(lam^2)-.00024069*lam+.015011
F1=4.44658e-10/5*(lam^5)-1.1802e-7/4*lam^4+... |
5311e65fb2660a57adf5fe20febdc36093879b43 | a7d0b3c5e708525143e896070b7eaa1c9cc2482a | /Optimisation_Algorihtms/rmsprop.sci | c22d5ad38a9f082098b6c124da48c8e2096d31a5 | [] | no_license | dhruvchadha2212/Adam-Optimiser-Project | 5a5e7e98bdbbf2dca6e98a6c1efc3f9a5bf233b4 | dde54107824681870689870038c6e1711fe496a8 | refs/heads/master | 2021-05-16T09:15:34.812553 | 2017-12-19T01:48:50 | 2017-12-19T01:48:50 | 104,381,984 | 0 | 2 | null | 2022-12-23T01:22:39 | 2017-09-21T18:08:21 | Scilab | UTF-8 | Scilab | false | false | 705 | sci | rmsprop.sci | function f=funcx(x)
f=(1.5-x(1)+x(1)*x(2))^2+(2.25-x(1)+x(1)*x(2)^2)^2+(2.625-x(1)+x(1)*(x(2)^3))^2;
endfunction
function g=grad1(x)
g=[2*((1.5-x(1)+x(1)*x(2))*(-1+x(2))+(2.25-x(1)+x(1)*x(2)^2)*(-1+x(2)^2)+(2.625-x(1)+x(1)*(x(2)^3))*(-1+x(2)^3)),2*((1.5-x(1)+x(1)*x(2))*x(1)+(2.25-x(1)+x(1)*x(2)^2)*(2*x(1)*x(2))... |
9b7b1cd76445f51ebc329769d0d6259e2b88816b | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/NekMesh/Tests/StarTec/spherigon_bl_straight_rw.tst | 5f595716a22afb14d0606813b4415ec544dfbbad | [
"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 | 844 | tst | spherigon_bl_straight_rw.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> NekMesh with Spherigons and variable Boundary Layer </description>
<executable>NekMesh</executable>
<parameters> -m spherigon:surf=10:surf=13 -m spherigon:surf=8:surf=9 -m bl:surf=3,10,13:layers=4:r="1.7*( 1-x/0.3 )+1":nq=7 -m bl:surf=2,8,9:layers=... |
b4161bfeb0eaae2ac642fef805c092b8c42893d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.51/Ex51.sce | 91755e9da3b2e50d83e4c366ff5b716ac2619f8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sce | Ex51.sce | //Ex:51
clc;
clear;
close;
r_a=30000+6370;//apogee in km
r_p=200+6370;//perigee in km
e=(r_a-r_p)/(r_a+r_p);// eccentricity
printf("The apogee=%f km",r_a);
printf("\n The perigee=%f km",r_p);
printf("\n The orbital eccentricity=%f",e); |
e888420a2ee14572e11f3f7b0738e9ea3fc1c92d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH3/EX3.3/ex3_3.sce | a53f2ac9a00e6178e387033de1722af933ecce29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | ex3_3.sce | clc;
P=2.5; //Power in D
f=-(1/P); //calculating f in m
disp(f,"Focal length in m = "); //displaying result |
134de8e7ef4d916e723128f65b8c9f39a6987a72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH33/EX33.4/Example33_4.sce | b5e05d7ee0964763c84e1e26008fdc7aa4764b35 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Example33_4.sce | //Given that
R = 200 //in Ohm
Em = 36 //in volts
fd = 60 //in Hz
t = poly(0, 't')
w = 2*%pi*fd
//V = Em*sin(w*t)
//Sample Problem 33-4a
printf("**Sample Problem 33-4a**\n")
//Vr = Emax*sin(w*t)
printf("The voltage drop across the resistor is Vr=%1.2f*sin(%1.2f*t)\n", Em, w)
//Sample Problem 33-4b
pri... |
a3716d52763c1f824c03db77bdefa5613637f219 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH17/EX17.7/Chapter17_example7.sce | 55aca5241ad4338b132c7594f2f4f61e93e6a0db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Chapter17_example7.sce | clc
clear
//Input data
K1=0.168//Thermal conductivity of the briks in W/m.K
K2=0.042//Thermal conductivity of cork in W/m.K
d1=0.08//Thickness of the brick in m
d2=0.04//Thickness of the cork in m
T1=20+273//Outer temperature in K
T2=10+273//Inner temperature in K
//Calculations
T=((d2*K1*T1+d1*T2*K2)/(d1*K... |
ab334303d774a24b3b2e076dda193f2574004b4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH16/EX16.9/Ex16_9.sce | ecfe70504fee9895c928da20cb64fff1222763a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex16_9.sce | clc;clear;
//Example 16.9
//given data
T=17;
P=92;
//from Table A-4
Pv=1.96;
//constants from Table 16-2
H=62000;
//calculations
Pda=P-Pv;//dry air
yda=Pda/H/100;//in bar
disp(yda,'mole fraction of air')
|
1bd98c6cde40d2f5fd069746fb93cdc683757a51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH11/EX11.10/Ex11_10.sce | 458d8f06af50fa4b51c111cd2ed2af64c9d94e5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 610 | sce | Ex11_10.sce | // Exa 11.10
clc;
clear all;
// Given data
// Wien's bridge
R1=3.1; // k Ohms
C1=5.2; // micro farads
R2=25; // k Ohms
f=2.5; // kHz
R4=100;// k Ohms
// Solution
w=2*%pi*f; // Angular frequency
// Substituting the value of C3 from Eq. 11.22(page no. 330) in Eq.11.21(pagr no. 330) to get value of R... |
4829aa83225cb501b5f763ce7afd12be800ce818 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH3/EX3.11/ex3_11.sce | 1e946ba74fdb27abf0895f8fe8ef366b9e36e9ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | ex3_11.sce | //Calculate output voltage and current through load and voltage across series resistor and current and power dissipated in zener diode
clear;
clc;
//soltion
//given
Vi=110;//V //input voltage
Rl=6*10^3;// ohm //load resistance
Rs=2*10^3;//ohm //series resistance
Vz=60;//V //Zener voltage
... |
ffb7ba1babce1a267e314c2df2d947110709ecbc | 2a39d29b2cb27e98632f6810ed3c2a22a56fa8eb | /Materias/LabCalcNum/Rafael/modelo_saturacao2.sci | aea35fb55d72baf0fd9654bdcf4108476f257048 | [] | no_license | rafael747/my-stuff | 74358384bc1a5b381d1951dfaef87efdf4cb53c2 | 8614aefdc3ca9afdc1534557f73719af8494f7fa | refs/heads/master | 2021-01-17T12:47:48.206860 | 2020-06-04T15:10:20 | 2020-06-04T15:10:20 | 57,989,835 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,169 | sci | modelo_saturacao2.sci | //-----------------------------------------
// Ajustando Modelo Nao Linear satutração 2
// Função Linear: g1=1, g2=x
function [y]=g1a(x)
y=ones(1,size(x,2));
endfunction
function [y]=g2a(x)
y=x;
endfunction
//Tabela de Dados (Original)
x = [1.3, 1.8, 3, 4.5, 6, 8, 9];
fx = [0.07, 0.13, 0.22, 0... |
ce16c7fd81d4636e565044c5e43656112aa03279 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH8/EX8.3.3/8_3_3.sce | e2e0a0d6be52557be5ab03c3b077445608305009 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | 8_3_3.sce | clc
pathname=get_absolute_file_path('8_3_3.sce')
filename=pathname+filesep()+'833.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook \n ")
function[Cp]=fun(T)
Cp=0.02894 + T* 0.4147 *10^(-5) + T^2 * 0.3191 * 10^(-8) - T^3 * ... |
ac33dd9e137de61ba4b14e3c0d656a21fc6e2279 | 52d9841ccd56eacdf87597ee3666ce340445b089 | /003-SAP-webservices/ws-tools2/src/db/zaplacene_faktury.tst | 07a76cad07824f09c2b2d110df6f1e1bcaa13530 | [] | no_license | jTyma/_RepositoryNET | 594667851c6829391d47460c8732123ff49b55f0 | 71c312268a093fa18e723714cc80dc6cd1548470 | refs/heads/master | 2021-01-22T11:54:47.031544 | 2014-04-04T13:12:13 | 2014-04-04T13:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,733 | tst | zaplacene_faktury.tst | PL/SQL Developer Test script 3.0
218
--
-- pokusny script, ktery byl nasledne prenesen do funkce CRMWS_FUNCTIONS.process_invoces
--
declare
p_acct_id integer;
l_clob CLOB;
TYPE bill_rec IS RECORD
(
bill_id cc.acct_book.bill_id%TYPE,
due NUMBER,
recieved NUMBER,
adjusted NUMBER,
debt NUMBER
);
TYPE... |
3bc21a760dbc040fde6f87c05dbe6933f647a3cd | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/commClose.sci | 6516e787df303314c214aac9c9df4de74604f704 | [] | 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 | 325 | sci | commClose.sci | function result=commClose(h)
TCL_EvalStr("set closeresult [catch {close "+string(h)+"}]");
result=-evstr(TCL_GetVar("closeresult"));
if result==0 then
disp('A porta serial foi fechada');
else
hrtSerialCloseAll();
disp('Todas portas seriais abertas no Scilab foram fechadas');
end
endfunc... |
196050b8525d5eb80eb8644ffda47b377c43455a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH3/EX3.1/Ex3_1.sce | 75e86a5803be638e53af079b408c0b06f3a08230 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | Ex3_1.sce | clear
//
//
//
//Variable declaration
a=0.28 //lattice spacing(nm)
lamda=0.071 //wavelength of X-rays(nm)
h=1
k=1
l=0
n=2
//Calculation
d=a/sqrt(h**2+k**2+l**2)
sintheta=n*lamda/(2*d)
theta=asin(sintheta)*180/%pi //glancing angle(degrees)
//Result
printf("\n glancing angle is %0.0f ... |
c192ef04eaa4ec763cd880981562864ecebc1236 | fa328598047d2361d64c8f8e0360039a1c2c26a2 | /test_suite_2/test_cases/test_suite_2/case_5.tst | a83eca8d1a46253dc5cc084e6512869fe3149ae9 | [] | no_license | TheSoftwareEngineeringAdventureLine/ProgramTesterStage3 | 0a623d8114db142a9f7f92c99e698e66c969bf2a | e864b3f1c29a312c224611d9827ca16ed0393578 | refs/heads/master | 2021-01-21T18:57:52.815967 | 2014-05-01T23:40:24 | 2014-05-01T23:40:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12 | tst | case_5.tst | 10.5
$
20.5
|
8be8ffea9077169b82cb60b31457b6f1905fbb00 | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP2/inverse.sci | f541ad21a2056785c9741a4d553608a01d39fc50 | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 546 | sci | inverse.sci | function [B] = inverse(A)
exec("LU.sci", -1);
exec("solinf.sci", -1);
exec("solsup.sci", -1);
[n,m] = size(A);
if (n <> m) then
error("A doit être carrée");
end
I = eye(n, n);
[L, U] = LU(A);
// Attention, il ne faut pas faire n fois la décomposition LU !!... |
c8f5b87f29b043cec0b7e033352c7d564cca4aef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH7/EX7.11/Ex7_11.sce | 57250e6c2c3a6fcbe42171abc4074cce6242f3b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Ex7_11.sce | clear
//
//
//
//Variable declaration
h=1
k=1
l=1
lamda=1.54 //wavelength(angstrom)
n=1 //order
theta=19.2*%pi/180 //glancing angle(radian)
//Calculation
d=n*lamda/(2*sin(theta))
a=d*sqrt(h**2+k**2+l**2) //cube edge of unit cell(angstrom)
//Result
printf("\n cube edge of u... |
655ae0b6967b184ed318c088174ccb5ed3f7489a | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/hrtTypeUInt2Hex.sci | 3809673f7e0d15c1a2a29320b3be8eaab3546900 | [] | 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 | 174 | sci | hrtTypeUInt2Hex.sci | function result=hrtTypeUInt2Hex(ValorUInt)
result = string(dec2hex(bitget(ValorUInt,16:-1:9)))+' '+..
string(dec2hex(bitget(ValorUInt,8:-1:1)));
endfunction
|
7400701abdcaa44f7f6a9078d0f7cfe3956f2164 | c6515791fea5828996a3924a74b5358852bc69f0 | /ap3_ajuste_polinomial/ajuste_polinomial2.sci | 8176eb6c452fa863c459b3fd2a5d1e3aad0261ab | [] | no_license | fernandascovino/fgv_math_modeling_3 | 366f05faa9fc657473acad8c1061b7c6feed8d4a | 11853e0bf2c05ad2df4fb369dfa922fc50c68ceb | refs/heads/master | 2023-02-24T23:03:18.431724 | 2021-01-31T18:08:16 | 2021-01-31T18:08:16 | 334,722,683 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 993 | sci | ajuste_polinomial2.sci | ////////////////////////////////////////////////
///Variáveis de entrada:
/// f = função a ser aproximada
/// x = conjunto dos valores de entrada
/// y = conjunto dos resultados observados
/// m = grau do polinômio da aproximação
////////////////////////////////////////////////
///Variáveis de saída:
/// v =... |
0e505a69d7bcc68d8ecfc2377b646321812035c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH3/EX3.17/ex3_17.sci | e48366150ecc9d7f87a4658c43b69f2225064b26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sci | ex3_17.sci | //Example 17,Chapter 3
kf=1.15
kp=1.5
Vm=4500
//(i)
Vrms=Vm/kp
printf("\n Vrms=%.0f V \n",Vrms)
//(ii)
Vavg=Vrms/kf
printf("\n Vavg=%.1f V \n",Vavg)
|
b5db35f468093566d2f7f24c68c039ae35742af7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH12/EX12.7/Chapter12_Example7.sce | 6fc1e30453dd38e01476589db6d3b1b7c6cf7221 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | Chapter12_Example7.sce | clc
clear
//INPUT
r1=5;//radius of first sphere in cm
r2=10;//radius of second sphere in cm
t1=700;//temperature of the first sphere in K
t2=500;//temperature of the second sphere in K
t=300;//temperature of the enclousure in K
//CALCULATIONS1
dc=(r2/r1)*(t1^4-t^4)/(t2^4-t^4);//ratio of c1/c2
r=r1^3*dc/r2... |
699ace9e080206c334723a332a336f005961f0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/431.sci | 03b819320cca366ca8c2769d6eadd5d9032a5a78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | sci | 431.sci | Vdot=20 //CC/min
x=0.015
MH2O=18.02 //g
DH2O=1 //g/CC
x1=0.2 |
a3bd008f65a44ff98ea3b3e294bf2c2730f44f00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.33/Exa_5_33.sce | e297f4d3c9bf6a64548d2022b1fc5ecdfef5e969 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | Exa_5_33.sce | //Example No. 5.33
clc;
clear;
close;
format('v',9);
//Given Data :
P=6;//poles
V=220;//V
f=50;//Hz
Ra=0.2;//ohm
Rf=150;//ohm
Z=150;//no. of conductors
fi=0.02027;//Wb(flux)
alfa=0;//degree
alfa_a=45;//degree
Ia=25;//A
A=2;//
T=Z*P*fi*Ia/(2*%pi*A);//N-m
disp(T,"Totque in N-m : ");
Vm=V*sqrt(2);//V... |
dcfc87a03cbfeba4e7d95695483f8064ddfa9c24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH23/EX23.2/Ex23_2.sce | 2e6fa1d45647077678b3067441cb8f592dd02b8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,147 | sce | Ex23_2.sce |
//calculating no. of poles
Ns=1200//synchronous speed of rotating magnetic field
f=60//frequency of the supply to the stator
P=120*f/Ns
mprintf("No. of poles=%d\n", P)
//calculating slip at full load
Nr=1140//full load speed
s=(Ns-Nr)/Ns
mprintf("Percentage slip at full load=%f percent\n",s*100)
//calculatin... |
21800e03d6591a6ba85ee9c8fd810cb2be016078 | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH19/EX19.9/example9_sce.sce | 17aa9db26b2ee1b3a318b11345a1019cc214bdbf | [] | 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 | 294 | sce | example9_sce.sce | //chapter 19
//example 19.9
//page 834
printf("\n")
printf("given")
hFE=2000;Vbe=1.4;Vp=10;Ip=200*10^-3;Icq2=20*10^-3;Re3=4.7;Re2=4.7;Vd=.7;
Ve1=3;Vc1=15.2;Vrc=Vc1;
Vb=Vbe+Icq*(Re2+Re3)+Vbe
Vcc=Vrc+Vc1+Vb
Ib2=Ip/hFE
Irc=1*10^-3;
Vrcac=4;
Rc=Vrcac/Irc
Ic1=Vrc/Rc
Rb=(Vb-(4*Vd))/Ic1 |
002e8a8ca1d7a71d4ea8b196b43dd0c2f0416115 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH12/EX12.13/12_13.sce | faa6accffc14eb759ad8e9dac34f5c0ad690d25d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,784 | sce | 12_13.sce | //To find teeth and velocity
clc
//Given:
G=3
m=6, AP=1*m, AW=AP //mm
phi=20 //degrees
N1=90 //rpm
//Solution:
//Calculating the angular speed of the pinion
omega1=2*%pi*N1/60 //rad/s
//Calculating the number of teeth on the pinion to avoid interference on it
t=2*AP/(sqrt(1+G*(G+2)*(sind(phi))^2)-1)
//Calcu... |
808b7c3b5e965eb80226f71e341933a4e5e0b3bb | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/bdVpcInsert.sci | b7e591f9549374d130ba0b8b9ff07a7e3713da86 | [] | 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 | 1,408 | sci | bdVpcInsert.sci | function bdVpcInsert(elementoType, elementoName, varargin)
global varBDados
process = varBDados.Process;
select elementoType
case 'Process'
sizeProcess = process.root.children(1).children.size;
for i=1:process.root.children.size //size varbd
process.root.child... |
4092af120d2ffee38f2cba0c82daa71cf5c71d60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH8/EX8.6/Ex8_6.sce | 0af86c38f6a11df72b61098dc506ac1d11a9124d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_6.sce | clear
//
//
//Given
//Variable declaration
D=100 //Diameter in mm
R=D/2 //Radius in mm
F=5*10**3 //Shear force in N
y=40 //given distance from N.A. in mm
//Calculation
//case(i):Average shear stress
A=%pi*R**2
tau_avg=(F/A)
//case(ii):Maximum shear stress for a circular section
ta... |
0085e6ae287f2f631f32a5dbc16638b3e7268dd2 | b3ea2513d73daaf7b2730f55e31e47011a885f52 | /POS tagging/sentences.sce | 24c2d89ab09e2d24d57b979addd7a94032df96a5 | [] | no_license | JoannaMisztalRadecka/Other-projects | e9975e81006d5c7d23de56c945b5e06f74c8e328 | 507e70f5bfbdadd28e83571abef78611b0c1d35e | refs/heads/master | 2021-01-10T16:33:29.845279 | 2015-10-05T09:59:12 | 2015-10-05T09:59:12 | 43,676,805 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,741 | sce | sentences.sce |
sentences = list()
//dane uczące
sentences(1) = list(list("Kasia",1),list("przynosi",3),list("nam",5),list("prezent",1))
sentences(2) = list(list("czekam",3),list("na",7),list("ciebie",5))
sentences(3) = list(list("ktoś",5),list("dzwoni",3))
sentences(4) = list(list("ktoś",5),list("zawiezie",3),list("mnie",5),list("n... |
24435f343540b1b028a5e32e4de455e3f2cc559c | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH9/EX9.4/example9_4.sce | 7113df50b31d35c19c7e87456c792db15298c02c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example9_4.sce | clear;
clc;
//Example9.4[Heat Loss through a Double Pane Window]
//Given:-
H=0.8;//Height[m]
L=0.02;//Air gap[m]
w=2;//Width[m]
T1=12,T2=2;//Glass Surface temperatures across the air gap
Tavg=(T1+T2)/2;//[degree Celcius]
k=0.02416;//[W/m.degree Celcius]
Pr=0.7344;//Prandtl Number
nu=1.4*10^(-5);//Kinematic... |
e652cf44555e871f7749d708d5ea972f2b5d220f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH7/EX7.1/7_1.sce | 23bf94144515887426680e0915416c5c00a956ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_1.sce | clc
//initialisation of variables
g= 32.2 //ft/sec^2
d= 6 //ft
di= 2 //in
h= 9 //ft
Cd= 0.6
//CALCULATIONS
function [y]=fun(H)
y= H^-0.5*(d/2)^2*%pi/(Cd*%pi*sqrt(2*g)/144)
endfunction
vec2=intg(0,h,fun)
T= vec2
//RESULTS
printf ('Time to emptify = %.f sec',T)
|
aed83195c42ab87ff263c7a6b9be345fc607bbba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH3/EX3.2/3_2.sci | 305a8caf334a8a146f9e3430a77f26a50f9b53e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sci | 3_2.sci | // 3.2
clc;
I=1000;
Ia=50*10^-3;
Is=I-Ia;
Ra=10;
Va=Ia*Ra;
Rs=10*Va/Is;
printf("The shunt resistance=%.2f ohm",Rs)
|
eec80457ca072dc7ec1eab8a726f82fbaa6dfecf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.38/Exa_1_38.sce | 03f88b5b33fc10d7e10474aa6924217a86710fa6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | Exa_1_38.sce | //Exa 1.38
clc;
clear;
close;
format('v',8);
//Given Data :
pr=5;
Z=0.8;
pc=46.4;//bar
Tc=191.1;//K
Tr=1.44;//
p=pr*pc;//bar
disp(p,"Pressure in bar : ");
T=Tr*Tc;//K
disp(T,"Temperature in K : ");
|
d370aee69be0cbb458535debb7b1ef3936ab631b | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoFilter.sci | 1bbabb87d19415001ab6177532a969da10e22fa2 | [] | 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 | 2,044 | sci | SSSoFilter.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoFilter(In,B_GHz,fo_GHz,Type)
// Optical Filter
//
// Calling Sequence
// Out=SSSoFilter(In,B_GHz,fo_GHz,Type)
//
// Parameters
// In : Optical Input
// B_GHz : FWHM Bandwi... |
46edded6b4665fb3c137bbf51df36e93cd4d20aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH2/EX2.8/ex_8.sce | 1eea16246394843b39ebaefac027ef23b46a8dc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sce | ex_8.sce | // EXAMPLE (PG 81)
//Assume alpha is a solution of x = g(x)
alpha=sqrt(3);
// case 1
deff('[y]=g(x)','y=x^2+x-3')
deff('[z]=gp(x)','z=2*x+1') // Derivative of g(x)
gp(alpha)
// case 2
deff('[y]=g(x)','y=3/x')
funcprot(0)
deff('[z]=gp(x)','z=3/x') // Derivative of g(x)
gp(alph... |
d178191a4ac3e5d729e9f8660186e096444c42e8 | 5f4fdac82318f5e872c34c1104dd12d4721229e7 | /WebApplication/Examples/AngularWebAPIService/tst/AngularWebAPIService.tst | b07e74dae405ae6535157c6ca081fc0641c9d4f4 | [] | no_license | NeVeSpl/NTypewriter.Examples | 4698926e843aea863168233ae9abbaf948ca500e | 0477a6273318ee7bd69dff4779afd01f6475134f | refs/heads/master | 2023-04-26T13:28:51.392199 | 2021-06-01T08:36:33 | 2021-06-01T08:38:13 | 372,547,271 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | tst | AngularWebAPIService.tst | ${
using Typewriter.Extensions.WebApi;
string ReturnType(Method m) => m.Type.Name == "IHttpActionResult" ? "void" : m.Type.Name;
string ServiceName(Class c) => c.Name.Replace("Controller", "Service");
}
module App { $Classes(:ControllerBase)[
export class $Name {
constructor(private $http: n... |
3aa124b372accf55533c38edfbae269d06dd381d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH2/EX2.3/Ex2_3.sce | 541a101a166647d6f886c45d389e1716337ab3b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_3.sce | ////Given
a=3.2 //ev
energy=3.8 //ev
e=1.6*10**-19
//Calculation
c=energy-a
Energy=c*e
//Result
printf("\n Kinetic energy of the photoelectron is given by %e Joule",Energy)
|
7647f975d5dcfcbd895ee3ef5af57e7e04ed15ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH3/EX3.10/Ex3_10.sce | 5887d29f05ccbf34620cd5882b87ace6211010f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | Ex3_10.sce | clc
//Ex 3_7,3_8,3_9 and 3_10 use Molier Diagram
h1=3275
h2=2725
deltah=h2-h1
mprintf("deltah=%fkJ/kg",deltah)
|
204079a2f528147205eef9ddfb9488ab8a644bb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH6/EX6.25.1/Ex6_25.sce | c1446301e4a819bfec4570cb1576e7ee5d0841e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Ex6_25.sce | clc
clear
r=15; //Compression Ratio
P1=100; //in kPa
T1=27+273;
Cp=1.006;
Cv=0.717;
G=1.4;
//Cut off takes place at 12% of Working Stroke
T2=T1*(r^(G-1));
printf('T2= %2.1f K',T2);
printf('\n');
P2=P1*(r^G);
printf('P2= %2.1f kPa',P2);
printf('\n');
Z=(0.12*(r-1))+1;
Eff=100*(1-((1/(r^... |
4bab7dd78768d4a3b41f674c9add197859f54e72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH26/EX26.1/Ex26_1.sce | 2aeae6cc9a50ab92fa73e6936974737c5002cdd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | Ex26_1.sce | //chapter26
//example26.1
//page570
R2=2.4d3 // ohm
R1=240 // ohm
V_out=1.25*(1+R2/R1)
printf("regulated dc output voltage = %.3f V \n",V_out)
|
6211a377f84a1aec6030565086692dc5088df3ee | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/reshape.sce | 37169fb4eeaaa4d06fea3a0e0773192992f7e1b8 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 876 | sce | reshape.sce | // Function Name: reshape
// Generate a vector/matrix/cube with given size specifications, whose elements are taken from the given object in a column-wise manner; the elements in the generated object are placed column-wise (ie. the first column is filled up before filling the second column)
// The layout of the el... |
e2b8cf238589bff05ad674dfe1500be979dfb652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH4/EX4.10/Ex4_10.sce | e83645acf560142316f9b41b0cf5d4e4919bdb56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_10.sce | //Chapter-4, Illustration 10, Page 141
//Title: Gears and Gear Drivers
//=============================================================================
clc
clear
//Input data
Ta=96;//Teeth of wheel A
Tc=48;//Teeth of wheel C
y=-20;//Speed of arm C in rpm in clockwise
//Calculations
x=(y*Ta)/Tc
Tb=(Ta-Tc)/... |
65d36cc44ab9b32accb7ef866a21d0f3c4d919e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/4_09.sci | 9cc7ed26f932bbfd4402c7d085fdd3904bb25097 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 4_09.sci | //Nozzle inlet diameter(in inchess):
D1=3;
//Nozzle exit diameter(in inches):
D2=1;
//Desired volume flow rate(in ft^3/sec):
Q=0.7;
//Density of water(in slug/ft^3):
d=1.94;
|
e59ff97268549ab8d5f35dcf3a609ad721a26071 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH9/EX9.1/Ex9_1.sce | 554f8e114f3fffade3ff2bbfd155dc42aca6afd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex9_1.sce | clear
//
//case a
e=600
p=6
n=1500
z=200
a=2
//since e=(phy*n*p*z)/(60*a)
phy=(e*60*a)/(n*p*z)
printf("\n phy=0.04")
//case b
phy=0.05
p=8
n=500
z=800
a=8
p=8
e=(phy*p*n*z)/(60*a)
printf("\n e= %0.1f V",e)
//case c
e=400
a=2
n=(e*60*a)/(phy*p*z)
printf("\n n= %0.1f rpm",n)
//case d
phy=0.05
p=4
n=800
z=600
a=4
p=4
e=... |
26d6b2bbdc2a8878a72874814fd7720bdcc4a864 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH18/EX18.08/18_08.sce | 956d1924217415b6e30022679429836c00b0accd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,001 | sce | 18_08.sce | //pathname=get_absolute_file_path('18.08.sce')
//filename=pathname+filesep()+'18.08-data.sci'
//exec(filename)
//Pressures(in bar):
p0=0.9
p1=1
p2=4
p3=p2
p4=p3
p5=1.03
//Temperatures(in K):
T6=298
T0=276
//Specific heat(in kJ/kg):
Cp=1.005
//Adiabatic index of compression:
r=1.4
//Refrigeration capaci... |
3d9e71dd926bd9fd821e304845ae2b8e346f6e6f | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/rjmp.instr.tst | e820f599159da6dd6bd3f2d58d858eee8899df6a | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 91,327 | tst | rjmp.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00001000 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00001034 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0xff 0xc3 rjmp .+2046 ; 0x800
0x2: 0xfe ... |
1366405fd9602dcdde3f3b98864f32f1e0c7d35f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RV23.prev.tst | 083f20c0b2adcc490413e478637cdd09c2274ed1 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,129 | tst | RV23.prev.tst | [0,0,0,0,0,0,8,13] | [0,1,1,2,3,5] =
divide: quot[2] = 13/5, remd = [0,0,0,-13/5,-13/5,-26/5,1/5]
divide: quot[1] = 1/25, remd = [0,0,-1/25,-66/25,-67/25,-133/25]
divide: quot[0] = -133/125, remd = [0,133/125,128/125,-64/125,64/125]
gcd: [0,0,0,0,0,0,8,13] / [0,1,1,2,3,5] -> [-133/125,1/25,13/5] rest [0,133/125,12... |
dc4f7b37408e54d5c900c5db2c8a19e81db5a179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH4/EX4.4.a/Example_4_4a.sce | fa5cc145d9c71517f28d18a34cec7fa827f69e7a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | Example_4_4a.sce | //Computations of ASTM Grain Size Number
clear;
clc;
printf("\tExample 4.4\n");
printf("\n\tPart A");
N=45; //No. of grains per square inch
//Dterminin grain size no. N=2^(n-1)
n=(log(N)/log(2))+1;
printf("\nGrain size no. is %.1f\n",n);
//End |
d01f6ca6de9f8eabaf98468cb99906fa5fb182c3 | a095402148fd6b18b79f79dcaf460ddd3a81cd14 | /exp4/test.sci | abee3d55d1345b76a331f20a4efe839df22143d2 | [] | no_license | avravikiran/sip-lab | b3ccc5b4e4f9d3353aff364adc966d9d46835f10 | 213d7e63bd08da70e286484dcc3d4e55fb43fbcd | refs/heads/master | 2021-06-22T19:03:10.747224 | 2017-08-10T20:59:57 | 2017-08-10T20:59:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sci | test.sci | function img=test(pic,RGB,edgetype,thresh,direction,path)
stacksize('max');
getd;
// Display mode
mode(-1);
// Display warning for floating point exception
ieee(1);
[img, RbandVal]=imgdisplay1(pic,RGB,path);
edgeImg = edge2(img,edgetype,thresh,direction);
imwrite(edgeImg,path+'edgeimg.jpg');
endfunction
|
eb0910fad467c72cef63abbf0f336f83725dd80c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2840/CH9/EX9.9/ex9_9.sce | 9e3e8de184c23e84b813b5901dae7ad936296bef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | ex9_9.sce | clc;
clear all;
m = 9.1e-31; // Mass of electron in kg
h = 6.62e-34; // Planck's constant in Js
c = 3e8; // Velocity of light in vaccum
lambda = 1.5e-10; // Wavelength of light in meters
E = 0.5e-16; // Energy of electron in J
Nlambda = ((h*c)/lambda)-E;//'Energy of scattered electron
disp('J',Nlambda,'Energy ... |
9e971d2447f28172289334812d0357d091c4cc2f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH9/EX9.8/Ex9_8.sce | f5fcc549ba5415c2a83b2156f02471afd4663dd9 | [] | 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 | 834 | sce | Ex9_8.sce | errcatch(-1,"stop");mode(2);//Caption:Find Eqv circuit parameters
//Exa:9.8
;
;
V_1=208;//in Volts
f=60;//in Hertzs
P=4;//no. of poles
N_m=1710;//in rpm
R_1=2.4/2;//in ohms
disp(R_1,'R_1 (in ohms)=');
W_oc=450/3;//in Watts
P_fw_phy=18/3;//in Watts
P_oc=W_oc-P_fw_phy;//in Watts
V_oc=V_1/sqrt(3);//in Volts... |
6c281819d0e66d5eeab52118c6591ce9918a49e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH1/EX1.16/example1_16.sce | 1d6b41d5814d166b4c755a891daa4cb889e00fb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 581 | sce | example1_16.sce | // Calculate drift velocity in copper
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 1-16 in page 47
clear; clc; close;
// Data given
tou=10^-14; // Relaxation time in s
m_c=0.02*9.1*10^-31; // Effective mass of electron in Kg
E_0=0.1; // Ele... |
6267a0a0539e421ff4c4f8b598a80b7308dfb970 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/StdRegions/Tests/StdProject2D_Quad_Fourier_P6_Q8.tst | c4b697465ae9fea4de8746bcd0099d1b2b791fe0 | [
"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 | 504 | tst | StdProject2D_Quad_Fourier_P6_Q8.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject2D Quadrilateral Fourier basis P=6 Q=8</description>
<executable>StdProject</executable>
<parameters>-s quadrilateral -b Fourier Fourier -o 6 6 -p 8 8</parameters>
<metrics>
<metric type="L2" id="1">
<value toleranc... |
5d0fe8659664782953cb943595c74c90d6c52e51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.14/Ex5_14.sce | 51ba8ca710179eefcd8b8a8a2aa90e4dcaee6173 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | Ex5_14.sce | clc;
VS=12;
R1=1.5*10**3;
R2=1.8*10**3;
VD1=0.7;
VD2=0.7;
I=(VS-VD1-VD2)/(R1+R2);
disp('mA',I*10**3,"I=");
|
3e45fb6dc9fbfaf3d50930c0db59ce126297bfc2 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/Adero/ADERO_Scenarii/Second.sce | 9dfeba5d0c4c7f13a7a48c92f71297c7ce0b07ae | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,738 | sce | Second.sce | #************************************************************
# Scenario of Ikea
#
# date : Mon Oct 4 22:58:51 2010
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT HUMAN_ACHILE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.00... |
57e8891d6315a19c4c314d7f24b6db146e621d89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH11/EX11.3/Ex11_3.sce | 2f51741807c764cff4117a2938f1e21f7e22caa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex11_3.sce | //pagenumber 516 example 3
clear
c1=0.004*10^-6;//farad
c2=0.03*10^-6;//farad
induct=4*10^-3;//henry
//min voltage
mivolt=c2/c1;
disp("min voltage >= "+string((mivolt))+"volt");
//frequency
freque=(((1/(2*3.14)))*sqrt((c1+c2)/(induct*c1*c2)));
disp("frequency = "+string((freque))+"hertz");
|
440c5eef81ce0b73e9ad8c6a89dd8fcf04e3bd06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.4/Ex3_4.sce | 96065ce5bfbe31d501aaf0f474f40edbda7f6808 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 292 | sce | Ex3_4.sce | clc;
//ex 3.4
mun=0.38;
mup=0.18;
n=2.5*10**19;
a=0.13;
b=0.05;
n2=1.5*10**16;
q=1.6*10**-19;
sigma=q*n*(mun+mup);// intrinsic coductivity for germanium
disp('ohm-mu^-1',sigma*1,"sigma=");
sigma1=q*n2*(a+b);//intrinsic coductivity for silicon
disp('ohm-m^-1',sigma1*1,"sigma1");
|
54017af24b00b439ee75af6f95c85287a0c0ae6f | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ADRSolver/Tests/UnsteadyAdvectionDiffusion_FRHU_LFRHU_3DHomo1D_FFT.tst | dd2ad08ca872acd49f1e4a467e5b82f14397892a | [
"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 | 664 | tst | UnsteadyAdvectionDiffusion_FRHU_LFRHU_3DHomo1D_FFT.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D Homogeneous 1D Advection FRHU Diffusion FLRHU FFT</description>
<executable>ADRSolver</executable>
<parameters>UnsteadyAdvectionDiffusion_FRHU_LFRHU_3DHomo1D_FFT.xml</parameters>
<files>
<file description="Session File">UnsteadyAdvect... |
8ee8c7bef30d533cd20f36a4819013772c564449 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH6/EX6.20/6_20.sce | 1ae73d062a3c2751242d6ab51e79c7e11bc1c41f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | 6_20.sce | //example 6.20
//double integration
//page 247
clc;clear;close;
deff('z=f(x,y)','z=exp(x+y)');
h0=0.5,k0=0.5;
h=[0 0.5 1];,k=[0 0.5 1];
for i=1:3
for j=1:3
x(i,j)=f(h(i),k(j));
end
end
T_area=h0*k0*(x(1,1)+4*x(1,2)+4*x(3,2)+6*x(1,3)+x(3,3))/4//trapezoidal method
printf('the integration value ... |
fd32f7343d88ac5eeb04b3438ba65c75e302d3ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH18/EX18.2/Exa18_2.sci | 916dbc7fc52cda31794744ba34796b41a748a36c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | sci | Exa18_2.sci | //Determine the offered load
CCS = 2900;
p = 0.05;
U = CCS/(1-p);
disp(U, 'Offered Load (in CCS)');
|
80e764c89c0acac67e568803642deb55ed2b67b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH10/EX10.14/Ex10_14.sce | abd99aca810182c1853abcef695ea9d65c1c8ec4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | sce | Ex10_14.sce | //===========================================================================
//chapter 10 example 14
clc;
clear all;
//variable declaration
P = 500; //resistance in arm AB in Ω
Q = 500; //resistance in arm BC in Ω
S = 500; //resistance in arm CD in Ω
R = 500; //resistance in arm BD in Ω
Rg = 100; /... |
5e844e483dd07a5850ea508d2040b6a32f92fb0c | e1fcb98fc42106c41335695379d620ba376ad2ab | /Raizes/biss.sci | 12cc43a7a8f2abe472dab4d68b26b2f1ef45551f | [] | no_license | LuizFelipeLemon/CN | 82c142ff28c2cb63d1f8cb433965d63089628235 | 605076edd4ea218dd5e49dbba2b109f61efa9cfa | refs/heads/master | 2021-08-19T16:08:20.094123 | 2017-11-26T20:51:15 | 2017-11-26T20:51:15 | 103,070,142 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sci | biss.sci | function[x,i]= biss (a,b,e,N)
i = 1;
erro = 1;
x=a;
while(erro > e && i < N)
xa = x;
x = (a+b)/2;
if(f(x)*f(a)<0)
b = x;
else
a=x;
end
i = i + 1;
erro = abs(x-xa)/x;
end
endfunction
function y = f(x)
y = x^2 + ... |
420f413c262c36e1c9a58b425c51d08d561f3236 | c34cb6f5448d3c4a59e4409e34656916c7b5cac0 | /rgbtogray.sce | b6ab3706bb42d7aac2dbd3ae0eef7efb2679ce44 | [] | no_license | ans-sharma/scilab | b2b0af0d038998b81943ff6fdf06d6e1c434b23d | e8b8a43d0d1d8bed3112abd985ec07aa495dd16d | refs/heads/master | 2022-12-15T03:39:00.434615 | 2020-09-09T21:37:32 | 2020-09-09T21:37:32 | 291,638,062 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 350 | sce | rgbtogray.sce | img = imread('C:\Users\Anshuman\Desktop\index1.jpg');
//img = imresize(img, .5);
imgSize = size(img);
imgFinal = [];
R = img(:,:,1);
G = img(:,:,2);
B = img(:,:,3);
imgGray = .2*double(R) + .6*double(G) + .1*double(B);
//disp(imgGray)
imgGray = uint8(imgGray) // used to typecast a variable.
//disp(imgGray)
o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.