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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8ea01f76292090fae0f2c84700e01a967c272b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH8/EX8.9/ex8_9.sce | 9e4d6625cf47376dc67a16ae4f4fb5c0ab445ecb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | ex8_9.sce | clc;
pa=14.7; //atm pressure in lb/in square
dg=62; //density in lb/ft cube
h=6/144; //in ft cube/in square
p=pa+(dg*h); //calculating pressure
disp(p,"Pressure in lb/in square = "); //displaying result |
496c2505df8dc67f622e2dbd10e79d006347f3c7 | 76d58c93412c99ad3e8468ca843883add5b16d43 | /simple_network.sci | b81a991ac284e05b3f196970ba811f1298ff90b1 | [] | no_license | NnataKha/Mixed-plus-minus-interaction-conflict-model | cd6daadc26e6189720f088adf9a739072125f1fa | a02cf4c1c21dc5559721c219c93ad706f3af30be | refs/heads/master | 2020-03-16T18:52:00.884504 | 2018-05-10T11:24:44 | 2018-05-10T11:24:44 | 132,889,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,426 | sci | simple_network.sci | clear
n = 4;
//agents' distributions
p = rand(1,n);
r = rand(1,n);
//r = [0.03053683050646518, 0.11073078001924284, 0.13514332170253243, 0.027459361426200053, 0.07190506521083669, 0.18616162768783842, 0.21079054986970286, 0.22727246357718153];
//p = [0.0058629416842367315, 0.21299083861261242, 0.03306239280105159... |
b48426f21a5e0096fb54091b9c87ed86948b356f | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.12/exa5_12.sce | 67f2c4ea216f07cde97ac9e2694ca0d8b9c486d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 202 | sce | exa5_12.sce | // Example 5-12
// Constructing Routh array in scilab
clear; clc;
xdel(winsid()); //close all windows
mode(0);
s = %s;
H = s^4 + 2*s^3 + 3*s^2 + 4*s + 5;
routh_t(H) // display the routh table
|
624225a35d2451052d6e08b481eec431ff53a042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH25/EX25.1/Example25_1.sce | 536d0da1aba3afa70833272d0cb76336ede4b91c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sce | Example25_1.sce | exec('electrostatics.sci', -1)
//Given that
E = 150 //in N/C
d = -520 //in meter
//Sample Problem 25-1
printf("**Sample Problem 25-1**\n")
W = E*(-e)*d
deltaU = -W
printf("The change in potential energy is %eJ", deltaU) |
645d449a548cc5dae7616528ec283cc3265cf82c | 3db3badc27a4acc92e8b1c74656371905a06e33f | /Estimativa_de_Público_-_Eduardo_Carneiro_-_113149505.sce | 0032eba93babcbd44be06b5888ceff0442c68ff5 | [] | no_license | eduardo-carneiro/EstimativaDePublico | 5569926fb6a22827d776f55e2047a577655fd09d | 4824766605aeb6d3e459330978cf2922e3251b4d | refs/heads/master | 2021-08-19T16:55:47.577034 | 2017-11-27T01:14:39 | 2017-11-27T01:14:39 | 112,131,744 | 0 | 0 | null | 2017-11-27T01:23:55 | 2017-11-27T01:23:54 | null | UTF-8 | Scilab | false | false | 7,774 | sce | Estimativa_de_Público_-_Eduardo_Carneiro_-_113149505.sce | // MÉTODO DE MÍNIMOS QUADRADOS
// EXPECTATIVA DE PÚBLICO
// CÁLCULO NUMÉRICO - 2017.2
// ALUNO: EDUARDO CARNEIRO
clear
function[] = minQuad_3()
// h é uma matriz que contem os vetores h1 (coluna de 1), h2 (coluna de valores do eixo x), h3 (coluna de x^2)e h4 (coluna de x^3)
... |
e42f9ae2db762b15e2d1ee91cf050ecda07096e0 | 3cebec609a7a9400f632d5c0cfb6261beb898ba4 | /NRZ manchester.sce | 18ef4357c3a0478cf226f551e46ef9d67bad69b0 | [] | no_license | dikshitakambri/scilab-programs | 93cb5aea24bd53377f73cd394cb742294382796e | 61172a7301fd49b5e69f2da53280a1a22a34ee1d | refs/heads/master | 2023-01-09T06:47:38.704641 | 2020-10-31T12:44:12 | 2020-10-31T12:44:12 | 308,216,078 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | sce | NRZ manchester.sce | //NRZ MANCHESTER FORMAT
close;
clc;
x=[0 0 1 0 1 1 0 0] //Data Stream
z=0; //Starting value on x axis
for i=1:length(x)
t=[z:1:z+1] //Plot range on x-axis (One bit period)
t=[z:0.5:z+0.5] //Plot range on x-axis (first half bit period)
subplot(2,1,1)
a=gca();
a.data_bounds=[0,-1.5;le... |
7b69ed10354e2678ce8ca5ab3b68e985f3f2a256 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH21/EX21.4/21_4.sce | 77c6fdb28887873f117662b41b86c9a5a95453f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | 21_4.sce | //Example 21.4
//Parallel Gauss-Seidel Method
//Page no. 730
clc;close;clear;
A=[3,2;6,2];
B=[2;3];
x(1)=1/4;
x(2)=1/5;
e=0.002;
old(1)=x(1);
old(2)=x(2);
new(1)=old(1);
new(2)=old(2);
printf('\t\tProcess 1\t\tProcess 2\n Itr\t\told\tnew1\t\told2\tnew2\n\n')
printf(' %i\t\t%g\t%g\t\t%g\t%g\n',0,old(1),new(1),old(2),n... |
7f1430019fc003af4170649154539ea9fff0d4ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH5/EX1.5.3/Ex1_5_3.sce | a481050baedc5d489fb59c739fc48374422f13c2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | Ex1_5_3.sce | //Section-1,Example-3,Page no.-AC.440
//To predict tensile strength parallel to fibres.
clc;
Q_f=3200*10^6
E_f=230*10^9
Q_m=60*10^6
E_m=2.4*10^9
V_f=0.4
Q_fu=3.20
e_f=Q_f/E_f //faliure strains of fibres
e_m=Q_m/E_m //faliure strains of matrix
Q_m=E_m*e_f
Q_cu =((Q_fu*V_f)+((Q_m*(1-V_f))))
dis... |
7e5ef550acedb28349afdcaea59f8ee5fe385982 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH29/EX29.8/29Ex8.sce | 8a90d05fe7f78ff85c0c4ef371d6b0b51a0cf7d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 544 | sce | 29Ex8.sce | //Chapter 29 Ex8
clc;
clear;
close;
facevalue=25;
premium=5;
brokerage=1/4;
shares=88;
rateDividend=(15/2)/100; //rate is in percentage hence divided by 100
investment=2662;
cost1share=facevalue+premium+brokerage; //cash required to purchase Rs.100 stock
costshares= cost1share*shares;
facevalueAllShar... |
de8619634524cf8178c401fa697939b2d3414ccd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2657/CH2/EX2.6/Ex2_6.sce | 0766ac5629b70eebf8f8fed0223535b09ae1185c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 895 | sce | Ex2_6.sce | //Calculations on Otto cycle
clc,clear
//Given:
P1=1 //Pressure at 1 in bar
T1=15+273 //Temperature at 1 in K
r=8 //Compression ratio
Q1=1000 //Heat added in kJ/kg
cv=0.718 //Specific heat at constant volume in kJ/kgK
g=1.4 //Specific heat ratio(gamma)
//Solution:
//Refer fig 2.23
//(a)
P2=P1*(r)^g //Pressu... |
c6ae8b383c6d5a331f4a757494caaa56648a2c14 | 253e09cf7efdbfda8dd6a7d62523e0623a6307ad | /scr/test2.tst | 1eab8c05c24893a719561ee34338bdc0cc960ea6 | [] | no_license | GOodCoffeeLover/OSI_2 | f4fdd83eef9637eced3150cd4789cdd82af2ae8f | 742950885333270ead6b0376c0cad8c33a02ce12 | refs/heads/master | 2023-04-12T23:55:37.597543 | 2021-03-05T08:07:31 | 2021-03-05T08:07:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | tst | test2.tst | 'second test file'
i write text with many spaces.
Space Space Space.
|
54b4dc1aafeac761fe5225c930b2a6c1d0992663 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH29/EX29.5/Ex29_5.sce | de284abbe45bc29a42a1c70bc56381724f372aa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,202 | sce | Ex29_5.sce | //Example 29.5
h=6.63*10^-34;//Planck's constant (J.s)
lambda=500*10^-9;//Wavelength (m)
p=h/lambda;//Momentum of the photon (kg.m/s)
printf('a.Momentum of the visible photon = %0.2e kg.m/s',p)
m=9.11*10^-31;//Mass of an electron (kg)
v=p/m;//Velocity of the electron (m/s)
printf('\nb.Velocity of the electron = ... |
136a3c4e44511e018abb2e1279323e07f97d57ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH26/EX26.3/Example26_3.sce | 22079f94e204cb6a25e87cad6a83204c42d6cd31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | Example26_3.sce | //Given that
C1 = 3.55 //in uF
Vo = 6.30 //in Volts
C2 = 8.95 //in uF
//Sample Problem 26-3
printf("**Sample Problem 26-3**\n")
qT = C1*Vo //Total charge
q1 = qT*C1/(C1+C2) //in parallel
V = q1/C1
printf("The final potential difference between each capacitor is equal to %fV", V) |
3d573848b694efe78087312132599cc4276a9f07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.18/Ex4_18.sce | 8029975041bcc8ffd2b67600e477bca3560afc52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | Ex4_18.sce |
//calculate the current
C=25e-6;
V=200
f=60 //frequency half
f2=120 //frequency doubled
Xc=1/(2*%pi*f*C)
Xc=1/(2*%pi*f2*C)
I=V/Xc
disp('frequency half='+string(f)+'hz' , 'frequency douled='+string(f2)+'hz')
|
ab5fa35d4adae9718ffe61b19d4452f4c484e035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.a.13/exaA_5_13.sce | e4fdd92532eb3a64c41a3b705228da7a95fe73a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | exaA_5_13.sce | // Example A-5-13
// Response to input r = 2 + t
clear; clc;
xdel(winsid()); //close all windows
// Please edit the path
// cd "/<your code folder>/Codes/chapter_5";
// exec("plotresp.sci")
s = %s;
G = syslin('c', 5, s^2 + s + 5);
t = 0:0.05:10;
r = 2 + t;
plotresp(r,t,G,'Response to input r = 2 + t');
|
60b5deea87e98c821262e91160f3acde83eb8262 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_push_zero.tst | 654cbac1598edfcec4830b049ed47cca3d2d6181 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 27 | tst | ok_push_zero.tst | (set-logic QF_UF)
(push 0)
|
1a2b848fa2c5043200ff42decd776631c40951fd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/%lss_eye.sci | d01fed00711c0cbb51a453e749f253c5ca9a3888 | [
"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 | 55 | sci | %lss_eye.sci | function x=%lss_eye(a)
// Copyright INRIA
x=eye(a(5));
|
afa841ad061c53fa406a0c061b96a2ed322035d5 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/packages/interval-2.1.0/test/libieeep1788_tests_bool.tst | 994389eeb1c30ce4f6b982c0f691770b8db6f759 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 39,430 | tst | libieeep1788_tests_bool.tst | ## DO NOT EDIT! Generated automatically from test/libieeep1788_tests_bool.itl
## by the Interval Testing Framework for IEEE 1788.
## https://github.com/nehmeier/ITF1788/tree/92558f7e942665a78f2e883dbe7af52320100fba
##
## Copyright 2013-2015 Marco Nehmeier (nehmeier@informatik.uni-wuerzburg.de)
## Copyright 2015-2016 O... |
ba4c94d1e0cc577969f004b3ca7419d552a31d96 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/4/tests/test18.tst | e5ae8b6b93af7ef0b07e9d7db35c8600b8e2d2d8 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | tst | test18.tst | type t1 = array 10 of int;
short proc(int a) { return a; }
main()
{
var a : t1;
const c = 11;
a[1] = ::proc(c);
}
|
b8699fd05eb3ec2128a262a4209bad1c829d6e0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH7/EX7.14/7_14.sce | c4b009bdd2c0ccec5ac42e88a5951782ac98d519 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_14.sce | clc,clear
printf('Example 7.14\n\n')
//subscript 1 indicates induction motor 1
P_1=350
phi_1=acos(0.7071) //lagging
Q_1=P_1*tan(phi_1)//from power triangle
//subscript 2 indicates induction motor 2
P_2=190
//subscript T indicates total
P_T=P_1+P_2
phi_T=acos(0.9) //lagging
Q_T=P_T*tan(phi_T)
Q_2=Q_T... |
8b0fbc422dce257b64e07c22338b15cd604595a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH8/EX8.7/Example8_7.sci | 07e0b86d984dd8cbe1f4856d9b3fb36939e18c56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sci | Example8_7.sci | //Chapter 8_Applications of Operational Amplifier
//Caption : Output Voltage
//Example8.7: In the summing amplifier(inverting mode) the signals to be combined are V1=3V, V2=2v, and V3=1V.The input resistor are R1=R2=R3=3 kilo ohm.The feeddback resistor Rf=1 kilo ohm. Consider ideal Op-Amp,determine Vo.
//Solution:
... |
da74d48e1884dbc92a3593a9218160aa75ca2d29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH4/EX4.18/ex4_18.sce | 744b0c640f5477383ade3d6dac3fbc127ff8ddb4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 720 | sce | ex4_18.sce | //find capacitive reactance to neutral and charging current
clear;
clc;
//soltion
//given
r=1.25*10^-2;//m//radius of the conductor
f=50//frequency
Vph=132*1000/sqrt(3);//phase voltage
Eo=8.85*10^-12//permitivity of the air
drr_=sqrt(7^2+(4+4)^2);
dbb_=drr_;
dyy_=9;
Dsr=sqrt(r*drr_);
Dsy=sqrt(r*dyy_);
Dsb... |
e9c2ddfb1630d84574503d62e3891ec6cc99ba6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH2/EX2.4/Exa2_4.sce | 915b834c5740d4268345a68c7eadea1f8ddf37a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | Exa2_4.sce | //Exa 2.4
clc;
clear;
close;
//given data
ni=2.5*10^13;//in atoms/cm^3
rho=0.039;//in ohm-cm
SIGMAn=1/rho;//in (ohm-cm)^-1
e=1.6*10^-19;//constant
MUe=3600;//in cm^2/V-s
//formula : SIGMAn=n*e*MUe=Nd*e*MUe
Nd=SIGMAn/(e*MUe);//in atoms/cm^3
n=Nd;//in atoms/cm^3
p=ni^2/n;//in atoms/cm^3
disp(n,"Electron den... |
5b82d47dcd8a0a6438b39fad7f64c3db518ef7a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3637/CH2/EX2.26/Ex2_26.sce | d60e03cb459b6d15f8cded52ee41c746c282b28f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | Ex2_26.sce | //problem 26 pagenumber 2.109
//given
freq1=1.5e3;//hz
bw=450;//hz
//determine qualityfactor f1 f2
q=freq1/bw;format(7);
f1=freq1*sqrt(1+(1/(4*q*q)))-freq1/(2*q);
f2=freq1*sqrt(1+(1/(4*q*q)))+bw/2;format(4);
disp('Quality factor = '+string(q));format(7);//no unit
disp('Lower frequency = '+string(f1)+' Hz');
... |
349389c8d86d9220810a233e110a7e6639a84504 | bdf572464541387fa0028a1ff861ceb55e81938e | /Numerical Analysis/bisection.sce | 5947baba5f55a81c66a3c404b85f934b2c396069 | [] | no_license | akarshsomani/Scilab-programs | 20c4a52a51e5689d12d491218988aa037f09a21a | 18199a7f424e3711765965e3d3b12e149a5d497a | refs/heads/master | 2020-03-14T10:00:36.585002 | 2018-04-30T04:59:39 | 2018-04-30T04:59:39 | 131,557,212 | 0 | 1 | null | 2018-10-31T14:52:07 | 2018-04-30T04:55:36 | Scilab | UTF-8 | Scilab | false | false | 576 | sce | bisection.sce | // Finding root of equation f(x)=x^3-5x+1
function [r]=root(xl,xu,et)
// xl = Lower limit guess
// xu = Upper limit guess
// et = Error tolerance
xm = (xl+xu)/2
p = poly([1,-5,0,1],'x','c')
while %t
y1 = horner(p,xl)
y2 = horner(p,xm)
if y1*y2 < 0 then
xu = x... |
19e43978af4a2828fe7948731a896a655718662c | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/ggdn/run-me-first.sce | 725d16d87b55251b8087c7c166e9603b08e606da | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,821 | sce | run-me-first.sce | funcprot(0)
test_cases = list()
test_cases($+1) = struct('input', struct('ns', [20]), 'output', struct('n', 20))
test_cases($+1) = struct('input', struct('ns', [20,30]), 'output', struct('n', 10))
test_cases($+1) = struct('input', struct('ns', [20,30,101]), 'output', struct('n', 1))
test_cases($+1) = struct('input', st... |
f5edc8a9b644307e8996c6f0dbbbf2bdc0286028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH1/EX1.6/Ex1_6.sce | 004db91041283b2ccee102ec1667c88e238e21a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_6.sce | // Theory and Problems of Thermodynamics
// Chapter 1
// Basic Concepts
// Example 6
clear ;clc;
//Given data
X_O = 0.21 // X_O = molefraction of oxygen
X_N = 0.79 // X_N = molefraction of nitrogen
mw_O = 32 // mw_O = molecular mass of oxygen
mw_N = 28 // mw_N = molecular mass of nitr... |
24e33fa90f6bd4e065d020a1ff58cd37f35aee98 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Tet_Kovasnay_SubStep.tst | 1a2c1efd85a08b23acb5bf3d978b9235e4ba65e5 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 1,012 | tst | Tet_Kovasnay_SubStep.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>3D Tet Kovasnay solution using sub-stepping</description>
<executable>IncNavierStokesSolver</executable>
<parameters>Tet_Kovasnay_SubStep.xml</parameters>
<files>
<file description="Session File">Tet_Kovasnay_SubStep.xml</file>
</fil... |
6d104b462a46f46855ab59db7f726c678a0fd83f | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH15/EX15.9/exp15_9pp.sce | 07991efcd56f7c31fee3c0988419b424d88c1861 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | exp15_9pp.sce | clc
clear
disp("example 15.9")
ng=50 //number of generator
r=30 //rated power
mah=10 //maximum head
mih=1 //minimum head
tg=12 //duration of generation
efg=0.9 //efficiency of generated
g=9.81 //gravity
le=5 //lenght of embankment
ro=1025 //density
ti=r/(0.9)^2
q=ti*10^(6)/(ro*g*mah) //maximum inp... |
f282627101501377220a120bed4e251d1091df9c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/percent/%sir.sci | 78f321d93946b55f78be79bb37edc48de3c2313c | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 907 | sci | %sir.sci | function s2=%sir(i,j,s1,s2)
// %sir(i,j,M,r) <=> r(i,j)=M
//!
//s2(i,j)=s1
if s1==[] then // insertion d'une matrice vide
row=%f
col=%f
[m,n]=size(s2(2))
if and(size(i)==[-1 -1]) then
row=%t
else
if and(i(:)==(1:m)') then row=%t,end
end
if and(size(j)==[-1 -1]) then
col=%t
else
if and(... |
350144e948877fc3a7c471425eece217f4cf4176 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH18/EX18.2/ex18_2.sce | 893becae9b482fd8fba3268d497ec89f59234e37 | [] | 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 | 217 | sce | ex18_2.sce | errcatch(-1,"stop");mode(2);// Example 18.2, page no-460
r=0.12*10^-9//m
eps=8.854*10^-12
alf=4*%pi*eps*r^3
printf("The electronic polarisability of an isolated Se is %.4f * 10^-40 F m^2",alf*10^40)
exit();
|
d8c7b6638f506bc3c4b55c5909e8003cf8978501 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH3/EX3.3/Exa3_3.sce | c4ccec5ad4c252c4c2db2a88baa6e1c13a6c4157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 436 | sce | Exa3_3.sce | //Exa 3.3
clc;
clear;
close;
//given data :
le=125;//in m
Irms=5;//in A
lambda=1.25;//in Km
lambda=lambda*10^3;//in m
Rl=10;//in Ohm
//radiation Resistance
Rr=(80*%pi^2)*(le/lambda)^2;//in Ohm
Rr=round(Rr);//in Ohm : approx
disp(Rr,"Radiation resistance in Ohm : ");
//Power radiated
W=(Irms^2)*Rr;//in
... |
0a7e65f1580b92c7cfd56458a03475158bdeaaa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /812/CH6/EX6.05/6_05.sce | c72c372cf77819fe2a3d8fd3358ebf3dc4244769 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | 6_05.sce | //flow//
pathname=get_absolute_file_path('06.05.sce')
filename=pathname+filesep()+'06.05-data.sci'
exec(filename)
//Velocity of flow at the exit(in ft/sec):
V2=sqrt(2*g*(Du-Dd/12))
//Volume flow rate/width(ft^2/sec):
Q=V2*Dd/12
printf("\n\nRESULTS\n\n")
printf("\n\nVelocity of flow at the exit: %.3f ft/sec\n\n... |
dedf7cefc11489e1542453b3cfde7a67e58558a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH13/EX13.1/ex13_1.sce | a73ef48d5760d85e7b4ebfd5d215ba58d46f4801 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | ex13_1.sce | //ex13.1
R2=1*10^3;
R1=8.2*10^3;
V=15;
V_REF=R2*V/(R1+R2);
disp(V_REF,'V_REF in volts')
V_max=12; //maximum output level of op-amp
V_min=-12; //minimum output voltage of comparator
f=1; //assume frequency of input wave to be 1 hertz
t=0:0.001:3;
V_in=5*sin(2*%pi*f.*t)
clf();
subplot(121)
xtitle('I... |
02f87f1a226adb2fa477e4d0d56f5ede4888a42a | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH5/EX5.16/5_16.sce | fc3cec0457b6e898b69d7f02c05dc1b20d67c1a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | 5_16.sce | Af = 40*180; // Area of flange in mm2
V = 10500 ; // Shear force acting on cross section
F = 800 ; // Allowable load in shear
df = 120 ; // Distance between centroid of flange and neutral axis in mm
Q = Af*df ; // First moment of cross section of flange
I = (1/12)*(210*280^3) - (1/12)*(180*200^3) ; // Moment of in... |
d6599919fd8bcad08e61322e6d3e550084131190 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH4/EX4.10/4_10.sce | 5914047a970a684e9e8b1dde5362763f4d47586e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | 4_10.sce | //example 4.10
clc; funcprot(0);
// Initialization of Variable
m1=2;
m2=8;
T1=350;
T2=300;
P1=0.7;//bar
P2=1.2;//bar
Tf=315;//K
cv=0.745;//heat capacity
pf=(m1+m2)*Tf/(m1*T1/P1+m2*T2/P2);
disp(pf,"final pressure in bar");
Q=m1*cv*(Tf-T1)+m2*cv*(Tf-T2);
disp(Q,"heat transfer into the system in kJ");
clear... |
127fede2b138d0d24093f82c0724f1b66de9e29d | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH8/EX8.8/8_8.sce | 0bd3591267992225d4a7ee24b22ca4b590c0f98d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,978 | sce | 8_8.sce | clear;
clc;
//Example - 8.8
//Page number - 300
printf("Example - 8.8 and Page number - 300\n\n");
//Given
//From compressor to the expansion valve the pressure is 200 bar and from expansion valve to the inlet of compressor the pressure is 1 bar.
//Point 5 is saturated liquid at 1 bar and point 6 is saturate... |
dcfafcf17553807b72eecf37be80bbf298673144 | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Calculo_Numerico/Ajuste_Logaritmico.sci | 2a521a83923d8d8300e8051adff2db6442f7803f | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sci | Ajuste_Logaritmico.sci | clear
close
clc
valor = 15
x = [1; 2; 3; 4; 5; ;6 ;7; 8; 9; 10; 11]
y = [1.7; 2.5; 3.8; 4.4; 4.9; 5.2; 5.5; 5.6; 5.8; 5.9; 6]
X = [size(x,1) sum(log(x)); sum(log(x)) sum(log(x)^2)]
Y = [sum(y); sum(log(x).*y)]
A = X\Y
a = A(2,1)
b = exp(A(1,1)/A(2,1))
resultado = a*log(b*valor)
disp (resultado, "Resultado: ")
disp... |
ca6fac76646f7487a5bc84034d5e60f68716f179 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH9/EX9.3/Ex9_3.sce | dc8d4e9ccb3c096052688dd114a5c3b19a152af0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,134 | sce | Ex9_3.sce | clc;clear;
//Example 9.3
//given data
V1=117;
T1=80+460;//in R
P1=14.7;
r=18;
rc=2;
//constants used
R=0.3704;//in psia ft^3/lbm R
cp=0.240;//in Btu/lbm R
cv=0.171;//in Btu/lbm R
//from Table A-2Ea
k=1.4;
//calculations
V2=V1/r;
V3=rc*V2;
V4=V1;
//Process 1-2
T2=T1*(V1/V2)^(k-1);
P2=P1*(V1/V... |
fa866da8a7dfa386b2cfdb29442f3c895bc4b2f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH2/EX2.54/Ex2_54.sce | fc780337154cb972ff1c76845d72d436413cbe25 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | Ex2_54.sce | // Diffie-Hellman key exchange
n = 11 // Two prime numbers
g = 7 //need not be kept secret
printf("n: %d\ng: %d\n",n,g)
x = 3 // Alice's secret random number
A = modulo((g^x),n) // Alice's message to Bob
//A = 2
y = 6 ... |
1f687c61d7372b85c83233a044f8a1e632d1eaa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH12/EX12.4/Example12_4.sce | 5fa7f283b7f52a4152176ff97be46eaa4a95117c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,136 | sce | Example12_4.sce | clear;
clc;
// Illustration 12.4
// Page: 676
printf('Illustration 12.4 - Page: 676\n\n');
// Solution (a)
//***Data***//
// For rectangular pan:
l = 0.7;// [m]
b = 0.7;// [m]
zS = 0.025;// [m]
zM = 0.0008;// [m]
d = 0.1;// [m]
Y1 = 0.01;// [kg water/kg dry air]
TempG = 65;// [OC]
v = 3;// [m/s]
... |
abdf6cc04f26aa00349dc5f7b7cd7dcd7159a4ad | c247bce84b3facd1a13b48e7417327c40c8b3898 | /FOPID/stability.sci | de447471c7d2b1a7b19a429d60bcba4057a0e2f3 | [] | no_license | AstroSayan/FuzzyFOPID | 9de9fa761301da6ae1f5dfe7b8e7e8214f3b472b | ea0e31e8fa0b36e407de9dfa466cf46b583e4103 | refs/heads/main | 2023-04-26T19:18:30.590337 | 2021-05-13T18:27:32 | 2021-05-13T18:27:32 | 367,137,779 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 644 | sci | stability.sci | function S=stability(n,np,d,dp,f,N,w)
exec('C:\Users\SAYAN\Documents\FuzzyFOPID\fotf.sci');
G=fotf(n,np,d,dp,f,N,w);
G=syslin('c',G);
z=roots(G.num);
p=roots(G.den);
pr=real(p);
nu=0; ns=0; up=0; sp=0; temp=0;
for i=1:length(p)
if pr(i)>0 then
nu = nu+1; up(nu)=p(i);
elseif pr(i)<0
ns = ns+1; sp(ns)=p(i);
... |
83fee344563417814d622175f11c4dd50f8c6305 | f26729da8f4278193be7d8f15e38bad1e43c0376 | /sdr_rcv.sdr.tst | 25d280ca548f31e27530dc00e955ceed336f8f9c | [] | no_license | shaktixcool/MQ-study-notes | 09325eaa468f6aadfc5af2e3d6ff0ca6a31f11ec | bb75cdbd861b267dcd5011d057a7b31dc819cb08 | refs/heads/master | 2020-03-25T19:34:21.805882 | 2016-12-04T15:30:44 | 2016-12-04T15:30:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | tst | sdr_rcv.sdr.tst | define Qremote (QR) +
rname (QL) +
rqmname (QM2) +
xmitq (QX) +
REPLACE
DEFINE QLOCAL (QX) +
USAGE (XMITQ) +
REPLACE
DEFINE CHANNEL (C) +
CHLTYPE (SDR) +
TRPTYPE (TCP) +
<<<<<<< HEAD
CONNAME ('127.0.0.1 (1415)') +
=======
CONNAME ('192.168.189.128 (1419)') +
>>>>>>> 74ae287e84ef602f7e3710e6f0f843de3d01d5f4
... |
3c8c824961c9af05a466dcdb9bfae36206a7a0cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH5/EX5.24/exa_5_24.sce | c3440234b3f30f7cec1e85e43fe02c764c0ff2ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | exa_5_24.sce | // Exa 5.24
clc;
clear;
close;
// Given data
A=100;
Af= 10;
f_L= 100;// in Hz
f_H= 10;// in kHz
// Af= A/(1+A*Bita)
Bita= 1/Af-1/A;
f_desh_L= f_L/(1+A*Bita);// in Hz
f_desh_H= f_H/(1+A*Bita);// in kHz
disp(f_desh_L,"Low frequency in Hz is : ")
disp(f_desh_H,"High frequency in kHz is : ")
// Note: In th... |
33dd4d17ac40768c826e5172459285fd06b360aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH5/EX5.4/5_4.sce | 4caaf06324272b3b9d6b2126f3836ccf6ea4ede8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | 5_4.sce | //chapter 5
//example 5.4
//page 158
clear;
clc ;
//given
hie=2.1;//input resistance in kohm
hfe=75;//forward voltage gain
hic=hie;
hib=1+hfe;
Zb=2.1+(76*5);//input impedance
printf("\nInput Impedance (Zb)=%.1f kohm",Zb);
//Circuit input impedance
Zi=1/((1/Zb)+(1/10)+(1/10));
printf("\nCircuit input impedance(Zi)=%.... |
12756fff40c5418a1c6c30b61d4ffad949a71d5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH8/EX8.4/example8_4.sce | aef022e041a7dd2ea20495c06c5e9224ca9a41f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,043 | sce | example8_4.sce | clear;
clc;
//Example8.4[Pressure Drop in a Water tube]
Tw=15;//temp of water while entering[degree Celcius]
rho=999.1;//[kg/m^3]
mu=1.138*10^(-3);//Viscosity[kg/m.s]
id=0.05;//Internal diameter[m]
V=5.5*10^(-3);//Flow rate[m^3/s]
l=60;//length of tube[m]
e=0.002*10^(-3);//[m]
... |
e7ab720aae1cd97a4919c371a8a1041b4743c9ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH7/EX7.10/Ex7_10.sce | 8fe3b85a865a3b15b68f9b59940d9b40644170df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_10.sce | //Ex7_10
clc
delta_IC = 0.01*10^-3
delta_beta = 5
disp("delta_IC = "+string(delta_IC)+"A")//change of collector current
disp("delta_beta = "+string(delta_beta)+"A")//change in current gain
disp("S'''' = delta_IC/delta_beta = "+string(delta_IC/delta_beta))//stability
|
d5e8c9432886eaad166f524fd439fc228b34b809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.31/example4_31.sce | 5f4d57a654fbdc678c199c891e1d2c3e125d249e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | example4_31.sce |
//example 4.31
//calculate ordinate of 9 hr unit hydrograph
clc;funcprot(0);
//given
t=[0:3:45]; //time
O=[0 9 20 35 49 43 35 28 22 17 12 9 6 3 0 0]; //ordinate of 2 hr unit hydrograph
of(1)=0;
of(2)=0;
for i=3:16
of(i)=O(i-2)+of(i-2); //offset ordinate
end
for i=1:16
... |
58426783690129ea39dde4bc89a6ffd3ef257dad | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 3/CLA4bitHigherOrder/AdderSubtractor16bit.tst | 9ad22e6242d5a514b9e08014b2cda85677ee61d2 | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,049 | tst | AdderSubtractor16bit.tst | load AdderSubtractor16bit.hdl;
output-file AdderSubtractor16bit.out;
output-list x%B1.16.1 y%B1.16.1 signed%B3.1.3 a%B3.1.3 sum%B1.16.1 of%B3.1.3;
set x %B1001010011001011,
set y %B0100110100101010,
set signed 0,
set a 1,
eval,
output;
set x %B1100101001001110,
set y %B0101110101001000,
set signed 0,
set a 1,
eval,
o... |
1646cb3cb574223b35ebec97a93d0338d89b77e0 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SparamToolBox/SparamToolbox/v1.0/x86/builder.sce | 45ebe091546ce4c4e064ba360f1a3775d95547e9 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,322 | sce | builder.sce | // Copyright (C) 2008 - INRIA
// Copyright (C) 2009 - DIGITEO
// This file is released into the public domain
mode(-1);
lines(0);
TOOLBOX_NAME = "SparamToolbox";
TOOLBOX_TITLE = "S-parameters Toolbox";
toolbox_dir = get_absolute_file_path("builder.sce");
// Check Scilab's version
// ================... |
5b50a1812334ea34a7c70cc87355aea30853ac85 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP5/traceProthero.sci | c5d2b1b8c1fd50801caff010531acee84e990d36 | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sci | traceProthero.sci | function[] = traceProthero(x0, t0, T, N)
exec('pointMilieu.sci', -1);
exec('prothero.sci', -1);
deff('[y] = g(x)', 'y = sin(%pi * x)');
x = pointMilieu(x0, t0, T, N, prothero);
t = zeros(1:N);
h = T / N;
for i = 1:N
t(i) = t0 + i * h;
end
y = ode(x0, t0, t, prothero);
... |
ac826952760f36aa92e960fec494ba0731727cb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH24/EX24.2/Ex24_2.sce | 09f923f8cfb534f546cd7d5a2382e930b13dab53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ex24_2.sce |
//To calculate the rms speed of hydrogen molecules at the same temperature
//Example 24.2
clear;
clc;
v1=490;//rms speed of nitrogen at 273 Kelvin
m1=28;//molecular weight of nitrogen
m2=2;//molecular weight of hydrogen
v2=v1*sqrt(m1/m2);//rms speed of hydrogen at 273 Kelvin
printf("rms speed o... |
c76e1d27d1ee254205a090f153531bc2ebb25bb8 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/utils/clear_inst_vars.sce | 799bb68f278d58c9801664b5430b2b02eac34636 | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,392 | sce | clear_inst_vars.sce | // ***********************************************************
// * ScicosLab Pack Installer return script *
// * Requires: Scicoslab v4.4.1 *
// * Built/Tested On: XP, Windows 7 *
// * Description: Clear variables used in conditional *
... |
7423ecfb47a26e8c63144174775bc55ec2444db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH4/EX4.31/31.sci | 5fbbc162128c077a460e2a66778cbcc820af45ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 31.sci | clc;
clear all;
disp("Time for cooling")
L=20/1000;//m
ti=150;// degree C
ta=30;//degree C
hw=100;// W/(m^2.C)
ha=20;// W/(m^2.C)
t=90;// degree C
rho=8800;//kg/m^3
c=400;// J/kg.C
k=360;//W/(m.C)
As=4*3.1416*R^2;
Lc=L/2;//m
Bi=h*Lc/k;
C=120;
tau=-rho*L*c*log((t-ta)/(ti-ta))/C
disp("minutes",tau/60... |
8939e92799c0496380e22237dc268de2e7ea52fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH3/EX3.3/3.sce | f00473b3ede5dc7c12640fe7e963fac81e4c67a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 617 | sce | 3.sce | clc;
//Example 3.3
//Page no. 26
printf("Example 3.3 Page no. 26\n\n")
//given at 30 degree temerature
//properties of water from appendix A.2 density(rho),surface tension(sigma)
rho=996
sigma=0.071
printf("rho=%f\kg/m^3\n surface tension (sigma)=%f N/m\n",rho,sigma)
theta=0//negligible angle of contact
g=9.8... |
57984a0ea1a90e9291a12b2e7d7591a339d23e5c | 727092dff86e9d034d021bbc56565d9336b988aa | /Códigos CN/RS2_integração.sci | 47f1da5b6eb51c4764f4361c8844096deda33dab | [] | no_license | lucasdksan/Numerical-computing | c54b855bd50f2a06b1970086f2da63c28883f287 | a5a5863499bdf46003437140e3fa3123fc4960f8 | refs/heads/master | 2023-06-24T16:13:01.094230 | 2021-07-29T15:57:00 | 2021-07-29T15:57:00 | 278,514,165 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sci | RS2_integração.sci | function I = RS2(a,b,n)
h = (a-b)/n;
x = a:h:b;
y = f(x);
I = y(1);
for i = 2:n
if modulo(i,3) == 1
I = I + 2*y(i);
else
I = I + 3*y(i);
end
end
I = (3*h/8)*(I + y(n+1));
endfunction
|
1a40aeed38b1a53d31da1184813159e5e0324279 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TF33.prev.tst | 7e078a9d65631cae91054d55b1db1c3e1ddbaeab | [
"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 | 618 | tst | TF33.prev.tst | considerNonPrimitive
Expanding for base=3, level=3, reasons+features=base,primitive,same,similiar igtriv,norm
Refined variables=a,b,c
[0+1a,0+1b,0+1c]: unknown -> [1] [0,0,0] a³+3b³-9c³
---------------- level 0
expanding queue[0]^-1,meter=[3,1,1]: a³+3b³-9c³
[0+3a,0+1b,0+1c]: unknown -> [1] [0,0,0] 9a³+b³-3c³
endexp[0]... |
4b31ff40e64e94dfff8e4634f72ad0e773676dfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.9/ex25_9.sce | 13877c6a1f25ae8d2a423d1616ca29da611d69fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | ex25_9.sce | clc;
m=70; //mass in g
a=14.01; //atomic mass
moles=m/a; //moles
h=1.008; //atomic mass of hydrogen
mass=3*moles*h; //mass of H
disp(moles,"Moles of N = "); //displaying result
disp(mass,"Mass of H = "); //displaying result
ma=15+70; //mass of ammonia
disp((mass/ma)*100,"Proportion of Hydrogen = "); /... |
9a125faf24ebd731438b016f25a8ab0ec4a82124 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH9/EX9.1/ex1.sce | 46ce239cc7f63b08906d6580fd7987666fa742b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,942 | sce | ex1.sce | // Example 9.1 Design of two-stage CMOS op-amp
A_v=4000; // (V/V)
V_A=20; // (V)
k_p=80*10^-6; // k'_n=k_n (A/V^2)
k_n=200*10^-6; // k'_p=k_P (A/V^2)
V_SS=1.65; // (V)
V_DD=1.65; // (V)
V_tn=0.5; // (V)
V_tp=0.5; // (V)
C_1=0.2*10^-12; // (F)
C_2=0.8*10^-12; // (F)
I_D=100*10^-6; // (A)
V_OV=sqrt(V_A^2/A_... |
4d7018ed074f0f056e96d907660c359d4dc715c5 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Development/Algorithms/Polynomial Regression/Polynomial Regression.sci | 053e860fe4215d251f128fcac7b5c6ffa0199b76 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sci | Polynomial Regression.sci | // Macro script for polynomial regression -- Scilab
// Function to train a polynomial regression model with stated degree
function cf = PolynomialRegressionTrain(x, y, degree)
// Setup for polynomial regression
A = ones(length(x), degree + 1)
for i=1:degree
A(:,i+1) = x(:).^i
end
cf = pinv(A)*y;
endfunc... |
522f12408104291d4315ee2d5c24b08950910c40 | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-post_mi/vrt_col_d/~LCM-SR-vrt_col_d-nat.tst | f96816483fbfe0db3e510cd148374d36d8094433 | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,999 | tst | ~LCM-SR-vrt_col_d-nat.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.390727D+00
2 -0.187919D-02 0.338979D-02
3 -0.130728D-02 0.11173... |
1843f5022966de0421924861c1f8416892efb09d | cb25571ae34589ac6513a44dcb426a7e0ac9523a | /rms.sci | b6bd574cb4936b57d6584bdefc46640ea3061d97 | [] | no_license | rahul-rd/Scilab-Signal-Toolbox | 1d4723e2a6e26d91d101110b5580aaaaaa6c01f1 | 024e6bc9172c3c354d7ae6e7a815aab7a0a92696 | refs/heads/master | 2021-01-10T04:54:53.979855 | 2016-01-11T01:56:34 | 2016-01-11T01:56:34 | 49,395,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,755 | sci | rms.sci | function [Y] = rms(X, dim)
funcprot(0);
// Calling Sequence
// Y=rms(X)
// Y=rms(X,dim)
// Parameters
// X: Real or complex valued input vector or matrix.
// dim: Dimension to compute maximum-to-minimum difference (Row/Column)
// Description
// Y=rms(X) returns the root-mean-square (RMS) level of the input X. For ma... |
c2fdc551e48b492408f0d3f15c4c6b0384031adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.6/Ex12_6.sce | 52210a1296b72a2b0c1e90efc8635a07811385e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex12_6.sce | clear
//Given
e=10**-2 //V
B=5*10**-5 //T
r=0.5 //m
N=1
//Calculation
//
A=%pi*r**2
n=(e*N)/(%pi*r**2*B)
//Result
printf("\n Rate of rotation of the blade is %0.1f revolutions/second",n)
|
8b135dc5a07a12147a36af63c18a536ffcb6bcd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH7/EX7.10/Ex7_10.sce | c4a614a83638a5802f845816541ccad85f5488a9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | Ex7_10.sce | //Example number 7.10, Page number 7.17
clc;clear;close
// Variable declaration
lamda=0.58 // in m
theta=9.5*%pi/180 // in radian
n=1 // unitless
d=0.5 // d200=a/sqrt(2^2+0^2+0^2)=0.5a
// Calculations
a=n*lamda/(2*d*sin(theta)) // 2*d*sin(theta)=n*lamda
// Result
printf("a = %.2f Angstorms",a)
|
3132a4ce5b0fd685fc420d1511177b227a7a0aa3 | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/absorb.tst | bfc384b08902cfc16ce648b9b9ed4d5aa3095973 | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 4,873 | tst | absorb.tst | \set time slow
\rele print CROUTPUT:
\TITLE ABSTEST
\LIST 1
REAL 12.24 6.35 8.79 90 126.72
\LIST 2
CELL 2 C NO
SYM X,Y,Z
SYM -X,Y,-Z
\
\
\
\
\ CAD4 KAPPA GEOMETRY - THIS IS THE 'REAL' TEST
\LIST 13
DIFF GEOM=KAPPA
COND WAV=0.7107 CONSTANT(1)=.5869359 .6427007 .0001788 57.
TWO H=-4 -2 -1 12.23 26.97 0 -12.85 -44.52
TWO... |
995e2d18ee826607cfe4003336f011fc3b36dc29 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.2_6.tst | fa83917372fcd015bb789776b85b9bd18c933271 | [] | 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 | 770,965 | tst | 5.2_6.tst | 2 104:1 106:1 166:1 414:1 672:1 684:1 751:1 820:1 1194:1 1206:1 1510:1 1541:1 1619:1 1849:1 1897:1 1910:1 1991:1 2097:1 2249:1 2400:1 2547:1 2827:1 2862:1 2870:1 2999:1 3086:1 3322:1 3341:1 3348:1 3648:1 4146:1 4479:1 4488:1 4859:1 4867:1 4914:1 4920:1 5170:1 5437:1 5566:1 5655:1 5973:1 5980:1 6049:1 6096:2 6326:1 6738... |
2fe4b78a2f48c0bd771660f48b8d75170f1a4a77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.9/3_9.sci | a7b50a9832bb2f84ec22909bb28ebfe5d4cdae99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sci | 3_9.sci | // Calculate the percentage limiting error and range of resistance values
clc;
disp('decade a is set at 4000 ohm, so,error in decade a=')
Er_a=4000*0.1/100;
disp(Er_a)
disp('decade b is set at 600 ohm, so,error in decade b=')
Er_b=600*0.1/100;
disp(Er_b)
disp('decade c is set at 30 ohm, so,error in decade c=')
... |
1231cf4c0aea186cecaab7e760f0801eda2363ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.24/2_24.sce | e95a70e475728e7d25026f1573bfa42e0105c115 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | 2_24.sce | clc;
clear;
printf("Example 2.24\n Page no. 2.47");
//given
L=1//m
thp=2//Thickness of pipe; in mm
thi=10//Thickness of insulation; in mm
T1=373//K
T2=298//K
id=30//mm
r1=id/2//mm
r2=r1+thp//mm
r3=r2+thi//mm
//In S.I units
r1=r1/1000 //m
r2=r2/1000//m
r3=r3/1000//m
k1=17.44//W/(m.K)
k2=0.58//W/(m.K)
... |
7086925c9f8aca7ab38854ea7b9ee35334762f3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH15/EX15.11/Ex15_11.sce | d0f9002b0e773807c1875ee1aaf7b326eb5fc5ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,352 | sce | Ex15_11.sce | // Problem no 15.11,Page no.358
clc;
clear;
close;
d=0.3 //m //Diameter
D=0.003 //m //Diameter of steel wire
t=0.006 //m //thickness
sigma_w=8*10**6 //Pa //Stress
p=1*10**6 //Pa //Internal pressure
E_s=200*10**9 //Pa //Modulus of Elasticity for steel
E_c=100*10**9 //Pa //Modulus of Elasticity for cast iron
m=1*0.3**... |
28a67e85c47b5957ca112655bcee3c73215970b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH4/EX4.18/Exa4_18.sce | fa0d5b94e604b121997f88d5205e79f421e0990a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 964 | sce | Exa4_18.sce | //Exa 4.18
clc;
clear;
close;
//given data :
//Side lobe level below main lobe
disp("Side lobe level below main lobe : ")
SideLobe=20;//in dB
r=10^(SideLobe/20);//
disp(r,"r=") ;
//No. of elements are 5, n=5
disp("No. of elements are 5, n=5 :");
disp("Tchebyscheff polynomials of degree (n-1) is");
disp("5-... |
79569d8d9e4c09f7b73492c22a16809c002b0246 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH1/EX1.2/example1_2.sce | b7d4584aa62cdf9749284ec8c906f1feb4110b6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | example1_2.sce | clear;
clc;
// Stoichiometry
// Chapter 1
// Dimensions and Units
// Example 1.2
// Page 12
printf("Example 1.2, Page 12 \n \n");
// solution
qm = 2000 // [kg/h] (mass flow rate)
d1 = 3.068 // [in] (internal dia of pipe)
// Using conversion factors from table 1.3 (Pg 9)
d2 = 3.068/.0393701 // [mm]... |
38cdc43bcf661d9aacbac0f658e8596381fb91c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH5/EX5.11/Ex5_11.sce | 1e8adb8d337a12285211c48842149a449ec817de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,188 | sce | Ex5_11.sce | clc
A= 10^-8
disp("A= "+string(A)+"m^2") //initializing value of diode area
Na=10^23
disp("Na = "+string(Na)+"m^-3") //initializing value of acceptor atoms
Nd=10^23
disp("Nd = "+string(Nd)+"m^-3") //initializing value of donor atoms
Dp = 10*10^-4
disp("Dp= "+string(Dp)+"m^2/s")//initializing value of hole diffu... |
4d9e8993439885370bfe0180600398c730598330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /695/CH3/EX3.28/Ex3_28.sce | c3607ad95b435f0e8999856efcf4b3ff1f161a5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex3_28.sce | //Caption:Find the voltage regulation
//Exa:3.28
clc;
clear;
close;
KVA=500;
V2=500;//in volts
x=0.75;
pf=1;
Eff_max=0.97;
P_i=(KVA*x*1000*pf-KVA*x*1000*pf*Eff_max)/(2*Eff_max);//in watts
P_cu=P_i/x^2;
R_equ=P_cu/(KVA*1000);
X_equ=sqrt(0.1^2-R_equ^2);//in ohms
VR=R_equ*0.8+X_equ*0.6;
disp(VR*100,'Voltage... |
a2edfb901175ae095e6d58b0260953c4ee087319 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH2/EX2.19/ex19.sce | c5795778739f40421b455dd002b76639030987e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | ex19.sce | // example 19
// heat transfer from a person
clear
clc
T1=20 //room temperature in celsius
T2=29 //body temperature of person in celsius
a=1.6 //exposed surface area in m^2
h=6 //convection heat transfer coefficient in W/m^2*C
Qc=h*a*(T2-T1) //heat loss due convection in W
Qr=0.95*5.67*10^-8*a*((T2+273)^4-(T1+... |
9087f8350dfb511955c0d096b34b0e999c592609 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH8/EX8.13/Ex8_13.sce | 0ffa0941e2905292607ee0d9727e5d4db320b7f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Ex8_13.sce | //Example 8_13
clc();
clear;
//To calculate the fundamental frequency
l=0.001 //units in mts
y=7.9*10^10 //units in N/mts^2
d=2650 //units in N/mts^2
v=sqrt(y/d) //units in m/sec
toe=0.001 //units in m
V=v/(2*toe) //units in Hz
printf("Fundamental frequency=%.2fHz",V)
|
5fb794faddc0199c486499b7619fad9b4a1012f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH16/EX16.5/Example_16_5.sci | a7e03099a66a09936d7fad9f07939fe76bef08ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,758 | sci | Example_16_5.sci | clear;
clc;
printf("\n Example 16.5");
//Inlet air temperature
Tair = 400; //Inlet air temperature in kelvins
H = 0.01; //Humidity is in kg/kg dry air
//*therefore wet bulb temperature =
Twetbulb = 312; //Inlet wet-bulb temperature
NTU = 1.5; //Number of transfer uni... |
f2eeff959735e6f06bee3cfe6a99af96d0b1a18a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH2/EX2.1/Ex2_1.sce | efd2db49ef2843237eb8e83a8436a2d9662482c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | Ex2_1.sce | // Example 2_1
clc;funcprot(0);
//Given data
R=6.2;//Rainfall in cm
A=2346;// Area in km^2
//Calculation
Tr=A*10^6*(R/100);// Total rainfall in m^2
V=(A*R*10^4)/86400;// Rainfall in day-sec-metre
R_k=(A*R*10^4)/10^6;// Rainfall in km^2-m
printf('\n Total rainfall=%0.4e m^3 \nVolume of rainfall=%0.0f day-sec... |
487d7514a182e64786f9bc9c722ba8691c49bb8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH13/EX13.8/13_8.sce | c8bce06b764b2e68789252ca6b03382d1ddc6624 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | 13_8.sce | clear;
clc;
V1=1;R1=1;R2=2;R3=1;R4=2;I2=0;
//I2=0 because port 2-2' has been open circuited
a=[R1+R2 -R2;-2 5];
b=[1;0];
b=inv(a)*b;
I1=b(1,1);
I3=b(2,1);
V2=I3*R4;
A=V1/V2;
C=I1/V2;
V21=0; //because port 2-2' has been short circuited
c=[3 -2;-2 3];
d=[1;0];
d=inv(c)*d;
I11=d(1,1);
I21=d(2,1);
B=V1/I2... |
874525a58d2bb53a27738b574bcaf56dee2ea312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.14.13/ex1_14_13.sce | fa544dd24977742f0f862173f5f7b569246c3029 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sce | ex1_14_13.sce | //Chapter-1,Example1_14_13,pg 1-63
n=2 //BCC structure
ro=9.6*10^2 //density of sodium crystal
A=23 //atomic weight of sodium crystal
N=6.023*10^26 //Avogadro's number
a=((n*A)/(N*... |
b71ff8569c39b024a6e21141f011c20a6f20db6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH6/EX6.1/Example_6_1.sce | dc1f981fbf703a6c87cb091527cfbdf7b623669b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | Example_6_1.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Properties of Pure Fluids
//Example 1
clear;
clc;
//Given:
betta = 1.25*10^-3; //coeffecient of expansion (K^-1)
V = 0.1; //molar volume of organic liquid (m^3/kmol)
P2 = 20; //final pressure (bar)
P1 = 1; //initial pressu... |
9ecf83c17c9c77995faf2ae603625ab522efb921 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH10/EX10.10/Ex10_10.sce | 7b2f136f4003b76c3b21929e24df22bcd5232c0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | Ex10_10.sce | //Example 10_10 page no:455
clc;
//given
K=0.9;
L1=10^-6;
L2=100*10^-6;
C=0.1*10^-6;
Rs=10;
R2=10;
Vi=15;
//calculating the resonance frequency
M=K*sqrt(L1*L2);
Wr=1/sqrt(L2*C);
Fr=Wr/(2*%pi);
Fr=Fr/1000;//converting to kilo Hz
disp(Fr,"the resonant frequency is (in kHz)");
//calculating the output volt... |
dc2deb5590952e40065c7431bbe099d5c2a60014 | fa73b9454b1d003e901d57ef2121b7544bcdfef2 | /scenes/custom_2.sce | 75e48e568a93bcf1de205cdf6c7a0ebdc5f7ae01 | [] | no_license | bernielampe1/ray_tracer | ea91cf08188194f6a0d1e8c9e95baa4aea12f021 | 7fa963ccd07695be3a78acd4837af6cd439698b9 | refs/heads/master | 2021-01-02T01:16:52.595743 | 2020-03-02T12:36:03 | 2020-03-02T12:36:03 | 239,428,546 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,434 | sce | custom_2.sce | sce1.0
# camera
eyepos 750 75 150
eyedir -0.2 1.0 0.3
eyeup 0.0 0.0 1.0
wdist 20.0
fovy_deg 70
nx 1280
ny 640
#options
max_recursion 8
aasample 2
# scene
ca 0.1 0.1 0.1
background 0 0 0
{
# cylinder cube frame around bottom plane
cr 0.8 0.0 0.8
cp 0.1 0.0 0.1
sh... |
eef8daba954ab1408e5529930ad5c3722bcc5bc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH12/EX12.26/Ex12_26.sce | 94b923c6b09de1e380d59a8ec0cf7f352530a891 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Ex12_26.sce | //chapter12
//example12.26
//page261
R1=18 // kilo ohm
R2=4.7 // kilo ohm
Re=1 // kilo ohm
Vcc=10 // V
V_B=Vcc*R2/(R1+R2)
printf("voltage at base = %.3f V \n",V_B)
printf("The fact that V_C=10V and V_E is nearly equal to V_B reveals \nthat I_C=0 and I_E=0.So I_B drops to zero.So obvious fault is R_E is o... |
076b434dcae0d1d8a1b760bd7858a3c2e19ab253 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.10/Ex7_10.sce | 7ffdcff4109780ee72feaf7516107764aa3c3d5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_10.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 237 and 238
clear;
clc;
//Given Data
gm=5D-3;//transconductance in Siemens
RD=1D3;//drain resistance in ohms
//Solution
GV=gm*RD;//voltage gain
printf("GV = %d",GV);
|
784557bdb93b66d0223d514e4200c35b35befbb2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Principals_And_Applications_D._P._Leach_And_A._P._Malvino_45.zip/Digital_Principals_And_Applications_D._P._Leach_And_A._P._Malvino_45/CH1/EX1.2/example_1_2.sce | 49b1a0c52f5645f83985d564bae3ab4e714d8577 | [] | 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 | 153 | sce | example_1_2.sce | errcatch(-1,"stop");mode(2);//Example 1.2
;
;
n=8; // given no of flip flops
max_count = 2^n -1 ;
printf("Maximum count = %d",max_count);
exit();
|
1e65de28642df4f21787a48b536a272661ef5bc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.22/Ex25_22.sce | 6e9dced872717e7d3390967f48fa2702beff1bd6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | Ex25_22.sce | clear
//Given
mp=232.03714
mn=228.02873
m0=4.002603
a=931.5
A=232.0
e=1.6*10**-19
m=1.66*10**-27
//Calculation
M=mp-mn-m0
Q=M*a
K=(A-4)*Q/A
S=sqrt((2*K*e)/(4.0*m))
//Result
printf("\n (i) Kinetic energy is %0.1f Mev",K)
printf("\n (ii) Speed of particle is %0.1f *10**7 m/s",S*10**-4)
|
77b833424d849638cd8be786e326d514daec1c8d | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2hp/test_13.sce | bd88725f338be926b381c82a756febbd2b54b17c | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | test_13.sce | // Test # 13 : For zero valued inputs
exec('./allpasslp2hp.sci',-1);
[n,d]=allpasslp2hp(0,0);
// !--error 10000
//Wo must lie between 0 and 1
//at line 41 of function allpasslp2hp called by :
//[n,d]=allpasslp2hp(0,0)
|
27b88c3effe633a82ab6560e21703fb2fe7d9434 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH8/EX8.4/Chap8_Ex4_R1.sce | 560e8a63bd91072dafed9dafcacaaa93e2134b39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,707 | sce | Chap8_Ex4_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-8,Example 4,Page 278
//Title: Entropy departure using Beattie-Bridgman equation of state
//================================================================================================================
clear
c... |
d6b9c4629e036d26af73461f788d1c83d1006628 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH2/EX2.6/Ex2_6.sce | ee2f02e6aef9df753fdc2d3603f26995e285e42d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 895 | sce | Ex2_6.sce | clc();
clear;
//(a)Tunning fork
nu= 440; // Frequency in Hz
V=340; // velocity of sound in air in m/s
lambda= V/nu ;// Wavelength of sound wave in m
k= 2*%pi/lambda; // Wave number in m
//(b) Red Light
nu1 = 5*10^14;// Frequency of Red light in Hz
V1 = 3*10^8;//Velocity of light in m/s
lambda1= V1/nu1; //Wa... |
30d9d5042cc3aff4637c4263e93a836bfdb061f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH7/EX7.3/Example7_3.sce | dbb3f291cf11b4e14d631c52288c05975031c930 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example7_3.sce | //Example 7.3
clc
format(5)
VGSoff=-6
IDSS=8
ID=4
disp("ID = IDSS*[1 - (VGS/VGS_off)]^2")
VGS=(1-sqrt(ID/IDSS))*VGSoff
disp(VGS,"Therefore, VGS(V) = ")
VP=abs(VGSoff)
disp(VP,"VP(V) = |VGS_off| = ") |
bc317f16e0eb6c092c0a33be0fcfa6eb6efea0fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.13/Ex5_13.sce | 56d1dc84007ef182d77c998fd7d3f0f51416ced9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sce | Ex5_13.sce | clc;
e=1.2; // pu excitation emf
xs=0.8; // pu synchronous reactance
vt=1; // pu rated voltage
ia=1; // pu armature current for KVA=100 %, vt*ia=1 therefore ia=1;
pf=cosd(asind((e^2-xs^2-1)/(-2*xs))); // leading power factor
pd=vt*ia*pf;
printf('Mechanical power developed by motor is %f pu\n',pd);
e=1; // pu e... |
b4373c1048bc588e1fe2f4e9c9f2859dfd685f0e | 60acf54211c534dae12601541518c7f3692c9899 | /Linux/scripts/hs.search.chwon.sce | 60cd8b16d77fa7f03c9850a5a2a48ef349769e3e | [
"MIT"
] | permissive | webappcreations/dotLinux | 67159a42510e60d18f059f7c9ac955eee1c3e4f2 | aac20d0ed2ff28b2701febbe49a0152cb94f50da | refs/heads/master | 2021-05-09T10:35:02.938723 | 2018-03-19T16:14:37 | 2018-03-19T16:14:37 | 118,967,881 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 252 | sce | hs.search.chwon.sce | 473 chwon -u goalador ~/.mpdconf
404 chwon -u goalador ~/.mpdconf
304 chwon -u goalador ~/.mpdconf
72 chwon -u goalador ~/.mpdconf
49 chwon -u goalador ~/.mpdconf
49 chwon -u goalador ~/.mpdconf
49 chwon -u goalador ~/.mpdconf
|
0c9a8eb6c5e9861ef54a006c3b9caf616a9d1ce1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH3/EX3.2/Ex3_2.sce | 473dec64f3e32b735b6a96aae10c75396c5dbb77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_2.sce |
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 3.2
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
n1=1.46;//refractive inde for the silica
p=0.286;//photo elastic coefficient for the silica
Bc=7e-11;//isothermal compressibility in... |
639b52cdafc663594753affe68aad3a509b2c5cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH3/EX3.33/MS_33.sce | 9015042e3500f11b9bcf661b1c297c2ebb7f215b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | MS_33.sce | // sum 3-33
clc;
clear;
F=50;
B1=4;
B2=8;
D=12;
y1=D/3*(B1+(2*B2))/(B1+B2);
y2=12-y1;
R=6+y2;
A=(B1+B2)/2*D;
//Let x= h^2/R^2
a=(B1+((B2-B1)*(y1+R)/D))*log((R+y1)/(R-y2))
x=R/(A)*(a -(B2-B1));
x=x-1;
x=1/x;
KG=y2+8;
M=F*KG;
sigd=F/A;
//Let bending stress at a be sigA
sigA=M/(A*R)*(1+(x*y1/(R+y1)));
... |
99118f76136e34c09838a26796ba54e5974a5e66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH2/EX2.2/2_2.sce | 78ac6a6af293c097fa501d73f74ad2e283e0dce9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | 2_2.sce | clc
//Initialization of variables
Wb=-33000 //ft-lb
V2=3 //cu ft
V1=1 //cu ft
P=69.4 //psia
//calculations
Wa=P*(V2-V1)*144
W=Wa+Wb
//results
printf("Net work done = %d ft-lb",W)
|
8d1b28efd8df94f1b81d742f29dd71128e1ddd3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH2/EX2.4/ex2_4.sce | b1f89561271ba188a16e9895779cc5349b37c066 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex2_4.sce | //Page Number: 93
//Example 2.4
clc;
//Given,
c=3D+8; //m/s
f=10D+9; //Hz
zte=410; //ohm
//Wider dimension
lam=c/f;//m
lam=lam*100;//cm
a=3/(2*(sqrt(1-(120*%pi/zte)^2)));
disp('cm',a,'Wider dimension:');
|
a35a6bf431c9abfeb22fe936d98a280dd7a367d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.43/EX2_43.sce | 4b23c3ed04bf75a77e04e510a742f0743de52081 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | EX2_43.sce | clear;
clc;
printf("\nEx2.43\n");
//page no.-88
//given
h=6.624*10^-27;..........//planck's constant in ergs-sec
m=9.1*10^-28;.........//mass of electron in kg
w=3.2*10^-12;.........//work function in joule
c=3*10^10;...........//speed of light in cm/sec
lambda=3600*10^-8;...//wavelength in m
e=1.6*10^-12;...... |
88168adb64c3cba47391122c7aeeb23858466307 | 477abd9cafd593820f8c911ce94b35c93acd69d3 | /FACTORIZATION.sce | c2e1dcc8414f2f93b291ba0627179e186dcce271 | [] | no_license | khan2810/Scilab-Solver | 67cba0bcc29e7e93418c164393c6977ee632fe2f | 3636341eeefa62bf2fb690fcd9046e48de7eb1a1 | refs/heads/main | 2023-05-30T17:36:59.061148 | 2021-06-14T15:25:47 | 2021-06-14T15:25:47 | 376,855,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,444 | sce | FACTORIZATION.sce | //Solving by LU decomposition method
clc
clear
function[x]=crout(A,b)
[n,m]=size(A)
L=zeros(A)
U=zeros(A)
for i=1:n
L(i,1)=A(i,1)
U(i,i)=1
end;
for j=2:n
for k=2:n //This loop is for checking pivoting
if L(1,1)==0
temp=L(1,:)
L(1,:)=L(... |
0a36f20e3bcaa0698f2ab282e95b2be72b0be5a2 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /ODE/scilab/ode_ABM.sce | df81bef61bfbc7698a11654c20925e05afffa0a0 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | ode_ABM.sce | function [t,y] = ode_ABM(f,tspan,y0,N,KC)
// Adams-Bashforth-Moulton method to solve vector d.e. y’(t) = f(t,y(t))
// for tspan = [t0,tf] and with the initial value y0 and N time steps
// using the modifier based on the error estimate depending on KC = 1/0
if ~exists("KC", "local")
KC = 1
end
if ~exists("... |
634d824e339da43d2cb887e2daa4009cfebfcd3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH5/EX5.3.a/ex_5_3_a.sce | 002bb41fd6c6829779248121e01d006cb2d9d658 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | ex_5_3_a.sce | //Example 5.3.a: Logarithmic increment
clc;
clear;
close;
//given data :
theta1=12.5;
theta2=10;
lamda=log(theta1/theta2);
disp(lamda,"Logarithmic increment, = ")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.