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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5b901dff903e7f0d956aa417af01032b08579a90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH18/EX18.16/CH18Exa16.sce | f456d5e3ce55cb09d0c52bdb04de9a5340b7864c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | CH18Exa16.sce | // Scilab code Exa18.16 : : Page-768 (2011)
clc; clear;
phi = 45*%pi/180; // Phase difference
Cross_sec_ratio = 1/4*(5+4*cos(phi))/(1-cos(phi)); // Cross section ratio
printf("\nThe cross section ratio : %4.2f", Cross_sec_ratio);
// Result
|
de7d3b6d9a4607b58c026d439d57baeb36154cb8 | dbd504f73f233675d0c8c2c8c5730e866aabcd96 | /codes/qfunc.sci | 663b30cf5b67ea79f7f48073ca7acde2dfccafcc | [] | no_license | surajdurgesht/Wireless-Communication-Lab | f5019be42d24fe6568e98d666efd901283a0c7a7 | e8fac339daf91d24ee0dd9e22e9236fcbb68dac3 | refs/heads/master | 2020-06-04T19:07:54.824459 | 2019-06-16T06:30:21 | 2019-06-16T06:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 68 | sci | qfunc.sci | function y = qfunc(x)
y = 0.5*erfc(x/sqrt(2));
endfunction |
71a66bf855f12aa9d9864d3f2012a618528ba862 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH1/EX1.2/Ex1_2.sce | af728bfaf2fcd7a7079aa4bde1369b23c613b522 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | Ex1_2.sce | clc
T=300//K
a=5.43*10**-8//meter
w=28.09//g/mol..atomic weight
A=6.02*10^23 //atoms/mol....Avogadro's no.
s=8/a^3
disp(s,"atoms per unit cell in atoms/cm^3 is")
d=s*w/A
disp(d,"density in g/cm^3 is")
|
0845aa3ccc92dfdfad490adb4d53de829dfb74d8 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/return_const_value_runme.sci | 662bf3625d17f145bbf30bc8ecf090547e863bf7 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 287 | sci | return_const_value_runme.sci | exec("swigtest.start", -1);
foo_ptr = Foo_ptr_getPtr();
foo = Foo_ptr___deref__(foo_ptr);
checkequal(Foo_getVal(foo), 17, "Foo_getVal(p)");
foo_ptr = Foo_ptr_getConstPtr();
foo = Foo_ptr___deref__(foo_ptr);
checkequal(Foo_getVal(foo), 17, "Foo_getVal(p)");
exec("swigtest.quit", -1);
|
90ed131750a739caba014b28c0a9b4961c612e6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /581/CH11/EX11.14/Example11_14.sce | a261397f36a13cabbf8a1ccefcc9189efd606b41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | Example11_14.sce |
clear ;
clc;
printf("\t Example 11.14\n");
T1=325; //temp. of helium-water tube,K
l=0.2; //length of tube,m
x=0.01; // mole fraction of water
//the vapor pressure of the liquid water is approximately the saturation pressure at the water temp.
p=1.341*10000 ; //vapor pressure using ste... |
232d876c40e03deb7868949285f6e5cf90750316 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH7/EX7.13/7_13.sce | 12812247be572764f4a8ea1b54433108fbb45dcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | 7_13.sce |
clc
//initialisation of variables
w= 62.4 //lbsec/ft^3
l= 2 //miles
v= 4 //ft/sec
g= 32.2 //ft/sec^2
t= 20 //sec
t1= 1 //sec
//CALCULATIONS
P= w*l*5280*v/(g*t)
P1= w*l*5280*v/(g*t1)
//RESULTS
printf (' Rise in pressure behind the valve = %.f Lb/ft^2',P)
printf (' \n Rise in pressure behind the valve = %.... |
15bbae784d7ad5132561bbe5861aae03b3393ef1 | b12941be3faf1fd1024c2c0437aa3a4ddcbbfd67 | /whatif/pretest.tst | ee49dfdbb143b8ae89a1313c1dff9239086c5974 | [] | no_license | JanWielemaker/optica | 950bd860825ab753236ce1daa399ee7a0b31b3ee | 3a378df314b5a60926b325089edac89c00cc8c6d | refs/heads/master | 2020-06-12T14:22:46.567191 | 2019-06-21T11:24:41 | 2019-06-21T11:24:41 | 194,328,239 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,872 | tst | pretest.tst | /* Questionaire created by optica toolkit
Date: Fri Feb 28 10:22:06 1997
*/
question(1, 'pre 1',
'Waar raakt de lichtstraal de hoofdas als we
de lens vervangen door een platbolle?',
[ 'dichterbij de lens',
'verder van de lens vandaan',
'plaats blijft hetzelfde'
],
state(state, '',
[ m1 = l... |
017109518e736451fa55f4fa92030dd794e4ea28 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Snake Tiles Mini.sce | 2789d5eb62f1505ab631f9c17015d7397da8fb04 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 83,086 | sce | Snake Tiles Mini.sce | Name=Snake Tiles Mini
PlayerCharacters=STM Challenger
BotCharacters=STM Target 01.bot;STM Target 02.bot;STM Target 03.bot;STM Target 04.bot;STM Target 05.bot;STM Target 06.bot;STM Target 07.bot;STM Target 08.bot;STM Target 09.bot;STM Target 10.bot;STM Target 11.bot;STM Target 12.bot;STM Target 13.bot;STM Target 14.bo... |
047aa4cc0b7e9ff033e94dbf0caaff5c0151cc45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH27/EX27.5/Ex27_5.sce | 7ec5de14ae4d2bc67541b7148b97ccb28ec1224a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Ex27_5.sce | //Example 27_5
clc();
clear;
//To find how much of the orignal I will still present
d1=20 //Units in mg
d2=d1/2 //Units in mg
d3=d2/2 //Units in mg
d4=d3/2 //Units in mg
d5=d4/2 //Units in mg
d6=d5/2 //Units in mg
d7=d6/2 //Units in mg
printf("After 48 days onl... |
789a2559ba98cc19d86906d4f36c09e80822faf6 | 0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb | /russiancodecup.ru/2011/qualification/C/test-06.tst | 284d883ed673905fad7e569a40b751e26d052115 | [] | no_license | Kot-Angens/acm | c85d8582c3e84f218415321743864b9680e01f2e | 05472eaa0fff7abb6679826085da5e0c990df4cb | refs/heads/master | 2021-01-24T22:36:05.159612 | 2012-10-02T13:51:56 | 2012-10-02T13:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | tst | test-06.tst | 2
3 100
a
a
3 100
a
b
~~~~~~~~~~~~~~~~~~~~~~~~~~
26
52
|
559d70f24519ca39d3ad77ad1a8379273ef7fd8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.10/Ex16_10.sce | ecf4ec9004af2a80cb85345571f971f14bce7f8e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 538 | sce | Ex16_10.sce | //Initilization of variables
m=200 //kg
g=9.8 //m/s^2
r=1.2 //m
F1=1000 //N
F2=1400 //N
//Calculations
N=m*g //N
I=(2/5)*(m)*r^2 //kg-m^2
//Using equations of motion
//Solving for F and alpha using matrix method
//Applying equations of motion
A=[1,-m;-r,-I/r]
B=[F1-F2;F1*r]
C=inv(A)*B
//Storing values
... |
2b094ddc7698a773d1156742962d55daa9a62e5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH8/EX8.4/example8_4.sce | f0653acfd0c6ab136005991d79be7c104b0a567f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | example8_4.sce | // To find the resistance,capacitance and dissipation factors
// example 8-4 in page 204
clc;
//Given Data
f=100;// frequency in Hz
C1=0.1e-6;// satndard capacitance in farad
R=[375e+3 0 10e+3 14.7e+3];// resistances R1,R3 and R4 values in ohms as R2 is not used it is take as 0 for convinence
//calculation
Cp=C... |
2370b4eb5313da6fffdf3e2b78cec8b80572062f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH18/EX18.32/Ex18_32.sce | 5175e0edc17b5b595042cda16b18fa32b71baba8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | Ex18_32.sce | //Initilization of variables
mb=0.06 //kg
vb=500 //m/s
mblock=5 //kg
vblock=30 //m/s
//Calculations
//Applying conservation of momentum
v=(mb*vb+mblock*vblock)/(mb+mblock) //m/s
//Result
clc
printf('The speed of the system is %f m/s',v)
|
43e77fbe5f0861a3ba6fed06be5196e663a62205 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH12/EX12.14/Ex12_14.sce | 8b6b2a10c8aaeb05b90ac17c5ba1a30511d95c9c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex12_14.sce | clc;
Hfe=200;
re=22.7;
R1=10000;
R2=2200;
Req=(R1*R2)/(R1+R2);
X1=Hfe*re;
ZinBJT=(Req*X1)/(Req+X1);
ZinJFET=(R1*R2)/(R1+R2);
disp('kOhm',ZinBJT/1000,"ZinBJT=")//The answers vary due to round off error
disp('kOhm',ZinJFET/1000,"ZinJFET=")//The answers vary due to round off error
|
7aeae17140f0b3fd4865a0fc13736d4981aea0d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH2/EX2.4/Ex2_4.sce | 14c766b82c58bbef3e87d1a437f01e31da83c8ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 615 | sce | Ex2_4.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
// Example : 2.4
clc;clear; // clears the console and command history
// Given data
N = 6 // number of turns
I =3 // current in A
flux = 0.056 ... |
4e1bf021ff0e8776956db08365f245d3ce261339 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/combinations.sci | ed09abab449c7920f7edbc5ea9b1ff7fa8a3428f | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,944 | sci | combinations.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: June 2010
// Description: find all the combinations of given number of indices
//
// Copyright (C) 2009-2010 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or ... |
7a492f53c8cd6ed298aa8b3ad816dcfc04ce1cf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH9/EX9.10/Ex9_10.sce | 6020a6b9411b063c2def0fb9d7f6eb9d0da97f2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,732 | sce | Ex9_10.sce | clc
clear
printf("Example 9.10 | Page number 280 \n\n");
//Part(a) Find molar mass and gas constant
//Part(b) Find mole fractions, partial fractions and partial volumes
//Given
m = 1.9 //kg
T = 273+20 //K
p = 150e3 //Pa
yO2 = 0.1 //mass fraction of O2
yN2 = 0.75 //mass fraction of N2
yCO2 = 0.12 //mass fract... |
5762351b58ea0b3705e09c6134be7e64cf358049 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Devices_And_Circuits_G._S._N._Raju_2534.zip/Electronics_Devices_And_Circuits_G._S._N._Raju_2534/CH2/EX2.17/Ex2_17.sce | 4729d5a651f7ba87d57d319a5e51b79e95ef0027 | [] | 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 | 254 | sce | Ex2_17.sce | errcatch(-1,"stop");mode(2);//Ex2_17
L1 = 10*10^-3
L2 = 15*10^-3
LT = L1 + L2
disp("L1 = "+string(L1)+"H")//inductance of coil 1
disp("L2 = "+string(L2)+"H")//inductance of coil 2
disp("LT = L1+L2 = "+string(LT)+"H")//series inductance
exit();
|
d803eb2ea6b2328360c660776f4d23d0d3ff6b03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH3/EX3.3/example3_3.sce | 23f2170fbfd456e028a6ae8512ce08ed756b7b16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,123 | sce | example3_3.sce |
clear;
clc;
printf("\t Example 3.3\n");
// a is CO2 and b is water
p=2; //total pressure at 1 in atm
pa1=0.2*10^5; //pressure of CO2 at pt 1 in atm
pa2=0; //pressure of CO2 at pt 2 is 0 since air is pure
ya1=0.1; //mole fraction of CO2 at 1 is 0.2/2
ya2=0; ... |
8acf111e4e80354cc761c11f8a1103abe0569a00 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /nsp/premia-interf.sci | 9b75e61081ff206f76ee7ca4e6e083dc28cc5bdb | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,441 | sci | premia-interf.sci | // vim: set tw=90 sw=2 ts=2 sts=2:
// -*- fill-column: 90 -*-
//
// Make sure v is a column vector
//
function r = vect_to_col(v)
[m,n] = size(v);
r = v
if m==1 && n>1 then r = v'; end
endfunction
//
// Make sure v is a row vector
//
function r = vect_to_row(v)
[m,n] = size(v);
r = v
if n==1 && m>1 then... |
24ea89cff5426a2bbb1ccf8634b3c457c3f314a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/4_22data.sci | 6d8ddb5fa4523ae852da51420f048305680892d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 808 | sci | 4_22data.sci | //consider the combustion chamber condition as reservoir
Po=20*1.01*10^5;//combustion chamber pressure in N/m^2
To=3144;//combustion chamber temperature in Kelvin
R=378;//gas constant for mixture of kerosene and oxygen
y=1.26;//specific heat ratio
Pe=1*1.01*10^5//pressure at exit of rocket Nozzle in N/m^2
At=0.1;... |
1da785068d9120830d48d0ff962eb8ba37e26a62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH12/EX12.20/eg_12_20.sce | c22cf13dd8b81096375894b303e3db638be1c165 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | eg_12_20.sce | //poles and zeroes
s=%s
sys=syslin('c',1/((2*s+1)*(1+5*s)*(s)))
plzr(sys)
|
28c3a3f2b2ac6c28f0485f7d7877d2e998b2a509 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /bin/PIL_D_mat.sci | 1fda38790e45c9864bc3cc71a27eb085d323a848 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,376 | sci | PIL_D_mat.sci | // **** Purpose ****
// gnerate a quantum mechanical rotation matrix
// **** Variables ****
// [J]: 1x1, integer or half-integer
// <= the total angular momentum
// [Euler_angles]: 1x3, real
// <= Euler angles
// [basis]: 1x1, char, 's'(shperical)or 'c'(cubic), default='s'
// <= the output basis
// [out_format]: 1x1, '... |
62690e4b82871acd313c1c6040451fbc2b9e12f4 | e3c9cd49d90b4671887003a561088d898505d5ee | /Part4_GUI/GUI.sce | 0c1bd22dec27ea4b9c839b6fe714e3243e55e266 | [] | no_license | mlamraoui1/Connected-Dance-Floors-Network | 87fe6596c834e5fb9e833192f84b7711f4fb6c37 | 83f48ab7a8b17c153ce8bb43c8e09443ccf913a3 | refs/heads/master | 2022-11-15T16:34:32.339720 | 2020-07-04T01:20:09 | 2020-07-04T01:20:09 | 277,015,843 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,375 | sce | GUI.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[-8,32],'figure_size',[1382,744],'auto_resize','on','background',[33],'figure_name','Figure n°%d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','visible','off');... |
1024322495bcf399022c592b84c1f0ab3a7a2c19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.33/Ch04Ex33.sce | 7817e4c68d1e0a0f3866d440fba9ca1a86030623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,098 | sce | Ch04Ex33.sce | // Scilab code Ex4.33: : Pg:182 (2008)
clc;clear;
Lambda = 5.46e-05; // Wavelength of light, cm
n = 12; // Number of fringes
d = 0.40; // Spacing between 12 fringes, cm
omega = d/n; // Fringe width, cm
// Since fringe width in air wedge for normal incidence is given by omega = Lambda/2*theta. On solvi... |
48866f4fdbc0aaf3f2b3c2ef278e2dd60b927fdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH4/EX4.1/Example4_1.sce | 8d1bdbec48082bf821d2807a7431f26233712161 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Example4_1.sce | //Exa 4.1
clc;
clear;
close;
//Given data :
f=50;//Hz
d=1*100;//cm
r=1.25/2;//cm
r_dash=r*0.7788;//cm
L=0.4*log(d/r_dash);//mH
disp(L,"Loop inductance per km(mH)");
XL=2*%pi*f*L*10^-3;//ohm/Km
disp(XL,"Reactance of transmission line(ohm/km)");
|
3afd16b36543704403a99d2fc1e6f72c1691535e | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH8/EX8.4/example8_4.sce | f8b6306a043d0fbf9ef0c5c3eda254790a434bb2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | example8_4.sce | clear
clc
//Example 8.4 REYNOLDS-NUMBER SIMILITUDE
//p-prototype, m-model
Vp=10; //speed[m/s]
//Reynolds-number similitude, Rem=Rep
//Vm*Lm/vm=Vp*Lp/vp
//vm=vp
vmp=1; //vmp=vm/vp
Lmp=1/10; //Lmp=Lm/Lp
Vm=Vp*vmp/Lmp //speed[m/s]
printf("\n The air speed in the wind tunnel for scaled model and dynamically sim... |
01b2c63ccc0223d5b47a8a9bb29c39e4f0b7a7a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH7/EX7.17/Example_7_17.sce | 883722a4f4634a851ac6dce9289cfb24bdff7666 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example_7_17.sce | //Example 7.17
clear;
clc;
//Given
R=8.314;//gas constant in J K^-1 mol^-1
delTf=0.52;//Freezing temperature depression in K
Kf=12;//molal freezing point depression constant of the solvent K mol^-1 kg
w2=0.9;//mass of solute in g
w1=180;//mass of solvent in g
To=282;//freezing point of the solvent in K
//... |
024126e788752f4a1b01dbce3ffd8485fa801938 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.1/Chapter2_Example1.sce | d3631f97df42fa2cf67f3898ffd517f99fd8e7bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | sce | Chapter2_Example1.sce | //Chapter-2, Example 2.1, Page 2.4
//=============================================================================
clc
clear
//INPUT DATA
V1=1000;//Voltage in primary circuit in V
V2=100;//Voltage in secondary ciricut in V
N2=60;//Number of turns in secondary
R=10000;//Rating of transformer in VA
//CALCUL... |
d982418151e8f8d3249f93b67a7c17cb47e38274 | c4dc71508b28a2e15187e1b742173168eda9ab86 | /row_swap.sce | 5fec53132fac4cae9006136ac114bbb9c7f21c95 | [] | no_license | ximarx/calcolo-numerico | 103fc59093a2688e8d6224ecdf21d0ce9f3768e3 | bca493091417b8f27131a59a2b3a20c30e31b90f | refs/heads/master | 2020-06-06T05:34:35.065166 | 2012-06-23T06:39:27 | 2012-06-23T06:39:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | row_swap.sce | function A=row_swap(A,r,s)
// Effetta lo swap della riga r con la riga s
// nella matrice A
// TODO Aggiungere controllo su validita' indici di riga e colonna
tmp=A(r,:)
A(r,:)=A(s,:)
A(s,:)=tmp
endfunction
|
52c9a9e1113cbba8002ba91a5527db09570b6d63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH4/EX4.3/Ex4_3.sce | ae106360c9bc5794aaa6473175122672169ac419 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Ex4_3.sce | clc
//initialisation of variables
a=5//cm
b=25//cm
s=8.5//bars
r=40//cpm
T=460//F
p2=77//ft
p1=68//ft
T1=273//F
T2=273//F
t=20//c
d=1.01*10^5//N/m^2
q2=61024//in^3/m^3
q3=1/1728//ft^3/in^3
p=14.7//psi
//CALCULATIONS
Q=%pi*((a*10^-2)^2/4)*(b*10^-2)*(r)*1000//m^3/min
Q2=((s*10^5+d)*Q)/d*0.001//m^3/min
... |
cd0fb9862a3a80bbd19c029b0c5cc20aca87eb2e | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/env/2BiomassRepartition.sci | 0588332f980ae0358e4d6abcf104ea9002d1abda | [] | 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 | 1,426 | sci | 2BiomassRepartition.sci | blade petiole pith female fruit male fruit ring
0.16689 0.05345 0.08310 0.11970 0.16835 0.23342
0.05259 0.01685 0.02619 0.03772 0.05306 0.07356
0.56880 0.02230 0.01416 0.01250 0.01339 0.01616
0.00000 0.00000 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000 0.00000 0.00000
0.00000 0.00850 0.008... |
463bee2a7ac90a17c211acec03ec0df9f8270a86 | 286a3b61feec58c992ceda8f1ce28b8e4db5caf5 | /algo_geo/tp1/tp1.sci | 3c588cc5ed78f74390922545edb7556c1abcad0b | [] | no_license | confiture/M2 | 970865ab3a52c5c65a84637f987dc27d6485542d | e95ca27c1eccd36337348ff042b8db144c08f0d5 | refs/heads/master | 2021-01-22T07:32:37.900029 | 2017-11-06T13:07:58 | 2017-11-06T13:07:58 | 1,020,201 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,324 | sci | tp1.sci | // Cette fonction renvoie 1 si angle(Ox,OM)<angle(Ox,OP) ou angle(Ox,OM) = angle(Ox,OP) et norme(OM) <= norme(OP) test
// renvoie 0 sinon.
function [X]=ordre_pol(O,M,P)
// Construction de la matrice qui nous permet de déterminer l'ordre polaire
mat=zeros(3,3);
mat(1,1)=1
mat(1,2)=1
mat(1,3)=1
mat(2,1)=O(1);
... |
5ed4fcebaa9021722283cf61a7c12e4bc5fab2e3 | 446aae2100be19be6950fe030959e4ae6ebf75d3 | /laboratorios/laboratorio 6/laboratorio6.sce | 8c848347098442eb72741ae4f1c9474c7d42dbba | [] | no_license | jhont285/metodos-numericos | 492dcc5893707393d066ecc53ca6c5f82faaee66 | 388248e2df5a8c73069dfba53cd439f62bb14476 | refs/heads/master | 2021-06-07T18:27:18.337510 | 2016-07-21T22:17:24 | 2016-07-21T22:17:24 | 62,011,812 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | laboratorio6.sce | format(12)
function dy = f(t,y)
dy = y - t^2 + 1
return dy
endfunction
function yt = y(t)
yt = (t+1)^2 -0.5*%e^t
return yt
endfunction
clc
disp("> Una aproximación a la solución de la ecuación diferencial")
disp(" dy = y - t^2 + 1 usando el método de Euler es: ")
E = UN_ecua_dif_... |
87ba9c8c8ca2851516e59aed357ca9489ea54649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.6/Example11_6.sce | 7bf024aa3403ccc31d4d447e32dcfd879a6b10b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | Example11_6.sce | //Example 11.6
clc;
clear;
close;
format('v',6);
//Given data :
Cd=0.62;//constant
H=200/1000;//meter
theta=90;//degree
g=9.81;//constant
Q=8/15*Cd*sqrt(2*g)*tand(theta/2)*H^(5/2);//m^3/s
Q=Q*1000*60;//litres/minute
disp(Q,"Discharge in litres/minute : ");
|
267b30a7a5e3d6196274f5538782e50df4281d36 | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-5/result8s0.tst | 540bb8fcd825fa30ca641ef6f464ec35fd3e0114 | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result8s0.tst | @relation yeast-5
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
73d9021f8ccfefd0a40339578e84791859b38a88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.29/ex_1_29.sce | f67aaa427439739174f6cb1e00dfb5bc105ea2ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | ex_1_29.sce | //Example 1.29 // output
clc;
clear;
close;
//given data :
Iin=0.35; // sinusoidl input relation
t=0.3; // sec
w=25; // rad/sec
a=1/sqrt(1+(w*t)^2);
Io=Iin*a;
pi=atand(w*t);
disp(pi,"the phase shift,pi(celcius)")
disp("the output expression,Io = 0.0462sin(25t-82.4)")
|
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 : ")
|
b8db314fd19217d45387b69ddf8760fad826815e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH9/EX9.12/9_12.sce | b3585fcc510744b85298fb0176b6836b99bcb9cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | 9_12.sce | clc
//initialisation of variables
pN2O4= 1 //atm
pNO2= 0.141 //atm
R= 1.987 //cal mole^-1 deg^-1
T= 25 //C
//CALCULATIONS
dG= -R*2.303*(273.1+T)*log10(pN2O4/pNO2)
//RESULTS
printf ('dG= %.f cal ',dG)
|
ac3cdb8575d993954ae0ce669f82c368053b4cc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH3/EX3.8/Chapter3_Example8.sce | 4ec725032458e8e1db897ecd1d7ff5d24ece3a56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter3_Example8.sce |
clc
clear
//INPUT
L=1.2;//Length of the satillite in m
v=0.98*3*10^8;//Speed of the satillite in m/s
c=3*10^8;//Speed of light in m s^-1
//CALCULATIONS
l=L*sqrt(1-(v^2/c^2))//The contracted length in m
//OUTPUT
mprintf('The contracted length is %3.4f m',l)
|
72ef884a991bb10d7666ed8d655b7b4243c8562c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH11/EX11.16/Example11_16.sce | 181c12f79ce9f1d9bcaf0bf001882a0b84370622 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Example11_16.sce | //Exa 11.16
clc;
clear;
close;
//Given data :
Vs=11;//kV
f=50;//Hz
l=2.5*1000;//m
C_all3=1.8;//micro F
Cdash=1.5;//micro F(2*Cc+Cs)
Cs=C_all3/3;//micro F
Cc=(Cdash-Cs)/2;//micro F
C_N=3*Cc+Cs;//micro F
disp(C_N,"Capacitance of core to neutral(micro F)");
C_2=C_N/2;//micro F
disp(C_2,"Capacitance between ... |
c2b0fa299a70ea8511f9a55f5d5582ef8d63b233 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RES2.prev.tst | 9bd337c5c9c58f3dcf1b8b6cb83936500a42670c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 400 | tst | RES2.prev.tst | Expanding for base=2, level=4, reasons+features=same
Refined variables=a,b,c,d,w,x,y,z
ReasonFactory: same, code="same"
SameReason.consider(
"a²+b²-c²-d²; -a+w²; -b+x²; -c+y²; -d+z²",
"a²+b²-c²-d²; -a+4w²; -b+4x²; -c+4y²; -d+4z²") =
same a²+b²-c²-d²; -a+4w²; -b+4x²; -c+4y²; -d+4z² map {w=>w/2,x=>x/2,y=>y/2,z=>z/2}... |
fcceeb5a22d6b70d58e91f9936cd47c2962008f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH6/EX6.2/EX6_2.sce | fc80a231f153f44e8f5282547315cd8619b24e48 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,598 | sce | EX6_2.sce | // Example 6.2
// Determine (a) Capacitance required in series with the auxillary winding
// in order to obtain a 90 degree phase displacement between the current in
// the main winding and the current in the auxillary winding at locked rotor
// (b) Locked rotor torque in terms of the machine constant
// Page... |
ac1857f2e9c12eef70bb3d60c3080281f8136a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH11/EX11.1/Example_1.sce | a91312a6c3456481cd5424a63d5d2a500cbffa72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Example_1.sce | //Chapter-11,Example 1,Page 275
clc();
close();
M =1000 //mass of alloy
m_Cd= 0.25*M //25% of Cd in alloy
//since in the eutectic system, 40% is Cd and 60% is Bi
//corresponding to m_Cd Cd the content of Bi in eutectic is
m_Bi = m_Cd*60/40
m= m_Cd+m_Bi
printf('the mass of eutectic in 1 kg ... |
23d6b8ae4548a0f30367eec33e132ac6a6f8d05e | cf18e17577a53971d3093809b663bfa64741f20f | /coloredNoiseRegressionBands/norm-correlated-noise-K-MC.sce | 5b8c7d874df8e8d7c063913b7949ce29000b8ae1 | [] | no_license | stepanov17/vniim_unsorted | 07757339bc2337540ccf5191ae19964834d09ec0 | 8c8261507d5cbb8be913bf9ae1a3606fd70cbbaf | refs/heads/master | 2022-01-17T15:10:18.109538 | 2021-12-31T18:03:59 | 2021-12-31T18:03:59 | 175,603,636 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,876 | sce | norm-correlated-noise-K-MC.sce | // cov. factor calculation example for multivariate normal distribution
// N = 1500
clear;
clc;
stacksize('max');
rand("seed", 1234512345);
RDATA = fscanfMat("D:\other\exp_rel\ACFDATA.txt");
i0 = 11; // alpha = 1.
//i0 = 2; // alpha = 0.5
R = RDATA(i0, :);
//kS = KDATA(i0, 2);
alpha = R(1);
R = R(2 : length(R)... |
5283e9ff766a286063f7a9f7bbdf2f9f4d7261c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH5/EX5.10/Chapter5_example10.sce | 239d08320662262b006b90845a22b4cd73e0f326 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | Chapter5_example10.sce | clc
clear
//Input data
r=20//Compression ratio
c=5//Cut off at 5%
dc=1//Specific heat at constant volume increases by 1%
Cv=0.171//pecific heat at constant volume in kJ/kg.K
R=29.3//Characteristic gas constant in mkg/kg/degree C
k=1.95//k can be obtained from relation de/e=-dcv/cv*(1-e/e)*(g-1)*((1/g)+ln(r)-(k^... |
088252d3248aeba2ed99a657cad9cf3d45aeb8f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH16/EX16.22/Ex16_22.sce | 5c289d40d98b2c666c1a2b953ca1bcc2f3fbd794 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 916 | sce | Ex16_22.sce | //Variable declaration:
//From example 16.22:
t2 = 75.0 //Temperature of water leaving the shell ( F)
t1 = 35.0 //Temperature of water entering the shell ( F)
T2 = 75.0 //Temperature of oil leaving the tube ( F)
T1 = 110.0 //Temperat... |
591f4dbf6643eda1a5f130ab76cad8d48a265edc | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH8/EX8.7/Example8_7.sci | 4ce62d510916c0f827b5d6b12c285017160d4652 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 877 | sci | Example8_7.sci | //Programming Example 8.7
//Program to calculate successive fibonacci numbers
funcprot(0);
function[]= main()
printf("How many fibonacci numbers?");
n=scanf("%d");
first_call="true";
for count=1:n
printf("\ni = %2d F = %1d", count, fibonacci(count));
first_call="false";
... |
b02ee6c5f23b8d82cc4389ced58113bfaaa7a900 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/tag-comments.tst | dd4bb0f60e42b93a499748c0747d1ea78c080d9e | [
"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 | 1,274 | tst | tag-comments.tst | ## Test tag comment handling
read <<EOF
blob
mark :1
data 23
This is a sample file.
reset refs/heads/master
commit refs/heads/master
mark :2
committer esr <esr> 1322671432 +0000
data 16
First revision.
M 100644 :1 README
blob
mark :3
data 68
This is a sample file.
This is our first line of modified content.
commit ... |
caa9f22240ab8845774e53d17c21fe9781b3fad7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH13/EX13.13/ii_13.sce | ddef35f39fbacfcfdd8d6bf782f56da6182d99b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 462 | sce | ii_13.sce | //Computation of Mutual and self inducatances
clc;
clear;
n1=600;
i1=2.5;
flux1=0.4*(10^-3);
flux2=0.8*(10^-3);
n2=2000;
tflux=flux1+flux2;
L1=n1*tflux/i1;
K=flux2/tflux;
M=n2*flux2/i1;
L2=((M/K)^2)/L1;
disp('H',L1,'The self inductance of coil 1= ')
disp('H',L2,'The self inductance of coil 2... |
cbbcb51d66667c2ce702a63e9cfa222ebd206994 | b9c6de66a61d6f9a57edaa44baf92266ccbab3db | /tests/poisson/poissrnd.tst | c37517174752f1bb321dff1d2cd26e83e5ce52d4 | [] | no_license | papriwalprateek/distfun-scilab | 81b3edef0af1d1908e05472dfb15b0a55f61571d | 82fd34521d1e6ebb6513773264b54a0d48f5f3f9 | refs/heads/master | 2016-09-03T07:08:47.605240 | 2013-10-13T05:53:43 | 2013-10-13T05:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,312 | tst | poissrnd.tst | // Copyright (C) 2012 - Prateek Papriwal
//
// 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_CeCI... |
3298eb343a5c9fa19554a0dcb4d48615a68b33c8 | d726fda1e6bcc44c7c104feae20ac65ec2752a90 | /kalman.sce | 574f3e203c64cbb812f5fb5ccdde41ef00f9e9ae | [] | no_license | Steve123er/ECE_209_Final_Project | 6251ec8ba8b80d9aed0cf7af71798ca325924e21 | 39c88a92f6de9904619c5fa8202a9336d0e14467 | refs/heads/master | 2020-04-11T17:40:43.709547 | 2018-12-20T02:38:26 | 2018-12-20T02:38:26 | 161,969,954 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | kalman.sce | //Adapted from Stack Exchange
// Signal Model
DeltaT = 0.1;
F = [1 DeltaT; 0 1];
G = [DeltaT^2; DeltaT];
H = [1 0];
x0 = [0;0];
sigma_a = 75;
Q = sigma_a^2;
R = 75;
N = 1000;
a = rand(1,N,"normal")*sigma_a;
// Kalman Filter
p0 = 100*eye(2,2);
xx(:,1) = x0;
pp = p0;
pp_norm(1) = norm(pp);
... |
dbbd1c5c2647a3e3db305b300dcf2290aa90cb81 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH10/EX10.2/10_02.sce | 180997073963e412a649109dbb9bdef0356685bc | [] | 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 | 665 | sce | 10_02.sce | mode(2);errcatch(-1,"stop");driver("GIF");//Chapter 10, Problem 2, figure 10.6
clc;
I=0.008; //total circuit current
ra=10; //resistance of instrument
V=100; //total p.d
Va=I*ra; //calculating voltage across moving coil instrument
... |
3d9c4637bc49050d43d5dbb6abcf6d763b2fa429 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH5/EX5.25/Ex5_25.sce | ec316f544642d84243067d8ef66fca269fd73e2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | Ex5_25.sce | //==============================================================================
// chapter 5 example 25
clc;
clear;
//input data
M1 = 202; //mass number
M2 = 200; // mass number
Tc1 = 4.153; // temperature in K
alpha = 0.5;
//formula
//m^alpha*(Tc)... |
0ef2f459bb2cf9858dba818140013acb4203b768 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH1/EX1.2/ex1_2.sce | 4e0f2f7576e93d6b49eb7aa53d7de7fa41b8e167 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | ex1_2.sce | // Exa 1.2
clc;
clear;
close;
// Given data
T1 = 25;// in degree C
T2 = 100;// in degree C
del_T = T2-T1;// in degree C
I_S = (2)^7 *5;// in nA
I_S = (1.07)^5*I_S;// in nA
disp(round(I_S),"The saturation current at 100 degree C in nA is");
|
32553fcac1b357abb042c8b4207f71f60f7a01c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH4/EX4.9/Ex4_9.sce | 05e9e59c4523c69145465f2d6a88acb34ccb711b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,590 | sce | Ex4_9.sce | // Example 4.9;parameter of primary side ,regulation and efficiency
clc;
close;
clear;
//given
format('v',6)
po=100;//watts
v1=200;//volts
io=1;//amperes
ocpf=po/(v1*io);//open circuit power factor
sinpf=sqrt(1-ocpf^2);//
im=io*sinpf;//in amperes
iw=io*ocpf;//current in amperes
rm=v1/iw;//ohms
xm=v1/im;//in ohms
vs=15;... |
5c3e52c0057962862f49e9018f6b1382bcdc0f4c | 1ce1887e462b7cb5484dcbde01974b0aac538107 | /editor/studio/config/Editor.sci | c703cbd7f91c732c6b2be61a92adf120582cbd3c | [] | no_license | FWGS/amxmodx-old-deprecated-dont-use-iwont-work-on-this-anymore-dont-even-ask | 06c66bf287f982662f6580f30651ae2e3d108c4f | 778f083c2fe50cf631a2179016b5401f45282367 | refs/heads/master | 2023-08-20T10:44:43.474458 | 2021-10-30T06:40:37 | 2021-10-30T06:40:37 | 422,802,785 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 24,014 | sci | Editor.sci | [default]
style=fore:clBlack,back:clWhite,size:8,font:Courier,notbold,notitalics,notunderlined,visible,noteolfilled,changeable,nothotspot
WordWrap=0
WordChars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
ClearUndoAfterSave=False
EOLMode=0
LineNumbers=False
Gutter=True
CaretPeriod=1024
CaretWidth=1
Ca... |
e67732d8e59609de836c818046174b873195f744 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.3b/eg5_3b.sce | ad672f663609c119f7250f558be01add3eab048d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | eg5_3b.sce | function result= hyper(N, M, n, i)
result = factorial(N)*factorial(M)*factorial(n)*factorial(N+M-n)/(factorial(i)*factorial(N-i)*factorial(n-i)*factorial(M-n+i)*factorial(N+M));
endfunction
r= 50;
n=100;
X=25;
disp(r*n/X , "Estimate of the number of animals in the region is") |
8e478c880b321989b2a427a870b2f65f557fc6eb | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH2/EX2.26/Ex2_26.sce | 05ce350d7565ed4173c30a8b571bedb6b715c58e | [] | 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 | 978 | sce | Ex2_26.sce | //CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 26 // read it as example 25 in the book on page 2.79
disp("CHAPTER 2");
disp("EXAMPLE 26");
//VARIABLE INITIALIZATION
A=100 //Amplitude in Amps
f=25 //frquency in Hz
a1=20 ... |
2805c240652cd50f1460c3dd2134f8b9d807727f | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH2/EX2.29/P2_29.sce | fc59af2a476dc3c22b69bc4a29d02c84e8052c4c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | P2_29.sce | //Example 2.29,Convolution using Tabular method.
clear;
clc;
x=[-2 0 1 -1 3];
h=[1 2 0 -1];
q=length(x);
w=length(h);
z=q+w-1;
y0=0;
for i=1:z;
y(i)=0;
for k=1:i;
if k>q
x(k)=0;
else
if (i-k+1)>w
h(i-k+1)=0;
else
y(i)= y(i) + x(k)*... |
72ad38807c55400625c115c2bd57beffa39cff24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH20/EX20.7/example20_7.sce | a68acd8c415dfc4577d57254a08c32df95d5b974 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example20_7.sce | p1=60;
t=8;
p2=9;
amt=20;
cost=0.08;
disp("Part a");
total=365*t*p1*cost/1000;
disp("Cost (in $) to operate the incandescent lamp for a year is"); disp(total);
disp("Part b");
total2=365*t*p2*cost/1000;
disp("Cost (in $ )to operate the fluorescent lamp for a year is"); disp(total2);
disp("Part c");
sav=tota... |
8bfb539faaa1c6057e0f1448c2bea6ea55a369bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH4/EX4.9/ex_4_9.sce | 726da7ed5f7d6740ff2601b31b84138a351281f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | ex_4_9.sce | // example 4.9
// caption :obtain the polinomial of degree 2
x=[0 1 3];
f=[1 3 55];
n=2;
// 1) iterated interpolation;
[L012,L02,L01]=iteratedinterpol (x,f,n)
// 2) newton divided diffrences interpolation;
P2=NDDinterpol2 (x,f) |
4b643c185aa8d713696213f6d5c6fdde6613a327 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH5/EX5.2.2c/examplesec5_2_2c.sce | 8a64c37258668e1be41d2b25183354eb2741ce3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | examplesec5_2_2c.sce | //Example sec 5.2.2 c
//Routh array in scilab
clear;clc;
xdel(winsid());
s=poly(0,'s')
p=poly(0,'p')
C=s^5+s^4+2*s^3+2*s^2+3*s+5
//substituting "s=(1/p)" in B
//The resulting characteristic equation is
C1=5*p^5+3*p^4+2*p^3+2*p^2+p+1
routh_t(C1)
|
0435e7f072fde1c8a761c0dc44af633c120d4dd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH3/EX3.17.17/ex_3_17_17.sce | a15de34ca825c723cc78fd2a591a8c77a4d0b83d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | ex_3_17_17.sce | //Chapter-3,Example3_17_17,pg 3-41
n=50 //frequency
V=10^-3 //volume of the specimen
//Area of B-H loop
A=0.5*10^3*1
P=n*V*A
printf("Hysteresis power loss =")
disp(P)
printf("Watt")
|
cfa81f00d6375edecae7abb4a7aafaabbf53dee3 | 2ab69b2e27abeee6e8e8687cbdba5a5cf0b95760 | /ALU.tst | 590804f299d67560f441e1624595f620181ca54c | [] | no_license | KaustubhMiglani/8-bit-Arithmetic-and-Logic-unit | 3f3c1361aab5abb8abe5ded5579effd6fb5d87f4 | 4f80996785d9b5a535d5133c4ecc6abd210ab8b0 | refs/heads/main | 2023-01-12T01:37:21.919870 | 2020-11-10T08:29:40 | 2020-11-10T08:29:40 | 311,590,772 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,871 | tst | ALU.tst | load ALU.hdl,
output-file ALU.out,
output-list X%B1.8.1 Y%B1.8.1 opcode%B3.3.3 US Z%B1.8.1 OF%B3.1.3 EQ%B3.1.3;
set X %B00000100,
set Y %B00000100,
set US 0,
set opcode %B000,
eval,
output;
set X %B11110000,
set Y %B00111100,
set US 0,
set opcode %B000,
eval,
output;
set X %B00000100,
set Y ... |
02e784274b51812528e76a49289fd34bcb2d0c5e | 58b5c31b2c6a551fee6e4b0f9234aa938c1e9957 | /PR Regelungsrechnik - Versuch 3/Scilab/Luft-Temperatur-Regelstrecke.sce | 50838f6df979a0343f1457c21f0681739473ee8b | [] | no_license | unizeug/PR_Regelungsrechnik_-_Versuch_3 | 51fd157da10f0dc69a81e1e6e2e14506d8be1d97 | aa2c957243120db8864f6d53d44f9610b66cb69b | refs/heads/master | 2016-09-05T22:54:29.931828 | 2012-07-13T09:20:28 | 2012-07-13T09:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,206 | sce | Luft-Temperatur-Regelstrecke.sce | // Regelungstechnik Versuch 3
// Boris: cd "/Users/borishenckell/Documents/eclipse workspace/PR_Regelungsrtechnik_-_Versuch_3/PR Regelungsrechnik - Versuch 3"
// Dirk:
//cd "/media/daten/workspace/PR_Regelungsrechnik_-_Versuch_3/PR Regelungsrechnik - Versuch 3/Scilab/"
s = poly(0, 's');
Kpid = 1.355; // ... |
f0cdd1ce0fc7b5cfb921940bf123a3d1b9d5be70 | 77d0a2e0a8687fe7a62388a1cfed0452ef663190 | /wykres_a_sigma_r.sci | 3e014dac04c61da6463b3ed391476e33ae7135e0 | [] | no_license | chunchunalo/brownian-motion | 8edbbdea6e09c856d5f905412f91b62f20891948 | 4293abc773fb1d22b77839850cfc130af992c273 | refs/heads/master | 2022-12-07T20:40:57.843726 | 2020-08-20T22:46:19 | 2020-08-20T22:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sci | wykres_a_sigma_r.sci | exec("simulation_a.sci", 0);
for i=1:n
y(i) = stdev(vectorx(:,i)).^2 + stdev(vectory(:,i).^2).^(1/2);
x(i) = i;
end
plot2d(x, y)
xgrid(16)
xtitle('Aleksander Skup, N = 1000','i-ty krok', 'σr położenia cząstek');
|
91516beb7881e1cb525652196c75b00ba7436e2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH10/EX10.3/10_3.sce | ec1dfb3aa76d5f5362868b299bbf74929a52b9ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | 10_3.sce | clc
//Initialization of variables
m1=5
m2=2
cp1=0.248
cp2=0.203
T11=300 //F
T12=100 //F
P=10 //psia
Pi=20 //psia
Pf=15 //psia
//calculations
T2=(m1*cp1*T11 + m2*cp2*T12)/(m1*cp1+m2*cp2)
n1=m1/28
n2=m2/44
n=n1+n2
P1=P*n1/n
P2=P*n2/n
dS=m2*(cp2*log((T2+460)/(T12+460)) - 35.1/778 *log(P2/Pi)) +m2*(cp2*lo... |
5d8645f8936e84df75f6dda55fefa64ca59d8f5f | 61129043aed87983b640a33b1c260316043fa570 | /drawing/primitives/frustum_cone.sci | 938d5f2310a5ad9a1895e1238a5cf2724154c9c4 | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,507 | sci | frustum_cone.sci | // =============================================================================
// gfx4scilab - drawing
// dgerod@xyz-lab.org.es
// =============================================================================
function [FrustCone] = dw_FrustCone_create(h, rb, rt, T)
FrustCone = 0;
if rt_ishomog( T ... |
134d2a806446fe12c2b542d4fd231a048ee82ffa | be79bec46a532a2d059c03f59f67a1f501c2e371 | /test/testcases/directed/log2.tst | 768d1ff886cdcd53082f089cb0a7ea9782bd613d | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sycomix/optimized-routines | 5987a6a4cab10c469cc147d1d8e667fd4d8ae94a | e875f40f0b2ad71c5381a431e6d71829770c7ab7 | refs/heads/master | 2020-03-30T22:15:08.212539 | 2018-09-18T09:36:04 | 2018-09-18T09:36:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,791 | tst | log2.tst | ; Directed test cases for log2
;
; Copyright (c) 2018, Arm Limited.
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/license... |
33982dac44bf33bd80c5cf434f07462165070115 | f5bb8d58446077a551e4d9a6461a55255db523fe | /zero_de_funcoes/calcnum4.sce | 02844078e0e68060c419b23384f285140052f0a2 | [] | no_license | appositum/numerical-calculus | 6be1a9990a1621c705af6ba5694cf8c7b891d06e | 7759e74ce9ce5c5826f96be7de84a2f7ecb97c91 | refs/heads/master | 2021-07-19T18:19:09.336819 | 2018-11-27T21:52:36 | 2018-11-27T21:52:36 | 143,060,426 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | calcnum4.sce | function y=f(x)
y = log(x-1) + cos(x-1)
endfunction
// secante(f, 1.1, 5, 0.0001)
x = 1.02:0.05:5
plot(x, f(x)) // [1, 1.5]
secante(f, 1.1, 2, 0.0001)
|
cf7c0c428dabfe9d2c4dd1e53b3f59f1622042e1 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Aimbotz_R6.sce | 23eae21287ca064c412c76dfa66cdc06505aed65 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44,228 | sce | Aimbotz_R6.sce | Name=Aimbotz_R6
PlayerCharacters=csplayer
BotCharacters=csbotz harmless.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=csplayer
AddedBots=csbotz harmless.bot;csbotz harmless.bot;csbotz harmless.bot;csbotz harmless.bot;csbotz harmless.bot;csbotz harmless.bot;csbotz harmless.bot;csbotz harmless.bot;csbotz harmless.bot... |
d332f1d31abcbf1200845a4cd4ce941b78c8a2a0 | 4dd8f6235eafcc0034bd1569f4f1226cc511f4bc | /data/EXAM1.TST | ae6c9b13f77be3a29d48985aeaeece9578b3f1e9 | [] | no_license | bravesoftdz/PowerTests | 72b81e56a43ec6ab5e95cdf681d8976269146436 | 0b34c5df4c27a9a58092c649ff2e6b4a877573ec | refs/heads/master | 2021-04-15T12:21:35.314727 | 2017-01-16T15:18:25 | 2017-01-16T15:18:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | tst | EXAM1.TST | # PowerTests test file
# (c) VMA soft
# Automatically generated file. Do not edit !
.path "MEE1"
.testname "Examen M.E.E. 1"
.domain "M.E.E." "Masurari electrice si electronice"
.time 60
.random 10
.category configuratii_ao 1
.category osciloscop_esantionare 1
.category probleme_opturi 1
.category probleme_usoare 1
.c... |
7692ce05d12a76d71ed038721cef6e3b10cd52cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH6/EX6.13/Ex6_13.sce | e602d2229f1b03dd50d8f534b92a65b7ecadee19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,251 | sce | Ex6_13.sce | //Example 6.13//
a=514;//K //Kelvin //Temperature
b=273;//K //Kelvin //Temperature
apt=a+b
mprintf("apt = %i K for eta = 10^13.4P",apt)
c=696;//K //Kelvin //Temperature
spt=c+b//for eta=10^7.6P
mprintf("\n spt = %i K",spt)
i=(10^13.4); //P //Pascal //preexponential constant
j=(10^7.6);//P // Pascal //preexpone... |
9894cc9363d7425fadb53b2ea08c18e8cd7abf16 | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP4/biseccion.sci | d0f2e498df7f7566d8a5fd6bd3e1bbe5b9741dc8 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sci | biseccion.sci | function [x,h] = biseccion(f,xmin,xmax,kmax,tol)
if(xmax==xmin) then
disp("No se puede aplicar el metodo, intervalo=0.");
return;
end
a=xmin;
b=xmax;
h=zeros(1,kmax);
i=1;
while(i<kmax)
x=a+(b-a)/2;
h(1,i)=abs(f(x));
i=i+1;
if (f(x... |
0285a1530ec46f1fd1a697e607cb2fbfb3f3fad8 | e9affefd4e89b3c7e2064fee8833d7838c0e0abc | /aws-java-sdk-core/src/test/resources/resources/profileconfig/BasicProfile2.tst | 5a8ed7229a3e929955d7887c56fb586b2d061379 | [
"Apache-2.0"
] | permissive | aws/aws-sdk-java | 2c6199b12b47345b5d3c50e425dabba56e279190 | bab987ab604575f41a76864f755f49386e3264b4 | refs/heads/master | 2023-08-29T10:49:07.379135 | 2023-08-28T21:05:55 | 2023-08-28T21:05:55 | 574,877 | 3,695 | 3,092 | Apache-2.0 | 2023-09-13T23:35:28 | 2010-03-22T23:34:58 | null | UTF-8 | Scilab | false | false | 81 | tst | BasicProfile2.tst | [default]
aws_access_key_id = accessKey2
aws_secret_access_key = secretAccessKey2 |
0063fd69fc70ccc35dd4e841fd50e92e2b612645 | c90039f74887835096a93884110d643c4823e530 | /doc/oficial/dados para treinamento RNA/RNA_ANALISE_TECNICA/_util.sce | 8e2a79e18f0d0dd5c985d686795c1c1a920bafca | [] | no_license | igorlima/CellInvest | da991366b329b5d8021e9b949d7b726023489ec8 | c5411247e504b8a8d0ad77d32d41bbd2aee39930 | refs/heads/master | 2020-04-06T03:40:05.614164 | 2012-10-23T12:58:20 | 2012-10-23T12:58:20 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 4,414 | sce | _util.sce | N_ACOMPANHAMENTO = 10; //Condicao para acompanhar o erro da epoca
N_QUEBRA_DE_LINHA = 50; //Condicao para inserir quebra de linha
TAXA_APRENDIZAGEM = 0.2;
RNA_AJUSTE_DE_PESO = 0.1;
NUMERO_DE_EPOCAS = 600;
MAXIMO_LINHA_ARQUIVO = 99999;
// Método que retorna os coeficientes da regressao linear
//
// As coordenadas de en... |
ff062845afa79f393fb13e78f3e2a3fd4e00c0c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH2/EX2.17/Ex2_17.sce | 0e394e4777a31a4f1f727001618f5318ae7186f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Ex2_17.sce | //Example 2.17: Reduce expression using Boolean laws
clc // Clears the console
disp('(x + y)(x + y +z'') + y''')
disp('=(x + y) + y''')
disp('= x + (y + y'')')
disp('= x + 1')
disp('= 1')
//the reduced expression is displayed.
|
a89f100b7e75b051d68bcdf9e85c42463b8ed2eb | e85969371a3a944826b152dfd4d87dc64af8fd84 | /ssbmod/ssbmod.sci | 9752051a71ee5258c8655f3c1e70f11abe10de9c | [
"CC0-1.0"
] | permissive | virajshah978/Comm.Toolbox.Scilab | 385ccb9279c0f077c6731f83eaf1e09e7ebf6bad | 854278ab4b11218756e3f1357e4850b694476943 | refs/heads/master | 2021-01-17T05:22:47.726178 | 2016-02-01T20:42:22 | 2016-02-01T20:42:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,248 | sci | ssbmod.sci | //Created by: Kartik Patel
// Indian Institute of Technology, Roorkee
//Date : 28 Jan, 2016
//License : Creative Commons Attribution-ShareAlike 4.0 International License
function[y]=ssbmod(x, Fc, Fs, varargin)
// y = ssbmod(x, Fc, Fs, init_phase, 'upper')
// This function will generate the sing... |
f4622f7b23015eaf597ccf33f7288f2d113ace9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3710/CH8/EX8.3/Ex8_3.sce | c796b705f9b623e6fdee14af124482dc7c65da62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex8_3.sce | //Example 8.3, Page Number 370
//Single mode guide dimensions
clc;
n1=1.48//refractive index
n2=1.46//refractive index
l=1*(10**-6) //Wavelength in meter
//from equation 8.16
d=l*(1/(2*sqrt((n1**2)-(n2**2))))
disp("meters",d,"The Waveguide core thickness must be less than")
|
594117ef701615d52b3c4097870515a6c83f56e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH2/EX2.26/26.sce | 04d3dc21c7176ec08c394483d04e2d80a7464345 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | 26.sce | clc
// Given that
theta = 10 // Angle in second
mu = 1.4 // Refractive index of soap film
Beta = 0.5 // Fringe width in cm
// Sample Problem 26 on page no. 100
printf("\n # PROBLEM 26 # \n")
printf("\n Standard formula used \n Beta = lambda/(2*mu*theta)\n")
lambda = (2*mu*Beta*1e-2*theta*(%pi/(60*60*180))) // ... |
9f785d67936c8f2d43f2a683d53c75fcca757f9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.3/EX17_3.sce | 2c6567faad2615abf23ad398a142d7d94f7d3ab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | EX17_3.sce | clc;funcprot(0);//EXAMPLE 17.3
// Initialisation of Variables
Db=0.6;.....................//Diameter of the brake wheel in m
d=0.026;......................//Diameter of the rope in m
W=200;.......................//Dead load on the brake in N
S=30;......................//Spring balance reading in N
N=450;............ |
48a46e79ba1a4f58229d0f8a312b2d86339284f7 | c5a5b51d0d9d4bb57cc4508c2ffc453ccf47aeba | /gflineq/gflineq.sci | c89a83fc0b0e64c86efffd48330444228dd63474 | [] | no_license | PolaPriyanka/ScilabCommunication | 2adca45f772b2ca6a602e10e4801576eeb0da33d | 5b5c704e591f20be6944800a1b4b25cf06f56592 | refs/heads/master | 2021-01-01T18:22:48.761766 | 2015-12-16T07:26:29 | 2015-12-16T07:26:29 | 42,721,104 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,744 | sci | gflineq.sci | function [x, sflag] = gflineq(a, b, p)
// GFLINEQ finds a solution for linear equation Ax = b over a prime Galois field.
// [X, SFLAG] = GFLINEQ(A, B) returns a particular solution (X) of AX=B in GF(2).
// If the equation has no solution, then X is empty and SFLAG = 0 else SFLAG = 1.
//
// [X, SFLAG]= GFLINEQ... |
48b76a75f7df95f1b15a0813967a2f928a7ac8cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH11/EX11.1/ex_11_1.sce | 9623d4fc2700a152c06545ff5b2a2daa565418bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | ex_11_1.sce | //example 11.1//
clc
//clears the screen//
clear
//clears already existing variables//
for (i=0:15)
disp('word number to binary address is as follows:')
disp(i)
//displays the word number//
t=dec2bin(i);
//converts it into memory address//
disp(t)
//displays binary address//
i=i+1
end |
c9a9c72c832d8ef9e783e830443619be20822f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH2/EX2.2/eg2_2.sce | e3a892926e9af73d2524b6bc82a7846b873fa2bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | eg2_2.sce | clear;
clc;
//i1=p/v
//line loss=2i^2*r
//vol of conductor required v1=2*l*a1
a=1/6; //a=r1/r2
b=1/a //b=a2/a2
//v2=3*l*a2+ 0.5*l*a2
//v2/v1=3.5*l*a2/2*l*a1
c=3.5/(2*b); //c=v2/v1
printf("the ratio of the volumes of the conductors is:%.2f",c);
|
46c625960b985acca076f641cb35b14ef296dd54 | c6515791fea5828996a3924a74b5358852bc69f0 | /ap4_metodo_potencia/Metodo_potencia_invertido.sci | 8a9c8b29176df6ef129967ccc24640d80a6504ce | [] | no_license | fernandascovino/fgv_math_modeling_3 | 366f05faa9fc657473acad8c1061b7c6feed8d4a | 11853e0bf2c05ad2df4fb369dfa922fc50c68ceb | refs/heads/master | 2023-02-24T23:03:18.431724 | 2021-01-31T18:08:16 | 2021-01-31T18:08:16 | 334,722,683 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sci | Metodo_potencia_invertido.sci | function [lambda,v] = Metodo_potencia_inverso(A,x0,epsilon)
A = inv(A) //usamos a matriz inversa
[lambda,v] = Metodo_potencia(A,x0,epsilon)
//lambda é autovalor de inv(A), então 1/lambda é autovalor de A
lambda = 1/lambda
endfunction
|
0f063040f5217f8a0ff81f2382309778f07599c8 | affb43e91a6a0cac39356ff1c5f9f5154b70a4a2 | /FFT/Circular_shift_FFT.sce | 5ae5d2f2d188c8fae433fa77f3f752a1584f35f9 | [] | no_license | kathan-shah99/Digital-signal-processing | 87fb0615a98a764c546681ffb18fea32d69caa6d | 3d5ad3553152a2b57f98a3b1a26756ebca37d7bc | refs/heads/main | 2023-04-07T06:53:06.263109 | 2021-04-07T03:57:52 | 2021-04-07T03:57:52 | 355,397,284 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Circular_shift_FFT.sce | clc
clear
x = [1 2 3 4 5 6 7 8 9 10]
y = x
for i=1:length(x)-1
y(i+1) = x(length(x)-i+1)
end
disp("before Circular-Shift")
disp(x)
disp("After Circular-Shift")
disp(y)
z1 = fft(y)
z2 = fft(x)
z1_r = real(z1)
z1_i = imag(z1)
z2_r = real(z2)
z2_i = imag(z2)
subplot(221)
plot2d3(z1_r)
title("Z1 Real")
xlabel("in... |
1ffdba47d0fbb0fbcc8de39627ff1d9ee92235f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.7/ex4_7.sce | 92e5204ab988847e2d593216f687cfb82f5f62c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | sce | ex4_7.sce | // Exa 4.7
clc;
clear;
close;
format('v',8)
// Given data
I_E = 3;// in mA
I_CO = 10;// in µA
I_CO = I_CO * 10^-3;// in mA
Alpha = 0.98;// unit less
I_C = (Alpha*I_E) + I_CO;// in mA
disp(I_C,"The collector current in mA is");
I_B = I_E - I_C;// in mA
disp(I_B,"The base current in mA is");
|
1a3f1976310e98500b1760787c0d46936b4fbbb3 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.17_1.tst | dac8680aeeb14c8df754d3a5f1816d8ff85e3e01 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 567,099 | tst | 5.17_1.tst | 17 937:1 952:1 982:1 1632:1 2779:1 3184:1 3250:1 3764:1 4860:1 4893:1 5223:1 5365:1 5908:1 6067:1 6357:1 6610:1 6754:1 7006:1 7498:1 9194:1 9337:1 9398:1 9489:1 9492:1 9630:1 11032:1 11291:1 11358:1 11517:1 11868:1 12492:1 12523:1 12906:1 13396:1 13881:1 14154:1 14210:1 14399:1 14805:1 14851:1 15210:1 15253:1 16504:1 1... |
ddb326bffde9f0da2176cda7976f1e80f089b397 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH3/EX3.7/3_7.sci | ecc72e5c1053c2052bfb6c72a1fe232f59bf2703 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sci | 3_7.sci | //3.7
clc;
V=20;
A=20*10^-3;
Rv=10*10^3*20;
Rx=(V/(A-(V/Rv)))/1000;
printf("The resistance=%.2f Kohm",Rx)
E_total=2.5+2.5;
printf("Maximum possible error=%.0f percent",E_total)
|
e1e4e381dd02708821bddc8e9a71f5ec9b05e1ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH9/EX9.3/Ex9_3.sce | 98473f223e685eacb7bf7254e10fb0e29a0b2db9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_3.sce | //Example 9.3:
clc;
clear;
close;
//given data :
Ih=0;//in A
Vi=100;// in V
Vm=200;//in V
Rl=100;//in ohm
theta1=asind(Vi/Vm);//firing angle in degree
ca=180-theta1;//conducting angle in dehree
format('v',4)
disp(theta1,"(i) firing angle is ,(degree)=")
format('v',5)
disp(ca,"(ii) conducting angle is ,(degree)=")
av=(... |
d336ea2df36c83dcadee5386df63b874ecdbc593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.9/6_9.sce | 6aced8aa4cac6b0db78d6359112e7a4d2aaf4329 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 527 | sce | 6_9.sce |
clc
//initialisation of variables
Q= 450 //gal/min
w= 6.24 //lb/ft^3
f= 0.005
l1= 1000 //ft
l2= 2000 //ft
r1= 1.6
r2= 4.4
r3= 0.8
r4 = 12.85
h1= 59.1 //ft
h2= 40.19 //ft
v= 1.2 //ft/sec
f= 0.0056
l= 10 //ft
//CALCULATIONS
Q1= Q/(w*60)
Q2= (r1+sqrt(r1^2+4*r2))/2
Q3= Q2-Q1
Q4= (-r3+sqrt(r3^2+4*r4))... |
a3ed83bd5f1cacaf5254e5ecd77f30eb7fc1c5da | 9835e6a99ef801fdd06a9193c1846cae987d740a | /Fonctions/colorRange.sci | b0473af268ba3cb399fb32083744bb6803383521 | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 532 | sci | colorRange.sci | //Fonction to isolate a specific color range
//imgsrc : The source image to analyse
//rmin : the minimum color
//rmax : the maximum color
function render=colorRange(imgsrc,rmin,rmax)
//The size of the image
[wd,he]=size(imgsrc);
//Create an empty image
render = zeros(wd,he);
//For each lines
for... |
434f24cf0a7bcbb05375cb3248691ca029f09f8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH2/EX2.35/exa_2_35.sce | 061c0dab838e0b192c78fce2ffc1be17ee70d50c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_2_35.sce | // Exa 2.35
clc;
clear;
close;
// Given data
N_A= 4.4*10^22/10^8;// in /m^3
N_D= 10^3*N_A;// in /m^3
ni= 2.5*10^13;// /cm^3
Vt= 26;// in mV
Vt= Vt*10^-3;// in V
Vj= Vt*log(N_A*N_D/ni^2);// in V
disp(Vj,"The junction potential in volts is : ")
|
f635ab186c1e33452013c1c4757832f3a6e5d792 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH15/EX15.6/Ex15_6.sce | e99e232a3f0f0ace80169166b337d9f147822a31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 884 | sce | Ex15_6.sce |
// Examle 15.6
po=5*746; // O/p power
n=0.875; // Efficiency of motor at no load
pin=round(po/n); // I/p power
p1=pin-po; // Total losses
pm=0.05*p1; // Mechanical losses
pe=p1-pm; // Electrical losses
pd=po+pm; //... |
3ef61a110b7a3a28d9faf33be3894f0cdcceae4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1268/CH3/EX3.6/3_6.sce | 1292494e0958cebe83dd70164b6197d482ee5ccd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | 3_6.sce | clc;
disp("Example 3.6")
pgrad= 12500; // pressure gardient in dynes/cm^3
d=0.445; // diameter in metres
mew=8; // viscosity in poise
Q= %pi*pgrad*d*d*d*d/(128*mew);
disp(" Volumetric flow rate is ");
disp(Q);
disp(" cc/s");
|
c986014e69ac7c8214d747da194cbaee1b3be38a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH6/EX6.9/exa6_9.sce | 6bdae90ce466ee0ed8454e5e2784022e986813dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 903 | sce | exa6_9.sce | //Exa 6.9
clc;
clear;
close;
//given data
K=0.0278;// in W/mK
rho=1.092;// in kg/m^3
miu=19.57*10^-6;// in kg/ms
Cp=1007;// in kg/kg degree C
epsilon=0.9;
sigma=5.67*10^-8;
d=75+2*25;// in mm
d=d*10^-3;// in meter
T_s=80;// in degree C
T_infinite=20;// in degree C
T_f=(T_s+T_infinite)/2;// in degree C
T... |
a2d1ffd7d7f84575b7af5c9e1a92a260dfe7cdb6 | 4ce7e3abde40afbac45b42e735d8099cbfefb1ea | /animations.sce | 5010c98c8a44cc1d2713c1447e014cc3f8c05478 | [] | no_license | rakotoshmu/Ising | 48319a622d98840dd47cfa515bb8a3f0d3a98a4a | 8d22ec05aab9843af88212151525913dd223a339 | refs/heads/master | 2021-05-14T07:30:58.728852 | 2018-01-13T13:59:50 | 2018-01-13T13:59:50 | 116,267,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,780 | sce | animations.sce | /*************************
Animations des algorithmes
*************************/
N = 20; //taille du réseau
T = 2; //température sur-critique pour que les algorithmes de couplage terminent
J = ones(N,N,2)/T;
h = zeros(N,N)/T;
n1 = 10;
n2 = n1 * N^2;
n3 = n2;
printf("Temps d''exécution :\n");
//Échantillonneur de Gib... |
d4d05e6063b5c67ce9488746f1314df18687daa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH8/EX8.2.2/8_2_2.sci | c4ae6b7119005a0bf72b4fb0c2c1d011f1522cda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sci | 8_2_2.sci | //page 238
clear;
close;
clc;
A=[1 0 1 6 2;0 1 1 0 3];
b=[8 9]';
c=[0 0 7 -1 -3]';
lb=[0 0 0 0 0]'
ub=[];
[x,lagr,f]=linpro(c,A,b,lb,ub);
disp(x,'New corner:');
disp(f,'Minimum cost:');
//end |
150baa3e48d9c5fec96e2ec320aaae86e741f9bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.47/47.sce | 75b6f70a234ff456056adf358d556e2dee87ef96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 930 | sce | 47.sce | clc
//Simple cycle
p2=4; //bar
p1=1; //bar
T1=293;
n_compressor=0.8;
n_turbine=0.85;
ratio=90; //Air Fuel ratio
C=41800; //kJ/kg
cp=1.024;
p4=1.01; //bar
p3=3.9; //bar
y=1.4;
e=0.72; //thermal ratio
T2=T1*(p2/p1)^((y-1)/y);
T2a=(T2-T1)/n_compressor + T1;
T3=C/cp/(ratio+1)+471;
T4=T3*(p4/p3)^((y-1)/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.