blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67df25ae4c3be6808ff4e42f06f1489014be79df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH11/EX11.9/Ex11_9.sce | 070fdb24a061b35f2b48263411036fd8b1eb78a3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,617 | sce | Ex11_9.sce | clear ;
clc;
// Example 11.9
printf('Example 11.9\n\n');
printf('Page No. 324\n\n');
//given
T1 = 273;// Measured temperature In degree celcius
P = 1;// Measured pressure in bar
T2 = 290;// initial temperature In degree celcius
T3 = 1000;// Final temperature In degree celcius
T4 = 1150;// Entering tempeartu... |
28cc455d6aa16849281d276edb8f11efbf14a868 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_setLogic_QF_IDL.tst | 674aad58f6dca67b49f3abfcca20c8ced80540d9 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 46 | tst | ok_setLogic_QF_IDL.tst | ; testing loading QF_IDL
(set-logic QF_IDL )
|
2b2d9978751a5f50933dd575b83e424fba0343f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.33/33.sce | 01a6ec8fa704f0fb87d4424b27031acdf0238569 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 576 | sce | 33.sce | clc
p1=1; //bar
p2=5; //bar
T3=1000; //K
cp=1.0425; //kJ/kg K
cv=0.7662; //kJ/kg K
y=cp/cv;
disp("(i)Temperature entropy diagram")
s=10:1:50;
function T=fb(s)
T=s^2
endfunction
plot(s,fb,'--')
s=10:1:50;
function T=fc(s)
T=(s+30)^2
endfunction
plot(s,fc,'r')
s=[12 12];
T=[fb(12) fc(12... |
1b40439ab32b6ac7520d370296645da854938007 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.42/ex5_42.sce | 9f804085fc3b37df963a8c603cdf46e3ab7577f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | ex5_42.sce | //Chapter-5, Example 5.42, Page 209
//=============================================================================
clc
clear
//INPUT DATA
V1=400;//voltage in volts
Z1=(3+((%i)*4));//impedance in ohms
//CALCULATIONS
//in star connected system,phase voltage=(line voltage)
Ep=V1/(sqrt(3));//voltage in volts
Ip=... |
729cba8f44f9f1190efb96388c87595904971e5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH2/EX2.5/ex2_5.sce | c02a91defb910d0f373a6c673eb584779798b1e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | ex2_5.sce | // Example 2.5, page no-38
clear
clc
AP_diff=30000 //difference between apogee and perigee in km
AP_sum=62800 //Apogee+perigee
E=AP_diff/AP_sum
printf("Orbit Eccentricity= %.3f",E)
|
29f54217a2e6ca63c576d9ae7a96102dc7aa87e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH6/EX6.14/6ex14.sci | 03c265496f568d4ea67c4589299990e8404f38f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 6ex14.sci | c1=3; //number of toys that the youngest child should get
c2=2; //number of toys that the third child should get
c3=2; //number of toys that the second child should get
c4=2; //number of toys that the eldest son should get
m=factorial(9)/(factorial(3)*factorial(2)*factorial(2)*factorial(2));
disp(m,'number of... |
7e8425596ff442015c2d37ebac7458c232d01689 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH7/EX7.19/Ex7_19.sce | bb35360ee1512adc304fa093ac0f56a6e53a260e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 984 | sce | Ex7_19.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 7 Example 19")
T=(200+273);//temperature of water in K
disp("clapeyron equation says,h_fg=T*v_fg*(dp/dT)_sat")
disp("from steam tables,vg=0.12736 m^3/kg,vf=0.001... |
94fff036b3fb0a3fc0581c01466ebadd3ea673e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.18/exa_1_18.sce | aab4351767f15ce9ebc5fbef115f9b5a72ab6095 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | exa_1_18.sce | // Exa 1.18
clc;
clear;
close;
// Given data
miu= 35.2*10^-4;// in m^2/vs
n=7.87*10^28;
e= 1.6*10^-19;// in C
sigma= n*e*miu;// in s/m
disp(sigma,"Conductivity in s/m is : ")
|
c86a5d05ba0e11b15995450eb54781f189ab1073 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH7/EX7.1/7_1.sce | fad565fe3f179bc6cff1027e5fa37e86f63be631 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_1.sce | clear; clc; close;
Vgg = 2;
Idss = 10*10^(-3);
Vp = -4;
Vdd = 16;
Rd = 2*10^(3);
Vgs = -Vgg;
Id = Idss*(1-(Vgs/Vp))^2;
Vds = Vdd - Id*Rd;
Vd = Vds;
Vg = Vgs;
Vs = 0;
disp(Vgs,'Vgsq(Volts) = ');
disp(Id,'Idq(Amperes) = ');
disp(Vds,'Vds(Volts) = ');
disp(Vd,'Vd(Volts) = ');
disp(Vg,'Vg(Volts) = ');... |
474fe7f7371057440e00850f84f7dbbb191d3992 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH7/EX7.18/7ex18.sci | 22b9075525482edffc7a73e6badff74bb29c2491 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sci | 7ex18.sci | u=75; //mean of a random variable X
n=5; //standard deviation of X
k=2; //for k=2
l1=u-k*n
l2=u+k*n
P1=1-(1/k)^2
disp("thus the probability that a value of X lies between 65 and 85 is atleast 0.75 according to Chebyshev inequality")
k=3; //for k=3
l1=u-k*n
l2=u+k*n
P2=1-(1/k)^2
dis... |
c617d05b1a92e5c8620a0b470d2fe0835703c0bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH30/EX30.17/30_17.sce | 732655c598be320fd67ed488af36d2890669e290 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 801 | sce | 30_17.sce | clear//
//Variables
vin = 2.0 * 10**-3 //Input voltage (in volts)
gm = 5500.0 * 10**-6 //Transconductance (in Siemen)
R1=1.0*10**6;R2=1.0*10**6;
RS = 5.0 * 10**3 //Source resistance (in ohm)
RL = 2.0 * 10**3 //Load resistanc... |
3d77b7410eba3c24d939383f407a2487ea91f4f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH1/EX1.16/Ex1_16.sce | 5bfb49797150f97ab8a80ffae94271182461119e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_16.sce |
//Ex1_16
clc;
//Given:
e=200; //MeV/ atom of U
// 1 eV = 1.6*10^-19 J
Na=6.023*10^23;
M=0.235; // mass in Kg
//solution:
e1=e*1.6*10^-19*10^6;
A=Na/M;
e2=A*e1; // energy released in MJ/day
e3=e2/(24*3600);
printf("\n The rate of energy release in W is %f ",e3)
|
a045da72c7fa37bd0c26e27fa4aab06dd45f329b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.27/Ex2_27.sce | 0f562e72002357c71756f434c9cdbf6ee4180ad8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 656 | sce | Ex2_27.sce | clc
//given that
l = 1e-8 // width of potential well in cm
h = 6.63e-34 // Plank constant
m = 9.1e-31 // mass of electron in Kg
printf("\nExample 2.27")
E_1 = (h)^2/(8*m*(l*1e-2)^2) // Calculation of energy of ground state in Joule
E_1_eV = E_1/1.6e-19 // Calculation of energy in eV
E_2 = (2)^2*h^2/(8*m*(... |
b2577a549fd0e1ebf1a7035a54bca00a63b01ef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH4/EX4.12.a/data4_12.sci | 630a480e43627fa1930817f76dbb5409fe2b81c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sci | data4_12.sci |
//(Design against Static Load) Example 4.12
//Refer Fig.4.39
//Force acting on the bracket P (kN)
P = 5
//Ultimate tensile strength of FG200 material Sut (N/mm2)
Sut = 200
//Factor of safety fs
fs = 3.5
//Angle made by the line of force with the vertical theta (radian)
theta = (60 * (%pi/180))
//Distance be... |
8f9cfe997fa9d5da059c1ff76541ccc110ceee92 | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/env/12.sci | 298263a0a21aa97a3671540264aa7f648292d695 | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,617 | sci | 12.sci | Demand of layer:
0 1 3 6 10 15 21 28 36 45 55 66 78 91 104 117 130 143 156 169 182 195 208 221 234 247 260
Biomass for layer:
0.00 0.01 0.01 0.01 0.01 0.02 0.03 0.04 0.06 0.11 0.18 0.30 0.49 0.79 1.09 1.43 1.76 2.02 2.20 2.32 2.40 2.45 2.48 2.50 2.52 2.52 2.52
Layer on each branch:
Phy age 1
0.00
0.00 2.... |
6412d80cc9bdb4d7e50021f2fb0b616a2f33a7b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH13/EX13.1/Ex13_1.sce | 447fb38ac86fec3e6bf898242fdc0f276a7790f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 855 | sce | Ex13_1.sce | //Example 13_1
clc;clear;
// given values
b=0.4;// Width in m
v=0.2;// Flow rate in m^3/s
y_1=0.15;// Flow depth in m
g=9.81;// m/s^2
// Calculation
A_c=y_1*b;// m^2
V=(v/A_c);//The average flow velocity in m/s
printf('The average flow velocity,V=%0.2f m/s\n',V);
y_c=(v^2/(g*b^2))^(1/3);// The critical dep... |
106f5330a6a5790cb200a32a7ed826a70d340461 | 194d4cafa290b2fdf3aa87e18ddadcfff70a70d8 | /k111.sce | e74a4504e6055d1be0e56edb0975ce77f0ed686e | [] | no_license | KomalT/tryout60 | cc43d4a5d96b5525e691a907c7ad8c7e61004a3c | ef4cc3e641a77c2cea565035cf033536d91e29ea | refs/heads/master | 2016-08-12T19:05:56.548794 | 2016-05-02T06:15:37 | 2016-05-02T06:15:37 | 55,436,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,286 | sce | k111.sce | clc;clear;
CB=[0 0.013222222 0.039 0.079 0.101 0.069 0.207 0.265]//acid
CF=[.118 .018 .184 .056 .259 .259 .288 .118]//water
CD=[0 .312 .924 1.692 1.857 2.919 2.581 2.741]//alc
CE=[0 0 0 .021 .034 .042 .093 .144]//ester
CG=[0 .013 .040 .092 .127 .1269 .2633 .3387]//lactamide
t=[0 10 20 30 40 50 60 70]//time
CA=[7... |
26ed2f1c4b6a3e3b63b4000296a187bdf9afa7eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH5/EX5.31/EXAMPLE5_31.SCE | 4f46691dd3e037e83f459b6531eae2d9bf39c4fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 696 | sce | EXAMPLE5_31.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 5
//ANGLE MODULATION
clear all;
clc;
printf("EXAMPLE 5.31(PAGENO 257)");
//given
f_m1 = 2*10^3//modulating frequency for first case
delta_f1= 5*10^3//frequency deviation for first case
f_m2 = 1*10^3//modulating frequency for second case
del... |
27311bc9ab57fda7572e5480e5df20548b8dd304 | 04ebc1029c20752e734a1d83b49a31329d5283fd | /trust_game/instructions.sce | 86d04222132b396990e75ad9e874c3854025e0f0 | [] | no_license | jangwoopark/presentation-trust | a1293e481da417c914534a30b1969f092f08e115 | 31621ef8b534bca19d4b9d4a5d57792ff8bb058d | refs/heads/master | 2020-06-27T14:50:42.294466 | 2017-09-12T01:51:08 | 2017-09-12T01:51:08 | 97,063,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,621 | sce | instructions.sce | scenario = "trust game";
scenario_type = fMRI_emulation;
#scenario_type = fMRI;
scan_period = 3000;
response_matching = simple_matching;
no_logfile = false;
sequence_interrupt=false; #default
active_buttons = 2;
button_codes=0,1;
default_font="arial";
default_font_size=30;
default_text_color=255,255,255;
default_backgr... |
e0f34d35d6bfbb41b63dd49676526cce4caaf26e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/projspec.man.tst | 9881f5daa8c01278ad895334284208ba36bbea41 | [
"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 | 265 | tst | projspec.man.tst | clear;lines(0);
deff('j=jdrn(n)','j=zeros(n,n);for k=1:n-1;j(k,k+1)=1;end')
A=sysdiag(jdrn(3),jdrn(2),rand(2,2));X=rand(7,7);
A=X*A*inv(X);
[S,P,D,index]=projspec(A);
index //size of J-block
trace(P) //sum of dimensions of J-blocks
A*S-(eye()-P)
norm(D^index,1)
|
ca5abe606dc5766502e04f1326edf546f05e2b6c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/file.man.tst | 749cdf4a0ef1bbf0b0515b25870ef592831d5324 | [
"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 | 243 | tst | file.man.tst | clear;lines(0);
u=file('open',TMPDIR+'/foo','unknown')
for k=1:4
a=rand(1,4)
write(u,a)
end
file('rewind',u)
x=read(u,2,4)
file('close',u)
//
file('close',file() ) //closes all opened files (C or Fortran type).
//
[units,typs,nams]=file()
|
41794f6d16accd1a5330d1b1f860258d8288c9c6 | 6cbc9ef86318b4cfcbe32fc27dc997eea5d0ae94 | /nana/perf/dcache.tst | 8ee3152a89fabe55d49873303869227eb2f8bc8e | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sasagawa888/eisl | c60c8307cf4ba1be20be15a4d59005f04b2b348e | 450e09dbb59139621981f1104eefcad19957de2a | refs/heads/master | 2023-09-03T17:48:38.297684 | 2023-09-02T05:42:40 | 2023-09-02T05:42:40 | 168,798,493 | 200 | 25 | NOASSERTION | 2023-06-17T21:16:28 | 2019-02-02T05:35:38 | Common Lisp | UTF-8 | Scilab | false | false | 357 | tst | dcache.tst | I(A(int i=0, i < 1*1024, i++, za[i] == 0));
I(A(int i=0, i < 2*1024, i++, za[i] == 0));
I(A(int i=0, i < 4*1024, i++, za[i] == 0));
I(A(int i=0, i < 8*1024, i++, za[i] == 0));
I(A(int i=0, i < 16*1024, i++, za[i] == 0));
I(A(int i=0, i < 32*1024, i++, za[i] == 0));
I(A(int i=0, i < 64*1024, i++, za[i] == 0));
I(A(int i... |
6befcba1f78d284e9db33e937286a53bb37be1e7 | 18df283fb5101e31bf18ec6b27f48fa7ecb3f4e4 | /src/assign5/scilab_prob7/TrapEq.sci | d7c7028357cac1e1c6e72b99e7d5b3dc7093b2be | [] | no_license | Assimilater/ENGR2450 | ada8988b883aef5e8bfb2990c8e7dff0d923e46c | 49280b9ce8309b2b5cb9cc664eba448e7af45ed6 | refs/heads/master | 2021-01-01T18:47:54.820828 | 2015-04-17T04:43:33 | 2015-04-17T04:43:33 | 30,390,731 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sci | TrapEq.sci | function [T]=TrapEq(n, a, b, f)
//trapezoidal rule
h = (b - a) / n;
x = a;
suma = f(x);
for i = 1:n-1
x = x+h;
suma = suma + 2*f(x);
end;
suma = suma + f(b);
T = (b - a) * suma / (2*n);
endfunction;
|
ab52f2d8bcf533cb4435f6cf3d18a22d25fd6cd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH8/EX8.7/Ex8_7.sce | 6db4378e3c108179197a51cacd269d0fc1f9d9ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | Ex8_7.sce | clc
//to calculate thickness
//mass absorption coefficient mum of an absorber is related with linear absorption coefficient mu and density of the material rho is given by
//mu=rho*mum=2.7*0.6=1.62 cm^-1
mu=1.62
//if initial intensity Io of the X-ray beam is reduced to I in traversing a distance x in absorber I=Io*... |
f83bde5c3ff58f311f9b3cfdb4921ec03ca43209 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/jintgen/unr_ot_05.tst | 0a7d9bc610fa944a69b40ff07a9fbe06197d4c46 | [] | 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 | 198 | tst | unr_ot_05.tst | // @Harness: verifier
// @Purpose: "Test for unresolved operand types"
// @Result: "UnresolvedOperandType @ 7:23"
architecture unr_type_01 {
operand-type AT {
sub-operand a: A;
}
}
|
98e536e765dc6e1a504efa3118b8158032910295 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH11/EX11.2/Example11_2.sce | 29af191d2ec4881bf9dedd503deef983fa74180c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 788 | sce | Example11_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 11: SPECIALIZED DYNAMOS
// Example 11-2
clear; clc; close; // Clear the work space and console.
// Given data
// VR stepper motor
n = 3 ; // Number of stacks or phases
P_a = 16 ; // Number of ro... |
252e7eee88ab8767fe4b90c1aba1d78d8fc78bc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH2/EX2.15/Ex2_15.sce | cb21cd046605fd9f9447b73f0bd646eef23bc4b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,291 | sce | Ex2_15.sce | //pagenumber 111 example 15
clear
voltag=375;//volt
r1=2000;//ohm
induct=20;//henry
c1=16*10^-6;//farad
r11=100;//ohm
r=200;//ohm
//(1) voltage and ripple with load
disp("voltage and ripple with load");
r=r+r11+400;
vdc=((2*sqrt(2)*voltag/3.14))/1.35;
ripple=r1/(3*sqrt(2)*(377)*induct*2);
disp("vdc = "... |
fe697e1c9fcb311c621784e315d5502edcbeb9e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH5/EX5.1/Ex5_1.sce | 29c0dfa8f70754a3ed8996248bf42564a610a51a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sce | Ex5_1.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 5 Example 1")
p1=5;//initial pressure of air
T1=(27+273);//temperature of air in K
p2=2;//final pressure of air in K
R=0.287;//gas constant in KJ/kg K
Cp_air=1... |
b9747db752886ea0039cbd4ead7cefc21753b45b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.4/EX5_4.sce | 1913301b328774bd6756f4e911fac485ea00f5c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | EX5_4.sce |
E1=100+%i*0;
E2=43.30+%i*25
Z1=1+%i*3;
Z2=1-%i*3;
Z3=2+%i*4;
Z4=3-%i*3
Z5=1+%i*5;
Z6=2-%i*8;
Iab1=E1/((Z1+Z2)+((Z3*Z4)/(Z3+Z4)));
I2=E2/((Z5-Z6)+((Z3*Z1+Z2)/(Z3+Z1+Z2)));
Iab2=(I2*Z3)/(Z3+Z1+Z2)
disp('i) CURRENT (Iab1) is = '+string (Iab1)+'A ');
disp('i) CURRENT (I2) is = '+string (I2)+'A ');
disp... |
489fdd8ffeef7e14cf92a051d98a7811d663b855 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH7/EX7.3/ex7_3.sce | 9472e376d6b14c70bb61804c14e9e2c692c2b8cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 654 | sce | ex7_3.sce | // Exa 7.3
format('v',7);clc;clear;close;
// Given data
subdivision = 1/5;//sub division in units
positivepeak = 2.6;//positive peak in units
Vpp = positivepeak + positivepeak;//peak to peak in divisions
verticalattenuation = 2;//vertical attenuation in mV/div
verticalattenuation = verticalattenuation * 10^-3;//... |
018c6b4400febf69aff93ed71baa76d1e73f1922 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH6/EX6.22/ex6_22.sce | a6779c93f780ef4745397b1e1de8d6999d88b676 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | ex6_22.sce | //Exa 6.22
clc;
clear;
close;
// Given data
T_A= 700;// in K
T_B= 600;// in K
T_C= 500;// in K
Q_A= 1200;// in kJ
// Q_B+Q_C= Q_A-200 (i)
// Q_A/T_A = Q_B/T_B+Q_C/T_C (ii)
// From eq(i) and (ii)
Q_B= (Q_A*(1/T_B-1/T_A)-200/T_B)/(1/T_B-1/T_C);// in kJ
Q_C= Q_A-Q_B-200;// in kJ... |
665d5809bcac750bc6a4c5c22cf9f0f94d46c9eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH10/EX10.5/Ex10_5.sce | 0328449e63a713d4db380a32105f15998e10c1d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex10_5.sce | clear
//
//
//
//Variable declaration
eta=0.7 //quantum efficiency
q=1.6*10**-19 //charge(coulomb)
lamda=863*10**-9 //lamda(m)
P0=0.5*10**-6 //optical power(W)
h=6.625*10**-34 //plancks constant(J s)
c=3*10**8 //velocity of light(m/s)
IT=10*10**-6 //current(A)
//Calculation
IP=eta*q*lamda*P... |
78dde3e9ed5c85a91341b39af55d4b5c0eaf8cc5 | 09fb666c0701b49ab031e9c772024f96f6ed1c7e | /Lab 3/laboratorio3 (1).sce | e4db88f2712bf100cade9a58c4c571f390bd9c6c | [] | no_license | Alejandro287/Numerica_Methods | ccbf8fa032809f6f6398a0f8100a268a750d8491 | 968f6cf10b651ff1049855a677753e6b2a44ca26 | refs/heads/master | 2020-04-02T02:45:35.586981 | 2018-10-20T16:38:01 | 2018-10-20T16:38:01 | 153,926,195 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | sce | laboratorio3 (1).sce | clc
// Conjunto de nodos
printf("Conjunto de nodos\n")
X = -5:5
disp(X)
Y = 2.^X
disp(Y)
// Valores a interpolar o extrapolar
printf("\n Valores a interpolar o extrapolar\n")
x1 = 1/2
disp(x1)
x2 = 1/3
disp(x2)
x3 = 1/4
disp(x3)
//Interpolación mediante Lagrange
printf("\n Interpolación mediante Lagrang... |
723871d4488c9b5c30242071a37cd65ecc554bfc | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH14/EX14.1/ex14_1.sce | 62aecacf1f912f5e1f6f1a97ea7a904f83d2d589 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | ex14_1.sce | clc;clear;
//Example 14.1
//calculation of intensity of laser beam
//given values
P=10*10^-3;//Power in Watt
d=1.3*10^-3;//diametre in m
A=%pi*d^2/4;//area in m^2
//calculation
I=P/A;
disp(I,'intensity (in W/m^2) is'); |
f416b178d2c10cbbca25786f6556a247af64cbb9 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3901/CH1/EX1.6/Ex1_6.sce | 7dc203190c549adac90cfd473ccacb3a4be9e538 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex1_6.sce | clc
clear
//defining unit step function
function y=u(x)
y=sign((sign(x)+1))
endfunction
deff('[y]=f(x)','y=t.*(u(t)-u(t-2))-2*(t-3).*(u(t-2)-u(t-3))');//finding expression for the given signal
t=-1:0.01:4;
plot(t,f(t));//plotting the signal
h=gca();
h.grid=[1,1]
|
a9d9a2af7e248e5b8107c6041f077731651c346f | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH11/EX11.4/Ch11Exa4.sci | 9a5e483ad635beba2dac5373b08f32aed30cf59d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sci | Ch11Exa4.sci |
Ebinding= 160.647; //binding nergy, MeV
Mh= 1.007825; //Mass of H1 atom, u
Mn= 1.008665; //Mass of neutron, u
Z=10; //number of protons
N=10; //number of neutrons
Mneon= [(Z*Mh)+(N*Mn)]-[Ebinding/931.49]; //using Eqn 11.7
disp(Mneon,"The atomic mass of Neon 10 isotope, in terms of U, is: ")
//Result
// The... |
a8b5c28f8fa6334aa172ada9f09ff90976561a7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.13/EX3_13.sce | a310014b5d3545b2cd295502c630606a49071cd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 79 | sce | EX3_13.sce | //Example 3.13
clc;
syms s;
I=2/((s)*(s+1)*(s+2)^(2));
i=ilaplace(I);
disp(i);
|
fccdac99db2207c47a112a2ab0fa9882d4ab6603 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-MathematicalFunctions/FLinvsinh-Netezza-01.tst | 466f7c95ec1099ecfced77bdbd22e213a12b500c | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,235 | tst | FLinvsinh-Netezza-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
801a629c437ab5b6cd48c188133561af6a475a08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.53/5_53.sci | 14d6b592471faf825afb3c1c5f4ca0fcfc386576 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sci | 5_53.sci | // Calculate the internal resistance of cell and open circuit voltage
clc;
I=2.2*10^-3;
Eo=0.33;
Rl=100;
Ri=(Eo/I)-100;
disp(Ri,'internal resistance of cell (ohm)')
Vo=0.33*[log(25)/log(10)];
disp(Vo,'open circuit voltage for a radiant incidence of 25 W/m2 (V)=') |
410a83ecd6e2aafae4c1c19eb7fbf9dd2d637639 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/TP6/TP6.sce | 5b90d83a295ed61c40bf8689d917b290f87b82f9 | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,848 | sce | TP6.sce | /*
Créateur: Jinshan GUO et Anais Debureaux
*/
exec(fullpath(pwd() + '\TP6.sci'),-1);
disp("===========Exo1===========");
t = [0 1 3 4 5.5 6];
tau_1 = t;
A1 = construct(t,tau_1);
disp("Resulat_Exo1(c)_A1=", A1);
tau_2 = [0.5 2 2.5 3.5 4.5 5.75];
A2 = construct(t,tau_2);
disp("Resulat_Exo1(d)_A2=", A2);
... |
25394ba1295677ffdd0c526ee794a4fca53497b7 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnTh/enth.0-7.tst | 8571260b07ac1117573bc70e1548c9bb67995157 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,078,608 | tst | enth.0-7.tst | a . p . เ อ พ ี
a a m o d t อ า ม ั ด ต ์
a b แ อ ๊ บ
a b b e แ อ ็ บ บ ี ้
a b b e r l e y แ อ ็ บ เ บ อ ร ์ ล ี ย ์
a b e r c o r n แ อ เ บ อ ร ์ ค อ ร ์ น
a b r y เ อ อ บ ร ี ้
a b s a r o k a แ อ บ ซ า โ ร ก า
a b s a r o k i t e แ อ บ ซ า โ ร ไ ก ต ์
a c a p u l c o อ า ก า ป ุ ล โ ก
a c c e l e r a t o r แ อ ค เ ... |
4f79c515b54b181122e8847f2327f8e4ec631493 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Volkswagen/VW 80000 2013/E-15 Reverse polarity 3.tst | 78ebacf6db614bda1a63b9a68f7a9cbe12993e30 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,801 | tst | E-15 Reverse polarity 3.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Title>Test case 2 - polarity dynamic - 8ms</Title>
<Organization>Volkswagen</Organization>
<Standard>VW 80000 2013</Standard>
<Item>6.15 E-15 Reverse polarity</Item>
<system>
<PowerSystem>3</PowerSystem>
... |
c15d6f28eb5c9e2a209eb74d4429a111549d860f | 8b2aa0460ec6250a29ed3fb32790e0211478b29a | /src/controls.sci | 41ea1b0466a8c1a198db63d9911e1727f857e7d9 | [] | no_license | samverneck/RealTimeMonitor | 41f37735570aa91cab7765f0800547987f0eb72c | f2ea3d70df9fbeed651b0f0b367b09b9fa84b6fa | refs/heads/master | 2020-12-02T18:09:27.752225 | 2017-06-21T19:52:00 | 2017-06-21T19:52:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,223 | sci | controls.sci | ValueFrame = uicontrol(f, "style", "frame", "position", [15 480 305 80]...
,"tag", "valueFrame", "ForegroundColor", [0/255 0/255 0/255],...
"border", createBorder("titled", createBorder("line", "lightGray", 1), ...
_("View Panel"), "center", "top", createBorderFont("", 11, "normal"),...
"black"));
//
timeLabel = uicon... |
14321f42028abdde5e0b69eed48e0cfd89f08db1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH27/EX27.6/Example27_6.sce | 746c48c4226c8aae5a3a9256ba6e8144127778f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,291 | sce | Example27_6.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 1: SYMMETRICAL SHORT CIRCUIT CAPACITY CALCULATIONS
// EXAMPLE : 1.6 :
// Page number 471
clear ; clc ; close ; // Clear the... |
23431d6e1283caac473b9e08e77554163d247187 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.25/ex4_25.sce | 765dfa9e1f3c29e3e8d4c507a019812ab9fa99ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | sce | ex4_25.sce | // Exa 4.25
clc;
clear;
close;
// Given data
V_CC = 16;// in V
V_BE = 0.7;// in V
R_B = 470;// in kohm
R_B= R_B*10^3;// in ohm
bita = 120;
R_C = 3.6;// in kohm
R_C= R_C*10^3;// in ohm
R_E = 0.51;// in kohm
R_E= R_E*10^3;// in ohm
I_B = (V_CC - V_BE)/(R_B+bita*(R_C+R_E));// in A
disp(I_B*10^6,"The base cu... |
e1358b4ea28260cd16c8a116ec20914390a53f76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.23/Chapter4_Example23.sce | c995f77d51a949a06fc2781739dc80c0237bd481 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | Chapter4_Example23.sce | clc
clear
//INPUT
v=1.7*10^-4;//viscosity of the air molecule in cgs
d=0.00129;//density of the molecule in gm/ml
p=76*13.6*981;//pressure of the molecule in gm/cm/sec^2
//CALCULATIONS
r=(3*p/d)^(0.5);//rms velocity of the molecule in cm/sec
mf=(3*v/(d*r));//mean free path in cm
cf=r/mf;//collision frequen... |
4ad8be274995f386a70c57b47f3f9d52411fb909 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/641.sci | 67c885095c4e2888b2b4f42c14dbc97445a1cdce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | sci | 641.sci | basis=100 //lb-mole/h
x=0.45
PH2O=31.6 //mm of Hg
PSO2=176 //mm of Hg
P=760 //mm of Hg
y=2
M1=64
M2=18 |
d794f1deeab927bdb3ac689c8dec845d6f887be8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3375/CH5/EX5.6/Ex5_6.sce | 80a01c3626225f7d7d05a9e53639b2bdf93d0d2b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | Ex5_6.sce | //Example 5.6
//Velocity Boundary Layer
//Page No. 295
clc;clear;close;
U=2; //in m/s
L=0.1; //in m
x=0.05; //in m
y=0.000225; //in m
rho=983.1; //kg/m^3
mu=0.4748*10^-6; //m^2/s
Re=(U*x)/mu;
d1=x*4.64/(Re)^(1/2);
n=y/d1;
u=U*(3*n-n^3... |
ed6ae2ce8af8c6d1475f529866a0af20f40a5af9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH7/EX7.40/ch7_40.sci | 3d4bb01d346ec135d7cd29c65941a3f3222ed9bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sci | ch7_40.sci | //to calculate the mmf per pole on no load and speed developed
clc;
ATsefl=2400;
ATsenl=(3/25)*ATsefl;
ATsh=ATsefl;
ATnet=ATsenl+ATsh;disp(ATnet,'mmf/pole(AT)');
Ea=148; //from magnetising curve
V=240;
vd=3;
Eanl=V-vd;
n=850;
nnl=n*Eanl/Ea;
disp(nnl,'speed(rpm)'); |
5b223fd29837fe1b95c705c3423e943c4671870d | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH3/EX3.6/Ex3_6.sce | a8e6b8e54c06f9faa3c63e96e1f239891600b819 | [] | 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 | 515 | sce | Ex3_6.sce | //Variable declaration
n=20 // Total Assistants
r=3 // Assistants to be chosen
//Calculation
function ans = fact(n)
// returns factorial of number n"""
if(n==1 | n==0) then
ans = 1
else
ans = n*fact(n-1)
end
endfunction
function ans = comb(n,r)
// returns number of total... |
55ddc67a0591e73c64f8605ee68d4602cce9f2da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH5/EX5.3/53.sce | f0e79b74c612a147cf8ce78be36d67579e9f816c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | 53.sce | clc;
//Example 5.3
//Page no. 45
printf("Example 5.3 page no. 45\n\n");
D=0.25//diameter of fixed inner cylinder of viscometer
L=0.5//height of fixed inner cylinder of viscometer
T=15.3//measured torque
printf("Given :\n diameter =%.2f ft\n height =%f ft\n Torque=%f ft.lbf",D,L,T);
F=(2*T)/D
printf("\n force ... |
3717c827d27cc786f21cda35cfc1381ff1426868 | 5900f4bae371f44e90fa8de76d746cc470223e04 | /src/define_oil_characteristics.sce | 1577e2f74d19cd3f48cdd93bd88abb61ef9a6785 | [] | no_license | olgerd27/union__gte_reducer_oil | 6400148e100224e0c59c4ca807afa5de07ffcb09 | be994038b218ba7cac13b59faf2391a8e2bdd861 | refs/heads/master | 2021-01-10T20:21:06.558271 | 2014-10-01T06:56:23 | 2014-10-01T06:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,126 | sce | define_oil_characteristics.sce | // PERFORMING A DEFINITION OF GTE's and OIL's SYSTEMS CHARACTERISTICS
tic;
xdel(winsid());
clear;
stacksize(5e7);
warning('off');
printf("*********************\n");
printf("* START application *\n");
printf("*********************\n");
// Additional definitions for start programm execution
TRUE = %T; FALSE = %F; ... |
6289ead58046e217f20a4b93cc9504eafec0b853 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.33/Ex6_33.sce | 56142dbbde38f74e9cb7a65bce074d170368dc69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | Ex6_33.sce | clc;
tr=2.5; // ratio of maximum torque to full load torque
sm=0.18; // maximum slip
r=1; // per phase rotor resistance
x2=r/sm; // rotor reactance
// using expression for tr we obtain a quadratic equation is s(full load slip) whose terms are
t1=1;
t2=-tr*2*sm;
t3=sm^2;
t=[ t1 t2 t3 ];
s=roots(t);
x=sqrt((2... |
5d962db871104f6a3e61dd8a791416e6f49e27b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.8/ex12_8.sce | d2904b4f9e6c6a760f3d2a6628c6b1e265ca7701 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | ex12_8.sce | //Chapter-12, Example 12.8, Page 349
//=============================================================================
clc
clear
//INPUT DATA
Rl=100;//resistance of load in ohms
f=60;//frequency in hz
ripplefactor=0.04;
//CALCULATIONS
L=Rl/(3*sqrt(2)*(2*%pi*f*ripplefactor));//inductance
mprintf("inductance is %... |
4997349bd108a6fae33009169a1a4e9cd7a0f6ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH19/EX19.1/EX19_1.sce | 1e5282a61e9b85a8aeaa7dce61768b1fb8c74f08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | EX19_1.sce | //Finding of workdone
//Given
D1=.6;
D=0.3;
a=20;
b=30;
N=1000;
g=9.81;
Vw=0;
rho=1000;
//To Find
u=(%pi*D*N)/60;
u1=(%pi*D1*N)/60;
Vf=u*tan(%pi/9);
Vw1=(u1*tan(%pi/6)-Vf)/tan(%pi/6);
W=(Vw1*u1)/g;
disp("Work Done ="+string(W)+" N-m/N");
|
09cd3dfb3c473fb99dd62756954fe952c79977bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH4/EX4.15/4_15.sce | 6859e5cd3a63348d28dc7371eb0920787d40dce9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | sce | 4_15.sce | //chapter 4
//example 4.15
//page 135
clear all;
clc ;
//given
Vbe=0.7;
Vcc=15;//supply voltage V
Ic=1;//collector current mA
Vcesat=0.2;//saturation voltage
Rc=(Vcc-Vcesat)/Ic;
printf("\nRc=%.1fkohm,standard value 15kohm",Rc);
hfemin=35;//from datasheet of 2N3903
Ibmin=1000*Ic/hfemin;
Rb=1000*(Vcc-Vbe)/I... |
4ec2a6930aa4a2899c4b7913f77fe667b5bb6458 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH1/EX1.1/1_1.sce | d72ef26df742967162a8c0be50613dbf2a49f68e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | 1_1.sce | d_r = 13640; // Density of mercury in kg/m3
g = 9.79; // Acceleration due to gravity in m/s2
z = 562e-03; // Difference in height in m
z0 = 761e-03; // Reading of barometer in m
P = (d_r*g*(z+z0))*(0.987/1e05); // Gas Pressure in bar
disp("bar",P,"Gas Pressure is ")
|
6ac8a18e78c678fa4ec8317194ee1aceafc91704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH16/EX16.3/16_3.sci | 1f584d7615a491491f8cc525cb12f317765db67d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 16_3.sci | //16.3
clc;
pf=(1.8*1000)/(1100*(3^0.5));
Z=1100/100;
R=Z*pf;
printf("\nResistance of the load=%.2f ohm",R)
Xl=(121-108)^0.5;
L=Xl/314;
printf("\nInductive reactance of the load=%.2f H",L) |
583f4728c44d45f7759ad0299611e525ee3c6990 | 49c332fb095450edccbd7e42e057fa0b57157045 | /test/FM11.prev.tst | a05709dc1285a8248660ff65acf72aa35de65b53 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/numword | 836edd4693d90ede0f37ebcad01f8202362f3c74 | 9fbef644f2142ed7db9b4fa696b5a2388181f7b9 | refs/heads/master | 2022-02-04T19:09:38.860895 | 2022-01-28T14:43:02 | 2022-01-28T14:43:02 | 5,777,703 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | tst | FM11.prev.tst | 0:00 zwölf
0:15 viertel nach zwölf
0:20 zwanzig nach zwölf
0:45 viertel vor eins
1:00 eins
1:15 viertel nach eins
1:45 viertel vor zwei
2:15 viertel nach zwei
3:15 viertel nach drei
4:29 neunundzwanzig nach vier
5:30 halb sechs
6:31 neunundzwanzig vor sieben
7:45 viertel vor acht
8:50 zehn vor neun
9:00 neun
12:00 zwöl... |
f5d581ea659973352781cb15ab7aa4963fe632bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH2/EX2.8/Ex2_8.sce | e54676407052c5d1efb3bd77a23203940ee3ce53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_8.sce | //Example 2.8
v=4;//Velocity (m/s)
t=2;//Time (min)
t=t*60;//Time (s)
x_0=0;//Initial position (m)
x=x_0+v*t;//Final position (m)
printf('Final position of the jogger = %0.1f m',x)
//Final displacement and velocity are along the same direction as they are positive
//Openstax - College Physics
//Download for fr... |
8845770c3c8a46ce793cadd98f093fdb93b7b50b | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH2/EX2.11/Example2_11.sce | e3c4e7a439dd3b293481739059226c2d41c1ab1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | Example2_11.sce | //Example 2.11
//Program to determine spot size at the operating wavelength using ESI
//technique
clear;
clc ;
close ;
//Given data
lambda=1.30*10^(-6); //metre - OPERATING WAVELENGTH
lambda_c=1.08*10^(-6); //metre - CUTOFF WAVELENGTH
THEETA_min=12; //degree
// The effective ... |
a10a139d57fe74ad7b218b7516781921cfe33f88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH11/EX11.11/ex11_11.sce | 5aebd2d844103c9ae76b19b1a85833dc64afe340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | ex11_11.sce | //Example 11.11
clc;
//Wein's Bridge
//Given values of bridge elements
R1=4700;
C1=5*10^-9;
C3=10*10^-9;
R3=10000;
//Frequency of the circuit
x=sqrt(C1*C3*R1*R3);
f=invr(2*%pi*x);
printf('\nFrequency of the circuit is %.2f Hz',f) |
dd826d4a68ab0c622be2e021d1c9438b710f7e74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH17/EX17.2/17_2.sce | 56bf85e835fbda2397e8de7c6208615a33e7a114 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | 17_2.sce | P1 = 0.18e03; // in Kpa
R = 0.287; T1 = 310; P0 = 0.1e03;
A1 = 0.11; V1 = 267;
w = (P1/(R*T1))*A1*V1;
g = 1.4;
c1 = sqrt(g*R*T1*1000);
M1 = V1/c1;
A1A_ = 1.0570; // A1/A* A* = A_
P1P01 = 0.68207;
T1T01 = 0.89644;
F1F_ = 1.0284;
A2A1 = 0.44/0.11 ; // A2A1 = A2/A1
A2A_ = A2A1*A1A_;
M2 = 0.135; P2P02 = 0.987;... |
e6ddc2fa4b42719d1c5e75c50495fad42fb80d16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH3/EX3.19/3_19.sce | ab41a657c6a75f5b8f99ca8d85d09ec0251a6213 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,986 | sce | 3_19.sce | //Eg-3.19
//pg-123
clear
clc
A=[4 2 0;0.5 1 .5;0 3 3];
B=[2.3;1.1;14];
es=10^-7;
imax=100;
X=[0;0;0];
iter=1;
lambda=1;
[r,c] = size(A)
n = r;
errorcheck=1;
//Gauss-Seidel Method
while errorcheck==1//condition for termination
for i=1:n
summ=B(i);
pivo... |
5b0d3c57013627d17b9e54cb74c03ef47fa50776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH16/EX16.12/16_12.sci | a41871100bf6863782a529dd3d59693db6f88018 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sci | 16_12.sci | //16.12
clc;
//P_input=W1+W2=15000........(i)
pf=0.4
phi=acosd(0.4);
a=tand(phi);
//tand(phi)=(3^0.5)*(W1-W2)/(W1+W2)
//on solving W1-W2=3464.2 ..............(ii)
//From (i) and (ii) we can calculate
W1=9.232;
W2=5.768;
printf("\nW1=%.2f kW",W1)
printf("\nW2=%.2fkW ",W2) |
6cdde226745bd45fca0213c6537d453f3f0a51e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH12/EX12.1/Ch12Ex1.sce | d865ccc672be59405a9a2b6b87affdbc5a324382 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,103 | sce | Ch12Ex1.sce | // Scilab code Ex12.1: Pg:463 (2008)
clc;clear;
n1 = 1.5; // Core index of an optical fibre
n0 = 1; // Refractive index of air
delta = 0.0005; // Intermodal dispersion factor for the fibre
// Since delta = (n1-n2)/n1, solving for n2
n2 = n1 - n1*delta; // Refractive index of cladding
//As sind(phi_c)... |
2f7602b8c5f5435877c36fb255ae7621389ce331 | 34dcfd0a3d3a661a623ba00e305d50592ca2e9cf | /Newton.sce | 9da30548d86bd4c5680d844ca90306e3d598ef56 | [] | no_license | kelly-santos/M-todo-N-merico | 65bc023d4a705c83037634540d2b6ae1ed967242 | 9ae1c6d1eeb8bb855b8d911e896d2a918762c66b | refs/heads/main | 2022-12-27T10:17:16.964964 | 2020-10-12T17:12:15 | 2020-10-12T17:12:15 | 303,458,411 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Newton.sce | function y =t0(x)
y = -481 +408 +589.64 * x + (-2349.163 * x^2)/2
endfunction
function y=dv0(x)
y=589.64 -2349.163*x
endfunction
x = 0
contador=0
while(1)
contador = contador +1
xOld = x;
x= abs(x - t0(x)/dv0(x))
Er = abs((x-xOld)/x)
if (Er < 10^-3) then
break
... |
f9b7c8c131408d8b37f3ef12251b0f27615743f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH5/EX5.1/exmp5_1.sce | ca2dbfeafb6ea8543ae2367253f8dddae914ea5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | exmp5_1.sce | //Example 5.1
clc
rp=2*%pi*10^6*250*300*10^-9
format(7)
disp(rp,"R_p(in k-ohm) = omega_0 * L * Q =")
rs=(2*%pi*250)/300
format(6)
disp(rs,"R_s(in ohm) = omega_0*L / Q =")
|
a8be827aed22f18c768828deb8d9379f3508c7fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH8/EX8.2/Ex8_2.sce | a1bcff21f354cf6532b4fd7e54a1c6a3c5d86f47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sce | Ex8_2.sce | clc;
//page 397
F=800;//N Firce in verical direction
us=0.35;// Coeffiecient of static friction
uk=0.25;//Co=efficient of kinetic friction
theta=25;//degree, angle of inclination
theta=theta*%pi/180;//rad, Conversion into radian
// Force P start block moving up
// At static equillibrium Tan(Theta_s)=us
theta_s=atan(us... |
c87c3122e09d286a654c3433ccaa46ea10b59e7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH7/EX7.8/7_08.sce | 8de198785a429ff455712d11c258b463a191e407 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_08.sce | //Chapter 7, Problem 8
clc;
A=10*10^-4; //cross-sectional area
l=0.2; //mean circumference in meter
phi=0.3*10^-3; //flux
B=phi/A; //flux density
H=1000;
mmf=H*l; //magnetomotive force
disp("From the magnetisa... |
fb063173f08404b7bc7db9aca2eec57fe425e0aa | c59576b9f96a7b26dc5bc0d52998ad818380b8cf | /test/FM03.prev.tst | 89f7e5b378f6587406c79a4e0f32605984329c10 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/checkdig | 0588535521d9106a5c777a809e50d64a9204fa3c | 3570d246efd0d102f1a2652dfe752884b5d346d8 | refs/heads/master | 2022-02-14T07:41:43.949901 | 2022-01-28T15:00:07 | 2022-01-28T15:00:07 | 30,117,975 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,839 | tst | FM03.prev.tst | AD12 0001 2030 2003 5910 0100 !OK
AT61 1904 3002 3457 3201 !OK
AT35 1200 0515 6805 2701 !OK
BE68 5390 0754 7034 !OK
BE62 5100 0754 7061 !OK
CH93 0076 2011 6238 5295 7 !OK
CY17 0020 0128 0000 0012 0052 7600 !OK
CZ65 0800 0000 1920 0014 5399 !OK
DE89 3704 0044 0532 0130 00 !OK
DK50 0040 0440 1162 43 !OK
EE38 2200 2210 20... |
afdf13a762060859b5a32056df298148867a072d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH6/EX6.4/Ex6_4.sce | 433d8a7a5df23a5f3c9c396cc159e4cfda9fba86 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | Ex6_4.sce | clear
//Given
a=10
b=5.0
c=9.0
d=19.0
//Calculation
I2=(a-c)/((b*a)-(d*c))
I1=(1-(5*I2))/c
I=I1+I2
pd=I*10
//Result
printf("\n Current through each cell is %0.2f A",I)
printf("\n Potential difference across 10 ohm wire is %0.3f V",pd)
|
c810aef502338b1f151dcf80210e6e7df2e254d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH7/EX7.4/Ex7_4.sce | 600dae6fda5d89d8754cc186a0f5094c96aced28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | Ex7_4.sce | clear
//Given
P1=100.0 //W
P=1100.0 //W
V=250
//Calculation
P2=P-P1
R=V**2/P2
//Result
printf("\n The value of unknown resistance is %0.3f ohm", R)
|
dfae120d7e505e69afa9ce764964f9d9f278ad36 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/CylinderSubsonic_P3.tst | 7d50a919e57447e741919d22e70e5de50342b8a1 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,074 | tst | CylinderSubsonic_P3.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler, Subsonic Cylinder P=3</description>
<executable>CompressibleFlowSolver</executable>
<parameters>CylinderSubsonic_P3.xml</parameters>
<files>
<file description="Session File">CylinderSubsonic_P3.xml</file>
<file description... |
6b8fd89d32141965c90213a95e5b17fc253ae15c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2549/CH3/EX3.4.2/Ex3_4_2.sce | 46f2a378a6c9c6e0338e56284eb7394f3f332449 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,226 | sce | Ex3_4_2.sce | //Ex3.4.2
//calculation of parameter for half wave rectifier ckt
clc;
clear;
//given
Rs=5;//resistance of transformer secondary winding
Rf=50;//forward resistance of diode
Rl=1000;//load resistance
N=1/4;//ratio of no. of turns secondary to primary winding (Ns/Np)
V=240;//input ac voltage
Vs_rms=N*V;//rms sec... |
f32dbd07e026ad1faa10a151dac8febd74d936fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH4/EX4.3/4_3.sce | 340e0eec3c85a54b6a9f819e2b95ded710cb26db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | 4_3.sce |
clc;
clear;
//Example 4.3
L=1; //[m]
e=0.8 ; //Emissivity
sigma=5.67*10^-8 ; //[m^2.K^4]
T1=423; //[K]
T2=300; //[K]
Do=60; //[mm]
Do=Do/1000; //[m]
A=%pi*Do*L //[sq m]
A=0.189 //Approx in book [m^2]
Qr=e*sigma*A*(T1^4-T2^4) //[W/m]
printf("\n Net radiaiton rate per 1 metre length of pipe... |
007641c4dca436aeb77c05bceb2598b263cf11eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH22/EX22.10/Ex22_10.sce | d9cf7e0d2467a596b17922f83a20535339c09dc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | Ex22_10.sce | clc;
//e.g 22.10
gm=2*10**-3;
rd=40*10**3;
RD=20*10**3;
RG=100*10**6;
rL=(RD*rd)/(RD+rd);
Av=-gm*rL;
disp(Av);
Ri=RG;
disp('Mohm',Ri*10**-6,"Ri=");
Ro=rL;
disp('Kohm',Ro*10**-3,"Ro=");
|
36837c927e6f647570dc79b589299b87f8bced3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH7/EX7.7/Ex7_7.sce | 71e3a0d6fd6a664243503b398911465b7f533bc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_7.sce | clear
//find the brake thermal efficency of an engine
//given
w=16.2
t=20.
p=126.
q=19300.
//during 20 minutes period of the test 126 bhp for a period 1/3 hour 126*(1/3.)
btu=42.*2544.
hi=16.2*19300.
bth=(btu/hi)*100.
printf("\n \n brake thermal efficency %.2f percent",bth)
|
5f05661f8015935db66ae3776aee902eabea10a9 | 67a252961f6616fc6db89eb11c1c83abf4d41468 | /CS4110Design3/CS16B032Register8.tst | c327e155e7a4bae0fef9f2a5bf335660a17fe966 | [] | no_license | ramyavelaga9/CS4110 | 5a45497cd7ef28d4472a57a257dad8e5f4a3d17b | 4a3cd82916820e4f7a4930a0efce14def8268dfc | refs/heads/master | 2020-07-17T23:41:12.196500 | 2019-11-20T04:24:32 | 2019-11-20T04:24:32 | 203,223,619 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | tst | CS16B032Register8.tst |
load CS16B032Register8.hdl,
output-file CS16B032Register8.out,
compare-to CS16B032Register8.cmp,
output-list time%S1.4.1 in%D1.6.1 load%B2.1.2 out%D1.6.1;
set in 0,
set load 0,
tick,
output;
tock,
output;
set in 0,
set load 1,
tick,
output;
tock,
output;
set in 120,
set load 0,
tick,
output;
tock,
output;
set i... |
4fc0861f6a6d26319b315118398e8bae197d3a5a | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/predControl/bkuptestIROS2012.txt | 0489742721953e0b71ecb6eb3e90a54631fc5b20 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,862 | txt | bkuptestIROS2012.txt | //---------------------------//
// Compute a cost function over a time horizon
// With a free 3d camera
// December 11
// Dune
// Note :
//
// On construit un tour d'optimisation
// La fonction de cout de ne dépend que de Uc
// Uc est le vecteur de commande
// Nc (nb commande differentes) n'est pas forcement egal à ... |
b859745944ba6c265c08937074e9ee8b7ebd2e88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.28/3_28.sci | 8f8bcd102c10eeac33114cd2bd9abb0d7229cbc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sci | 3_28.sci | //to find no of expected readings
clc;
x=20;
h=0.04;
sd=1/(sqrt(2)*h);
t=x/sd;
P=.3708;
disp(ceil(2*P*x),'no of expected readings'); |
ce7106b2f36dccbb7dc57a753b888fde1f865d44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH15/EX15.24/24.sce | b99fb8f1b286b15ba0cab96a3286116e222ccc02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | 24.sce | clc
wavelength=0.49; //μm
a=5.67*10^(-8);
disp("(i) The surface temperature of the sun")
T=2898/wavelength;
disp(T)
disp("K")
disp("(ii) The heat flux at the surface of the sun =")
E_sun=a*T^4;
disp(E_sun)
disp("W/m^2") |
cb2ca941a772f20e0b50559929434dfe6fcef9a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH12/EX12.4/Ex12_4.sce | 28614afa3bf9dd8485329e05a74c4de0d8713f6e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | Ex12_4.sce | // Problem no 12.4,Page No.288
clc;clear;
close;
L=4 //span of beam
w_1=20*10**3 //Nm //u.d.l
w_2=30*10**3 //Nm //u.d.l
//Calculations
//consider a section at a distance x from A and B.M at this section is
//M_x=R_b*(3-x)-10*x**2+90*x-195
//Now integrating above equation we get
//E*I*dy*(dx)**-1=-R_b(3*x-x**2*2**... |
41967da3aad202075496ef539f8fda259a0dff77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH8/EX8.5/Ex8_5.sce | a4b811d58c9c67ed67207eb99e826a954bbed17b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,192 | sce | Ex8_5.sce | clear all; clc;
disp("From Um=rm*omega")
disp("We have rm=30*Um/(N*pi)")
rm=30*850/(8000*%pi)
printf(" Thus rm= %0.2f ft=12.1 in",rm)
disp("rm=(rt^2+rh^2/2)^0.5 or rt^2+rh^2=293.8")
disp("Combined with b=rt-rh=4 in,we have rt^2-4rt-138.9=0,thus rt=13.95 in")
disp("and rh=9.95 in")
disp("To find the numb... |
c7b2d41b3a25d4979c2302afd697d6ae6e05c14f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH21/EX21.2/Ex21_2.sce | 2539437db3b0df1a78e0714f300baf235f3760a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,537 | sce | Ex21_2.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 21.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
nf=1.51;//refractive index of film
ns=1.50;//refractive index of substrate
nc=1.0;//refractive index of cover
d=4e-6;//thickness of film in m... |
e6527b7633c0ebe51d7a055b81b8aaa557e69afe | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH7/EX7.10/7_10.sci | 279fa8489011d30aaf3f4bc44b6d5e5e3eaef152 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 7_10.sci | clc();
clear;
//To determine the charge to mass ratio
v=5*10^7;
B=0.4; //magnetic field
r=0.711*10^-3; //radius of the circle
Q=v/(B*r) //Q=q/m
printf("The charge to mass ratio is %e",Q); |
907ebfb86010dedcf42ab4a416db4ba20234d55c | 48b35d91574ad9ef85aefeb435059f8f75e3bebb | /DEVELOPMENT-LANGUAGES/germanic/isl.tst | 1e66ec702b869367d5ff7e6e7b7a873de4d45d88 | [] | no_license | ElliotMouchon/task0-data | b3e96eea08b3eba08d5a889f9b385cf00ff5701d | 0d24b945ac96e08aa5a2f0080fa4de465f91b40a | refs/heads/master | 2023-04-16T11:48:39.575176 | 2021-04-29T04:04:17 | 2021-04-29T04:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 355,746 | tst | isl.tst | toga V;SBJV;PL;2;PST
múkki N;GEN;DEF;SG
víkja V;SBJV;PL;2;PRS
fóður N;NOM;INDF;PL
innræting N;NOM;INDF;SG
skrokkur N;DAT;INDF;PL
dý N;NOM;DEF;SG
sveigur N;GEN;INDF;PL
sífra V;IMP;SG;2
halastjarna N;ACC;INDF;SG
ferill N;GEN;DEF;SG
sérhljóði N;GEN;INDF;SG
meistari N;ACC;INDF;SG
slys N;ACC;INDF;PL
fróa V;SBJ... |
4c0801cc575957d0d0713999dd6397478029913e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH8/EX8.a.14/Example_a_8_14.sce | e1c4ead7dc7d5c42319bd9b327c1b5e31563d580 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | sce | Example_a_8_14.sce | //Example_a_8_14 page no:334
clc;
fr=120*10^3;
BW=50*10^3;
Q=2;
f1f2=sqrt(fr);
f=poly([-14.4*10^9,50000,1],'f1','c');
fre=roots(f);
f1=fre(2);
f1=f1/1000;//converting to killo Hz
f2=BW+f1;
f2=f2/1000;//converting to killo Hz
disp(f1,"the lower cutoff frequency is (in kHz)");
disp(f2,"the upper cutoff frequ... |
e32f3e1c0d5417052389c6724c1d3f3b05f8966e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH2/EX2.1/Chapter2_Example1.sce | a4e343dbaab44d43c71607327d5306dbbdc1fdc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | Chapter2_Example1.sce | clc
clear
//Input data
l=1;//The thickness of the crystal in cm
w=5890d-8;//The wavelength of light used in cm
t2=50;//The final temperature of the crystal in degree centigrade
t1=20;//The initial temperature of the crystal in degree centigrade
p=14;//The number of fringes that crossed the field of view
//Ca... |
93f52f7a477ef6f4b0e811da3ff874912609cd84 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH33/EX33.5/33Ex5.sce | 7ae94f27c8b89147f98b4289287a5232b91d8b9e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | 33Ex5.sce | //Chapter 33 Ex5
clc;
clear;
close;
PW=1100;
td=110;
bg=(td)^2/PW;
bd=td+bg;
mprintf("The bankers discount is Rs.%.0f and the bankers gain is Rs.%.0f",bd,bg);
|
f3297d92967a5f51032a55b4853ccbaff6ea77e7 | 1daa0ac98502bc740f4404d0789c15fe60325509 | /yukuva week-3/q1 unsigned/me.tst | f5ca5540d5605b69354b0ac41820e827e55cf85e | [] | no_license | yuva-a/CS2310-week-3-yukuva- | 4a0dacac62db1153e5f128d064cb625562022472 | 3ca9fbf3f7b37d062673f5312c31defdf4f8726e | refs/heads/main | 2023-07-16T22:05:24.735456 | 2021-09-05T07:58:23 | 2021-09-05T07:58:23 | 403,234,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | tst | me.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/And.tst
load me.hdl,
output-file me.out,
//compare-to And.cmp,
output-list x%B3.16.3 y%B3.16.3 as%B3.1.3 s%B3.16.3 overflow%B3.1.3;
set x %B000010000... |
df135afedae3a7ced4e404cc967d32a9feb76414 | fd6a414e5722e920e5ebe08c77fe0f70b29e77cf | /PlotSTFTusingHammingandRectangular.sce | 7cdef8a3fe55550bcf070afbef3f7db3b4d1e05c | [] | no_license | JBouis/AudioProcessing | e774bdfaf38207643d441f975a96773ae3cbbd24 | c9f81b8d5ce447b014707b309ef209530219adc0 | refs/heads/master | 2021-05-18T02:21:40.839402 | 2020-03-29T15:22:16 | 2020-03-29T15:22:16 | 251,063,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,071 | sce | PlotSTFTusingHammingandRectangular.sce | //This Program plots the spectrum of a segment
// of a given signal obtained using Rectangular and Hamming Window
clc;close;clear;
[y,Fs]=wavread('C:\Test_Project\a-team_my_way.wav');
t=(0:length(y)-1)/Fs;
subplot(311)
plot(t,y)
xlabel('Time in Seconds')
title('Original Signal')
//
beg=5200; // Sample at ... |
3b87c17197f1969e26bcb84a31043ae02e9dac97 | b2675f983fedb79e5e6f1940962373bda0570ec4 | /Bank v5/Tests/t3.tst | 42a500e190910e1cf086b31799ee3f11916a82fa | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72,022 | tst | t3.tst | <?xml version="1.0" ?>
<TestCase name="t3" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="11/09/2017" host="inbasdpc10722" />
<lastEdited version="10.0.0" buildNumber="10.0.0.431" author="admin" date="11/09/2017" host="inbasdpc10722" />
</meta>
<id>E4B8CB2EC52F11E797... |
7e453a6d31b6a3a02cd899dd209c8cfe53272b33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH9/EX9.4/Ex9_4.sce | 8d1c04637f2792a8a6eafd81e89528ff6c48f7e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 547 | sce | Ex9_4.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter 9
//example 9.4
//edition 1
//publisher and place:Nelson Engineering
clc;
clear;
Ra=.5;//armature resistance in ohm
KQ=3;//field constant
V=277;//source voltage in volt
Tup=100;//upward directional load torque in Nm
Vm=V*sqr... |
7c4d9bcbbb2b73232511d5835a6b8d2441a24e1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH16/EX16.9/Ex16_09.sce | c9209ff5c2b7f8b90edfb3daeaab84b85a9ba097 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 340 | sce | Ex16_09.sce | // Scilab Code Ex16.9: Page-604(2014)
clc; clear;
H0 = 71; // Hubble cinstant, km/s per Mpc
tau = 1/H0*1e+006*3.26*9.46e+012/3.16e+007; // The upper limit of the age of the universe, y
printf("\nThe upper limit of the age of the universe = %4.2e y", tau);
// Result
// The upper limit of the age of the uni... |
a14d4fb6ff0f28b095ee5d293ce2943e08910336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH10/EX10.8/P10_8.sce | f3a7d6b184af0f75cacee6066f0d36510f2fd65c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 708 | sce | P10_8.sce | //EXAMPLE 10.8
//Design of LP FIR filter using Kaiser window
clear;
clc;
wp=0.3*%pi;//rad/sec
ws=0.5*%pi;//rad/sec
as=40;//dB
wc=(wp+ws)/2;//cutoff frequency
Bw=ws-wp;
disp(Bw,'Normalized transition bandwidth is = ')
ds=10^(-as/20);
B = (0.5842*(as-21)^0.4) + 0.07886*(as-21);
N = ceil((as - 8)/(2.285*Bw));
disp(N,'Or... |
4730bf59d4c93c48bc7993db7bdb0db39a322088 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH7/EX7.7/c7_7.sce | cac0d1a390ca7c9c62ab2de77d1ccac66cce9538 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,607 | sce | c7_7.sce | //Steam enters a turbine with a pressure of 30 bar, a temperature of 400C, a velocity of 160 m/s. Steam exits as saturated vapor at 100C with a velocity of 100 m/s. At steady state, the turbine develops work at a rate of 540 kJ per kg of steam flowing through the turbine. Heat transfer between the turbine and its sur... |
42e416af2fe5b80c66e93fea8f731b6facfe12ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH1/EX1.2/Example_1_2.sce | eec901b57faf5e1b465d00cc285e20eda280ef14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | Example_1_2.sce | clc;
printf("Example 1.2\n");
// 1 kW= 103 W = 103 J/s = 10^3 * (1 kg*1 m^2)/1 s^3
// = (10^3 * (1/0.4536) lb x (1/0.3048)^2 ft^2)/1 s^3
lfs=(10^3*(1/0.4536)*(1/.3048)^2); //lfs->lb ft^2/s^3
printf("\n 1 kW = %.0f lb ft^2/s^3",lfs);
sfs=lfs/32.2; //sfs->slug ft^2/s^3
printf("\n 1 kW = %.0f slug f... |
c4015d59cc900fbc2add59f625fc17f760d2f125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.56/Ex16_56.sce | 984789b74b9df6f823c66e3cc8dc2be4426bcd7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | Ex16_56.sce | //Initilization of variables
m=8 //kg
n=90 //rpm
g=9.8 //m/s^2
r=0.3 //m
//calculations
w=2*%pi*n/60 //rad/s
//Using equations of motion
C=(m*g*0.3+m*r*w^2*r)/1.2 //N
Bx=C-m*r*w^2 //N
By=m*g //N
//Result
clc
printf('The solution is Bx=%f N ,By=%f N and C=%f N',Bx,By,C)
|
b92a3617de5b1f2d5466cfdce7c4d538dd1bd9f9 | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/inv_mcab.sce | d8b9176547ed06751e960d0334310bccaf9d5db8 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 438 | sce | inv_mcab.sce | //**************************** inv_mcab **********************************
if (blk_name.entries(bl) == "inv_mcab") then
mputl("#inv_mcab",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
inv_mcab_str= '.subckt inv_mcab'+' in[0]=net'+string(blk(blk_objs(bl),2))+'_'+string(ss)+' out[0]=net'+string(blk(blk_obj... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.