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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c3aac7c2a6063596b9daaa4acf470fc09e8ebaa7 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_draw_roundobj.sci | 02d5af2458c6cefd60b3c77a49255ab6dd0bb33c | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,239 | sci | kiks_draw_roundobj.sci | function [] = kiks_draw_roundobj(id)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
global... |
8126b105d8b03ac163269cdafb5130546d45c8d9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_K._L._Kishore_1511.zip/Electronic_Devices_And_Circuits_K._L._Kishore_1511/CH2/EX2.3/ex2_3.sce | f96da66707470debf44ae5d14a7b12726f943be8 | [] | 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 | 213 | sce | ex2_3.sce | errcatch(-1,"stop");mode(2);// Example 2.3 page no-47
e_ar=11.6 //eV
e_Na=5.12 //eV
V=e_ar-e_Na
e=1.6*10^-19 //C
m=9.1*10^-31 //kg
v=sqrt(2*e*V/m)
printf("Velocity, v=%.2f*10^6 m/sec",v/10^6)
exit();
|
21ac6cd8bc5cfef9456edc952c04f5e7d4d660fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH2/EX2.6/Chapter2_Example6.sce | f549541f307a41116811e156b9d4928eaebfa4d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,790 | sce | Chapter2_Example6.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-2, Illustration 6, Page 37
//Title: Calculation of composition, average molecular weight and density
//============================... |
56edc21ba2ec4766bee613ab4067b423959cfdc4 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH2/EX2.4.b/examplesec2_4b.sce | d8a821c5232aa1e45ac3a0a904d2d030a0d13291 | [] | 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 | 142 | sce | examplesec2_4b.sce | errcatch(-1,"stop");mode(2);//Example sec 2.4.2
//eigen values
;;
A=[0 6 -5;1 0 2;3 2 4]
B=spec(A)
disp(B,"Eigen values=")
exit();
|
94243fe8fa1049127fd1e511b06c8d9f5e301385 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.27/ex_27.sce | 2d97164c50681ce2eebec7820a4e1301bfa39d6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,514 | sce | ex_27.sce | // The equation 27*x^5+27*x^4+36*x^3+28*x^2+9*x+1==0 has real roots.
// the graph of this function can be observed here.
xset('window',26);
x=-2:.001:3; // defining th... |
3c63c7f2401e4486d52a7c08ee7ae941a806c6db | 31b6fbe1a2a4b72deb517412cfcf18574375244c | /currency-exchange/svitlana-2016/gbp-usd.tst | ba19434398f7ed4f893a40c1c33cc771291b93c1 | [
"LicenseRef-scancode-unknown-license-reference",
"Artistic-2.0"
] | permissive | geneura-papers/data | 9d1ba3d45479fe6869b91ee39d12530943f4ef39 | 8b9171cefca33aec3a5867100b2297d31b21d1bc | refs/heads/master | 2021-01-17T10:17:59.265980 | 2016-09-26T23:44:22 | 2016-09-26T23:44:22 | 56,451,607 | 2 | 2 | null | 2016-05-06T06:03:42 | 2016-04-17T18:24:25 | Perl | UTF-8 | Scilab | false | false | 1,799 | tst | gbp-usd.tst | 1.6543
1.6426
1.6411
1.6401
1.6407
1.6454
1.648
1.6481
1.6385
1.6442
1.6368
1.6357
1.6406
1.6423
1.647
1.658
1.663
1.65
1.658
1.6578
1.6559
1.6478
1.6434
1.6311
1.6324
1.6308
1.6321
1.6415
1.6399
1.645
1.6592
1.6658
1.6746
1.6701
1.668
1.6689
1.6654
1.6638
1.6661
1.6675
1.6664
1.6681
1.6747
1.6654
1.667
1.672
1.6735
1.... |
4edfb00e9c42c702aadf07091a9d0e703fdc3381 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test1-7.tst | e02394579c32b4ad0b1ed3093bccf68c40a83e4a | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | tst | test1-7.tst | main
var a, b, c, d, e, f;
{
let a <- 22;
let b <- 33;
let c <- 44;
let d <- 55;
let e <- 66;
let f <- 77;
let a <- a + call inputnum();
let b <- b + a;
let c <- d * b;
let d <- c / a;
let e <- a + b + c + d * 22 - 18;
let f <- 86 / 22 + a;
if a != b then
if b != c then
if c != d t... |
8ba641a50be0689ea1aa1d43d1022a074b504b1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH2/EX2.6/Ex2_6.sce | 9d45b537fb3699de9246e0e343b49cc49ac7006e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | Ex2_6.sce | clear
//Given
q=5*10**-9
x=0.15 //m
r=0.1 //m
a=9*10**9
//Calculation
E=(a*q*x)/((r**2+x**2))**1.5
//Result
printf("\n Intensity of the electric field is %0.0f N/C",E)
|
fb54031687cfaa6ff073efdb0ff92b839047c4e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.7.4/Ch06Exa6_7_4.sci | bc35deb9a37c458e8f546ae5ff65f0022a9494c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sci | Ch06Exa6_7_4.sci | // Scilab code Exa6.7.4 : To calculate the frequency of alternating field applied to dees. Page 272(2011)
q = 1.6e-019; // Charge of the proton, C
m = 1.67e-027; // Mass of the proton, Kg
B = 1.4; // Magnetic field , tesla
f = B*q/(2*%pi*m*10^06); // Frequency of the applied field, tesla
printf("\n Frequency of th... |
3c498d632abd31b57bff615b74f63daca33adf6f | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/tests/unit_tests/xls_GetFont.tst | 40b158dab14e05becfd5e41ae00e5db4b6b8a168 | [] | 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,045 | tst | xls_GetFont.tst | // ====================================================================
// Allan CORNET
// DIGITEO 2010
// ====================================================================
// <-- CLI SHELL MODE -->
// ====================================================================
r = xls_NewExcel();
assert_checktrue(r);
r ... |
cb474909f078929b2d70cb4ea40a2055d196cc9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH6/EX6.5/ex6_5.sce | 1da50ad9170b4cd19b92c779b24427be3c418901 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | ex6_5.sce | clear;
//clc();
// Example 6.5
// Page: 115
printf("Example-6.5 Page no.-115\n\n");
//***Data***//
printf("This is a theoratical question and there are no any numerical components. For the derivation, refer to page no 115 of the book."); |
0cfd8df8572188bca7889396c8f50acc5eca58bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH4/EX4.2.1/Example4_2a.sce | 2318c7107bf2e537d9788d90b95d3b71649f924d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | Example4_2a.sce | clc
//Given that
r = [2,2,2*sqrt(2)]
// sample Problem 2a Page No. 176
printf("\n \n\n # Problem 2a # \n")
r_magnitude = sqrt ( 2^2 + 2^2 + (2*sqrt(2))^2)
cos_x = ( 2 / r_magnitude)
cos_y = ( 2 / r_magnitude)
cos_z = ( 2.8284 / r_magnitude)
printf(" \n Directional cosine in X - axis is %f ", cos_x)
printf... |
82d76d9c8d45f5fe76c0321ff0cc825626918b2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH9/EX9.15/Example_9_15.sce | 3bad6460c3fe6ea2f2cf2075a91e0ca89c9644b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | Example_9_15.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 9
//Chemical Reaction Equilibria
//Example 15
clear;
clc;
//Given:
//Reaction: N2 + 3H2 --> 2NH3
K = 2*10^-4; //equilibrium constant of reaction
P = 20; //pressure in bar
//To determine conversion of nitrogen affected by argon
//Mole f... |
7129b8fa1d0789055a2acba04a18e487082ca310 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.19_13.tst | b6b4c4fbe7a6d5eac6c2e7d8dbfc5dddcffc763b | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 23,791 | tst | bow.19_13.tst | 19 18:1.0 107:0.5 118:1.0 133:0.2 145:1.0 172:1.0 191:0.3333333333333333 248:0.3333333333333333 310:0.07692307692307693 552:0.3333333333333333 597:1.0 921:1.0 1216:0.5 1238:1.0 1754:0.5 1780:0.3333333333333333 4015:1.0
19 6:0.125 117:0.029850746268656716 133:0.2 158:0.125 191:0.6666666666666666 215:1.0 405:0.0909090909... |
35179faec399a311f6b39ec563752ef67f3e3166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH3/EX3.8/3_8.sce | 60cdec2dee28eed1af3662951bde2b79362ff25c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | 3_8.sce |
clc
//initialisation of variables
D= 10 //ft
H1= 17 //ft
H2= 5 //ft
d= 3 //in
Cd= 0.62
g=32.2 //ft/s^2
//CALCULATIONS
t1= (2*%pi*D^2/4)*(sqrt(H1)-sqrt(H2))/(Cd*sqrt(2*g)*%pi*(d/12)^2/4)
t2= %pi*(14/15)*H2^(5/2)*4/(Cd*%pi*(d/12)^2*sqrt(2*g))
t= t1+t2
//RESULTS
printf ('time required to empty the vessel =... |
f451de2c954e3736f5905e3d9d7b8fda089a3b96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH3/EX3.2/ex_3_2.sce | 09d884608e8a2469f2c52e2de33359b3aeefca9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,355 | sce | ex_3_2.sce | // Example 3.2: calculate the input impedence, output impedence, voltage gain and current gain
clc, clear;
Hie=3.2; // the h-parameters of the transistor in kilo-ohm
Hfe=100; // the h-parameters of the transistor
R1=40; // resistance in kilo-ohm
R2=4.7; // resistance in kilo-ohm;
Rc=4; // resistance in kilo-ohm... |
dbf97f37a22aea814065fe7d45b7f30abe2454b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.48/EX1_48.sce | 37acdb962dba0af6be234e278cb6846079c69ee1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | EX1_48.sce | //EXAMPLE 1-48 PG NO-39-40
R1=6.8; //Resistance
R2=15;
R3=10;
RA=(R1*R2)/(R1+R2+R3);
disp('i)RESISTANCE = '+string (RA)+' ohm');
RB=(R1*R3)/(R1+R2+R3);
disp('ii)RESISTANCE = '+string (RB)+' ohm');
RC=(R2*R3)/(R1+R2+R3);
disp('iii)RESISTANCE = '+string (RC)+' ohm')
|
9bf2e8f7fd2706c1890fac44100cd965b9f4e0e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.2/7_2.sce | 02da12cb296fcb52bdfb8c09b55b69bd82aa8aa3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | 7_2.sce | clc,clear
printf('Example 7.2\n\n')
V_l=500
R_a=0.4,X_s=4 //armature resistance and synchronous reactance
Z_s=complex(R_a,X_s)//synchronous impedance
theta=(%pi/180)*phasemag(Z_s)//phasemag returns angle in degrees,not radians
V_ph=V_l/sqrt(3)
I_l=50
I_aph=I_l
E_Rph=I_aph*abs(Z_s)
//case 1
E_bline=600
E_bph=E_bline/s... |
3685835d91ef4697ee6c465ee64c436455058d33 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/PIDtuning/PID_regulator.sci | 88f488b04e36aa6bdd59bf45cf4647c2d41c6539 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,849 | sci | PID_regulator.sci | //Function to calculate a PID regulator from a Transfer function a crossover frecuency and phase margin
function [Kp,Kd,Ki,Tz,Tuz,Gcz,p_m,fcross,g_m,f_pi]=PID_regulator(fc,pm,fs,H,Gcompensate)
//H is the sensor that gets the variable to regulate, resisitive sensor in voltage mode
//fc crossover frequency pm phase mar... |
723c31f7300c2ed71b2744f563a5962d90b799b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH3/EX3.5/Ex3_5.sce | 6012432f42a8f1cf0532ef6786d3993eaf43630b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,326 | sce | Ex3_5.sce | clear all; clc;
//This numerical is Ex 3_3E,page 46.
//the value given in the book for Um is 200.5,but on calculating the value comes out to be 200.3
r_t=24
r_h=10
N=1250
Q=53000
r_m=(0.5*(r_t^2+r_h^2))^0.5
printf("\n The mean radius rm is equal to %0.1f in",r_m)
disp("Converting to feet we have r_m equal ... |
5089a5b90e8eb5316ff54c7e079a968c7219952d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH4/EX4.2/Ex4_2.sce | 090b22775c894c8d409f25b5fcb6c5ee4f7b3872 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,285 | sce | Ex4_2.sce | // Book - Power System: Analysis & Design 5th Edition
// Authors - J. Duncan Glover, Mulukutla S. Sharma, Thomas J. Overbye
// Chapter - 4 : Example 4.2
// Scilab Version 6.0.0 : OS - Windows
clc;
clear;
rx=0.03; //Radius of conductor x in meter
ry=0.04; //Radius of co... |
640adbc08483e687b2c0caf8c704492978bf59b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH26/EX26.1/Ex26_1.sce | bb0e1fe0eb59d3f5e7b73e28b44caa3d04400532 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | Ex26_1.sce | clc
N = 100000 // annual output of parts
s = 2 // expected scrap
t = 105 // estimated time per part in s
ita = 80 // production efficiency of machine
a = 2300 // number of working hours
output = (3600*ita)/(t*100) // parts required per hour
pr = N*(100+s)/(a*100) // output from one machine per hour
mr = pr/outp... |
3157f53a05679703e0bc50799c0e34008a01c220 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH8/EX8.4/ex_8_4.sce | 697f9ed4796edc414d81ebaf5556ab71d3711ede | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_8_4.sce | //Example 8.4: speed and voltage
clc;
clear;
close;
n1=700;//rpm
n2=750;//rpm
rm=0.3;//in ohms
v=500;//in volts
ib=50;//amperes
eb1=v-(ib*rm);//in volts
eb2=eb1;//
N=((v-(2*(ib*rm)))/((eb1/n1)+(eb2/n2)));//
pdv1=((eb1/n1)*N)+ib*rm;//in volts
pdv2=((eb1/n2)*N)+ib*rm;//in volts
disp(round(N),"speed in rpm is")
disp(round... |
497953fa548134f9aa2f1f922cdb0e7c80ca244a | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/DEVELOPMENT-LANGUAGES/niger-congo/lug.tst | 1e8949afbcc5d0068f4b988c9e1ecaec0c16985e | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,748 | tst | lug.tst | londa V;SG;1;PST+RCT
buuka V;NFIN
ffa V;PL;3;PRS
komawo V;PROG;PL;1;PST
yaagala V;PL;1;FUT+RMT
nywegera V;PL;1;PST+RCT
wereza V;PL;3;FUT+IMMED
linda V;3;PRS
lowooza V;1;PST+RMT
sisinkana V;1;FUT+IMMED
kozesa V;PL;1;FUT+RMT
lamaga V;1;FUT+RMT
salawo V;3;PRS
tambula V;2;PST+RMT
zina V;PL;1;FUT+RMT
salawo V;PL;2;FUT+IMMED... |
c029634d59f0aa586f960d79ab65ab1bb7e4d1cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH28/EX28.3/WWS_3.sce | 0949fdf57c93e40bd0937e230908f93e48f93e8f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | WWS_3.sce | // sum 28-3
clc;
clear;
Z1=2;
Z2=60;
q=10;
m=5;
P=6000;
N=1440;
u=0.08;
alpha=20*%pi/180;
lambda=atan(Z1/q);
d=m*q;
w=2*%pi*N/60;
T=P/w;
Ptw=T*10^3/(d/2);
a=cos(alpha);
b=cos(lambda);
x=sin(alpha);
y=sin(lambda);
Paw=Ptw*(((a*b)-(u*y))/((a*y)+(u*b)));
Prw=Ptw*y/((a*y)+(u*b));
//Paw=Ptw*((cos(alpha... |
255b1a88cd54473ac34be20bf965ca3b78441f31 | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/tf2cl/test_5.sce | a33122c4122077dee4c2575caef4170f3b4f1495 | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 319 | sce | test_5.sce | // Test #5 : Vaid Input case
exec('./tf2cl.sci',-1);
[k1,k2,b]=tf2cl([0.5 -0.9 0.5],[1 2 3]);
disp(b);
disp(k2);
disp(k1);
//
//Scilab Output
//b=-0.6154156 + 0.7883950i
//k2=0.3328796 + 0.4710837i
//k1=0.3328796 - 0.4710837i
//
//Matlab Output
//k1=0.3329 - 0.4711i
//k2= 0.3329 + 0.4711i
//b= -0.6154 + 0.7884i
|
f2223d58959660acae1642189e430bd3e205a589 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH14/EX14.1/ex14_1.sce | 9733fa0f21acedd8d1bb81fa38f7f7320b084659 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | ex14_1.sce | clc;
clear all;
m = 9.1e-31; // Mass of an electron in Kg
e = 1.6e-19; // Charge of an electron in Columbs
h = 6.626e-34; // Planck's Constant
V1 = 150; // Potential difference in Volts (case1)
lambda1 = h/(sqrt(2*m*e*V1));
disp('m',lambda1,'The de-broglie wavelength when V=150 volts is ')
V2 = 5000; // Poten... |
db729e1bdf1f27d8b2c0a0b75a04a08d794dfeae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH3/EX3.1/Ex3_1.sce | 1e32738c8cd570acb3b2390727f5d829ad0e1e34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_1.sce | //Chapter 3 : Polarization
clear;
//Variable declaration
theta=(60*%pi/180) //angle in radians
//Calculations
Intensityred=100-(1-cos(theta)**2)*100
//Result
mprintf("Percentage of light that passes through = %d percent",Intensityred)
|
c17c998a5fb11ccb40c623a5f38e2da458fecd6e | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /Self_tuning_controller/SelfTuning_Vikas/PIControllerFandisturbance/piselftunedwithDS30to45.sce | 5fcb806c7eaf769fccfa045b20f592b498d738b4 | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,820 | sce | piselftunedwithDS30to45.sce | 0.100E+00 0.000E+00 0.000E+00 0.700E+02
0.110E+01 0.252E+02 0.000E+00 0.700E+02
0.210E+01 0.252E+02 0.000E+00 0.700E+02
0.310E+01 0.252E+02 0.120E+01 0.700E+02
0.410E+01 0.252E+02 0.240E+01 0.700E+02
0.510E+01 0.252E+02 0.360E+01 0.700E+02
0.610E+01 0.252E+02 0.480E+01 0.700E+02
0.71... |
332d4e95468ef4d71c68f6da82584b62825755b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH11/EX11.2/Ex11_2.sce | befaa80fa9b294272bdfa8e3f349ac9302e13459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex11_2.sce | clear
//
//Initialisation
t=0.05 //time period in seconds from diagram
v1=10 //peak voltage from diagram
//Calculation
f1=1*t**-1 //frequency in Hz
w1=2*%pi*f1 //Angular velocity
//Result
printf("\n %d sin %.1ft Hz\n",v1,w1)
|
e1d41d1783f849bab7a95cf03ae446ded3ae8d9c | 78ff3e16a288175ff606f38ee5ee877d4844773e | /12_chapter/12_02_example.sci | 6f446dabb48f9206144d7c3068809b95fadb4985 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sci | 12_02_example.sci | //Example 12-2 Gas Flow through a Converging-Diverging Duct
mdot = 3 //mass flow rate of carbon dioxide in nozzle [kg/s]
P_1 = 1400 //Pressure at the entry of the nozzle [kPa]
T_1 = 200 //temperature at the entry of the nozzle [C]
P_2 = 200 //pressure at the exit of the nozzle [kPa]
k = 1.289 //flow inside duct is isen... |
c258a64f6d400ec43617d1f388b938fd5a0c7e21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH4/EX4.4/Example_4_4.sce | 78a57583a0a856c3c81a65e64b5300ad97b371ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 515 | sce | Example_4_4.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 4.4
//Caption : Program to find the Latent Heat
del_H1=2257;//latent Heat of Vapourisation of water at 373.15K(100`C)[KJ/Kg]
Tr1=373.15/647.1;
Tr2=573.15/64... |
aad7193c18756958a4ac6465f2011c92ab05d3af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH19/EX19.7/19_7.sce | 74e3706841982c1ed8b77a27309fdc2924feeac5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | 19_7.sce | clc
//initialisation of variables
R= 8.314 //J/mol K
T= 25 //C
gf= 16590 //kJ/kmol
T1= 500 //C
Cp= 4.157 //J/mol K
hf= -46190 //kJ/kmol
//CALCULATIONS
K= %e^(gf/(R*(273.15+T)))
r= (1-((273.15+T)/(273.15+T1)))*((hf/(R*(273.15+T)))+(R/Cp))-2*log((273.15+T1)/(273.15+T))+0.6
KT1= K*%e^r
//RESULTS
printf (' equ... |
41071b22b865be53e586bc858cbac48728b82d6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH11/EX11.31/exa11_31.sce | a1ed178134d9d64cb9b7a19ce0270d13c7a9bec9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,110 | sce | exa11_31.sce | //caption:design_lead_compensator
//example 11_31
//page 339
s=%s;
clf();
syms K;
g=(K/(s*(1+0.2*s)));
Kv=limit(s*g,s,0);//static velocity error coefficient
//since Kv=10
K=10;
g=(10/(s*(1+0.2*s)));
G=syslin('c',g)
fmin=0.01;
fmax=100;
bode(G, fmin, fmax)
show_margins(G)
[gm,freqGM]=g_margin(G);
[pm... |
2b7e7c26e443fe05b4376220a53e95c72ca1d2a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH14/EX14.2/Ex14_2.sce | 50a786070a936c2247204d8e28d6cf10e1356528 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex14_2.sce |
clc
//initialisation of variables
v=5 //ft/sec
vol=1//lbm/sec
Vy=40//ft/sec
m=1//lbm/sec
g=32.17//lbf-ft/lbf-sec^2
//CALCULATIONS
Fx=v*vol/g //lbf
Fy=Vy*-m/g//lbf
//RESULTS
printf('the force is in the opposite directions to =%f lbf',Fy)
|
70f1bc3b2ad2be4694da5e04bcb8063163b8cf8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.11.p/problem2_11.sce | f1fabc3275af5b12b8d0b2e377fde2dafbff66c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | problem2_11.sce | //problem 2.11
clc;
clear;
close;
//given data :
N=290;//in rpm
f=50;//in Hz
disp("Motor running at full load, no. of poles should be 20");
P=20;//no. of poles
Ns=120*f/P;//in rpm
Slip=(Ns-N)/Ns*100;//in %
disp("T is proportional to S/R2 but T is same");
Slip=2*Slip;//doubling R2 also doubles the slip
disp... |
a08fac5648c7fbe8948b900716af8fc53ff42fba | 449d555969bfd7befe906877abab098c6e63a0e8 | /845/CH6/EX6.4/Ex6_4.sce | 9bfb8eccbdc2f021ed4fb05fee83ba78d140f851 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | Ex6_4.sce | // Example 6.4
// This is an analytical problem and need not be coded.
|
06cf651c5e769b1c7a0fe2aea9ad654244824755 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH9/EX9.3/ex9_3.sce | ff3517218541fb53622bd27e9fe3f83c05bd1956 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | ex9_3.sce | s=%s;
syms K T
H=syslin('c',K/(s*(T*s+1)))
nyquist(H)
show_margins(H,'nyquist')
mtlb_axis([-1 1 -1 1])
printf("Since P=0(no of poles in RHP) and the nyquist contour does not encircle the point -1+j0")
printf("System is stable") |
f502ce0653faacb0fb6814e20bc629a8a399000a | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH3/EX3.17/example3_17.sce | 003a9896523858cba5d4f1ab8b70a8a7d4ced32c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example3_17.sce | //clc()
msolu = 100;//g
MK2CO3 = 138.20;//g/mol
percent1 = 50;//%
mK2CO3 = percent1 *msolu / 100;
NK2CO3 = mK2CO3 / MK2CO3;
mwater = msolu - mK2CO3;
Nwater = mwater / 18.06;
Mpr = NK2CO3 * 100 / (NK2CO3 + Nwater);
sp.gr =1.53;
Vsolu = msolu/sp.gr;//mL
Vwater = mwater / 1;//mL
Vpr = Vwater * 100/ Vsolu;
Mo... |
ccca8aa5689ec1d3f72e6de81ce7ebc5f710869c | 7bf9b615fc7bd8790ccc10d5e8f07824d114a245 | /ir_plotmodelset.sci | 3a671ad5a09af08cc369a97390c2a0f149e49a86 | [] | no_license | szhilin/scirt | 91b4ea7c9f328999e8f5aa1799b0930256bcdde9 | 31ea78eb9e7fb547dd6d81fe86b89ccb9f4c761d | refs/heads/master | 2021-01-09T06:00:49.769480 | 2017-02-05T15:56:33 | 2017-02-05T15:56:33 | 80,890,335 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | sci | ir_plotmodelset.sci | function ir_plotmodelset(X, y, epsilon, padx)
// Plots 2D set of feasible linear models consistent with dataset (X,y,epsilon)
// TODO: Add possibility to manage colors
if argn(2) < 4 then
padx = %t;
end
if size(X,1) < 2 then
error('Not enough data');
end
if size(X,2) == 2 & an... |
86eafe6f9bf9e96805200f6504b6e26838999911 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH4/EX4.13/Example4_13.sce | 7fdb3f88d61a5965ecddbd4a380f41e26b0ddb6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | Example4_13.sce | //Caption: Program to find the singular value decomposition of given matrix
//Example4.13
//page 210
clear;
clc;
A = [1,-2,3;3,2,-1];
[U,S,V]= svd(A);
A_recon = U*S*V';
disp(U,'U =')
disp(S,'S =')
disp(V,'V =')
disp(A_recon,'A matrix from svd =')
//Result
// U =
//
// - 0.7071068 0.7071068
// ... |
4a2d28570f67b52993c631bba683fd5050593df8 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/prolegomena/sec9.tst | 2dd6fa55a7f845033eb1f5f5b2281d8b71a503f8 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 824 | tst | sec9.tst | NAMECONTEXT META;
DECLARE sort WFF FACT;
DECREP WFF FACT;
REPRESENT {WFF} as WFF;
REPRESENT {FACT} as FACT;
DECLARE predconst THEOREM 1;
DECLARE funconst mkand (WFF,WFF)=WFF;
DECLARE funconst wffof (FACT)=WFF;
DECLARE indvar A B [WFF];
DECLARE indvar T1 T2 [FACT];
AXIOM ANDI: forall A B.THEOREM(mkand(A,B));
AXIOM ANDI_... |
cb0496c50088c044d60d93a8791b596a976b7c45 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/vmm12x1_wowta.sce | 5dc72571b9715b22fcc809fa8828b879a314e734 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,550 | sce | vmm12x1_wowta.sce | //************************* VMM_WTA ************************************
if (blk_name.entries(bl) =='vmm12x1_wowta') then
global shift_number_mismatch
addvmm = %t;
plcvpr=%t
k =scs_m.objs(blk_objs(bl)).model.opar(1);
m1=scs_m.objs(blk_objs(bl)).model.ipar(2);//row (basically number of WTA)
n1=s... |
f007032a9a16b812e6e6a281b6495b422a594bb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH2/EX2.6/Ex2_6.sce | 853f0116c4624087636ed814107720a35a545c29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | Ex2_6.sce | // Example 2.6
clc;
clear;
close;
// Given data
format('v',5);
Ad= 100;// differential mode gain
Acm= 0.01;// common mode gain
CMRR= Ad/Acm;
CMRR_desh= 20*log10(CMRR);// CMRR in dB
disp(CMRR_desh,"CMRR in dB is : ");
|
9dc125dc117ba6966e8c60e302926db804d8efca | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.30/30.sce | 7a23f05f06c5e40fa8eb4b5f59f84fee015ab88e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | 30.sce | clc
m=20; //kg
p1=4*10^5; //Pa
p2=8*10^5; //Pa
V1=4; //m^3
V2=V1;
cp=1.04; //kJ/kg.K
cv=0.7432; //kJ/kg.K
R=cp-cv;
T1=p1*V1/R/1000; //kg.K; T=mass*temperature
T2=p2*V2/R/1000; //kg.K
disp("(i) Change in internal energy")
dU=cv*(T2-T1);
disp("dU=")
disp(dU)
disp("kJ")
disp("(ii) Work done")
Q=... |
400ce63254bd0159eef7b254d0e25b847e7de358 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH8/EX8.13/8_13.sce | ca83e02551e345575dad8df46431b7cf22f986be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | 8_13.sce | k=1;
a=10;
thalf=10^-1.88;//half time of the reaction//
n=1-(log10(thalf/k)/log10(a));//order of the reaction//
printf('order of the reaction after solving is n=%f',n);
printf('\nHence the order of the reaction=n=3');
|
213764abcf4000d1af8ccd7c47f372ded7524d6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH6/EX6.1/Example6_1.sce | d368bb1ededa623f4d5e6dd4a843f5e0194b6ab5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Example6_1.sce | //Chapter-6,Example6_1,pg 6-26
Trs=17*10^-6
Trd=21*10^-6
Tro=sqrt((Trd^2)-(Trs^2))
BW=0.35/Tro
printf("bandwidth of CRO\n")
printf("BW=%.2f Hz",BW)
|
f9d02fa931235d1453b1f392d2ee515b8e668375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH18/EX18.6/Ch18Ex6.sci | 70af6fcddaf6b7e6e9be2688e386cf7e3343d45e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sci | Ch18Ex6.sci | // Scilab Code Ex18.6: Gain of resultant sound intensity: Page-362 (2010)
I0 = 1; // For simplicity assume initial sound intensity to be unity, watt per metre square
A_I1 = 80; // First intensity gain of sound, dB
A_I2 = 70; // Second intensity gain of sound, dB
// As A_I = 10*log10(I/I_0), solving for I1 ... |
95cfa7758be7637619a8915878aef379fa66ad6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH4/EX4.2/exa_4_2.sce | 094d15c3c5b692b8a506d327078f8ed950eb74b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,295 | sce | exa_4_2.sce | //Exa 4.2
clc;
clear;
close;
//given data
k=40;// in W/mK
rho=7800;// in kg/m^3
C=450;// in J/kgK
d=20*10^-3;// in m
r=d/2;
t_i=400;// in degree C
t=85;// in degree C
t_infinite=25;// in degree C
h=80;// in W/m^2K
//l_s=V/A = (4/3*%pi*r^3)/(4*%pi*r^2) = r/3
l_s=r/3;// in m
Bi= h*l_s/k;
// since Biot nu... |
8c26deea5d22fe2c401227e01cda3c81f41a6f6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3535/CH7/EX7.1/Ex7_1.sce | d2338a43bd773dd9cc5ab8f03bba0592a1868a9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex7_1.sce | //Chapter 7, Example 7.1, Page 177
clc
clear
// Thickness of shield
Wmu = 0.07066 // meu of water
Lmu = 0.7721 // meu of lead
Wx= log(10)*(1/Wmu)
Lx= log(10)*(1/Lmu)
printf("Thickness of water shield = %f cm\n",Wx)
printf(" Thickness of lead shield = %f cm",Lx)
//Answers may vary due to round off error
|
550e4f3f4eabab1c03f38b4a01e1e07a8213e144 | 23b14e2b22832d3cb59f2b5127be23cc9bdb438d | /ChargingStateAlgorihm/messung.sce | 31a2d561b6f04931fe262eef3664ac86737058a0 | [
"MIT"
] | permissive | erichstuder/AccuChargerExtension | b7a6b581db4869aaae5ca35530b66ea2e4980864 | f16378a27ecd1bc3d0a64b6d054b6546885046fe | refs/heads/master | 2020-12-02T06:17:10.247377 | 2017-07-15T07:03:21 | 2017-07-15T07:03:21 | 96,811,315 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | sce | messung.sce | //clear
//data = csvRead("C:\Users\erich\Dropbox\Arduino\Projekte\AccuChargerExtension\ChargingStateAlgorihm\messdaten_200mA.txt");
nrOfSamples = length(data)-4;
millisPerSample = ( data($) - data(1) ) / nrOfSamples
//plot(data(3:870000))
//plot(data($-800000:$-2))
plot(data(3:3:1800000))
xgrid
ex = 0.95;
dataFilt... |
e4982638ca6997eb8a79856bb82fa57f8c7d4c1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH13/EX13.3/ex_13_3.sce | 7d336c841ed00378d247b6d33f07fea5362bdd5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex_13_3.sce |
//Example 13.3 // impedance
clc;
clear;
close;
//given data :
C3=0.124; // in micro-farad
R3=834; // in ohm
C4=0.1; // in micro-farad
f=2000; // in Hz
R2=100; // in ohm
L1=R2*R3*C4*10^-6;
R1=R2*(C4/C3);
X1=2*%pi*f*L1;
Z1=sqrt(R1^2+X1^2);
disp(R1,"resistance in ohms is")
disp(Z1,"impedance of the specimen,Z1(ohm) = ")
|
c808f076b5c324287db3a5b006f26cea904469e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH9/EX9.4/9_4.sce | f4794a8b00107524a36caf497768bec6d6a9100e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | 9_4.sce | //All the quantities are expressed in SI units
b = 35*%pi/180; //oblique shock wave angle
pressure_ratio = 3; //upstream and downstream pressure ratio
//from appendix B
Mn_1 = 1.64;
M1 = Mn_1/sin(b);
printf("\nRESULTS\n---------\nThe upstream mach number is:\n M = %1... |
a2775b6b64c705441195c5aa2178ca08b8132ebf | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/lar2rc.sci | 3b9a3d6b475b72bcb96479b2200cc52bb8fcb84e | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,096 | sci | lar2rc.sci | function k=lar2rc(g)
//lar2rc convert log area ratios to reflection coefficients.
// Calling Sequence
// k = lar2rc(g)
// Parameters
// g: define log area ratios.
// k: returns the reflection coefficients.
<<<<<<< HEAD
// Example
//g = [0.6389 4.5989 0.0063 0.0163 -0.0163];
//k = lar2rc(g)
// Output :
//k =
//... |
6c5238a98443e1d386833965cfe625fdca9ba020 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH7/EX7.1/Ex7_1.sce | b542cdeca4dd5b6f028e2ea48661f5557640b211 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Ex7_1.sce | //Ex_7_1
clc;
clear;
close;
//given data :
format('v',6);
alfa=0.90;//current gain
ICO=15;//micro A(reverse saturation currenrt)
IE=4;//mA(Emitter currenrt)
IC=ICO*10^-3+alfa*IE;//mA
IB=IE-IC;//mA
IB=IB*1000;//micro A
disp(IC,"Collector Current(mA)");
disp(IB,"Base Current(micro A)");
|
ef75a91275fd3966b1a8475344b42e89257967b6 | b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832 | /test/assign1/blah2.tst | 3dfc76340868850193633d3e66a3171ab01d7ab7 | [] | no_license | apetresc/castro | 1ec1ac1307542487aa1be14c335170f7a1347bf2 | 843165af7c946188a2dd772384cd2d579723c99d | refs/heads/master | 2022-02-20T14:28:41.962893 | 2019-10-07T08:41:59 | 2019-10-07T08:41:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 439 | tst | blah2.tst | boardsize 4
play w g4
play b d7
play w f5
play b e6
play w g3
play b c6
play w f4
play b d6
play w e1
play b b1
play w d2
play b a1
play w d1
play b b2
play w c1
play b a2
play w a3
play b g1
play w b4
play b f1
play w a4
play b g2
play w b5
play b f2
play w e4
play b d5
play w c4
play b c3
play w d3
play b e3
play w f... |
6cbb9091895c48d4c5c02deabff74321f84c594d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH2/EX2.7/2_7.sce | a56d1f1732dbd59f8cc540706ba48defb28551b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,680 | sce | 2_7.sce | //Example 2.7
//(a)what are the surface tempratures and average temp. of wall.
//(b)calculate the maximum temp. in the wall and its location
//(c)calculate the heat flux at the surface.
//(d)if there is heat generation then what is the
// average volumetric rate of heat generation?
//Given
x=poly(0,'x')
//tempr... |
fa2c8dc039a9b61142399cbb6ff0006aab96c463 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/scripts/compare_eps.sci | 40d6ad7a41e1ddf1e9d44cf4cae2fa777202db10 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,032 | sci | compare_eps.sci | epsilon_comp = 1e-9;
// Compares the numerical entries of the two lists P1 and P2. Returns
// status=0 if the numerical entries are equal up to epsilon, returns
// a strictly positive value otherwise. res is a matrix containing the
// diffrences between P1 and P2
//
// type(L)=='Mat' does not actually do the compariso... |
ae6ef08548599f0ca12d2d0cdccdbdc11ee7f91c | 3e5f48beb8d918ce886ffe48f120a181840d28b5 | /Algebra Linear Algoritmica/eliminacaoGJ.sce | 82924b5a73ec6d0ca1e4a0bcd2e137ce243f83aa | [
"MIT"
] | permissive | elvisigkeit/graduate-stuff | dd0e11dd5c7765adc77835f4ba96b53d7d25717c | 700c8e97cefffcb48dccccdefefb3a470df29f1f | refs/heads/master | 2023-05-31T05:25:36.381690 | 2021-06-17T01:53:38 | 2021-06-17T01:53:38 | 212,691,118 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,574 | sce | eliminacaoGJ.sce | //Matriz A, mxn
A = [1, 1; 1, 0];
//vetor b
b = [4, 6];
[m, n]= size(A);
//No de linhas não-nulas
lnn = m;
for p = 1:lnn
//Encontrar o proximo pivo
linhap = m;
colunap = n;
for r = p:lnn
c=1;
while (c<=n & A(r,c)==0)
c = c+1;
end
if c == (n+1) then
if b(r) ~= 0 t... |
6787857259a4e338692676fb3083d97a8c773bcb | 4ebea1be375a38f07d1b8536e25cd91584882389 | /src/test/example026.tst | 49dafc827cd1443a81ba5c8fcdeebec13b20c6da | [
"MIT"
] | permissive | robertsmeets/rjhg-pl | f5c2d850ba7a5e3daa0d4147357d37a275c7100a | 87721b77f92d5180c34123265fac70dcf54c77a9 | refs/heads/master | 2021-05-22T06:46:14.395448 | 2021-02-21T05:54:35 | 2021-02-21T05:54:35 | 32,521,807 | 1 | 1 | MIT | 2020-05-17T16:48:51 | 2015-03-19T13:07:49 | C | UTF-8 | Scilab | false | false | 31 | tst | example026.tst | 1
1
1
woefwaf
my 5
1.100000
63
|
6808d232199d2a08e27701d6fde1adf92eda3895 | 97e39e475d118356e15258b5c21b22ffe95baea0 | /Teste.sce | 869551a75b3d78bdaf396ff83f9c1983cb78ec9f | [] | no_license | vsvasconcelos/PyData-SP_17052017 | 4dcc6f2bcd1ae5a2f8ab8c922dfe5891bf0905f7 | 9dab8cb8fc76ffd90efb4d39d360b3e9491ab20e | refs/heads/master | 2020-12-30T11:59:04.824963 | 2017-05-16T23:30:24 | 2017-05-16T23:30:24 | 91,457,915 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 997 | sce | Teste.sce | T = 10000;//epocas
tol = 0.0001;//tolerancia
contT = 1;//contador de epocas
erroQ = tol;
Erroepoca = [];
X=teste_3(2:5,:)//Entradas
Y=teste_3(6,:)//Saidas
//------------------------------------------------
tic();
timer();
disp('Testando a rede...');
//------------------------------------------------
clear Y... |
83caa3c41dc3b6004f7c7c9b80977ba9cfe4c99f | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/Sliding mode.sce | 4ddc8b5a3a6e6156031e3314184c76443b1b34a1 | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | UTF-8 | Scilab | false | false | 1,806 | sce | Sliding mode.sce | clc
clear all
format ('e',15)
global ni;
global dy; //xの微分値//
//----setup---//
sampling=0.1;//sampling time of simulation
//kaisu=1000;
//timespan=sampling*kaisu;% simulation time
//--- initial state ----
x0=[-10 ]; //initial condition
disp('It is under calculation now!!')
//================= 初期値条件1====================... |
852645f5a0347cebea7c1d028a12d2e2f4d6b049 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH9/EX9.1.i/Ex9_1_i.sce | 7916d07c5ad70ca99df5a375316e977321b12ac0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | Ex9_1_i.sce | clc
// given data
G=39.0 // temperature gradient in K/km.
h2=10.0 // depth in km
rhor=2700.0 // kg/m^3
cr=820.0 // in J/kg-K
h1=120/G // T1-T0=120 K is given
h21=h2-h1 // in km
E0byA=(rhor*(1000**3)*G*cr*h21**2)/2 // in J/km^2 Heat content per square km
printf("The Heat content per square km is %.3e J/km^2",... |
85823e7d56044123c8e8ac6c349d0bef31c5f2d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.15/Ex12_15.sce | 0d6f2e3f5d856cf1fcf9482bff700d5061cdd761 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 691 | sce | Ex12_15.sce | //=====================================================================================
//Chapter 12 example 15
clc;clear all;
//variable declaration
R2 = 100; //resistance of arm in Ω
R4 = 309; //resistance of arm in Ω
C4 = 0.5*10^-6; //capacitance in F
C3 = 109*10^-12... |
0b3044ffe0c1d4fd3dbfabf690e7cc2f100f9931 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH9/EX9.2/9_2.sce | 55b5602d30b9396a1487869f2d3162944f438588 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | 9_2.sce | clc;
T1=288;
p2!p1=10;
y=1.4;
T2s=T1*[(p2!p1)^{(y-1)/y}];
nc=0.82;
T2=(T2s-T1)/nc+T1;
T3=973;
y2=1.333;
T4s=T3/[(p2!p1)^{(y2-1)/y2}]
nt=0.85;
T4=T3-(T3-T4s)*nt
cp=1.005;
cp2=1.11;
Wi=cp*(T2-T1);
Wo=cp2*(T3-T4);
N=(Wo-Wi);
Q=cp2*(T3-T2);
Ceff=N/Q
disp("$",Ceff*100,"cycle efficiency is:")... |
6d09f9e4450c2fa2f40b1246c1a3b8ed4a44605e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH3/EX3.3/ex_3.sce | 80acb7bab68e76137330bc7e7818305a0475b686 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | ex_3.sce | //Example 3 // Reactance and impedence
clc;
clear;
close;
//given data :
n=50;// in cycles
w=2*%pi*n;// in rad/sec
L=1/%pi;// in H
XL=w*L;
disp(XL,"The reactance,XL(ohm) = ")
R=100;// in ohm
Z=sqrt(R^2+XL^2);
disp(Z,"The impedence,Z(ohm) = ")
|
3f3cd98df6c9b438a6bde910a104a13bb0295172 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH5/EX5.9/5_9.sce | 18c94368660de1149db1493e8ec1c91e0690410b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 5_9.sce | //Minimum force required
//refer fig. 5.13
//Applying Lami's theorem to system of forces on block
R1=20*sind(145)/sind(140) //kN
R2=20*sind(75)/sind(140) //kN
//Applying Lami's theorem to system of forces on wedge
P=R2*sind(130)/sind(105) //kN
printf("required force is P=%0.2f kN",P)
|
802f43d9447be8c2101d0a7bef1d9814908db54e | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH7/EX7.5/7_5.sce | eb44d18dba7d37b30f0e66b3e6e6b7dab94832f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | sce | 7_5.sce | //Eg-7.5
//pg-338
clear
clc
x = [0 1 2 3 4];
y = [1 2 9 22 41];
m = length(x);
n = 2; //since we have 2 variables
//Using S for summation eg: Sx2y => summation(x^2*y)
Sx = sum(x);
Sx2 = sum(x.^2);
Sx3 = sum(x.^3);
Sx4 = sum(x.^4);
Sy = sum(y);
Sxy = sum(x.*y);
Sx2y = sum((x.^2... |
709326a0b6c68d23c4286d8d7b50c79420df605e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/m2sci/sci_who.sci | cbe6f837d338ed2954a8440e9a3ad5c2218b9002 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 95 | sci | sci_who.sci | function [stk,txt,top]=sci_who()
// Copyright INRIA
txt=[]
stk=list('who','0','0','0','0')
|
3f4541f5e26c937ad3a3c20d5383f059899ca0fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.26/Ex13_26.sce | a45abfe7afc0fe1abbcdc2775e15c0463c15d970 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 408 | sce | Ex13_26.sce | //Ex13_26 PG-13.14
clc
clear
disp("Conversion of decimal number 0.640625 base to its octal equivalent =")
a=[0.640625];
z=modulo(a,1);
d=0;
for i=1:10;//converting the values after the decimal point into octal
z=z*8;
q=floor(z);
d=d+q/(10^i);
if z>=1 then
z=z-q;
end
end
s=d;
... |
dd633a04f97f07f9acc8b5247347b2ea40c9f678 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH14/EX14.2/14_2.sce | c1afab2a9ae869c1b88ead52344e7515c957c403 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | 14_2.sce | //example 14.2
clc; funcprot(0);
// Initialization of Variable
rho=1.94;
V=8.7;
D=0.0625;
g=32.2;
V2=19.6;
l=60;
z2=20;
mu=2.34e-5;
Kl=2;//constant
Re=rho*V*D/mu;
disp(Re,"reynolds no");
f=0.0215;//friction factor from Moody's chart
P1=rho*g*z2+1/2*rho*(V2^2-V^2)+rho*f*l/D*V^2/2;
P1=P1/144+rho*V^2/2*(10... |
34cbc6c0205bbb346302e27fcb178a7bfa783a7e | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/UW80JVR/ATWM1_Working_Memory_MEG_UW80JVR_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | ae3b4408fe3a82c3a313b1e3e879ec7fa3a1d11b | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
07337809f154597662890396948b9948e5a41ede | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.27/example11_27.sce | ee5d668a97ac33b813b4a9f5fb9a758e29e1edfa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 398 | sce | example11_27.sce | //clc()
F = 1000;//kg/h
H1 = 116.3;//kJ/kg ( enthalpy of feed solution - 10% NaOH, 305 K )
H2 = 560.57;//kJ/kg ( enthalpy of thick liquor - 50% NaOH, 380 K )
Hsteam = 2676;//kJ/kg ( 1atm , 373.15K )
//by doing material balances,
P = 200;//kg/h
mvap = 800;//kg/h
//Enthalpy balance gives, F*H1 + Q = mvap*Hsteam +... |
ae3fb4e6ae8ca1fe42585b619640a66daa77e00d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH4/EX4.2/EX4_2.sce | eb605e7469d26749be3c03aea3d5463ac7623e4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | EX4_2.sce | // Example 4.2
// Computation of (a) Frequency (b) Induced voltage of six pole induction motor
// Page No. 143
clc;
clear;
close;
// Given data
f=60; // Frequency
p=6; // Number of poles
nr=1100; // Rotor speed
Ebr=100; // Blocked rotor voltage
// ... |
70ddc764cacaa61dbd8e58d936af4174a9c7f140 | b74b2ace796d50f1d2550b2ac8747b0c55e7faa7 | /main.sce | 084fcd8518e74a75f0a9b81820bd3f715f11ee8e | [] | no_license | slevin48/plotdeploy | 2f1a5aea6b14b540b7890a86c588e8361e237152 | 2bbba304a9151beb4b01104746ea41f95d73bd78 | refs/heads/master | 2023-02-14T22:09:40.476472 | 2021-01-08T19:00:04 | 2021-01-08T19:00:04 | 263,965,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | main.sce | // First time use
x=[0:0.1:2*%pi];
y=2*sin(x);
plot(x,y)
f=gcf();
herokuapp='plotdeploy';
// plotdeploy(f,herokuapp)
//Full workflow
gitinit(herokuapp)
cd(SCIHOME)
// gitclone()
cd('plotdeploy')
xs2png(f,"plot.png")
// gitpull()
herokuphp()
herokuhtml()
gitpush()
|
3d04f74ed6e37bcc6ce8dcca93f446db46976899 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH16/EX16.4/EX16_4.sce | 4353e04db2054303d5f60b9a78034d4df74ad45e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | EX16_4.sce | //Finding of Coefficient of Lift ,Drag
//Given
A=25;
P=588.6*(7/10);
FL=19620;
V=200*(5/18);
rho=1000;
FD=7416;
//To Find
FD=(P*1000)/(V);
Cd=(FD*2)/(rho*A*(V^2));
Cl=(FL*2)/(rho*A*(V^2));
disp("Coefficient Of Lift ="+string(Cl)+" No Units");
disp("Coefficient Of Drag ="+string(Cd)+" No Units");
|
7b06f1a7c4e951673c50bdd721b40def674759eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.a.16/exaA_5_16.sce | 66bde52de86379a1fda1b6f5aa37f8307800e57e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exaA_5_16.sce | // Example A-5-16
// Response to initial conditions
clear; clc;
xdel(winsid()); //close all windows
A = [0 1 0; 0 0 1; -10 -17 -8];
C = [1 0 0];
x0 = [2; 1; 0.5];
G = syslin('c',A,[0; 0; 0],C,0,x0);
t = 0:0.05:10;
u = zeros(1,length(t));
y = csim(u,t,G);
plot(t,y);
xgrid(color('gray'));
xtitle('Response to initial... |
fb7ed9b2a857b7bb07faf0cd41b259de0924f1a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.6/Ex2_6.sce | aeceb712a58178b97ccb816c7907ca68cca29c5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex2_6.sce | clc
//given that
v = 600 // Velocity of moving electron in m/s
v_error = 0.005 //Percentage error in measurement of velocity
m = 9.1e-31 // mass of electron in kg
h = 6.63e-34 // Plank constant
printf("Example 2.6")
h_bar = h / (2*%pi) // constant
p = m*v
del_p = v_error*p/100 // calculation of uncertainty in... |
caedbd217628dc15c2eb9e51e3d0309da0f99ddf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH10/EX2.9/Ex10_9.sce | 487dd36fbf02a3ea696edaf91ea17fc41ac2bda8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | Ex10_9.sce | //Part B Chapter 2 Example 9
clc;
clear;
close;
format('v',6);
sigma1=200;//N/m^2
sigma2=-80;//N/m^2
theta_dash=60;//degree
theta=90-theta_dash;//degree
sigma_n=(sigma1+sigma2)/2+(sigma1-sigma2)/2*cosd(2*theta);//N/mm^2
sigma_t=(sigma1-sigma2)/2*sind(2*theta);//N/mm^2
sigmaR=sqrt(sigma_n^2+sigma_t^2);//N/mm^... |
56ec436ef78122bb563c3c9147b0f15a23555470 | bdf572464541387fa0028a1ff861ceb55e81938e | /Data Communication/pam.sci | 5da7c6c0128219b60146b2386236596c2fb82bbd | [] | no_license | akarshsomani/Scilab-programs | 20c4a52a51e5689d12d491218988aa037f09a21a | 18199a7f424e3711765965e3d3b12e149a5d497a | refs/heads/master | 2020-03-14T10:00:36.585002 | 2018-04-30T04:59:39 | 2018-04-30T04:59:39 | 131,557,212 | 0 | 1 | null | 2018-10-31T14:52:07 | 2018-04-30T04:55:36 | Scilab | UTF-8 | Scilab | false | false | 396 | sci | pam.sci | function[x,Vm,Vc]=pam(Em,fm)
t = (0:0.1:12*%pi)';
Vm = 2*Em*sin(2*%pi*fm*t);
Vc =1+squarewave(4*t);
x = Vc.*Vm
subplot(3,1,1)
square(0,0,16,2.5)
plot(Vm)
title('Modulating Signal')
subplot(3,1,2)
square(0,0,16,2.5)
plot(Vc)
title('Pulse Train')
subplot(3,1,3)
squa... |
d8f54e0e0058fb4bd43a33cb288b14fd6bc05632 | e9055927e732d0c1e72fcd04ec0881c94c4603ea | /Scilab/tools.sce | 5e71cb6705753057a610136d3b49130e26fb8e95 | [] | no_license | jalelbene/Connexion | 81acfda7269eb9e84af82bea26d6e1ee73cad3d1 | 5ecef183ef725da90723fa2b21dcb0907865eb5f | refs/heads/master | 2021-01-21T13:57:25.180385 | 2016-05-27T06:07:41 | 2016-05-27T06:07:41 | 52,877,841 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | tools.sce |
n = 250
points = grand(n,2,'def')
//function d = Distance(A,B)
// d = sqrt((A(1)-B(1))^2 + (A(2)-B(2))^2);
//endfunction
function d = Distance(x1,y1,x2,y2)
d = sqrt((x1-x2)^2 + (y1-y2)^2);
endfunction
function n = nN(pt_x, pt_y,list)
n = 1
d_min = Distance(pt_x, pt_y,list(n,1),list(n,2))
for k... |
8a64fcd5d18f250440bae36f95cf9d4dd677a767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH2/EX2.13/exmp2_13.sce | aa5729bb0eb25e34acb03d8aab597476d360fd5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | exmp2_13.sce | //Example 2.13
clc
disp("Given, C1 = 100 pF, C2 = 50 pF, f = 10 MHz, L = ?")
ceq=(5000*10^-24)/(150*10^-12)
format(10)
disp(ceq,"C_eq(in F) = C1*C2 / C1+C2 = ")
disp("f = 1 / 2*pi*sqrt(L*C_eq)")
l=(1/(4*(%pi^2)*(33.33*10^-12)*((10*10^6)^2)))*10^6 // in F
format(4)
disp(l,"Therefore, L(in uH) =")
|
7ad9eec1fa6fb0c9edb713956f32daf29bce96e3 | 6c7a728e11a427c93b15669517131a79a0703108 | /api/pdb_root/install/scripts/test_pdb/drop_of_clone.tst | 915cf727664ccb2420af8b2cfd7f9424b6b8ec8c | [] | no_license | ZVlad1980/adm_scripts | 0b9fe4ff166213dc649d555c81e8d65b858074e4 | 9978a098c8140f5722b51e799969b76e2d68b42e | refs/heads/master | 2020-03-31T08:45:49.405822 | 2019-04-30T05:04:03 | 2019-04-30T05:04:03 | 152,071,490 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | tst | drop_of_clone.tst | PL/SQL Developer Test script 3.0
19
-- Created on 11.05.2018 by V.ZHURAVOV
declare
-- Local variables here
i integer;
begin
--dbms_session.reset_package; return;
-- Test statements here
for p in (
select c.id, c.pdb_name
from pdb_clones_t c
where c.pdb_name in ('VBZ_TSTDB', 'VBZ_TSTDB_01')
... |
100529363322bc45e1206dc9d61cf41e96d436c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH12/EX12.1/Ex12_1.sce | b3382062043a0b90dc05a8405f7cb112aaf42c72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ex12_1.sce | clc
//to calculate electric flux
//electric flux through a surface is phi=vector(E)*vector(s)
//where vector E=2i+4j+7k,vector s=10j
E=4 //E=4j
s=10 //s=10j
phi=E*s
disp("electric flux is phi="+string(phi)+"units")
//to calculate flux coming out of any face of the cube
q=1 ... |
bd917ce3fcdf02c0b7ff0998cb3190afc2ca9be9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH2/EX2.6/Ex2_6.sce | 969209fb80560d3858930c40c0bb14236db25980 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Ex2_6.sce | clear;
clc;
p_1 = 7;//tons/in^2
p_2 = 4;//tons/in^2
p_3 = 3;//tons/in^2
m = 4;
E = 13000;//tons/in^2
e_1 = (p_1/E)+(p_2/(m*E))-(p_3/(m*E));
e_2 = (p_2/E)+(p_1/(m*E))+(p_3/(m*E));
e_3 = (p_3/E)-(p_1/(m*E))+(p_2/(m*E));
printf('e_1 = %.6f, tensile\n e_2 = %.4f, compressive\n e_3 = %.6f, tensile',e_1,e_2,e_3);
... |
e2288e29303198fd2dc22cc4b7291d211586c7a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1088/CH24/EX24.5/Example5.sce | 882b7c0037d6e51d08d528d37cdf318046e35067 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,331 | sce | Example5.sce | clear
flag=1
mode(-1)
clc
printf("Example 5 : Show the effect of creating an orphan by letting child sleep for 2 minutes where parent dies immediately \n")
disp("****************************************************************")
disp("Answer : ")
disp("INSTRUCTIONS : ")
halt(' ')
disp("1.These programs ar... |
1f82a5ac417b0efa85447551f94ffc8abddbbbd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH7/EX7.5/Ex7_5.sce | ea7380015e8c8c62b18d8e6071b18ae6f598fd1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,297 | sce | Ex7_5.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 7.5\n\n\n");
// Chapter 7 : Mixtures Of Ideal Gases
// Problem 7.5 (page no. 326)
// Solution
//Referring to figure 7.3,we have for CO2,
nCO2=10/44; //mole //no of moles of carbon dioxide=ratio of mass and molecular weight //10 lb of per pound //molecu... |
5745d6611e8bf28a430d01c35a5b29de63fcd321 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH3/EX3.9/Ex3_9.sce | 7d5657b38392cd258102c27dc30f925ca1c40c76 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,031 | sce | Ex3_9.sce | clc
// Given that
L_ = 20 // Length of the mild steel product in mm
h = 50 // Height of the mild steel product in mm
L = 50 // Horizontal length of the mild steel product in mm
t = 5 // Thickness in mm
l=25 // Length of the bend in mm
E = 207 // Modulus of elasticity in kN/mm^2
n = 517 // Strain hardening rate in N/mm... |
251b977d03c0da163857b04a6ee318494827f386 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH5/EX5.24/example_5_24.sce | c9d2470811144aa200bceca76e0d137bd3c6d611 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | sce | example_5_24.sce | syms G1 G3 G4 H1 H2
a=G1+G3
b=G2/(1+(G2*H1))
c= a*b
d=c/(1+(c*H2))
Y=d+G4
disp(Y," C/R = ") |
9d89351f616f3009cf5802272c4b31a1ead97076 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.23/Example_9_23.sci | 7a5d36078516c568afe5733876b3ddb29aa629f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,326 | sci | Example_9_23.sci | clear;
clc;
printf("\t Example 9.23\n");
function[n]=mole(w,m)
n = w/m;
funcprot(0);
endfunction
function[p]=partial(n1)
p = 308*(n1/total);
funcprot(0);
endfunction
w_steam = 0.57; //mass flow rate of steam entering in [kg/sec]
w_CO2 = 0.20; //mass flow rate of CO2 entering ... |
b39f0ae58c4f6acda8c1b9a14f3360b8b1615d27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH14/EX14.13/14_13.sce | 14447d62b78dd2eb519e125faff7ed3f372d8c2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | 14_13.sce | clc
//initialisation of variables
d= 4 //in
T= 40000 //lb in
Th= 20000 //lb in
//CALCULATIONS
t= T*(d/2)*32/(%pi*d^4)
S= Th/(%pi*(d/2)^2)
Smax= -(S/2)-sqrt(t^2+(S/2)^2)
Tmax= sqrt(t^2+(S/2)^2)
//RESULTS
printf ('Maximum normal stress= %.1f psi',Smax)
printf (' \n Maximum shearing stress=%.1f psi',Tmax)
|
742305388be00a754fbe35a35c679070df7eb2a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH14/EX14.7/Chapter14_example7.sce | 242dede47fc1e5fd156e08b31e140184669bae13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | Chapter14_example7.sce | clc
clear
//Input data
M=2300//Magnetization in A/m
B=0.00314//Flux density in Wb/m^2
uo=(4*3.14)*10^-7//Permeability of free space in H/m
//Calculations
H=(B/uo)-M//Magnetizing force in A/m
ur=(M/H)+1//Relative permeability
//Output
printf('The magnetizing force is %3.0f A/m \n The relative permeability ... |
b183ad893545854fd52b071c88e4b9503128d908 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH6/EX6.11/611.sce | fc5de2cf01e24fd4889300782a7890ce9daec03e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 611.sce | // problem 6.11
d1=0.5
d2=0.25
p1=103005
p2=67689
p3=p2
w=9810
g=9.81
c=0.65
z=1-(1/16)+((1/c-1)^2)
dp=p1-p2
v2=((dp*2*g)/(w*z))^0.5
a2=3.142*d2*d2/4
Q=v2*a2
disp(Q*1000,"rate of flow in m3/sec")
v3=v2
v1=v3/4
v4=v1
he=(v3-v4)^2/(2*g)
p4=w*((p3/w)+((v3*v3-v4*v4)/(2*g))-he)
disp(p4,"pressure at the 5... |
e4eed579eaaecfecc2b0b8593fcc38f9b04c2b38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH10/EX10.1/Ex10_1.sce | 4c156e31dbbb0f128bf5211448d90286194a00fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,176 | sce | Ex10_1.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 10 Example 1")
k=20*10^6;//spring constant in N/m^2
N=2000;//engine rpm
disp("from stroke to bore ratio i.e L/D=1.2 and cylinder diameter=bore,i.e D=12 cm")
D=1... |
4c4609e4a855421913bd54a8d94488cbea9f0b2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH16/EX16.1/Example16_1.sce | fc4d8ddd735f7c2b95661e70c88dafa9eeba0bfc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Example16_1.sce | //Example 16.1
clc
s=%s;
j=%i;
f=10/%pi;
w=2*%pi*f;
G=1/(0.1*s+1);
s=w*j;
Gs=horner(G,s);
disp(Gs,'G(20j)=')
[r,theta]=polar(Gs)
theta=theta*180/%pi;
disp('degrees',theta,'theta=')
|
0cc011b294ac8b6f5798bb99d133be6c00066d11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.9/2_9.sce | bcca1f23017c01bc9c63ae505727b9a98dd3901b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_9.sce | //Chapter-2,Example 2_9,Page 2-34
clc()
//Given Data:
m=1 //order
lam=6*10^-7 //Wavelength of light
a=12*10^-7 //width of slit
//Calculations:
//We know, a*sin(theta)=m*lam
theta=asin(m*lam/a)*180/%pi //angular position in first minima
printf('Half angular width of first ... |
9f3b92172855f9619c8b900f6ea5a18bfab1ef65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.14/Ex1_14.sce | 790201a095bb77a2b8c2dbf5a323ce759188f0d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Ex1_14.sce | clear;
clc;
D = 4;//diameter of the wheel in ft
p = 6 ;//hoop stress in tons/in^2
alpha = 0.0000062;//in "per F"
E = 13000;//in tons/in^2
d = (1/(1+(p/E)))*D*12;//internal diameter in inches
t = (D*12-d)/(d*alpha);
printf('The least temperature the tube must be heated is, t = %.1f F',t);
|
bde8e40aa3226ffd7bf94b4ec153971f0fb43b84 | 95a91e0c642afba8090e47bd70e3efb36da36e43 | /UP.eps/old_files/new_Zbp_q.7den.sce | 0a7d25e657102d2ae9609a33bc9511bb0e08e302 | [] | no_license | Varvara08/myrepo | f4f2d4e0da09b9eea225deab49d3dfd49d861266 | 588458d7d92407761cc9cd7cc3273e70aa9f84b0 | refs/heads/master | 2021-01-20T17:20:40.176769 | 2016-08-17T13:10:46 | 2016-08-18T10:38:17 | 63,784,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,815 | sce | new_Zbp_q.7den.sce | clear;
lines(0);
np=100;
q=7;
//rang=190/300
msig = 1 // номер строки, отвечающая нужной нам плотности прививки, с которой мы будем считывать
msig1 =2
msig2 =3
msig3 =4
msig4 =5
msig5 =6
msig6 =7
msig7 =8
msig8 =9
msig9 =10
msig10 =11
msig11 =12
msig12 =13
msig13 =14
msig14 =15
msig15 =16
msig16 =17
... |
7fb692a069b7295bddc0a40dee959dff3a5f181f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH8/EX8.3/Ex8_3.sce | 0b948ed9180966c3693d3bef03f404dd2d821329 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Ex8_3.sce | //fiber optic communications by joseph c. palais
//example 8.3
//OS=Windows XP sp3
//Scilab version 5.4.1
//given
clc
clear all
n1=1.465//refrative index of core
n2=1.46//refractive index of cladding
lambda=0.8//wave length in um
V=2.4//normalized frequency
wbya=1.1//w/a ratio for V=2.4
na=sqrt((n1^2)-(n2^2... |
32dbd738086258ad993f430aa7608e1fb26b99fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH2/EX2.1.4/U2_C1_4.sce | 3cb355b884eda8c83ba63b78a7ff85b982029a8a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 550 | sce | U2_C1_4.sce | //variable initialization
e=1.6*10^-19; //Charge of electron (coulombs)
h=(6.625*10^-34)/(2*%pi); //Planck's constant (joule-second)
c=3*10^8; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.