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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bb2ee09cd0877883f20721b6826d112eac306bf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH29/EX29.3/Example29_3.sce | f0cb6cca50db2794531da494350ad9ce569c63e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 899 | sce | Example29_3.sce | clear ;
clc;
// Example 29.3
printf('Example 29.3\n\n');
//page no. 898
// Solution fig. E29.3b
// Given
DBT1 = 40 ;// Initial dry bulb temperature - [degree C]
DBT2 = 27 ;// Final dry bulb temperature - [degree C]
// Process is assumed to be adiabatic, therefore wet bulb temperature is constant
WBT1 = 22 ;// Initi... |
f14970b9098aab92b2425f8985dde85353660245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH4/EX4.31/Ex4_31.sce | 9e0d880e9b57c2d946aee1acc34f4189d869add9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 710 | sce | Ex4_31.sce | clc
//Variable Initialisation
Ea=230//Input Voltage of motor in volts
Ia=200//Armature Current in Ampere
Ra=0.02//Armature resistance in ohm
N1=960//Rated Speed of Motor in rpm
N2=350//Rated Speed of Motor in rpm
N4=1200//Rated Speed of Motor in rpm
d3=0.95
//Solution
Ia2=2*Ia
Eb1=Ea-(Ia*Ra)
Eb2=(N2/N1)*Eb1... |
7aef2bf80584a45a791d6b274214f8e91ceeb512 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH2/EX2.2/Ex2_2.sce | d3b65f0d554977ca41440e259672b5de86cb3d99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,283 | sce | Ex2_2.sce |
//To determine the Demand and supply parameter of four consumers
//Page 74
clc;
clear;
//Maximum Demands of various users
MD1=2*(10^3); //9pm
MD2=2*(10^3); //12 noon
MD3=8*(10^3); //5pm
MD4=4*(10^3); //8pm
MDT=MD1+MD2+MD3+MD4; //Sum of all Maximum Demands
//Demands of various users
D1=1.6*(10^3); //8pm
... |
f7607fcb43a05ca1152893f702391e6b35051c33 | de5ee0a95a6b1f9bc48dbea315cb9e7a29f471ba | /sql/oracle/test.tst | 8e96868dcd2b3878ebbeee0f16218ba1b627cee2 | [] | no_license | mvawork/ArchiveService | f94321bb5ff53688c860d06048cb3d832dc72bfe | 480f6fa9f625cef81d160b8668ec1bbdf1c4e71b | refs/heads/master | 2021-01-10T06:53:11.771986 | 2016-02-29T14:58:26 | 2016-02-29T14:58:26 | 52,799,432 | 0 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 500 | tst | test.tst | PL/SQL Developer Test script 3.0
15
declare
A TArchiver;
X xmltype;
uuid Varchar2(255);
begin
for i in (Select *
from TEST_ARCHIVE t)
loop
A := TArchiver(:BaseUrl, 60);
uuid := A.LoadArchive(i.filename, i.filebody);
:X := A.getFileList(uuid).getclobval();
:FB := A.getFile(uuid, :FN)... |
104db99f9ec36ecd161a7643eca6a0e6d257663d | d0eae76ce5fad31d0a6e879e2fe2c51079c1ec35 | /exercicio_sinal_ruido.sce | 0f141c725a660fbd7abe008b2dbce28a211b1c1d | [] | no_license | matheuslopesz/mathCode | b13ed33aa1e6884c172012abf2d2cdba8240f7a3 | 5cf7a2c81b995c9123bd5caefa869b8a77205490 | refs/heads/master | 2022-03-14T23:12:08.881066 | 2019-12-14T00:40:51 | 2019-12-14T00:40:51 | 103,522,973 | 0 | 0 | null | 2019-12-14T00:40:52 | 2017-09-14T11:13:15 | Scilab | UTF-8 | Scilab | false | false | 591 | sce | exercicio_sinal_ruido.sce | N =1e5;
rand('seed',21); // caso tire essa linha, gerara aleatorios diferentes, mudando assim a taxa
b = rand(1,N,'n'); // criando vetor de número aleatórios
b = sign(b); // transforma em -1 e 1
b = 0.5 * (b +1); // transformar em 0 e 1
n = rand(1,N,'n'); // cria outro vetor aleatório
n = n - mean(n); // deixa a média... |
85885405a9e07e2f1355a5257a0139271b7dcc7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH1/EX1.13/Ex1_13.sce | f397c1c8ad63f47fe58bd78b427428c5ffa41490 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Ex1_13.sce | //Example no 1-13
//page no. 27
clc;
clear;
//I1/I0=cos(w)^2
//Given I1/I0=0.55
k=sqrt(0.55); //from above formulae
printf("\n cos w is %0.2f ",k);
printf("\n The angle bw polarizer and analyser , w is %0.0f degree",acos(k)*180/%pi);//Result
|
f8489a9e26c19012484aa1608a4d079f28c681e3 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/scale_compressed_2D.tst | 89b47d61b4bd7eec561d33cd35800c78a77aaf7f | [
"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 | 773 | tst | scale_compressed_2D.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Convert compressed xml mesh to vtu with scaling </description>
<executable>FieldConvert</executable>
<parameters> -f -e scale_compressed_2D.xml scale_compresed_2D.vtu </parameters>
<files>
<file description="Mesh File">scale_compressed_... |
277b02093c220fb7e1f73282195f69d830368649 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GFS-GCCL-C/results/GFS-GCCL-C.led7digit-10-1tra/result4s0.tst | 3c59167785acd0429e3d720c1f8bdb3c7791d69b | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | result4s0.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@output... |
6b650becdd93debf63de20c5019a5b8deae32306 | 7aa77691bc0b5d9ee58a4a4f0de52da13ffda85d | /projet/test/positionnement_noeud/test2.sce | dc18997bff3c78c04a9a0a2e4173779166ff7e6f | [] | no_license | hadjiszs/Visu_algo | 17be65bd17953697500800aed1d35443ee3836a7 | f550b4597a2de310c699c509fbddf7ab4971206f | refs/heads/master | 2020-12-24T08:24:01.127475 | 2018-11-19T22:48:24 | 2018-11-19T22:48:24 | 37,379,266 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,419 | sce | test2.sce | // Test avec la matrice suivante :
K3 = [
3 -1 0 0 -1 -1 0 0 0 0 0 0 ;
-1 3 -1 0 0 -1 0 0 0 0 0 0 ;
0 -1 4 -1 0 -1 -1 0 0 0 0 0 ;
0 0 -1 3 0 0 -1 -1 0 0 0 0 ;
-1 0 0 0 4 -1 0 0 -1 -1 0 0 ;
-1 -1 -1 0 -1 6 -1 0 0 -1 0 0 ;
0 0 -1 -1 0 -1 7 -1 0 -1 -1 -1 ;
0 0 0 -1 0 0 -1 3 0 0 0 -1 ;
0 0 0 0 -1 0 0 0 2 -1 0 0 ;
0 0 0 0 -... |
ba11c78f22806d161bda9dc5f29b4447f9a34108 | 04ebc1029c20752e734a1d83b49a31329d5283fd | /trust_game_2/mouse.sce | db4461e16bb5dd3db73a870902fc02a10c7784fe | [] | 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 | 5,334 | sce | mouse.sce | scenario = "frame";
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_background_... |
72f3eb960c4708ab6277d997dbf1a34db5f901c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.9/1_9.sce | b5476cbb73647482d202c260b9a45d71e1de28cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | 1_9.sce | //1.9
clc;
I=120;
gama=180;
th=360;
I_rms=I*(gama/th)^0.5;
printf("The RMS value of current= %.2f A",I_rms)
I_avg=I*(gama/th);
Form_factor=I_rms/I_avg;
printf("\nForm factor= %.3f A",Form_factor) |
2a6c87864ae84aed079aced2668726fa81b88410 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH7/EX7.8/Example_7_8.sce | fbf7b71d25f16a97f2bfe7314714fa04373e43fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sce | Example_7_8.sce | //Caption:F-distribution [Sampling Distributions of Variance]
//Different Variance
//Example7.8
//Page211
clear;
clc;
n1 = 8;//Size of the first sample
n2 = 20;// Size of the second sample
Sig1 = 100;//variance of the first sample
Sig2 = 40;//variance of the second sample
F = Sig1/Sig2;
Dfn = n1-1;
Dfd = n2... |
6512010eb6d9ebaf8ecc0ec09de1dcb942e3b55d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH6/EX6.22/Ex6_22.sce | 39bbad400ddd65848f3da17a0ed77b1bd6b14b1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Ex6_22.sce | //Chapter-6,Example 6_22,Page 6-37
clc()
//Given Values:
ur=100 //Relative permeability of medium
l=0.2 //length of iron rod
d=10*10^-3 //diameter of solenoid in m
N=300 //no of turns per m
i=0.5 //current through solenoid in amp
r=d/2 //radius... |
6153c2aabe12a386070d87c45d0c636f0f86e8d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.34/Ex1_34.sce | 9e302d00b3dc2f786636801274af0d14e4c3a2b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,434 | sce | Ex1_34.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 34
clc;
disp("CHAPTER 1");
disp("EXAMPLE 34");
//VARIABLE INITIALIZATION
I=10; //current source in Amperes
v=10; //voltage source in Volts
r1=4; //top resistance in Ohms
r1=... |
6a77a7b12281b21271fa331fdc47f07268023ccb | 51c4c028f490213495b3a6df77e94afcfa03c254 | /delta-3_robot/loader.sce | 778c73d14554af7c997a0d46a8bf372598d14290 | [] | no_license | dgerod/robotics-utils | d8b130290ba77a3aa2fbe9502c39cfba78f40609 | 5d5d6c4c426de3bf859303b56c431ecd4b203d86 | refs/heads/master | 2020-05-17T08:31:03.702958 | 2016-08-20T11:14:57 | 2016-08-20T11:14:57 | 32,637,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | loader.sce | // =============================================================================
// loader.sce
// =============================================================================
D3R_KINEM_ALG_DIR = get_absolute_file_path( "loader.sce" );
getd( D3R_KINEM_ALG_DIR );
// ====================================================... |
a908a329cd694de8ee4aac224f060e3abee18c05 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH7/EX7.15/Ex7_15.sce | 936b632d93e61fc7465ebb4387c5cd70fa100e35 | [] | 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 | 190 | sce | Ex7_15.sce | errcatch(-1,"stop");mode(2);//Example 7_15
;
;
//To calculate the numerical aperture
n1=1.55
n2=1.50
n0=1
NA=sqrt(n1^2-n2^2)/n0
printf("The numerical aperture is %.2f",NA)
exit();
|
3cd5fbf4b76e9276d64fa04be45d32abe4b555af | 0225f07f11230da9818e159324b578abd0a88cec | /Tstat/Tstat.tst | 622c51c0eb4f907e203e59fcb49f7b69c0a1659b | [] | no_license | zzzmarikzzz/eagle | a57ac554d1bea0f07d6d9c3a9494dd59a73beb3a | 13374a4fcb5c181b1047f207df8618054ec5ee2a | refs/heads/master | 2021-01-18T15:09:34.371046 | 2020-06-21T20:29:00 | 2020-06-21T20:29:00 | 54,958,216 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,763 | tst | Tstat.tst | G75*
%MOIN*%
%OFA0B0*%
%FSLAX24Y24*%
%IPPOS*%
%LPD*%
%AMOC8*
5,1,8,0,0,1.08239X$1,22.5*
%
%ADD10C,0.0100*%
%ADD11C,0.0715*%
%ADD12R,0.0592X0.0671*%
%ADD13R,0.0671X0.0592*%
%ADD14C,0.0680*%
%ADD15C,0.0000*%
%ADD16C,0.0480*%
%ADD17R,0.0690X0.0592*%
%ADD18C,0.0720*%
%ADD19C,0.1280*%
%ADD20R,0.0474X0.0513*%
%ADD21R,0.0513X... |
1407abd1cfd3c29df9080379eb14e42ba39fa2ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.86/Ex86.sce | f23bf500f9416417a35e7a38ee3e413b391b6858 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | Ex86.sce | //Ex:86
clc;
clear;
close;
p_o=10*log(10000)/log(10);// power at output in dbW
g_a=60;//antenna gain in dbW
l_s=2;// losses in dbw
e_irp=p_o+g_a-l_s;// EIRP in dbw
printf("The earth station EIRP=%d dbW",e_irp); |
44e4a8d45b33546ab817f7bc7becbf6678f59729 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.16/example5_16.sce | b80a942bbd865b63ce1304ccb8e2a841b599b479 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,560 | sce | example5_16.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.16
// Page 238
printf("Example 5.16, Page 238 \n \n");
// solution
// basis liquifaction capacity = 0.116 kg/s
p1 = 101 // kPa
Ts1 = 239.15
lv1 = 288.13 // kJ/kg
p2 = 530 // kPa
Ts2 = 290.75 // K
lv2 = 252.93 // kJ/kg
//... |
d4a55e867327fc5fc8235f0bfd113cde40441303 | 2d52e11c7b61898224f065e3bbf4433c814c9fe1 | /measurement/array-operations/vrepmatneg.sci | 8d4203f39833e30dbfd301ab7c1f03afdf3dc606 | [
"MIT"
] | permissive | quepas/performance-estimation-array-operations | b6954d753c83d235f12c5d97fa82bcc38656cf5e | b209ba5efebf5dee60ec5fca0fa711ca2e766e17 | refs/heads/master | 2021-01-24T13:24:52.734940 | 2018-05-12T15:18:20 | 2018-05-12T15:18:20 | 123,173,497 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sci | vrepmatneg.sci | // Replicate row-vector two form a square matrix
function vrepmatneg(V)
N = length(V); // (!) lookup function discarded
R = -(repmat(V, N, 1));
endfunction
|
f6d49f977b73ba420c2149c34467f1d602edbae3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.33/Ex9_33.sce | 3fb6bad234e313e1af5d2c3498995edc43f2d351 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_33.sce | clear
//Given
n=30
B=0.25 //T
A=1.5*10**-3
K=10**-3
//Calculation
S=(n*B*A)/K
//Result
printf("\n Current sensitivity of the galvanometer is %0.3f degree/A", S)
|
f431f0b7bf979aaedf93f2ea1c48758bf4ad628e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH6/EX6.22/Ex6_22.sce | 98003bbf977355824beef22d50ca0e0b41203de3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | Ex6_22.sce | clc
deltaHp=3274.5 //in kJ
a=5
b=6
c=2
d=37.619
CO2=62.75
H2O=52.96
O2=38.67
N2=37.13
e=((a*CO2)+(b*H2O)+(c*O2)+(d*N2))*10^-3
T1=298
T=(deltaHp+(e*T1))/e
mprintf("T=%fK",T)//ans vary due to roundoff error
|
3b97a8adf4725a6d2b25008cee47dd1104491790 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH13/EX13.8/Ex13_8.sce | a00cfada02469309b00f7dad3bbc883d6d3fd0c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | Ex13_8.sce | //Example 13-8, Page No - 508
clear
clc
lamda = (984/800)
lamda_8 =lamda/8
len = lamda_8*12*(1/3.6^0.5)
printf('The length of the transmission line is %.4f',len)
|
7e7f0690fdddf992249b12416c372717ef3635af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH6/EX6.13/Ex_6_13.sce | a22b9b04338aff11058354a9c255c8448460368e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_6_13.sce | // Example 6.13 //coupling efficiency
clc;
clear;
close;
t=1;//
no=1;//
na=0.3;//
x=1;//assume
y=1;//
nc1=(t*(na/no)^2*(x/y)^2)*100;//
alpha=2;//
nc2=((t*(na/no)^2*(x/y)^2*(alpha/(alpha+2))))*100;//
disp(nc1,"coupling efficiency for step index fiber in (%)")
disp(nc2,"coupling efficiency for graded index fiber in (%)")... |
ac5d6daa3e0aba52cfb8127230da0a6000ae3ceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH6/EX6.2/Example6_2.sce | aedb452790b956d51cec6c2eeec9e4fcbb917bd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 136 | sce | Example6_2.sce | //Example 6.2.
clc
format(6)
IE=6.28
IC=6.20
disp("The common-base d.c. current gain,")
alpha=IC/IE
disp(alpha,"alpha = IC/IE =") |
eaaf874bbf13a9e5d17b7fe3468a4ad0cf3814c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH1/EX1.5/Ex1_5.sce | b383888c139fb2f7177f4f4e05583397535dcf54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | Ex1_5.sce | // Theory and Problems of Thermodynamics
// Chapter 1
// Basic Concepts
// Example 5
clear ;clc;
//Given data
P = 101.325 //P = atmospheric pressure in kPa
A = 3 * 10^-2 // A = Average surface area of a human head in m^2
g = 9.81 // g = gravity on earth in m/s^2
//Calculate mass of ai... |
4a0d29991ebe860705246d3b81122debf8820597 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH5/EX5.3/5s3.sci | a666d4349ba9ab79c1fcada032562b1faa4e07ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,757 | sci | 5s3.sci | funcprot(0);
function[tree]=maketree(x)
tree=zeros(1,30);
for i=1:30
tree(i)=-1;
end
tree(1)=x;
tree(2)=-2;
endfunction
function[tree1]=setleft(tree,tre,x)
tree1=[];
i=1;
while(tree(i)~=-2)
if(tree(i)==tre)
j=i;
end
i=i+1;
end
if(i>2*j)
tree(2*j)=x;
el... |
a0d32fc056d9d3bb5f1a4e3a298eb976e0e52893 | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica1/Ejercicio2.sci | 0b759e825f48f69e3727f48799214051f6f65b2d | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,407 | sci | Ejercicio2.sci | function [A, signo] = escalonar(A)
// Autores: Jorge Zavaleta, Hector E. Gomez Morales
// Funcion que toma una matriz cuadrada A y regresa la matriz asociada en forma escalonada.
//************************************************************************
//-> Entrada
// A (Matriz) - Matriz cuadrada a escalonar
//
//-> ... |
742943600068882c709bc1d0660549cd2febb11b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH2/EX2.2/Ex2_2.sce | 0161d0283733c89b43c1de946d60093b549c91dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | Ex2_2.sce | //Calculate the mass of Oxygen
//Example 2.2
clc;
clear;
PT=758; //Total partial pressure in torr
PH2O=19.8; //Partial pressure of water in torr
PO2=(PT-PH2O)*0.00131579; //Partial pressure of oxygen in torr
V=0.186; //Volume of oxygen in Litre
M=32; //Molar mass of oxygen in g/ mol
... |
45ece8511997b989a47677f3cbe0c875a39ebe64 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/tuk.tst | f11a6ccd1b8fdddbe142c2f61e2fc8edec9f8bb3 | [] | 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 | 232,033 | tst | tuk.tst | gaharlanmak gaharlandylar V;PL;3;PST
çalyşmak çalyşypdyň V;PRF;SG;2;INFM;PST
boýun egmek boýun egiň V;IMP;PL;2;INFM
gyzyklanmak gyzyklanýan V;SG;1;PST
seretmek seretjek V;PL;3;FUT
ýalkamak ýalkadym V;SG;1;PST
başlamak başlajak V;SG;3;FUT
gol çekmek gol çekdiňiz V;FRML;SG;2;PST
gaýnatmak gaýnadypdyryn V;NFH;SG;1;PST
paý... |
8153d433c9bf10fe568840eb6dbb3895d35834cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH5/EX5.6/Ex5_6.sce | cae6bd779f22275c633b118af81f422ab7514ebd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,834 | sce | Ex5_6.sce | // Example no.5.6
// To find the peak current if (a) LO power = 10 dBm, (b) LO power = −10 dBm for the single-branch receiver
// Page no.229
clc;
clear;
// Given data
L=100; // Length of fiber
loss=0.2*L; // Total fiber loss
PtdB... |
b8874b66d6dd0d3e04aef673dac0e2d059b4d97a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.38/ex1_38.sce | 2b998132fab030e4fc8f9a5841fba0380c478f36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | ex1_38.sce | //Chapter-1, Example 1.38, Page 49
//=============================================================================
clc;
clear;
//INPUT DATA
R1=2;//resistance R1 in Ohms
R2=12;//resistance R2 in parallel circuit measured in ohms
R3=20;//resistance R3 in parallel circuit measured in ohms
R4=30;//resistance R4 in ... |
1ff6fb424b1062bddada07a02789e88af5af0cbd | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH4/EX4.11/Ex4_11.sce | 3d8861e470da794a3485030697364a35b08bc886 | [] | 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 | 187 | sce | Ex4_11.sce | errcatch(-1,"stop");mode(2);//Example 4_11
;
;
//To calculate where the radius of the atom is present
a=4/sqrt(2)
R=a/2-1
printf("The radius of the atom is at R=%.3fr",R)
exit();
|
a0f42d965ada2d01185d0e723de638eef409ef57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH7/EX7.04/7_04.sce | 7f368c830436414df3d7000ad2589bbfc47f051b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 936 | sce | 7_04.sce | //pathname=get_absolute_file_path('7.04.sce')
//filename=pathname+filesep()+'7.04-data.sci'
//exec(filename)
//Mass of steam(in kg):
m=5
//Initial elevation(in m):
z1=10
//Initial velocity(in m/s):
V1=25
//Final elevation(in m):
z2=2
//Final velocity(in m/s):
V2=10
//Dead state of water
u0=104.86 //kJ/kg
... |
0ea7169ebe3ad337c7840256c011a7bc3c4c37af | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/ofemdemo/beambar.sce | 4104bb93befc3f2e4888faa299a2ddd4167b759c | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,635 | sce | beambar.sce | ////
// This example illustrates the use of mixed element types with FEMESH
//
fegui(); // initialize FEMESH
FEnode = [1 0 0 0 0 0 0;2 0 0 0 1 0 0;
3 0 0 0 0 1 0;4 0 0 0 1 1 0];
FEelt=[];
// make an outer frame with beam elements
femesh(';object beamline 1 2 0 4 3 1;addsel;info FEelt');
// make ... |
44823a5bf6640641ff259ac3e677febe55ba8649 | bf63c70e054c641e89a6f7a4623a7634ce9a8a9d | /legacy/bofor_2005/test/ZZC1.prev.tst | ee8c38ee0771503c71ee6a2ec9ebefda1efe04db | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | gfis/jextra | 9c8c030faf35f0834843ed8f07cc061ca9d65a64 | bdad8fd33fdf633cf2ff4c1879e1f61935c3d636 | refs/heads/master | 2022-03-13T21:31:56.132450 | 2022-02-12T21:27:40 | 2022-02-12T21:27:40 | 30,127,957 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 423 | tst | ZZC1.prev.tst | | |
| 1 2 3 4 5 6 |
|1234567890123456789012345678901234567890123456789012345678901234|
|pad 34567890123456789012345678901234|
|truncate trun ... |
79da3b565de9dbc0e61ed755f88a54527bb3140f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH1/EX1.3/3.sce | 893939b31906f164a4b4b74be9749726eef0298d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | 3.sce |
//Variable declaration
e=1.602*10**-19; //charge of electron(c)
epsilon0=8.85*10**-12; //permittivity(C/Nm)
r0=0.281*10**-9; //seperation(m)
alpham=1.748; //madelung constant
n=9; //repulsive exponent value
//Calculation
E=-alpham*e**2*(1-(1/n))/(4*e*%pi*epsilon0*r0); //cohesive energy(eV... |
4688aedc111f33333530daff95e96b70c435ccbe | 15d3702a1f4402ab16e6b4cfc725ff7e996843ef | /predictions/linzen/wsj-10-naive/parses.tst | 5c18d32fae1b3c502a546d5a8f5f21173e3ecd0d | [] | no_license | viking-sudo-rm/industrial-stacknns | 2ecb36a6c5da2e295b91f854dc96d6bc4c2e4b6a | f08da2dcc27f2688eb99e10934ad89e41b879de8 | refs/heads/master | 2020-04-26T03:36:50.038626 | 2019-12-26T16:51:52 | 2019-12-26T16:51:52 | 173,272,681 | 14 | 3 | null | 2019-04-13T19:51:25 | 2019-03-01T09:22:01 | Jupyter Notebook | UTF-8 | Scilab | false | false | 658,083 | tst | parses.tst | (X (X a) (X (X Lorillard) (X (X spokewoman) (X (X said) (X (X ,) (X (X ``) (X (X This) (X (X is) (X (X an) (X (X old) (X (X story) (X .))))))))))))
(X (X there) (X (X is) (X (X no) (X (X asbestos) (X (X in) (X (X our) (X (X products) (X (X now) (X (X .) (X ''))))))))))
(X (X it) (X (X has) (X (X no) (X (X bearing) (X (... |
8be0aa27e8d800364543e23074fa950f56fe3566 | 6d1f05d2074f1d6f18d3d473f2dbd867c94fc7ee | /giarratano/SOURCE/TESTING/focusexe.tst | e7927a93914f13c3aea9c9bc9226749536483767 | [] | no_license | arranger1044/icse-1516 | c40d2c86892cd90c14042a95581cbb0e238190fb | ee4bafb57bb549ef40e29b8edf8cdad038e97162 | refs/heads/master | 2020-12-24T19:04:01.588095 | 2016-05-31T07:46:47 | 2016-05-31T07:46:47 | 56,578,768 | 14 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | tst | focusexe.tst | (unwatch all)
(clear)
(dribble-on "focusexe.out")
(batch "focusexe.bat")
(dribble-off)
(clear)
(open "focusexe.rsl" focusexe "w")
(load "compline.clp")
(printout focusexe "focusexe.bat differences are as follows:" crlf)
(compare-files focusexe.exp focusexe.out focusexe)
(close focusexe)
|
e25a338872846c4205d1b6525052a0220ebf0524 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH3/EX3.3/EX3_3.sce | 54c1b24570c13232b488c9d1b9441c47d213f04b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 837 | sce | EX3_3.sce | //Chapter 3, Example 3.3, page 67
clc
//Initialisation
er=1.001 //relative permittivity of a medium
dn=35*10**-6 //vertical gradient of refractive index
Re=6370 //actual redius of earth
d=20 ... |
7bf66524e44796858ccb87806468fd026fac406e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH4/EX4.16/4Ex16.sce | b3c8af3974e7c7b71346eee6a20186a2da7a84a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 124 | sce | 4Ex16.sce | //chapter 4 Ex 16
clc;
clear;
close;
a=1;
for n=2:99
a= a*(1-(1/(1+n)));
end
mprintf("The value is %.2f",a);
|
93e4452a3b8c73e94d92f22d129c7c0974ecf148 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH4/EX4.21/Ex4_21.sce | d8a38b8be7122000105c4f7dfbd4a6405341dcdb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 797 | sce | Ex4_21.sce | clear
//
//Initilization of Variables
//Wooden Beam
b=150 //mm //width
d=250 //mm //Depth
L=5000 //mm //span
m=11.2 //N/mm**2 //Max Bending stress
sigma=0.7 //N/mm**2 //Max shear stress
//Calculations
//Let 'a' be the distance from left support
//Max shear force
//F=R_A=W*(L-a)*L**-1
//Max Moment
//M=W*(L-a)*a*... |
4ab67a44b86b14f0732dff62e0a727f3e411768b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH7/EX7.9/Chapter7_Exampl9.sce | fca84be2e4e78abb4b2b00d4386ab727f2287de5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | Chapter7_Exampl9.sce | clc
clear
//INPUT DATA
m1=1;//mass flow rate in kg
m2=2;//mass flow rate in kg
t1=50;//temperature in Degree C
t2=20;//temperature in Degree C
x1=0.5;//temperature in Degree C
td2=20;//Dew point temperature in Degree C
ps1=0.12354*10^5;//Saturation pressure in N/m^2
ps2=17.52;//Saturation pressure in mm Hg
p... |
359365e94985856c47c0dca9d567ba76566f2d7f | aff46b76a63ef72594e71ad416ae8874689839ba | /bestcurve.sce | be1764d69728091da409545a445b15b577b73742 | [] | no_license | bitz1119/scilab_code | 1ad6d800661d50975219325083f1dad6232ce51b | fa8501bc0f9527e776510fc2ecf04b351f4c067f | refs/heads/master | 2021-05-09T19:15:18.261766 | 2018-04-13T19:03:00 | 2018-04-13T19:03:00 | 118,636,227 | 0 | 1 | null | 2020-09-30T19:32:49 | 2018-01-23T16:21:04 | Scilab | UTF-8 | Scilab | false | false | 446 | sce | bestcurve.sce | clc;
n = input('enter the number of operations : ');
disp('enter the values of x : ');
for i=1:n
x(i) = input('');
end
disp('enter the values y: ');
for i=1:n
y(i) = input('')
end
sumx= 0;
sumy = 0;
sum_x2 = 0;
sumxy = 0;
for i = 1:n
sumx = sumx+x(i);
sumy = sumy+y(i);
sum_x2 = sum_... |
1fac3e002bba06f836fd822f4bd7852a8bcfa1ad | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-env-variables-new/FORTRAN/H5D/testfiles/114/h5ex_d_extern.tst | 5b1e390b7c0e76028b5b862a65d43f11e21e0849 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 151 | tst | h5ex_d_extern.tst | DS1 is stored in file: h5ex_d_extern.data
DS1:
[ 0 -1 -2 -3 -4 -5 -6 ]
[ 0 0 0 0 0 0 0 ]
[ 0 1 2 3 4 5 6 ]
[ 0 2 4 6 8 10 12 ]
|
dbcdc8f5d779b9f1ceffe0797ebf9102b901260e | 312c694c66597b61c16fcb70ec3f9797378d8ca2 | /geodesic of a cylinder.sce | 79ab959ae5451b7a174aa6894217a86e263fca4e | [] | no_license | Akul-Verma/geodesic-of-a-sphere-and-a-cylinder | 1149cb2fcb68c670e65fc2d325a020824c0b3f3b | 203aa3bc3bfb108e38234e3a02ce08d0ea920d73 | refs/heads/main | 2023-08-12T08:47:06.162234 | 2021-10-16T11:23:43 | 2021-10-16T11:23:43 | 417,752,930 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | geodesic of a cylinder.sce | //geodesics of cylinder
clc;
clf;
r=1
c=0.25
thet=linspace(0,10*%pi,100)
p=linspace(0,(((1-c^2)^0.5/(r*c))^-1)*10*%pi,100)
theta=linspace(0,2*%pi,100)
[t,p]=meshgrid(theta,p)
X=r*cos(t)
Y=r*sin(t)
Z=p
surf(X,Y,Z,"facecol","green","edgecol","white")
Z=(((1-c^2)^0.5/(r*c))^-1)*thet
x=r*(cos(thet))
y=r*(si... |
263abdd79826158899c45ab764818270f20dbf67 | eec0cb8a9a3987d4e28fc22c89750a158a00ea84 | /Assignment1_team8/Project_01/Assignment1_team8/Q2/Enc4to2.tst | ba3295cf82d2314149a8c0e412d6a31b7e9728e3 | [] | no_license | Archaic-Mage/CS2310_LAB_Assignments | 8ac90e0123de95f5cf8db709cd7761962bf8cef2 | e922b59fc1350db3f23b07b8f5986ac54f197c8d | refs/heads/main | 2023-08-29T23:42:07.913682 | 2021-11-16T14:00:05 | 2021-11-16T14:00:05 | 401,640,543 | 1 | 1 | null | 2021-10-01T05:55:36 | 2021-08-31T09:10:15 | Scilab | UTF-8 | Scilab | false | false | 233 | tst | Enc4to2.tst | load Enc4to2.hdl,
output-file Enc4to2.out,
compare-to Enc4to2.cmp,
output-list x%B3.4.3 y%B3.2.3;
set x %B1000,
eval,
output;
set x %B0100,
eval,
output;
set x %B0010,
eval,
output;
set x %B0001,
eval,
output; |
c2c085da64de66daa80edca7ee44d459ad78fa3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH8/EX8.7/8_7.sce | db8a6b5ce0262b0ec6a2c9d3ac5458253805aa13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | 8_7.sce | clc
//Initialization of variables
v2=41.8 //ft^3/mol
v1=20.9 //ft^3/mol
b=0.685 //ft^3/mol
R=0.73 //atm ft^3 / R mol
a=924.2
T=1000 //R
//calculations
vr= log((v2-b)/(v1-b))
W= R*T*vr + a*(1/v2 - 1/v1)
//results
printf("Work done = %.1f atm ft^3/mol",W)
|
ffacf02cc9a76d73f211d6854ad44064dda53306 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH12/EX12.6/Ex12_6.sce | 6826d35527973332fadd51c56ab3a0a22ba0564e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex12_6.sce | clear
//
//
//
//Variable declaration
E=35*10**10 //youngs modulus(Pa)
gama=2 //specific surface energy(J/m**2)
C=2*10**-6 //length(m)
x=17700
y=2.1
z=31.25
//Calculation
sigma_f=sqrt(2*E*gama/(%pi*C)) //fracture stress(Pa)
T=x/((sigma_f/(9.8*10**6))-y+z) //transition temperature(K)
//Result
pr... |
5f08daa32325bfce5e3c602d8cac06c8395aa104 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /quality/test/garant6x/Чат.TST | 9b11857417bd4d2c038bbfcdf509e48d4a871e45 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 126,256 | tst | Чат.TST | {\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1049\deflangfe1049\themelang1049\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman{\*\falt Times New Roman};}
{\f1\fbidi \fswiss\fcharset204\fprq2{\*... |
190ba4d825fd23cbc55c3c5b38c0beb21135a869 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH12/EX12.2/EX2.sce | 1b2b406a52622ab7003679c311d00f4bc24ecce0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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.sce | // Example 12.2: Designing a Wein Bridge Oscillator
clc, clear
fo=2e3; // in hertz
R=10; // in kilo-ohms
C=1/(2*%pi*fo*R*1e3); // in farads
C=C*1e9; // in nano-farads
disp(R,"R1 (kΩ) =");
disp(R,"R2 (kΩ) =");
disp(2*R,"R3 (kΩ) =");
disp(R,"R4 (kΩ) =");
disp(C,"C1 (nF) =");
disp(C,"C2 (nF) ="); |
88fc1672ce537b4cef5196f59a7b17fbd05b830a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuits_G._S._N._Raju_2534.zip/Electronics_Devices_And_Circuits_G._S._N._Raju_2534/CH13/EX13.1/Ex13_1.sce | 4a4bcc3eb008c0420c3318d221389e6fe49e7c1c | [] | 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 | 236 | sce | Ex13_1.sce | errcatch(-1,"stop");mode(2);//Ex13_1
A = 100//amplification gain
A_Beta = 1//for sustain oscillation
Beta = A_Beta/A//feeback ratio
disp("A = "+string(A))
disp("A_Beta = "+string(A_Beta))
disp("Beta = "+string(Beta))
exit();
|
a65cca4ca8988700499f370db28ee55d03522d99 | 717ddeb7e700373742c617a95e25a2376565112c | /1472/CH23/EX23.4/23_4.sce | ad9a56c1e5d5312d1fa0bf2ab8627f8aeccc82cc | [] | 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 | 909 | sce | 23_4.sce | clc
//initialization of varaibles
V1=587 //fps
etaD=0.9
etaC=0.8
h1=114.69
P1=10 //psia
P6=P1
dhB=-19100 //B/lb
T1=480 //R
//calculations
h2s=etaD*V1^2 /(778*2*32.2) +h1
disp("From tables,")
Pr2s=1.104
Pr1=0.9182
P2=P1*Pr2s/Pr1
h2=h1+(h2s-h1)/etaD
T2=509 //R
Pr2=1.127
Pr3s=Pr2*P3/P2
Pr3s=6.76
h3s=2... |
f721a5cd5ffbd94513742da0058de3dc88242799 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH23/EX23.2/23_02.sce | d77424f44ef627f3c09cce39a0c1f9dac646df79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 23_02.sce | //Chapter 23, Problem 2
clc;
ns=900/60; //synchroous speed
f=60; //supply frequency
p=f/ns; //no of pole pairs
printf("number of pole pairs = %d\n",p);
printf("therefore, number of poles = %d",p*2);
|
4a6029d983335d6920e3ba6b8c8418c2c082a3d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH14/EX14.2/Ex14_2.sce | fa7c720b04f402372e6209a496173d709e37eda5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | Ex14_2.sce |
// Example 14.2
alfa=20; // Slot angle
q1=120/20; // No.Of slots for group p
sa=sind((q1*alfa)/2);
sb=sind(alfa/2);
kd1=sa/(q1*sb); // Three phase Winding (with 120 phase group)
disp('(a) A Three phase Winding (with 120 phase group) = '+string(kd1));
q2=60/20... |
d3574dff21ceb3491d208f4c26a7e697d00e0732 | 0da073fabc0aa37d8557e87cb7eb35be1ad4947b | /7°Bimestre/TrapezoidalScilab/TrapezoidalScilab.sce | 8a46d5a9f44653e26c5bfb3461424f0529bc2edf | [] | no_license | BrokenArrowIGU/Numerico | 13015511bde6d2ef9215b45750a617ca5189e5f3 | 1aa88f446042839a43b5e5e4fb51f6a48a132dc2 | refs/heads/master | 2023-07-27T06:49:53.163112 | 2021-09-21T00:31:45 | 2021-09-21T00:31:45 | 395,048,997 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,093 | sce | TrapezoidalScilab.sce | // Programa Scilab para cálculo de integral com limites definidos
// Método trapezoidal
// DMS - LAA
// ========================== Input ==========================
Lim_a = 0; // Limite inferior
Lim_b = 0.8; // Limite superior
// ========================== Funçõ... |
939da6eb45745fed1ea2dc3f6f6e21b512400b64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH20/EX19.19/EX19_19.sce | 0ceb3eb810c20ea5cc19d84c2e8e7bc0431871fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | sce | EX19_19.sce | // Grob's Basic Electronics 11e
// Chapter No. 19
// Example No. 19_19
clc; clear;
// Inductances L1 and L2 are each 8 mH. How much is Leq?
// Given data
l1 = 8*10^-3; // Inductor 1=8 mH
l2 = 8*10^-3; // Inductor 2=8 mH
a = 1/l1;
b = 1/l2;
Leq = 1/(a+b);
disp(Leq,'The Equivalent Inductance in Hen... |
b77eb9bb1f4369c755731671e8a5ea0879a44d0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH5/EX5.4/Ex5_4.sce | 927a99f2615fe20a6994fb8a4596f8706ccc899a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 769 | sce | Ex5_4.sce | // ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 5 : INDUCTION MACHINES
// EXAMPLE : 5.4
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
s = 60; // Total number of Slot
m = 3; ... |
ed6ff625e51b8799a2e44ad73c14b81356ffe784 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.19/eg2_19.sce | 02b6839ace204284fffb7d92c5b43113d9d04275 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | eg2_19.sce | clc
clear
printf("Example 2.19.Page no.2.39")
//Given
x1=0.224 // m
k1=1.3 // W/(m.K)
k2=0.346 // W/(m.K)
T1=1588 // K
T2= 299 // K
QA=1830 // W/ sq metre //heat loss
//solution
printf("Q/A=(T1-T2)/x1/k1+x2/k2");
x2=k2*((T1-T2)*1/(QA)-(x1/k1))
x2=x2*1000;
printf("Thickness of insulation=%f mm",x2)
|
0cd09610493f645292fb0e732fe261f6944b96fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH17/EX17.17/Ex17_17.sce | 22af4a2a7b532f2704d68e4cb2ad04fbaed16ed6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | sce | Ex17_17.sce | //Variable declaration:
printf('Analytical Solution')
|
c49c5782c2ccac7aaae400d4b52d6a1714d8f92d | 61ae130448957e9d317026c24a8fd467e6bb08c9 | /src/test/resources/LtTest/LtTestVME.tst | 7debe12a4e0f663ab8dfcf4f995a0d95cd8a4d1f | [] | no_license | toonketels/nand2tetris-vm-translator | d38921aa4196cf7021a5cbce5db46885b3b8e7c3 | dfd283fc53db0d0119286675d3462ff5d0ca7ec9 | refs/heads/main | 2023-06-01T04:14:38.446476 | 2021-06-24T08:07:38 | 2021-06-24T08:07:38 | 379,851,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 345 | tst | LtTestVME.tst | load LtTest.vm;
set sp 256, // stack pointer
set local 300, // base address of the local segment
set argument 400, // base address of the argument segment
set this 3000, // base address of the this segment
set that 3010, // base address of the that segment
repeat 25 { // BasicTest.vm has 25... |
cb8df4b1a33772cdb58ca337c7f27ceb47fc355b | f75b5e931e4dd0edfbd407f79ebdfff53b8ad95e | /Matlab codes/bandpass_IIR.sce | 3dc9af266657e1a10270a0959f8322669e67b376 | [] | no_license | debarnab-mitra/Filter-Design | 6885c4d181f7042c00a641f390a5f9681f3a9d34 | a45ad042d2f0f80b82493cde3a07be4d72912673 | refs/heads/master | 2020-03-31T02:26:11.902775 | 2018-10-06T09:18:19 | 2018-10-06T09:18:19 | 151,823,602 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,994 | sce | bandpass_IIR.sce |
B_l = 18.8;
B_m = 23.8;
transition_width = 1;
f_s = 140;
un_wp1 = B_l;
un_wp2 = B_m;
un_ws1 = un_wp1 - transition_width;
un_ws2 = un_wp2 + transition_width;
w_p1 = 2*%pi*un_wp1/f_s;
w_p2 = 2*%pi*un_wp2/f_s;
w_s1 = 2*%pi*un_ws1/f_s;
w_s2 = 2*%pi*un_ws2/f_s;
//analog filter specifications
W_p1 = tan(w_p1/2);
W_p2... |
c04f9dac63bc4a76c3a05dccbfafa6d33608c2b7 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/imfill.sci | 2b11f480e6045a05168df00637fe11ee72db9121 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 1,557 | sci | imfill.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
7da12f33f41d9a187d087847fe4eda44e4b8e563 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.40/example12_40.sce | c14ace0573ff6ffec1c76b764cb54c41aa9c59e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | example12_40.sce | clc
// Given that
d = 1e12 // electron density in number per m^3
E = 0.1 // thermal energy in eV
e = 1.6e-19 // charge on an electron in C
// Sample Problem 40 on page no. 12.47
printf("\n # PROBLEM 40 # \n")
printf(" Standard formula used \n")
printf(" l_debye = (epsilon_0*K*T/(n*e^2))^1/2 \n f = omega/(2*pi) \n")
l... |
9739f2c64aa60b1d8a067e5edc4cef028e979851 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH15/EX15.6/exp_15_6.sce | 05344a014bdeca25e99731b01da3853fa67cbd72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | exp_15_6.sce | clear;
clc;
v=600;
betta=22;
gammma=10;
Vd=(2*v)/(cosd(betta)+cosd(gammma));
El=(Vd*%pi)/(3*sqrt(2));
mprintf("RMS value of voltage is %.3f KV",El);
|
a8d907c29a7954293ab6ec8a37a211bd24dabc4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH4/EX4.1/ex_4_1.sce | d18cc53acc89a6d7c04c2de3a97fa34c444c90f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | ex_4_1.sce | //Example 4.1: Unknown resistor
clc;
clear;
close;
//given data :
Vd=0.83942;// volt-drop in V
emf=23*10^-6;// in V
Vds=1.01575;// volt-drop in V
Rs=0.10014;// in ohm
Vdt=Vd-emf;// in V
I=Vds/Rs;
R=Vdt/I;
disp(R,"Unknown resistor,R(ohm) = ")
|
9a8f199f93600fe258d61eb7df28effb37acc3b1 | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/test_mul.sci | cd101f0e57a615077f764dc8edeaad25a3bbc396 | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sci | test_mul.sci | function ok=test_mul(verbose)
if ~exists("verbose","local") then
verbose=%F
end
test_mulprobln(verbose=verbose);
test_mulsamp(verbose=verbose);
test_mulluck();
ok=%T;
endfunction
|
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... |
969609a944d7c7e3b64bffc38d4e0d406ad26560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH20/EX20.9/20_9.sce | 59b7f2a240175507c5ca86f51fa5ace9328bef1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 843 | sce | 20_9.sce | clear//
//Variables
VZ = 10.0 //Zener voltage (in volts)
RS = 1.0 //Series Resistance (in kilo-ohm)
RL = 2.0 //Load Resistance (in kilo-ohm)
VSmin = 22.0 //Minimum source vo... |
dc9fd65f08bec5f8cee10f7dc7f95c7f50d32709 | 574cebf351b02b4c2971cd37e75bcb62352e186b | /myConvolution.sci | 5f6216488fe7895711a8da3999367e47d743716e | [] | no_license | Sharkalgud/SignalProcessing | ede0b2d8d37efae227d768a87966ba42845dd2b9 | 8e84efa0e3673534c82af227d771d13645f68b7e | refs/heads/master | 2021-01-22T23:58:46.342437 | 2014-04-11T17:41:26 | 2014-04-11T17:41:26 | 18,303,273 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sci | myConvolution.sci | function y=myConvolution(x,h)
y=[]
//x=fliplr(x)
pt1=length(x)
pt2=1
pt3=length(x)
pt4=1
for j= 0:length(x)+length(h)-2
y(j+1)=sum(x(pt1:pt3).*h(pt4:pt2))
// disp(y(j+1))
if pt1>1 then
pt1=pt1-1
else pt3=pt3-1
end
if pt2<length(h) t... |
dcf5ae0e9102d02d43b1ce4e8a21d4a74b8632ef | 5e4e2ae5c863dee1003c064ef70d74c9165fc65e | /strings/can_construct_test_case.tst | 56a39f293cbb5695518b10eb0ed15331cd44f6da | [] | no_license | rootid/fft | 3ec6f0e6ae1be96d531119b2571610646a7256e9 | af187df0eafee37f69d6be95dc22685a96b96742 | refs/heads/master | 2020-12-14T09:24:18.915482 | 2019-07-25T23:52:21 | 2019-07-25T23:52:21 | 46,454,112 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 32,589 | tst | can_construct_test_case.tst | "cibdccdjhgihcdchibjfhhcafebfcdbjhfiebceeihfifbbecajfidfcfceghaddcjgcaajahbdcddebgafieehchgcigdggibjcajabbaghffgijjejcafajafagegfgihahjgajhhdfehgfgagedjbdcgdciiijciiceahbgbdfcifdadhgieiaadcjgifaaefcacgiaifiahidhchficddgaaaigdbbafabeciedcihbfefidfihcehfeihacbbjiffadbiiacjdidbfahehiicchecgjbbfdeaieafbdbhfigbihjiehjhjicbe... |
1a0ee82df062f33ce2aa76d085bb7385df02d4ea | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/ben.tst | 95300dd1ab8c3c7fd4e035549014b981d79b1d5d | [] | 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 | 47,704 | tst | ben.tst | অনুরোধ করা অনুরোধ করছিলেন V;PROG;3;POL;PST
অনুরোধ করা অনুরোধ করতে V;NFIN
অনুরোধ করা অনুরোধ করেছিলো V;PRF;2;POL;PST
অনুরোধ করা অনুরোধ করছিলাম V;PROG;1;PST
অনুরোধ করা অনুরোধ করবে V;2;POL;FUT
অনুরোধ করা অনুরোধ করবে V;3;INFM;FUT
অনুরোধ করা অনুরোধ করেছিলেন V;PRF;3;POL;PST
অনুরোধ করা অনুরোধ করেছিস V;PRF;2;PRS;LGSPEC1
অনুরোধ ... |
a0eb8cc06f205d733497be3763a219eceb38d8db | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/latcfilt/latcfilt11.sce | 1bba1df334d2a06679262ff9a9074fe32d590b11 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | latcfilt11.sce | k=[12 3 4 5 67 8 9];
x=[1 2 3 5 6 7 8 9];
zi=[1 2 3 4 5 6 7];
[f,g,zf] = latcfilt(k,x,'ic',zi);
disp(f);
disp(g);
disp(zf);
//output
//!--error 10000
//wrong input data type
//at line 36 of function latcfilt called by :
//[f,g,zf] = latcfilt(k,x,'ic',zi);
//matlab
//Columns 1 through 5
//
// 497 ... |
98378f7e04bcea9f6033a15511d31a0ad0d97c82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH22/EX22.23/Ex22_23.sce | ec6eac066584670c41c4a544e13e9b892e179716 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | Ex22_23.sce | // Example 22_23
clc;funcprot(0);
//Given data
P=120;// MW
p_1=86;// bar
p_2=7;// bar
p_3=0.35;// bar
T_1=350;// °C
//Calculation
//From h-s chart:
h_1=2980;// kJ/kg
h_2=2520;// kJ/kg
h_3=3170;// kJ/kg
h_4=2550;// kJ/kg
// From steam tables
h_f1=304.3;// kJ/kg(liquid heat at 0.35 bar)
T_s1=72.7;// °C
... |
e1efae0a5104d676a61456d6cea82c0ae7ff3859 | c49a028f382c3baddcd641c1972dd72bb60eaadc | /EXTRA/graph_subplot.sce | 3ad51935d01458949b83cbcae7be80abeb562c97 | [] | no_license | BhautikDonga/SCILAB | 484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a | b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c | refs/heads/master | 2020-04-07T15:48:23.036273 | 2018-12-05T01:27:34 | 2018-12-05T01:27:34 | 158,501,669 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | graph_subplot.sce | x = 1:1:10;
y= 0:1:9;
figure(1);
subplot(2,3,1);
plot(x,y);
subplot(2,3,2);
plot(x,y,'o');
subplot(2,3,3);
plot2d3(x,y);
subplot(2,3,4);
plot2d2(x,y);
subplot(2,3,5);
plot2d(x,y);
subplot(2,3,6);
plot(x,y,'*');
|
37b07a7974a6aeba4f0997f003e1201216d119d9 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/LibUtilities/Tests/NodalDemo_Prism_Interp_P7.tst | 2f243335fab2aa75a5803175c663ac9d08ac9b01 | [
"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 | 395 | tst | NodalDemo_Prism_Interp_P7.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Nodal prism interpolation, evenly spaced points, P = 7</description>
<executable>NodalDemo</executable>
<parameters>--order 7 --type 27 --interp -0.3,-0.636,-0.9</parameters>
<metrics>
<metric type="Linf" id="1">
<value tole... |
d6d8afe4394d3718d3dc449baf8188399b5105c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH14/EX14.6/exa14_6.sce | 002700c643f93b30dbbfb3d70068108a662a2a6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | exa14_6.sce | //Examples 14.6
//Calculating h parameter
// From figure 14.18(a)
R=10;
C=1/40;
s=%s;
// for calculating h-parameter ,with V_2=0;
disp("V_1=(1/(s*C))*I_1---equation(1)")
disp("I_2=3*I_1-I_1--- equation(2)")
//From equation 1 & 2
h_11=1/(s*C);
h_21=2;
// Now I_1=0;
disp("V_1=V_2---equation(3)")
disp("V_2... |
d5992553d1d13c1b076a2f6b9ca7bb530762fea4 | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0067.tst | c055798b7af9ebb3e6afb12076e68a5fe2f66f35 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 290 | tst | 0067.tst | sPliTTer bti {}
FiLteR SPQaV { }
fILtER Rkk {not bv }
x -> yjtec
GRoupEr DBihq {AggregATe MQr ,c ,mAX(l.u) As LoZobVu ,yc.Wtp ,JQ ,CouNt(sJcqz) aS K ,S.iwtP }
UNgrouPER i { }
GroUPfiLTer nru {}
MErgeR c { modUlE q { BrAnCHES N, IMC nOT T ( , 3.22.85.8/1 ) K > ::
} ExpORt IY } |
f579cb56ba24daf21efba8150638ece46e328603 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH14/EX14.2/Ex14_2.sce | 9e0d2c2ae08124da898c3a4b67d9af89a89f61b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,393 | sce | Ex14_2.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex14_2.sce.
clc;
clear;
//Loads are in kilowatt
avg_load1=1;
avg_load2=0.3;
avg_load3=0.5;
avg_load4=2.5;
max_load1=5;
max_load2=2;
max_load3=2;
max_load4=10;
... |
4bf3b9341a9d504de3853f5e526de17a8cdc9df1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH25/EX25.5/Ex25_5.sce | 295a1bacfbf739a5b1999ed9c3bd3e40f17cf934 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 685 | sce | Ex25_5.sce | //Chapter 25: Sky Wave Propagation
//Example 25-9.1
clc;
clear;
//Variable Initialization
d = 200 //Height of layer (km)
bet = 20 //Takeoff angle (degrees)
R = 6370 //Earth's radius (km)
//Calculations
phi_0 = 90 - bet //Take off angle for flat earth (degrees)
h = (d/2)/(sqrt((cos(phi_0*%pi/180)**-2) - 1)... |
9a80c991624c626d3d63d514d4f1f0794f53f0a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.32/example2_32.sce | c0e37bcca89ad81007543aa5ba0b19409e86fb8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | example2_32.sce | // Find the range for R
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-32 in page 110
clear; clc; close;
// Given data
P=250; // Maximum power dissipation in mW
V=15; // Supply voltage in V
// Caluclation
I=(250*10^-3)/5;
printf("Maximu... |
cee6012d5b0350ddefba41d443614c2ec857d420 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH4/EX4.3/ex4_3.sce | ae1325b54d8bff0c648908daf96e8d7dd0871e42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | ex4_3.sce | // Exa 4.3
format('v',6)
clc;
clear;
close;
// Given data
V_CE = 9;// in V
R_C = 10;// in Mohm
R_C = R_C * 10^6;// in ohm
V = 10;// in V
I_CEO = (V - V_CE)/R_C;// in A
// When R_C is changed to 10 k ohm
R_C = 10;// in k ohm
R_C = R_C * 10^3;// in ohm
V_CE = (V - (I_CEO*R_C));// in V
disp(V_CE,"The new va... |
d4f5336deb16aa4284dac2ac68ec2be7ab29f69f | 717ddeb7e700373742c617a95e25a2376565112c | /914/CH15/EX15.3/ex15_3.sce | df1d64221ffb29712aaa8c9ba01bdb3902bcace8 | [] | 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 | 195 | sce | ex15_3.sce | clc;
warning("off");
printf("\n\n example15.3 - pg774");
// given
// from example 15.2
n'=0.8851;
K'=0.01254;
n=n';
K=K'/((3*n+1)/(4*n));
disp(n,"n=");
printf("\n K = %f N/m^2",K);
|
8fdee62c7d029caa0bedabe090d556e0d6e1a7a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH26/EX26.1/ex_26_1.sce | 70decc72bc1c20036716a3f6ed953230416eaf0d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,234 | sce | ex_26_1.sce | //find
clc
//solution
//given
W=20000//N
N=900//rpm
to=55//deg celcius
Z=0.017//kg/m/s
ta=15.5//deg celciusp=1.5//N/mm^2
t=10//deg celcius
C=1232//W/m^2/deg celcius
//from table 26.3
d=0.100//m//assume
p=1.5//N/mm^2
l=1.6*d*1000//mm
printf("length of journal is,%f mm\n",l)
pb=W/(l*d*1000)//bearig preass... |
0cdc9bb7e46277063a684cbe52c875be823eeaf6 | 84e4405f182c8a71ed4737063cc0474c432149f1 | /Labovi/LV1Zadaca/hello.sce | 41e194bd1d085878f4ef6e7bfe40121dec4eda5e | [] | no_license | Leon-Zhaohw/NA | 0f8080fcc4958af4ebf5daced11a6d01c27e3ece | 0f1d30cfe13d5447b775698a93cf01cc1c8d15ac | refs/heads/master | 2021-06-15T11:20:41.484070 | 2017-01-29T01:10:43 | 2017-01-29T01:10:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sce | hello.sce | function plotFunction(fString)
x = linspace(-200, 200, 100);
deff('y = f(x)','y = ' + fString);
plot(x, f);
endfunction
plotFunction('x * x * x');
|
f33574e51e2176513f2dc56ba5ceddc0088a6a47 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/tagify.tst | 5d8caf1c84b81d94f7de4503caac0c18e811e60c | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 211 | tst | tagify.tst | ## Test of the tagify command
set echo
read <tagify.fi
tagify
write -
1..:6 tagify --tipdeletes
write -
1..$ tagify --tipdeletes
write -
tagify --canonicalize --tipdeletes
write -
tagify --tagify-merges
write -
|
a9805db2bc6c965ba9b5307b79300edc57eda240 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH18/EX18.5/RB_5.sce | b97b5fddc4a844776898ee3dd8a34a9044c5a9a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 993 | sce | RB_5.sce | // sum 18-5
clc;
clear;
R1x=120;
R1y=250;
R2x=300;
R2y=400;
Lh=8000;
N=720;
Ln=Lh*60*N*10^-6;
R1=sqrt(R1x^2+R1y^2);
R2=sqrt(R2x^2+R2y^2);
//Let load factor be Ks
Ks=1.5;
P1=R1*Ks;
P2=R2*Ks;
C1=P1*(Ln^(1/3));
C2=P2*(Ln^(1/3));
//let designation,d,D,B,C at bearing B1 be De1,d1,D1,B1,C1
d1=25;
D1=37;
... |
7e839ccf6ddb2f77d31845ebfb9ecad437e920da | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/unobs.man.tst | bb48c1b59abd5fac83340b99d901e12ec6be26c5 | [
"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 | 54 | tst | unobs.man.tst | clear;lines(0);
A=diag([1,2,3]);C=[1,0,0];
unobs(A,C)
|
eb88471008790f27fdbcd0826579e3e08d389438 | 1e2348b6daaf1f0f4a39a56632cf1664f4948c8b | /Unit 1/Q2.sce | 6de3e36d13aa7cbefab333703d35b9d1abeeb6ab | [] | no_license | Winnie-the-Poorvi/Scilab-Assignment | db54a2d7cc962f8e2d0ba94a421a3c44b3fd9754 | d88fa564ad55d59fb9c568242532a8dbf59569c6 | refs/heads/master | 2020-12-31T23:39:48.289353 | 2020-04-11T16:26:42 | 2020-04-11T16:26:42 | 239,080,731 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | Q2.sce | A=input("Enter the elements of matrix A")
disp(A,"The coefficients of matrix A")
B=input("Enter the elements of matrix B")
disp(B,"The coefficients of matrix B")
a=[A B]//Augmented matrix
n=3
for i=2:n
for j=2:n+1
a(i,j)=a(i,j)-a(1,j)*a(i,1)/a(1,1)
end
a(i,1)=0
end
for i=3:n
for... |
9f31c7e29daba557f65bdae4d901fd1683e4db4b | c60c6eeccc936a29a7517d2c67ae530cfe26d091 | /TestTool/testfiles/tcu/regler.tst | dbc1617dad376a9d8bf381f04ffb9dd0bb6f4410 | [] | no_license | joshuaju/BscSoftware | 4a208ce2c4043eab4c18816bd675727c152d3afd | 564d428225806da69f43dac3f66643732c9aa690 | refs/heads/master | 2021-06-01T05:42:45.596108 | 2016-07-29T11:52:52 | 2016-07-29T11:52:52 | 58,967,370 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 861 | tst | regler.tst | [AUTHOR] Joshua Jungen
[TESTNAME] Überprüfe langsamen Regler
[LIB] "TCUIVKeywordLibrary.jar" tcu
[VAR] "config.var"
[SETUP]
{status_reg} = Lese Status von Bit "18"
Verwende langsamen Regler "false"
[TEST]
{poti} = Lese Poti Wert
Setze Versorgungsspannung auf "[{poti}-1.5]"
Verwende langsamen Regler ... |
259b79ad2ce7affc7ec7be700d5f4b5986cd9609 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.20/ex1_20.sce | 8aed7066f2f74a98b6995395888d0d141522a6a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,061 | sce | ex1_20.sce | //Chapter-1, Example 1.20, Page 28
//=============================================================================
clc;
clear;
//INPUT DATA
l1=7.5;//length of aluminium wire in m
d1=1*10^-3;//diameter of aluminium wire in m
r1=0.5*d1;//radius of aluminium wire in m
a1=%pi*((r1)^2);//area of cross-section in m^... |
ab14e697ee087681e01b9d7afdd108f68bca1ee3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH25/EX25.15/ex25_15.sce | 2584cf8d5bb7d3b2db128bb0e97a6797489ceacd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex25_15.sce | clc;clear;
//Example 25.15
//conversion of decimal to binary
//given values
X=43;//decimal number
//calculation
Z=dec2bin(X);
disp(Z,'binary equivalent of the given decimal number is');
|
6921e36aceb85924fc9e0a2ef881eeac139c2cf4 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/framework/qa/unoapi/framework.sce | 6b59a1204fc6bfa97569c9f5b4767296bc560fb9 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | Scilab | false | false | 1,888 | sce | framework.sce | # *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to y... |
74f56d07d3ba665657bab3c81d249826053660ef | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/results/OpenCV/stability/50_times/evolution_reduction.sce | dbd4f176e887f407c0c23864cbd186e4729cea21 | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,470 | sce | evolution_reduction.sce | function save_result(m,filename)
csvWrite(m,filename);
endfunction
//display results with three different curves
// first curve is the curve representing the mean of computed data
// second and third are respectively data-std_dev and data+std_dev
function [a,b] = display(m,legs,colors,pos)
//clf();
... |
a55c6a1c57c0c0d862a7a4c651f606dcaf504264 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH14/EX14.3/example14_3pp.sce | 45a44467c498ccda7dbd0a89686b1e6abdbce56d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | example14_3pp.sce | clc
clear
disp('example 14_3')
ar1=500 //alternator rating1
pl=0.5 //each alternator is operating at half load
ar2=200 //alternator rating2
f=50 //frequency
il=140 //load increase by 140 MW
fd=49.5 //frequency drops
fdd=-f+fd //frequency deviation
dp1=(ar1*pl)-il //change in load alternator 1
dp2=-(a... |
d4f3aa06909b3e0bd9790d8aa4d0bdad374dff27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH12/EX12.1/Ch12Ex1.sce | e088810b7ee6ae92523d5e4a13d2b1ae7579a692 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | Ch12Ex1.sce | // Scilab Code Ex12.1: Page-12.6 (2004)
clc;clear;
n1 = 1.54; // Refractive index of fibre core
n2 = 1.50; // Refractive index of fibre cladding
NA = sqrt(n1^2 - n2^2); // Numerical aperture for optical fibre
// As sin(theta_a) = sqrt(n1^2 - n2^2), solving for theta_a
theta_a = asind(sqrt(n1^2 - n2^2)); ... |
3960ec42e4b52d40b36b9c3d5b535e1892b8c001 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.12/Ex7_12.sce | 674eb1de7868926df8ebcee2438301866c5bc4f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Ex7_12.sce | clc
m1=30 //mass of steel
m2=150 //mass of oil
Cp1=0.46 //steel
Cp2=2.5 //oil
T1=700 //steel
T2=300 //oil
T=((m1*Cp1*T1)+(m2*Cp2*T2))/((m1*Cp1)+(m2*Cp2))
mprintf("T=%fK\n",T)//ans vary due to roundoff error
deltaSsteel=integrate('m1*Cp1/T','T',T1,T)
mprintf("deltaSsteel=%fkJ/K\n",deltaSsteel)//ans vary due to... |
4a16baa1a86596f532ce65a025da0105f11c51df | 1aadc3c74d6b81cbab52c521d4d78be7909d1ab9 | /03 - testes/02 - calcular_idade.tst | ddcbddc0821394ddc0010d39a408198c31ac4033 | [] | no_license | emersondahora/cadastro_pessoa | 8700f8447b4d5ce0581f5a9cffbca01ecf6a21bd | 91dc02a708739ee56d65f7be3a15e85f83c18b70 | refs/heads/master | 2022-12-15T19:38:32.342039 | 2020-09-16T00:55:26 | 2020-09-16T00:55:26 | 295,866,215 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | tst | 02 - calcular_idade.tst | PL/SQL Developer Test script 3.0
3
begin
:idade := pkg_pessoa.fCalcularIdadePessoa(:vCpfCnpj);
end;
2
idade
1
15
5
vCpfCnpj
1
03.948.198/0001-28
5
0
|
1f4a342d7b156ca6fae854001a13223d6753874b | fd146e9a6ba17a30ba4e2ded976d8022e537be4b | /tests/tsumego.tst | 8f22e8c4c39a50927c8d6dd4f71685139d4c8ffe | [
"MIT"
] | permissive | itamago/michi-c2 | d1553f598004bb4b170eaa966316d638ab0b5b0b | d2a4cb80b3151d27fe6e4f16ff89ca69191d7e32 | refs/heads/master | 2021-09-01T19:31:17.771229 | 2017-12-28T12:45:26 | 2017-12-28T12:45:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 866 | tst | tsumego.tst | #-------------------------------------------------------------
# tests of the bgo mcts subsystem (testing answer to tsumegos)
#-------------------------------------------------------------
param_general play_until_the_end 1
# Simple tests
# ------------
loadsgf sgf/tsumego/simple.sgf
010 genmove b
#? [E5]
loadsgf s... |
c153e9f56782015b0dddc04d8f508b2db3361eb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH4/EX4.1/Ex4_1.sce | 53510486eb24f1019707e5ac1eba74edbc528e03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | Ex4_1.sce | //Ex:4.1
clc;
clear;
close;
Pi=100*10^-6;// mean optical power in watt
Po=2*10^-6;// output mean power in watt
L=6;// length in km
L1=8;// length in km
as=10*log(Pi/Po)/log(10);// signal attenuation in dB
as1=as/L;// signal attenuation per km
Li=as1*L1;// Loss incurred along 8 km
Ls=7;// Loss due to splice i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.