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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d7d691c57cade7a812576003f391fe8035c696fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH2/EX2.5/Ex2_5.sce | cfc821045d26e54bfd6e7954b538c7bfd3610ea2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | Ex2_5.sce | clear; close; clc;
cox=1.6*10^(-6);//from_previous_example
v=0.4;
vto=0.08;//from previus example
qe=1.602*10^(-19);
n1=(cox*(v-vto))/qe;
disp(n1,'ion implant doses(in ions/cm^2)');
|
59de86112511d627681ef832ec795ed07e2bf211 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH6/EX6.2/Ex6_2.sce | 5ea0eed06df0d3455712ebf76b4615e57f8d5195 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex6_2.sce | //Chapter 6 Solutions of Electrolytes
clc;
clear;
//Initialisation of Variables
M= 0.001 //molar
M1= 0.002 //molar
M2= 0.004 //molar
n= 1 //moles
n1= 2 //moles
v= 0.509
//CALCULATIONS
Is= 0.5*(M*n**2+M1*n**2+M1*n1**2+M2*n**2)
r= 10**(-v*n**2*sqrt(Is))*M
r1= 10**(-v*n1**2*sqrt(Is))*M1
//RESULTS
mprintf("Ionic streng... |
8bcc9cccfd42ed94cf4dc37777b8c2fa4afaade6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH34/EX34.7/Example34_7.sce | 859e083f784877aee0bead458f462b6440790dd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,109 | sce | Example34_7.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 8: PROTECTION OF ALTERNATORS AND AC MOTORS
// EXAMPLE : 8.7 :
// Page number 626-627
clear ; clc ; close ; // Clear the wor... |
ab0d423b97a3ad85a7b63416aaa8901ca4b9671f | 87bc77e7099940c476a849ac22f0c25912ab345e | /LA/Assignment1/class1.sce | b886d96cf406a8d88a159a37d1772bf2c179b134 | [] | no_license | Arindaam/Class-work | 8f4af9cc39301fe7231bfffe4b3e49842ddf3775 | c8ba9fa3981d8b352c227e2dede48e776c049d4c | refs/heads/master | 2021-06-26T09:55:33.884258 | 2021-06-22T15:51:51 | 2021-06-22T15:51:51 | 207,601,170 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | class1.sce | function []=gauss_el()
a=evstr(x_matrix('enter a 3x3 matrix ',rand(3,3)))
b=evstr(x_matrix('enter a 3x1 matrix ',rand(3,1)))
ab=[a b]
a=ab
n=length(b)
for i=2:n
for j=2:n+1
a(i,j)=a(i,j)-a(1,j)*a(i,1)/a(1,1)
end
a(i,1)=0;
end
for i=3:n
... |
1ebfd448cdf05b86040395c61cdd3e3c559a6727 | 48355d97461898b3f45c6ade638f3d55ba879607 | /scilab/munkres_test.sce | efdbe78fe2a16e75c464d45eb69e34f7dd4e44a1 | [
"MIT"
] | permissive | edison2301/pipol_tracker | 5756a7f79f3fe7f022b595cf70cb31ef771d1eb2 | 5056dd3858cdb5139373862da220082191301d2c | refs/heads/master | 2021-01-15T12:31:21.679183 | 2015-07-10T16:11:02 | 2015-07-10T16:11:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,201 | sce | munkres_test.sce | exec('/home/andreu/dev/ros_ws/src/pipol_tracker/scilab/munkres.sci');
AA = [10 19 8 15; 10 18 7 17; 13 16 9 14; 12 19 8 18; 14 17 10 19];
//AA = [10 19 8 15; 10 18 10 17; 13 11 9 14; 12 13 8 18; 11 17 10 13];
//AA = [10 19 8 15; 10 18 7 17; 11 16 9 14; 12 19 8 18; 14 17 10 19];
//AA = [10 1 8 15; 10 18 7 17; 11 16 9 1... |
2ba51be50b5da5a00530226f28370c4774862c70 | 5795ca20c359b3a7b7ee3fce13b1be9148f1dc5a | /leerYescribirEnArchivos.sci | b833d85095f9620f184befe33c35ff0a683fb4f1 | [] | no_license | amejorado/EstandaresSolucionProblemas | ddaf90491060e20d1e80da08b4944dad0bff12df | 70930f11844e91143cbaaacc7c229828cef860c0 | refs/heads/master | 2016-09-06T00:33:21.443807 | 2014-07-16T16:01:58 | 2014-07-16T16:01:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,835 | sci | leerYescribirEnArchivos.sci | ''''''''''''''''''''''''''''''''''''''''''''''
' Luis Ricardo Salgado Garza
''''''''''''''''''''''''''''''''''''''''''''''
function nuevoStr=leerYcodificar(dist)
strCaracteres=('0':'9')+' '+('A':'Z');
strCaracteresCodigo=generaCodigoCesar(strCaracteres,dist);
vStrCaracteres=strsplit(strCaracteres);
... |
3c72532fc7f07885e9d6e28b4671253f40e636ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH19/EX19.2/19_2.sce | 96fb9fc911bd102c2631b337e5c68c56c26f5ccd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | 19_2.sce | //Car on road
//refer fig. 19.8
//Consider dynamic equilibrium of car
v=sqrt(0.4*9.81*50)*((60*60)/(1000)) //kmph
//Limiting speed from the consideration of preventing overturning
//Taking moment about point of contact of outer wheel with road and noting that R1=0 when the vehicle is about to overturn
//Limiting... |
0da64c21115320acabd8be8cd5a573ec98a3f7ec | e657bbadea88191ece0e48eb447173a4c5f816f6 | /tasks/cw4/pythagoreanSum(12_04_2017).sci | deb707a8ebe1fd8baaeac7eb749c62beb44ce8fe | [] | no_license | vainia/Learning-SCILAB | c37d6071907ea4fad811071a3164454a927602d8 | d77877b1316b8b3546cb32cb9e29e7ad70d25280 | refs/heads/master | 2020-03-10T09:51:08.444686 | 2018-04-12T23:13:06 | 2018-04-12T23:13:06 | 129,320,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sci | pythagoreanSum(12_04_2017).sci | function p = sumpit3(a,b)
p = max(abs(a),abs(b))
q = min(abs(a),abs(b))
while (q < > 0.0)
r = (q/p)^2
s = r /(4+ r)
q = s * q
p = p + 2*s*p
end
endfunction
|
33e7f2983b19ce3bed833290439879c272daff38 | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/macros/flex_blocks/FLEX-MTB/FLEX_MTB_encoder.sci | 47858019a5a8ae090227e726a4a7c254d536d717 | [] | 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,720 | sci | FLEX_MTB_encoder.sci | function [x,y,typ] = FLEX_MTB_encoder(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
exprs = arg1.graphics.exprs;
enc_type = exprs(1);
standard_draw(arg1);
case 'getinputs' then
[x,y,typ] = standard_inputs(arg1);
case 'getoutputs' then
[x,y,typ] = standar... |
9442c03649ca675deef483445488d9b5b431aae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH4/EX4.19/ex4_19.sce | 6bffa657e24361de3ade48b6922967c59cdc5748 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | ex4_19.sce | clc;
C=2; //capacitance in Farad
d=0.5*10^-2; //distance in m
eo=8.85*10^-12; //constant
A=(C*d)/(eo); //calculating area
disp(A,"Area in m square = "); //displaying result |
f775ae2a535ef49c9c96cba0d91f6175ab91c3eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH5/EX5.9/Ch05Exa9.sce | f640baa388f721635c1857bb3dccd00094f5b172 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | Ch05Exa9.sce | // Scilab code Exa5.9 : : Page 205(2011)
clc; clear;
a_v = 14; // Volume energy constant, MeV
a_s = 13; // Surface energy constant, MeV
a_c = 0.60; // Coulomb energy constant, MeV
a_a = 19; // Asymmetric energy constant, MeV
A = 202; // Mass number
Z = 82; // Atomic numb... |
2c54e0a790ae1700a73f7de0e5158fd2c87f18d1 | 971b52073b0a9541c928a42091aba77bddc0743c | /ecoli-0_vs_1/results/result9s0.tst | e6d2bdb6ef1ad2b5f84e13a5a02df254e8e160bf | [] | no_license | minminmail/FARCHD_Negative_Rules | 66cb7fd637a9394939688d5a9a804bdcdb9e7f47 | eb69bae9ffe5b94f3191b5456ea15fffacaa3e76 | refs/heads/master | 2023-07-22T15:50:10.413213 | 2021-08-27T06:03:30 | 2021-08-27T06:03:30 | 327,358,135 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,428 | tst | result9s0.tst | @relation
@attribute Mcg real[0.0,0.89]
@attribute Gvh real[0.16,1.0]
@attribute Lip real[0.48,1.0]
@attribute Chg real[0.5,1.0]
@attribute Aac real[0.0,0.88]
@attribute Alm1 real[0.03,1.0]
@attribute Alm2 real[0.0,0.99]
@attribute Class{positive,negative}
@inputs Mcg,Gvh,Lip,Chg,Aac,Alm1,Alm2
@outputs Class
@data
po... |
7ab1ab1ece1f49e728bed5c4a97547c3ced7c2aa | 2391eec552dac38c05f9c53bae1ec612f2871f51 | /Lab 5/input_section.sce | 715180341d40833e3592fe25146c7e44c6e4fc63 | [] | no_license | Zebz13/EEE-S7-Power-Systems | fe9e00e27242fa51650bf87e46c504a716a22edf | 1fc9ab29e96a5d5f8a23d629364cadf2c70c4a40 | refs/heads/main | 2023-01-10T03:53:34.295752 | 2020-11-08T17:03:45 | 2020-11-08T17:03:45 | 309,158,346 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,637 | sce | input_section.sce | //start
clc ;
clear ;
//line inputs
linedata = input("Enter line data:")
Yshunt=input("Enter shunt admittance:")
// line data extraction
from= linedata(: ,1)
to= linedata(: ,2)
imp= linedata(: ,3)+ linedata(: ,4)*%i
half_adm= -linedata(: ,5)*%i
bus_no= max(max(from,to));
Ybus= zeros(bus_no,bus_no);
//... |
c987f841e7c963aaffd74f4651bcf81e53566c69 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.4/Ex3_4.sce | 03aa19196a78bdb29de9f37ac9907990d36f5ed7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | Ex3_4.sce | //===========================================================================
//chapter 3 example 4
clc;
clear all;
//variable declaration
ep = 5; //percentage error
Am = 20; //measuredd value in H
//calculations
er = ep/(100); //relative error
//A = Am+dA
//dA = ... |
d3b86b174205b8236a1418c8e0e155ad07ca52e0 | 9b68b3d73b63ebcbfe18cc9a4aa8e91c84833a84 | /tests/libs/hdf5/test-env-variables-new/C/H5D/testfiles/112/h5ex_d_checksum.tst | 6f1bd1807129eb78683e3f37cbb1ee290d59f6d2 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-llnl",
"LicenseRef-scancode-hdf4",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | openhpc/ohpc | 17515db5082429eb9f250f12bf242b994beb715f | 725a1f230434d0f08153ba1a5d0a7418574f8ae9 | refs/heads/3.x | 2023-08-19T02:15:14.682630 | 2023-08-18T19:33:51 | 2023-08-18T19:34:18 | 43,318,561 | 827 | 247 | Apache-2.0 | 2023-09-14T01:22:18 | 2015-09-28T18:20:29 | C | UTF-8 | Scilab | false | false | 68 | tst | h5ex_d_checksum.tst | Filter type is: H5Z_FILTER_FLETCHER32
Maximum value in DS1 is: 1890
|
036fbe2c2b66dc64c2680a7a7c851f741e9fa29c | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /rlocusplot/rlocusplot.sci | f2353a313e52a70f8df66716bf589e0df5680b09 | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 2,752 | sci | rlocusplot.sci | function [varargout]=rlocusplot(sys,kmax)
//plots root locus and returns plot handle
//
//Calling Seqence
//h=rlocusplot(H,Kmax)
//
//Parameters
//H :- Siso linear system given by a transfer function or a state space
//representation.
//Kmax real(maximum gain desired for th... |
0d81a63c7fb9845e5fa491ac642b7e98560c0b7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.20/3_20.sce | 9840692d555c41372f6d493d39fbe3f1bba46fa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_20.sce | clear//
//Variables
R = 8 //Resistance (in ohm)
I = 2.5 //Current (in Ampere)
//Calculation
V = I*R //Voltage (in volts)
//Result
printf("\n The maximum safe voltage is %0.3f volts.",V)
|
3b7894af28e7d8f0eea17a9bc06dc830f589ecbd | 382c4ab7bd77fd8ea5a28d44133032bf3c657e66 | /Resolucion-Scilab/Helmholtz/HelmholtzDN.sce.txt | e212874ada88ac2edf383a896915da1b02a82e4e | [] | no_license | antoniocarrillo69/MDF | 647de12c74c7cbd40ee7ff79e18cb33595e0ab53 | bbafd03fd5c65bdbff61e5c7aa519a397c86597e | refs/heads/master | 2020-03-18T09:47:41.774616 | 2018-05-30T18:28:45 | 2018-05-30T18:28:45 | 134,580,287 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,929 | txt | HelmholtzDN.sce.txt | // Ejemplo de una ecuaci�n diferencial parcial en 1D
// Autor: Antonio Carrillo Ledesma
// -Uxx-k^2U=0
// 0<=U<=1
// U(0)=1 y Ux(1)=ikU(1)
TEST = 1; // (0) Diferencias finitas, (1) Diferencias finitas exactas segun Yau Shu Wong y Guangrui Li
function y=LadoDerecho(x)
y=0.0;
endfunction
function y=SolucionAnali... |
d0d421f091dcb691b829e028d72b5b017a3bcc37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH11/EX11.28/example28.sce | 89ec6e8325e608e39e8cd72a38c763fec4d871f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | example28.sce | //Chapter-11 example 28
//=============================================================================
clc;
clear;
//input data
BW = 100//band width in Mhz
PW = 4;//pulse width in us
//Calculations
CPW = 1/BW;//compressed pulse width in us
CR = PW/CPW;//compression ratio
//output
mprintf('compressed pu... |
b83c9cce37d768c81ac75e46e7047b141e7e1c59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.17.1/Ex3_17.sce | 3ceec93cc405cb3d30d55a384df9defdb010f62a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sce | Ex3_17.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
P1=1.5;
V1=3;
T1=27+273;
P2=30;
T2=60+273;
R=0.287;
m1=(P1*100*V1)/(R*T1)... |
fe487aed1566d42b9c6170e00862d0a54a46d023 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH13/EX13.3/sadiku_13_3.sce | 4a4275e74f2b2f07642ff987f34a8badcc7cc55e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 103 | sce | sadiku_13_3.sce | clear;
clc;
G=(integrate('(sin(P))^3','P',0,%pi))*integrate('1','Q',0,2*%pi)
Gd=4*%pi/G;
disp(Gd)
|
85c65507eed1a777fe5cd798479f4f666a5a72e2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/percent/%lsst.sci | 71cd5bbf28bf8659bace5bcfeaf40ebc8580fc88 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 253 | sci | %lsst.sci | //<s>=%lsst(s)
//<s>=%lsst(s) calcule le dual d'un systeme lineaire decrit par repre-
//sentation d'etat s.
//Cette macro correspond a l'operation s'
//!
// origine s. steer inria 1987
//
[a,b,c,d,x,dom]=s(2:7)
s=list('lss',a',c',b',d',x,dom)
//end
|
e861ce9be61ac33b35b560eb295a331ef939389d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH5/EX5.7/Ex5_7.sce | e6be1ae174b07f5b434da552a70838f6c5ccddb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,125 | sce | Ex5_7.sce | // chapter 5
// example 5.7
// Calculate the total power loss
// page-183
clear;
clc;
// given
V_DS=120; // in V (DC power supply)
I_D=4; // in A (drain current)
t_r=80; // in ns (rise time)
t_f=120; // in ns (fall time)
I_DSS=2; // in mA (drain current at saturation)
R_DS_on=0.2; // in ohm (drainn ot source resistance... |
ce278aae5a13cc035267bf048629c6d57e22e9b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH21/EX21.6/21_06.sce | 8a836acdfbfe2189a64f5ae2f7c6a0af8d530ceb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | 21_06.sce | //Chapter 21, Problem 6
clc;
N=10; //turns ratio
v1=2.5e3; //primary voltage
P=5000; //power
v2=v1/N; //secondary voltage
i2=P/v2; //secondary current
Rl=v2/i2; ... |
a95a5ddb4a88b40d914f169994592e363cec4e04 | 1218e33055a066314bb364402221c6449cb2b1f9 | /Ipopt-3.12.7/ThirdParty/Mumps/MUMPS/SCILAB/examples/schur_example.sce | 5c8c001733750872f40910b9acbcd20f757672c6 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | yueyangdk/CarND-MPC-Project | 1086c912bf8313d34dc47f2020483c7abd1729e4 | a4edcf25a7312ec3a79c04db6cfe66df6f7b1479 | refs/heads/master | 2020-04-06T19:42:43.737116 | 2018-11-15T17:54:14 | 2018-11-15T17:54:14 | 157,746,640 | 1 | 0 | MIT | 2018-11-15T17:16:39 | 2018-11-15T17:16:38 | null | UTF-8 | Scilab | false | false | 1,661 | sce | schur_example.sce | //A simple demo for the MUMPS interface, with the return of the schur complement
//to run it, You just have to execute the instruction within Scilab
// exec sparse_example.sce;
//*********************** MATRIX INITIALISATION ***********************//
n=10;
mat=sprand(n,n,.5)+speye(n,n);
size_schur=3;
//... |
e87813c4218e2bfdb39e2b53dff0aaec8f99735f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH1/EX1.10.1/Ex1_10_1.sce | 43c1e60c1c52cdc7985957b6faf0e37694dd30ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ex1_10_1.sce | //Ex 1.10.1
clc;clear;close;
format('v',9);
//Given :
l=4*10^-2;//m
A=10*10^-6;//m^2
V=1;//Volt
I=5*10^-3;//A
q=1.6*10^-19;//Coulomb
mu=1300;//cm^2/V-s
J=I/A;//A/m^2
E=V/l;//V/m
n=J/(q*mu*10^-4*E);
v=mu*10^-4*E;//m/s
disp(n,"Concentration of electron(per m^3) : ");
disp(v,"Electron velocity(m/s) : ");... |
20759eb45d2094d1fdd72221d7fb47e192e1d8a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.70/Example1_70.sce | ca20faf5850bbe12cc6d72deb198816997b1b41f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 781 | sce | Example1_70.sce | // Example 1.70
clc;clear;close;
// Given data
format('v',6);
V=440;//in Volt
f=50;//in Hz
phase=3;//no. of phase
P=6;//no. of poles
Pin=80;//rotor input in KW
f1=50;//in Hz
f2=100;//in rotation/min
I=65;//rotor current in Ampere
//calculations
f2=f2/60;//in Hz
S=f2/f1;//slip
disp(S,"Slip(p.u) : "... |
6852dd7531a7a54565de578be88cb087e9b5cb2f | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH10/EX10.1/ex10_1.sce | 14fdbaee3b286980466e6fa863ade8d282efff13 | [] | 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 | 354 | sce | ex10_1.sce | clc;
clear all;
F=1000110;//ASCII value of F
r=1110010;//ASCII value of r
a=1100001;//ASCII value of a
n=1101110;//ASCII value of n
k=1101011;//ASCII value of k
SP=0100000;//ASCII value of SP
D=1000100;//ASCII value of D
u=1110101;//ASCII value of u
g=1100111;//ASCII value of g
disp(F,r,a,n,k,SP,D,u,n,g,a,n,... |
64138553c4d1ec3b83b366918748412ed4c34116 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH5/EX5.10/Ex5_10.sce | 1204f24dff97094cee936bbfd414f292f8076edd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_10.sce | //voltage standing wave ratio
//given
clc
clear
format
Vr=0.37//volts
Vi=1//volts
row=Vr/Vi
if(row>=0)
VSWR=(1+row)/(1-row)
VSWR=round(VSWR*10)/10///rounding off decimals
disp(VSWR,'THE voltage standing wave ratio is:')
else
disp('not possible')
end
|
ba7990fe852618c138aeaa2edf9604998103601e | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH10/EX10.12/Ch10Ex12.sce | 9f3b34b2858e5336141cea6729e7adedf6698645 | [] | 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 | 581 | sce | Ch10Ex12.sce | // Scilab code Ex10.12: Pg.465 (2008)
clc; clear;
a = 0.1; // Lattice spacing, nm
k = %pi/a; // Wave number
E_F = 1; // Fermi energy gap, eV
E_g = 1e-04; // Binding energy of coper pairs, eV
// Since E_g/E_F = 2*delta_k/k, solving for delta_k
delta_k = E_g/E_F*k/2; // Uncertainty in the value of ... |
6c8f94005529acfbece7d7ce20f10c5352ac6639 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_0/aplicacion.sce | 32d01761927daa582243c247afc63f0c45064397 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | aplicacion.sce | clc
//para los 11 dias
y0 = [31.237385*10^6;6;0];
t= [1:11]
Infec_exac = [1;6;7;9;11;17;22;38;43;71;86]
y=ode(y0, 1, t, virus)
Infec_SIR=y(2,:)
disp([Infec_exac Infec_SIR'])
|
7cfd41fc84c8ca20eb203a3a64c107e0e8effeb7 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/pyramid/test3.sce | cd1261ad0b6335c74282f990ef820ff2878e0f13 | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 180 | sce | test3.sce | //error - address not mapped
inputimage1 = imread('image_0197.jpg'); //read an image
a=pyramid(inputimage1,'expand',3); //perform 'expand' operation
imshow(a); //view the output
|
7ae259073040d41ed46c1997bf69debaa18386e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH2/EX2.10/example2_10.sce | 6f9389ac75aa3dd855a15b500b02af25c593aa7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | example2_10.sce | //Example 2.10
//inverse Z transform of 1/(1-a*z^-1)
clear;clc;
xdel(winsid());
// a=1
function y=f(z);
y=z/(z-1) //upon simplification of the given equation
endfunction
intc(1+%i,2-%i,f)
|
8b877a25272196462a8e8e9b9b232b35e04e2703 | cefe1787aed5bd5b40d2139f03ad095cab6f6c01 | /input/perfecto.tst | 464617423c5a3e01b55ada42f4de0b44cd0a59e2 | [] | no_license | ftmlik/tfg_roc_keel | 088e73a34b6569c1c0a0d5880d98740888ef552d | 071179de84fa663099aaeb695d60fbbda6076e11 | refs/heads/master | 2020-04-04T02:49:17.564536 | 2017-01-07T15:16:13 | 2017-01-07T15:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | tst | perfecto.tst | true-class positive negative
positive 0.9 0.1
positive 0.8 0.2
positive 0.7 0.3
positive 0.6 0.4
positive 0.55 0.45
positive 0.54 0.46
positive 0.53 0.47
positive 0.52 0.48
positive 0.51 0.49
positive 0.505 0.495
negative 0.4 0.6
negative 0.39 0.71
negative 0.38 0.72
negative 0.37 0.73
negative 0.36 0.74
negative 0.35 ... |
a684d8bfdd4bdb1e419a5bc8c3ec303ac1782074 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/freqs.sci | 05dd294c5c4946297e53adf9f03815a724ba5a98 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 813 | sci | freqs.sci | function h = freqs (b, a, w)
//Compute the s-plane frequency response of the IIR filter.
//Calling Sequence
//h = freqs (b, a, w)
//Parameters
//b: vector containing the coefficients of the numerator of the filter.
//a: vector containing the coefficients of the denominator of the filter.
//w: vector containing freque... |
66ef03d8ae1b1680c673951a93df92fb51749137 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH2/EX2.3/Ex2_3.sce | 9cb7255bea286bb91ae31efe5aedc29a4d196337 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex2_3.sce | clc
//
//
//
//Variable declaration
e=0.14 //width of the slit
y=1.6 //Distance of center of dark band from middle of central bright band
n=2 //no. of dark band
D=2 //Distance from the slit
//Calculations
lambdaa=((e*y)/(D*n))*10**5
//Result
printf("\n The Wavelength is %i Angstrom",lambdaa)
|
6a6d9985a4365d77723ada7ed7a5a1aa1c3e23e8 | ba5d14a99711f45c6f3d2d28e4e8c12c9120e536 | /Função case.sce | 1824e38f383c6f454901edf2c6a01de5cddaf2dc | [] | no_license | RuanXavierSantos/Exercicios_Scilab | 0bf7aa6cc0b94e84bd560861c77d7a1a6c17bc2b | 219c1609766e1ac1ad27f9469012d7f3bb6c8dea | refs/heads/main | 2023-09-03T00:50:12.356763 | 2021-10-20T13:29:22 | 2021-10-20T13:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Função case.sce | mes = input("Digite o mês: ");
select mes
case 1&&8 then
mprintf("Boa");
case 9 then
mprintf("hdfjhfdjs");
else
mprintf("nmdj");
end
|
abced9c251174e30b391cd33246580db5b7eaa83 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.5_13.tst | 9f96b2b8ad303551d52af7a2c858e8facb7fb28a | [] | 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 | 33,693 | tst | bow.5_13.tst | 5 4:0.5 6:0.2857142857142857 7:1.0 8:0.25 12:2.0 20:0.3333333333333333 21:0.3333333333333333 23:1.0 26:0.02857142857142857 38:1.0 48:1.0 49:0.015503875968992248 51:2.0 55:0.5 64:0.75 68:1.0 71:2.0 100:0.1 133:1.5 137:1.0 176:0.5 183:1.0 190:0.2 236:0.3333333333333333 366:1.0 383:1.0 407:1.0 483:2.0 611:1.0 647:1.0 879:... |
1e20609c594181ae41cf89a3cabd5608a6e5b969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.34/Ch1_1_34.sce | 2984e3be196aa2ff9d1b76466f97051893fa79ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ch1_1_34.sce | clc
disp("Example 1.34")
printf("\n")
disp("find out diode current")
//given
V=2
Vr=0.6
rd1=0
rd2=0.2
R=14
//when rd=0
//diode current
I1=(V-Vr)/R
printf("Diode current when rd=0 is \n%f ampere\n",I1)
//when rd=0.2
//diode current
I2=(V-Vr)/(R+rd2)
printf("Diode current when rd=0.2 is \n%f ampere\n",I2... |
e07d0f7e72661dcf387191ae3d73264f8c4d2cea | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/tests/pow.tst | 364fcb56459925ac8aadb2250b423330fb20c1d2 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 299 | tst | pow.tst | x1=1:3;
x0=0:2
x1**2
x0**2
x1**2.000000001
x0**2.000000001
x1**(-2)
x1**(-2.000000001)
p=2+%eps*%i;
x1**p
x0**p
x1**(-p)
x1**0
//x0**(-p)
y=%eps*%eps*ones(1,3)
x1=x1+y
x0=x0+y
x1**2
x0**2
x1**2.000000001
x0**2.000000001
x1**(-2)
x1**(-2.000000001)
p=2+%eps*%i;
x1**p
x0**p
x1**(-p)
x1**0
x0**(-p)
|
d6a8b2b2d54896c61bc902cac76dd096f509b25a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH11/EX11.7/example11_7.sce | 10841368f43ff549ec5e1059c43804519491ec6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | example11_7.sce |
//example 11.7
//calculate leading dimension of hydraulic jump stilling basin
clc;funcprot(0);
//given
q=7.83; //discharge through spillway
w=12.5; //width of fall
d=2; //depth of water in downstream
g=9.8;
y1=0.5;
v1=q/y1;
F1=v1/(g*y1)^0.5;
//F>1,flow is super-critical
v2=q/... |
670fbdbe661d5703021661077f33ec18d262a0ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1619/CH2/EX2.2.2/Example2_2_2.sce | 670ea828a1a1772f0e1c0bb914ce90f6c7118897 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | Example2_2_2.sce | //Example 2.2.2 page 2.5
clc;
clear;
z=30; //Length of the fibre in kms
alpha= 0.8; //in dB
P0= 200; //Power launched in uW
pz= P0/10^(alpha*z/10);
printf("The output power is:%.4f uW",pz);
|
df29f100844bdfa948bebc1e1741c43dd39185e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH7/EX7.6/ex6.sce | 714611d643b0fcf30661075d24c2eba0b41f55f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | ex6.sce | //CHAPTER 7_ Flow Measurement
//Caption : Sonic nozzle
// Example 6// Page 443
disp("Let uncertainty in mass flow rate be represented by wm")
disp("Let uncertainty with pressure be represented by wp")
disp("Let uncertainty with temperature measurement be represented by wt")
// To calculate the uncertainty in the ... |
fe5f83d47dea911077fbf5caa3e6994bf2f10808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH9/EX9.4/Example_9_4.sce | 5da5391ff7b2fed5edac724e9da70a15ff11c37c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sce | Example_9_4.sce | //clear//
clear;
clc;
//Example 9.4
//Given
Dt = 6; //[ft]
Da = 2; //[ft]
n = 80/60; //[rps]
T = 70; //[F]
rho = 62.3; //[lb/ft^3], From Appendix 14
mu = 6.6*10^-4; // [lb/ft-s], From Appendix 14
Nre = Da^2*n*rho/mu;
//From Fig. 9.15
ntT = 36;
tT = ntT/1.333 //[s]
|
1c76db125421d25be8430fc4dc8bcd1a840162ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH20/EX20.10/Ex20_10.sce | fff6faf042717757c6d13f2ff984ab82b53b21ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex20_10.sce | clear
//Given
L=800.0*10**-7
C=3.0*10**8
f1=4.5*10**6 //Hz
//Calculation
f=C/L
d=(1/100.0)*f
E=d/L
G=d/f1
//Result
printf("\n (i) number of channels for audio signal is %0.1f *10**8",E*10**-14)
printf("\n (ii) number of channels for video tv signal is %0.1f *10**5",G*10**-3)
|
9acdadc7fabaff14cb84f46f61b53cbc994de472 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3513/CH6/EX6.2/ch6_2.sce | 3c3e7ebab1e8436403a7e0072fc35b819e35acd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,356 | sce | ch6_2.sce | //Compute the control limits
//page no 105
clear
clc;
K = 25;
n = 5;
X1 = 357.5;
R1 = 8.8;
USL=14.8;
LSL= 14.0;
X2=X1/K;
R2=R1/K;
A2 = 0.58;
d2 = 2.326;
d3 = 0.0;
D4 = 2.11;
//Control limits for R-chart
UCLR = D4*R2;
LCL = d3*R2;
CL = R2;
//(a) Control limits for X -chart.
UCL = X2 + A2*R2;
mprint... |
192d0bbe439dd823a39bace45e2a1e0f23119a9b | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkbpc2bpc/test_6.sce | 5192c1deb6efbaf991dc0e3c2fb1443c56a4b985 | [] | 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 | 312 | sce | test_6.sce | // Test # 6 : Range test for Input Argument #4 or Input Argument #5
exec('./zpkbpc2bpc.sci',-1);
[z,p,k,n,d]=zpkbpc2bpc(7.3,5.2,9.7,[-0.9,0.6],[4,0.8]);
//!--error 10000
//Wt must lie between -1 and 1
//at line 55 of function zpkbpc2bpc called by :
//[z,p,k,n,d]=zpkbpc2bpc(7.3,5.2,9.7,[-0.9,0.6],[4,0.8]);
|
d97187fd9d84f6a5da4afb56a8ff0049a22e2a8b | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/arrays_dimensionless_runme.sci | 0e96a97ffe4a13101b3d66aec62ac6cdb415ac9c | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sci | arrays_dimensionless_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:8f1ceba7ab29f6e9d1757a8806c1554a8c5a1e779af5c34fdcf7e8fe3ab183f8
size 1499
|
f18a0ecb947ccd9583c1b1ad4a252f1e5e9aafac | ff4dd3a89b5ce8471be3aa266679140ed801258b | /scilab/projet.sce | 9ab0ea923fa128b32aefa58d03fedfeda20635c2 | [] | no_license | tizot/projet-scilab-map411 | eff8fb30889699331e1e7d89883c9cb2e45b9ee1 | 4df8040547933ec5586dd7efa6da19c4e1c5f1f7 | refs/heads/master | 2016-09-06T17:12:07.899774 | 2015-01-14T14:28:38 | 2015-01-14T14:28:38 | 28,593,164 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 783 | sce | projet.sce | ///////////////////////////////
// Un calcul de flot optique //
// BRUNEAU Basile //
// MASSET Camille //
// MAP411 //
///////////////////////////////
// Programme Scilab du projet.
// Les fonctions utilisées ont été définies dans 'functions.sci'
exec('functions.sci', -1);
//... |
05acd92c7d164f1961af5c4ea293a0ec21a56c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH6/EX6.6/6_6.sci | d57f9d72be3eb9cc0e0ee26b2fed8b0e3a3193e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sci | 6_6.sci | // calculating output voltage due to offset voltage
clc;
V1=1;
V2=-2;
Rf=500;
R1=250;
R2=100;
Vo=-{[(Rf/R1)*V1]+[(Rf/R2)*V2]};
disp(Vo,'output voltage(V)=') |
bf806c14a6722e5ad6ab7fa58214c0340ef60e5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH6/EX6.22/6_22.sci | 96d449ebb3dd08c6d936beaad900572fa2351501 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sci | 6_22.sci | // Calculating the bridge output
clc;
ei=6;
R=10000;
disp('if dR=0.05R')
dR=0.05*R;
eo=[(dR/R)/(4+2*(dR/R))]*ei;
disp(eo,'output voltage (V)')
disp('if dR=-0.05R')
dR=-0.05*R;
eo=[(dR/R)/(4+2*(dR/R))]*ei;
disp(eo,'output voltage (V)') |
22e02da5a2223a7fdd3dc34d372d116a4654644b | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-02.tst | 826beb8692dd0959052fcdb60382de88a8f94f1e | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 265 | tst | read-the-docs-example-02.tst | [Read-the-docs-example-2] # Read the docs - example 2
indice_name: ETR
in_files: [['tasmax_day_MPI-ESM-LR_historical_r1i1p1_19900101-19991231.nc'], ['tasmin_day_MPI-ESM-LR_historical_r1i1p1_19900101-19991231.nc']]
dt1: 1990-01-01
dt2: 1999-12-31
slice_mode: year
|
09e930320e3b1b3cfa2fc0d8a1f3500cab5a09ce | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.25/EX2_25.sce | 4b30d37ba817e9a74f9b8bccbc65959c0ff182c2 | [] | 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 | 1,070 | sce | EX2_25.sce | clc;funcprot(0);//Example 2.25
//Initilisation of Variables
T1=150;....//temparature at material A surface in degrees celcius
T3=50;.....//temparature between materials B&C in degrees celcius
K1=0.1;....//thermal conductivity of material A in W/m*degrees celcius
K2=1.0;.....//thermal conductivity of material B in ... |
9b16f579780feff7d3a7d93df3badad4949a23e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH6/EX6.2/6_2.sce | ea53cc59a05cb2bcdbc03172cc5ca667f8e4654b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,783 | sce | 6_2.sce | clc
//ex6.2
//given V_in(t)=3+2*cos(2000*%pi*t)+cos(4000*%pi*t-A), A=70*%pi/180
//the three parts of V_in(t) are V_in_1=3, V_in_2=2*cos(2000*%pi*t),V_in_3=cos(4000*%pi*t-A)
//first component V_1
V_in_1=3;
f_1=0; //as omega is zero
//equation of straight line of H_magnitude vs f is x+1000*y-4000=0
H_1_max... |
c0c41c251ad0aa784be586bc10a3594aa5ae4825 | 49148682b78b6520a61de9a700f791835e1b32d5 | /Gachan/Gachan3D/Gachan3DTextData/TextASCIIMplus2m.tst | b3d33121eb8daa035e451a9fad77e94e97f03e25 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Ashitagachan/Gachan | 535a19ea05bfcb3207a0a106b1d62db48a143f16 | 63b5410e128628222447c837a7209162487aa246 | refs/heads/master | 2021-08-07T21:53:13.048753 | 2020-05-16T08:01:10 | 2020-05-16T08:01:10 | 178,514,045 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 791,223 | tst | TextASCIIMplus2m.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_Trim_Char_x_1_1__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
#endif
DX3DMATERIAL_STA... |
b0b95cc580813b58e37a722f9cb24e67f9a1ce17 | 87bc77e7099940c476a849ac22f0c25912ab345e | /LA/Assignment1/class3.sce | 0ea7d6ebca46f08b86df9e909696bb79d53aad31 | [] | no_license | Arindaam/Class-work | 8f4af9cc39301fe7231bfffe4b3e49842ddf3775 | c8ba9fa3981d8b352c227e2dede48e776c049d4c | refs/heads/master | 2021-06-26T09:55:33.884258 | 2021-06-22T15:51:51 | 2021-06-22T15:51:51 | 207,601,170 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 448 | sce | class3.sce | function []=gauss_jord()
A=evstr(x_matrix('enter a 3x3 matrix ',rand(3,3)))
disp(A, "Matrix A : ")
Aug = [A,eye(n,n)];
for j=1:n-1
for i=j+1:n
Aug(i,j:2*n) = Aug(i,j:2*n)-Aug(i,j)/Aug(j,j)*Aug(j,j:2*n);
end
end
for j=n:-1:2
Aug(1:j-1,:)=Aug(1:j-1,:)-Aug(1:j-1,j)/Aug(j,j)*Aug(j,:);
end... |
791683e8a71da551ef27ee8ad3cce11144ca82d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH9/EX9.3/9_3.sce | 257594edc7412eccca6abd24e0f47296b5a3a7ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_3.sce | clc
//initialisation of variables
clear
T= 25 //C
I= 4.33*10^-40 // gcm^2
I1= 2.78*10^-40 //g cm^2
s= 3
//CALCULATIONS
S= 4.576*(0.5*log10(I1^2*I)+1.5*log10(273.2+T)-log10(s)+58.51)
//RESULTS
printf ('Standard entropy = %.1f cal deg^-1 mole^-1',S)
|
021353bf79883abac3633f6415e6b23f28a8adb9 | 9ba84a7f7b27fc82fdfcfb8dd03498c4cc91f124 | /Parcial 3/AgustinDiaz1.sce | b0173716e3731bcb6e4d251ef3178a9d7c5b5b48 | [] | no_license | ignaciolitma/LCC-Metodos-Numericos | 8120eba09ea160e3252542373afc5ddad49a04c9 | e63728e5f15bb469dff205a74901a5b930e1271d | refs/heads/main | 2023-03-12T11:34:36.940908 | 2021-03-01T20:56:12 | 2021-03-01T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,500 | sce | AgustinDiaz1.sce | // b)
b = [1 0 0;
-.1 0 .1;
-.1 -.1 2]
disp('Autovalores de b', spec(b))
// d)
d = [4 -1 0;
-1 4 -1;
-1 -1 4]
disp('Autovalores de d', spec(d))
// f)
f = [4.75 2.25 -.25; 2.25 4.75 1.25; -.25 1.25 4.75]
disp('Autovalores de f', spec(f))
// Resultado de Scilab
// "Autovalores de b"
// 1.9949... |
7a03cd5c6fefb65cf230c90658703e548cc3fbfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH6/EX6.6a/eg6_6a.sce | 1edeb99875866612584b9fe0f753731343801d90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | eg6_6a.sce | favour = 0.45;
samplesize = 200;
expec= favour*samplesize;
sd = sqrt(samplesize*favour*(1-favour));
disp(expec, "The expected value is ")
disp(sd, "The standard deviation is ")
function result= bino(n, k, p)
result = factorial(n)*(p^k)*((1-p)^(n-k))/(factorial(k)*factorial(n-k))
endfunction
//newsum = ... |
e9748e7b7f7ce1bbad4c5cd458a984323fd4ff05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/5_12_data.sci | 083b4f004146c6f71f824c9f7db21efdc0d3f32a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sci | 5_12_data.sci | M=2;//mach no at which F-104 is flying
S=19.5;//wing planform area in m^2
//in steady flight lift equals to weight so:
L=7262*9.8 //lift (N)
R=287 ;//gas constant,J/Kg.K
y=1.4; //specific heat ratio for air
//part a(at sea level)
D=1.23;//density at sea level(Kg/m^3)
T=288;//sea level temperature(K)
V=(y*R*T)^... |
65399b6f20ea232277d22588eaea512f574cb28f | 18bf68cdf766092ccdcba8d231e8140063833a5a | /FftShift.sce | e81d6d12a59083e510c888b31d435fd7a3165f8b | [] | no_license | goodengineer/Scilab-Exercises | b51cc9a4c938f0289a32875d2d21eb9061d0e68e | 3c268211fe48e7e4d0002e44757ea8b50cda10f9 | refs/heads/master | 2022-12-24T23:30:12.875423 | 2020-10-05T06:27:20 | 2020-10-05T06:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | FftShift.sce | clear;
clf;
clc;
N = 256;
n = 0:N-1;
a = 0.5;
x = a**n;
y1 = fft(x);
y = fftshift(y1);
r = real(y);
i = imag(y);
angle = atan(i./r);
yabs = abs(y);
w = 0 : 2*%pi/ (N-1) : 2*%pi;
subplot(211);
plot(w,yabs);
title("Magnitude spectrum : a = 0.5", "fontsize", 2);
xlabel("W","fontsize",2);
ylabel("abs(Y)","fontsize... |
c7489c39349a946ab6089547066d06bbf5466163 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.6/1_6.sce | c9fdfa4dc6927aa1299dd5d0a290ff51172f8646 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | 1_6.sce | clc
clear
//Input data
V1=0.6;//Initial volume of an engine working on otto cycle in m^3
P1=1;//Initial pressure in bar
T1=308;//Initial temperature in K
P2=10;//Pressure at the end of compression stroke in bar
Q=210;//Heat added during constant heat process in kJ
r=1.4;//Isentropic constant of air
//Calcula... |
288460218bd31996ef22dea24341766018e61c94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH44/EX44.10/44_10.sce | c20ce7f7a3605be7ddcd8cc733d976fa9a9ad6ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,731 | sce | 44_10.sce | //Problem 44.10: An open wire line is 300 km long and is terminated in its characteristic impedance. At the sending end is a generator having an open-circuit e.m.f. of 10.0 V, an internal impedance of (400 + j0) ohmand a frequency of 1 kHz. If the line primary constants are R = 8 ohm/loop km, L = 3 mH/loop km, C = 7500... |
6947b2b395e2f57c8cb7aa89dd211473521049b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH9/EX9.4.a/9_4.sce | 129fef3bd69501ca240e36d92cb7cf8f830df8be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_4.sce | clc
clear
//Initialization of variables
G=-30050 //kJ/kmol
R=8.314
T=573 //K
//calculations
lnk=G/(R*T)
k=exp(lnk)
x=poly(0,"x")
vec=roots(4*x^2 - k*(1-x)^2)
x2=vec(2)
//results
printf("Mole fraction of HCN = %.4f",x2)
|
715744c940d71964a5b22425bb67ff792d6f38d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/5_2_1.sci | 62523e62e0eecbb5dee817cf8397498ed52fd7cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sci | 5_2_1.sci | T=23+273 //kelvin
P=3+14.7 //psi
//conversion of pressure from psig to psi requires addition of 14.67 which is 1 atm
R=0.08206 //lt-atm
MN2=28 //molecular wt.
weight=100 //grams |
8c036c439676d2e8f330d4a95906f77ee5fd0151 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH16/EX16.4/16_4.sce | 27d50d33647c1a5536e660336d855536dd453b3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 16_4.sce | clc;
//page no 571
//prob no. 16.4
//A dipole antenna with efficency=85% given
n=0.85;D_dBi=2.14;//Directivity in dBi
//Determination of gain in dB
D=10^(D_dBi/10);
G=D*n;//Determination of gain
G_dBi=10*log10(G);//Converting to dBi
disp('dBi',G_dBi,'The gain is'); |
24587c327ebd6aa8058f760e04dc4d4cfcab3f4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH7/EX7.15/Ex7_15.sce | 5bb712db114d3c849a94bf8fcb24f18c3055a628 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | Ex7_15.sce | clear;
clc;
//Example 7.15
V1=5;
V=-5;
Rs=0.1;
R1=40;
R2=5.72;
Re=0.5;
Rc=5;
Rl=10;
b=150;
Vbe=0.7;
C1=35;
C2=4;
Vt=0.026;
Icq=1.02;
gm=39.2;
r=3.82;
x=Re*Rs/(Re+Rs);
t=r/(1+b);
y=t*x/(t+x);
Tp=y*C1;
printf('\ntime constant=%.3f ns\n',Tp)
Tp=0.679*10^-3;//micro sec
f=1/(2*%pi*Tp);
printf('\nup... |
43ec4d75e778f744cb2d87a60d3dfce0f8940db2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH7/EX7.2/72.sce | febe9fffef63b1c79765c74daa948d765b3c7fcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sce | 72.sce | // problem 7.2
b=5
d=3
i=1/1000
C=55
A=b*d
m=A/(b+2*d)
Q=A*C*((i*m)^0.5)
v=Q/A
disp(Q,v,"flow rate assuming chezys constant eqaul to 55 in m3/sec & velocity of flow in m/sec")
|
013e81b65b88d2af4f3c61455949395b8d9eae21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH11/EX11.6/Ex11_6.sce | 4ae079ca12731d62de9edef374e5209bdbca0661 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,239 | sce | Ex11_6.sce |
//Ex11_6
clc;
//Given:
// Relative biological effectiveness(RBE)
a7=10;// for alpha partical
a6=1;//for gamma radiations
tn=2.5;// for thermal neutrons
g=1;// for gamma radiation
rd=0.6;//radiation dose in gray
//Formulas
//1.The Rontgen equivalent mammal (REM)=RBE*rads
//2.The sievert is the SI unit... |
494a666e985c328b65860f99cfaf94abaf590d66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH6/EX6.3/example6_3.sce | ab00c0ba93705eefaef35c35fd6e1c75f4e9f4b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example6_3.sce |
//example 6.3
//page 233
clc; funcprot(0);
//initialisation of variable
k=1/50;//lm/lp;
C=3.8;
L=300;
Q=100000;
Qm=Q*k^2.5;
disp(Qm,"flow rate on model(m^3/s)")
H=(Q/C/L)^(2/3);
disp(H/50,"Head over model(ft)");
clear
|
fa54ec52a3c0649fb71b05098ac0387f615b3e94 | be07c1e346737e6e38bb958d9a66f52f6da2180a | /Regression/MANAGER/MANAGER_W.tst | a7abd0f31d2db5b7a9bfa1cb0098e863ca767a06 | [] | no_license | dpreisser/Training | 1bc8840d646306d861f4c7610a28bb23667f06e5 | 97eb58c7963e4725d6a2ad9e8200ca9367c84061 | refs/heads/master | 2021-01-10T13:03:12.508795 | 2016-04-11T12:49:06 | 2016-04-11T12:49:06 | 54,963,561 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,499 | tst | MANAGER_W.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : MANAGER_W
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FE... |
f485659873caae8cf4aca172bfacb84f12d725ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /4/DEPENDENCIES/sinc_new.sci | dec81c1759eac27c845de0b5b7370698fd80ac6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sci | sinc_new.sci | function [y]=sinc_new(x)
i=find(x==0);
x(i)= 1; // From LS: don't need this is /0 warning is off
y = sin(%pi*x)./(%pi*x);
y(i) = 1;
endfunction |
f12b32bcafa9e8f6484562ccf4a432d85ca3a96d | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH5/EX5.15/Example5_15.sce | b0666eaa2ac206111097fb2a81e1fc40d9413cf9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Example5_15.sce | clear;
clc;
// Example: 5.15
// Page: 169
printf("Example: 5.15 - Page: 169\n\n");
// Solution
//*****Data*****//
m1 = 5;// [kg]
m2 = 20;// [kg]
C = 4.2;// [kJ/kg K]
T1 = 350;// [K]
T2 = 250;// [K]
//**************//
// Suppose the final temperature is T
deff('[y] = f(T)','y = m1*C*(T1 - T) - m2... |
9f4deb0e6745b51fe934cfb8e4d9f6ea18e4b98f | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH11/EX11.2/example112.sce | 5be243f3ec84b871835131205961c20d26d3dda3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sce | example112.sce | //Example 11.2
//Find the circular convolution
clc;
x1=[3,1,3,1];
x2=[1,2,3,4];
X1=fft(x1,-1);
X2=fft(x2,-1);
X3=X1.*X2;
x3=fft(X3,1);
disp(x3,'x3(n)=x1(n)(N)x2(n)'); |
e125602a7fa3d543adcf1323502e0a5cd54571fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH13/EX13.1/1.sce | cf98fd567d2e68f7887f863079ef44ccc8d83eb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | 1.sce | clc
//Example 13.1
//Calculate the pressure gradient
v=1//ft/s
d=0.5//ft
A=(%pi)/4*d^2//ft^2
Q=v*A//ft^3/s
//Let DP denote the pressure gradient
n=0.41//dimentionless
K=0.66//kg/m/s
//1 m = 3.281 ft
Q1=Q/3.281^3//m^3/s
d1=d/3.281//m
DP=(Q1*8*(3*n+1)/(n*(%pi)*d1^3))^n*(4*K/d1)//Pa/m
printf("The pressure g... |
f84857f2053b309f7bb666f13e995605f1befd5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.3/Ex9_3.sce | 7314aca7476bb13b304032c7a1a77cc3b82c6459 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | Ex9_3.sce | //Caption: Amount of Information
//Example 9.3
//page no 395
//Find Amount og Information
clc;
clear;
px1=1/2;
px2=1/2;
Ix1=log2(1/px1);//entropy
Ix2=log2(1/px2);
printf(" \n The amount of Information \n \n\t I(X1) = %.2d bit\n",Ix1);
printf(" \n The amount of Information \n \n\t I(X2) = %.2d bit",Ix2);
|
4de111f19658f04ee3bd83cb2109e7da3fcbea20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.9/example4_9.sce | 341a79b3fa881b5e03381b2e26f2dfcede04e518 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,647 | sce | example4_9.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.9
// Page 125
printf("Example 4.9, Page 125 \n \n");
// solution
m = 100 //[kg] soya fatty acid (basis)
// use table 4.6
M1 = m/.3597 // M(avg) of soya fatty acid
//3 mol of fatty acid + 1 mol o... |
6b263239a3a55e0073401b8d0b5e37fa06faf119 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH24/EX24.3/24_3.sce | de8e169248dbc549c076c6d076d307340ca5e108 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 198 | sce | 24_3.sce | //ques-24.3
//Finding molality of a solution
clc
x=2/100;//mole fraction of solute
X=1-x;//mole fraction of solvent
m=x/(X*18/1000);
printf("The molarity of the solution is %.3f mol/kg.",m);
|
76e9914abb74c8d5cc183dc02c97dd6a9245f3d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH10/EX10.14/Ch10Ex14.sci | ebd6a1228f4ce9ceffb60d63ea8090541a6a9f65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sci | Ch10Ex14.sci | // Scilab Code Ex 10.14 Hall coefficient calculation of sodium based on free electron model: Page-353 (2010)
e = 1.6D-19; // Electronic charge, C
a = 4.28D-10; // lattice parameter (side) of the unit cell of sodium crystal, m
N = 2; // Number of atoms per unit cell in bcc structure of sodium
n = N/a^3... |
d170fbc0c155f2d5bfc6452e82c3c9da1f2e78d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH10/EX10.3/Example10_3.sce | e5bde3601a64dd612764a262b411032d5db05ba0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 648 | sce | Example10_3.sce | /////////Chapter 10 Properties Of Steam
///Example 10.3 Page No:184
//Find Saturation temperature of bar
///Input data
clc;
clear;
P1=28; ///Absolute pressure in bar
P2=5.5; //Absolute pressure in MPa
P3=77; ///Absolute pressure in mm of Hg
///Calcutation
ts1=230.05; //Saturation temperature i... |
f6a97244f085d3609a3d33b1de36929d3db81302 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits_K._L._Kishore_1511.zip/Electronic_Devices_And_Circuits_K._L._Kishore_1511/CH1/EX1.4/ex1_4.sce | aa5e7068b11a5e7d703b77e408953ab9146fd516 | [] | 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 | 178 | sce | ex1_4.sce | errcatch(-1,"stop");mode(2);// Example 1.4 page no-13
V0=10 //volts siince energy is 10ev
xm=2
theta=%pi/4
V=(2*V0*sin(2*theta))/xm
printf("V=%.0fd Volts",V)
exit();
|
f70324b13673a965abcf45c4d1132fdde408e96e | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH3/EX3.12/3_12.sce | eafbfb1cb5cb25377934ac527c58191b247beaed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,954 | sce | 3_12.sce | clear;
clc;
printf("\t\t\tExample Number 3.12\n\n\n");
// Three-dimensional numerical formulation
// Example 3.12 (page no.-110-113)
// solution
Tinf = 10;// [degree celsius] environment temperature
h = 500;// [W/square meter degree celsius]
Ts = 100;// [degree celsius] four side temperature
k = 2;// [W/m de... |
3f8a443afb60cc21c8b83a533caec5b8b5adba8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.19.1/Ex3_19.sce | c1fadba4fe4c8ad80cbfea732aa07de608b59822 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | Ex3_19.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
T1=27+273;
V1=0.06;
P1=150;
Ro=8.314;
M=28;
R=Ro/M;
m=(P1*100*V1)/(R*T1);... |
cc7e97a9923108dbfe5b21adc78f6ded9b682a4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH6/EX6.5/6_5.sce | 2f85a681ddfe85342e31fdf5f4d7a4114cd3bcad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | 6_5.sce | clc
//initialisation of variables
G= 2054.7 //cal
R= 1.9872 //cal/mol K
T= 298.16 //K
//CALCULATIONS
P= 10^(-G/(2.303*T*R))
//RESULTS
printf (' pressure = %.5f atm',P)
|
bd14991261e999ed47c7c061fcc309cab35c4df6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH3/EX3.1/Ex3_1.sce | d6a44a0564111b91b3f5386ab322f1d70ce03725 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,164 | sce | Ex3_1.sce | // Example No. 3.1
// To calculate the Einstein A and B coefficients
// Page no.99
clc;
clear;
// Given data
tsp=2*10^-9; // Spontaneous lifetime associated with 2 → 1 transition in seconds
deltaE=2.4*10^(-19); ... |
936f512e049319a82a034c2b8dc9615896304419 | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH4/EX4.5/4_5.sce | 62210081f420863002049c7127c54a98977d12f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sce | 4_5.sce | //mass-spring system
//free body diagram and state diagram are drawn as shown in figure 4-19(b) and 4-19(c)
//applying gain formula to state diagram
syms K M B
s=%s
//considering y1 as output
M1=(1/M)
L11=-(B/M)*(s^-1)
L21=-(K/M)*(s^-2)
L31=(K/M)*(s^-2)
delta=1-(L11+L21+L31)
delta1=1-(L11+L21)
x=M1*delta1/d... |
85f39d2841f12f7953adc42bc9509d8cdffe6380 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.16/example4_16.sce | a2f66d75769553d888ad2c5bb009677893c29462 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,070 | sce | example4_16.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.16
// Page 144
printf("Example 4.16, Page 144 \n \n");
// solution
// basis : 1day operation
// NaCl = Na+ + Cl-
//H2O = H+ + OH-
//Na+ + OH- = NaOH
//H+ + e = (1/2)H2
//Cl- - e = (1/2)Cl2
E ... |
dde4c72cdd0a90e98b73886d9e14d5fe0631f906 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH12/EX12.6/126.sce | f78cb04a758bd14355be5a5883edc9f8b3c7fe57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 126.sce | // problem 12.6
no=0.8
P=147*1000
H=10
g=9.81
u1=0.95*(sqrt(2*g*H))
Vf1=0.3*(sqrt(2*g*H))
N=160/60
Vw2=0
nh=(H-(0.2*H))/H
Vw1=nh*g*H/u1
x1=atand(Vf1/Vw1)
y1=atand(Vf1/(u1-Vw1))
D1=u1/(3.142*N)
w=9810
p=147*1000
Q=p/(w*H*no)
B1=Q/(3.142*D1*Vf1)
disp(B1*100,D1,y1,x1,"guide blade angle,wheel vane angle,d... |
1e944dfd8864029e076d1f5b3ee07df43ddf4651 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH9/EX9.19/9_19.sce | 6874fdd190257df11d00ccfff602cf3e4c956385 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | 9_19.sce | clc
//initialisation of variables
pH= 7.10
pH1= 7.21
//CALCULATIONS
r= 10^(pH-pH1)
//RESULTS
printf (' ratio of salt to acid = %.3f ',r)
|
09da87fb03f4ca3297f7475653fdee97b62a2ea6 | cac765899ef2f4a3fea7b30feb7d3cc9e32a4eb4 | /main/vsWalk/testSwayCorrection3ddl.sci | 55d8bd8c7412cd177793cd2aeec2b68ebd44523e | [] | no_license | clairedune/AsserVisu | 136d9cb090f709a410f23d3138ab115b722066d2 | f351f693bffd50b5ae19656a7fcb7b52e01d6943 | refs/heads/master | 2020-04-11T09:56:32.106000 | 2017-01-12T14:01:12 | 2017-01-12T14:01:12 | 1,187,919 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,932 | sci | testSwayCorrection3ddl.sci | // this code test the asser visu
// given as an input to Andreis function
// for step computing
//
//
// test another correction
//;exec('main/testAVrobotErreurMarche.sce');
function testSway3ddl(OPT_CORR,OPT_L_COURANT)
disp('Entering testSway3ddl')
maxiter = 100;
OPT_DISPLAY = %T;
OPT_SAT = %F; ... |
b70bfa3242ed037e9aac2e6e3edd98fce4cf7717 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.72/ex_3_72.sce | 0160b112fccebd34f621c437c0f135e30374b63c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | sce | ex_3_72.sce | //Example 3.72:resistance and inductance
clc;
clear;
close;
r2=100;//ohm
r4=834;//ohm
c3=0.1;//micro-F
l1=r2*r4*c3*10^-3;//mH
c4=0.124;//micro-F
r1=(c3/c4)*r2;//
f=2;//kHz
z1=sqrt(r1^2+(2*%pi*f*10^3*l1*10^-3)^2);//
disp(l1,"inductance is ,(mH)=")
disp(r1,"resistance is,(ohm)=")
disp(z1,"impedence is ,(ohm)=")
|
192f7d4e510214fcaa5d65295b8aa847d2e9a018 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH22/EX22.7/Ex22_7.sce | 4fdb1277ae81ba373d72a517072cb36e9e30af72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex22_7.sce | clear
//Given
l1=5890*10**-10 //m
l2=5896*10**-10
d=2.0*10**-6 //m
D=2 //m
//Calculation
x=(3*D*(l2-l1))/(2*d)
//Result
printf("\n Spacing between the first maxima of two sodium lines is %0.3f *10**-4 m",x*10**4)
|
b6006186845996ea8f4ddcfe169072f91291a3ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH8/EX8.6/8_6.sce | 25ef43f49cb484fa12a68ad3686d23debd179786 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | 8_6.sce | clc
//initialisation of variables
p=100//ft
q=27000//acre-ft
p1=10//ft
s=8250//acre-ft
//CALCULATIONS
R=p*s/q//percent
//RESULTS
printf('the ratio of peak inflow from fuller values=% f percent',R)
|
950e372c38ef0e13846b16f4022ec8ae19789059 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH14/EX14.5/Chapter14_example5.sce | 5341a0d986a386e81de3433a1abef85426055688 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | Chapter14_example5.sce | clc
clear
//Input data
C=(2*10^-6)//Capacitance in F
er=80//Permitivity of the dielectric
V=1000//Applied voltage in V
//Calculations
E1=(1/2)*C*V^2//Energy stored in the capacitor in Joule
Co=C/er//Capacitance of the capacitor when the dielectric is removed in F
E2=(1/2)*Co*V^2//Energy stored in the capaci... |
8cbd1a712c2753d8b78463338b40fb78465f1be9 | fe2124f7f26fcf8acf3fce5bb0a7cb2227c600ae | /Assignment1.sce | 66a5e37bc6599445370bad18622122d64a78b61f | [] | no_license | NYN1/LINEAR_ALGEBRA | 2896c0b18db3c0f497e3251fe65d09eca7907292 | b1394a207c0d09fa1d56e1fa86602f9a80f00f20 | refs/heads/master | 2021-01-16T02:10:49.442248 | 2020-10-26T09:48:17 | 2020-10-26T09:48:17 | 242,938,928 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,562 | sce | Assignment1.sce | disp("enter the matrix")
A = [input("value"), input("value"), input("value"); input("value"), input("value"), input("value"); input("value"), input("value"), input("value")];
disp("the matrix is:")
disp(A)
function Gauss(A)
n= 3;
for i=2:n
for j=2:n
A(i,j) = A(i,j) - A(1,j)*A(i,1)/A(... |
05f6b37651e40252536cc39ca869c9b95b0a1ec2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3830/CH4/EX4.7/Ex4_7.sce | 8359d25d7a998e6da497c7105966a9cb8dbc097e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sce | Ex4_7.sce | // Exa 4.7
clc;
clear;
// Given
// Two sinusoidal voltage signals are applied to vertical and horizontal plates of CRO
// Solution
printf('Theta = asin(dvo/DV');
// Referring fig(a)
Theta_a = asind(0) ; // dvo = 0
printf(' Theta for trace shown in fig(a) = %d degrees\n',Theta_a);
// Referring fig(b) ... |
fed2051db21b2725850dc2adb1ab80c5f2eae089 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH7/EX7.6/P6_parameters_of_sdof.sce | 61dba813b8b5bceed11f8dd21839a963436f0d12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,312 | sce | P6_parameters_of_sdof.sce | clc
//Example 7.6
//Parameters of single degree of freedom system
//------------------------------------------------------------------------------
res6=mopen(TMPDIR+'6_parameters_of_sdof.txt','wt')
mfprintf(res6,'(a) General equation of any single degree of freedom system is given by\n')
mfprintf(res6,'ma +... |
7db3863222bf2494482144360e4730a3cc1e15f7 | daf9a7434ea9996fc591a79030570f48e396cdc5 | /Gaussian/N(3,2)/N(3,2) CDF.sce | 341755174d3d7ae59b2ab9ad3a2b06961d0e0686 | [] | no_license | isabelle-le/MonteCarloSimulation | c8dbfc2f5485f6dc6291654032ecad6c01cce401 | f96e0a11569b3e4dade452d99e9c1bbd6c3efb81 | refs/heads/master | 2020-04-05T22:40:20.686962 | 2018-11-12T19:18:50 | 2018-11-12T19:18:50 | 157,263,752 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,508 | sce | N(3,2) CDF.sce | //Gaussian N(u,sigma^2) Distribution CDF
// Le Thu Huong ADEO1
clc
N = 10000;
x0 = -10;
xmax = 10;
delx = 0.2;
x = [x0:delx:xmax];
sigma1 = 0.5;
sigma2 = 0.4;
mu1 = 7;
mu2 = 5;
for k = 1:length(x)
c1 = 0;
c2 = 0;
z1 = 0;
z2 = 0;
for i = 1:N
u1 = rand();
... |
14e6ce4832c92e54ae3f3e010441fbe0c206091c | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH7/EX7.3/ex7_3.sce | 8b1ef6b815730f9f159b25292d155b1d5d37d73b | [] | 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 | 403 | sce | ex7_3.sce | clc;
clear all;
h=80;//height of transmitting antenna antenna
Dt=4*sqrt(h);//radio horizon distance
disp(Dt,'radio horizon distance of transmitting antenna in km is=');
h=40;//height of receiving antenna
Dr=4*sqrt(h);//radio horizon distance
disp(Dr,'radio horizon distance of receiving antenna in km is=');
Dm=D... |
2fa3b5dee29b44629794126849047293eb97dd18 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Dotfilldata.sci | fc2847c7c78a6c5e0702a4d8fab93155c1ab6a17 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,263 | sci | Dotfilldata.sci | // 08.05.31
// 10.01.01
// 10.03.07 (Kosa )
function ShaL=Dotfilldata(varargin)
global XMIN XMAX YMIN YMAX MilliIn;
Nargs=length(varargin);
ShaL=[];
Eps=0.01;
Kakudo=45;
Kosa=0.5;
Tmp=Doscaling([XMIN,YMIN]);
Xmn=Tmp(1); Ymn=Tmp(2);
Tmp=Doscaling([XMAX,YMAX]);
Xmx=Tmp(1); Ymx=Tmp(2);
for N=Nargs:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.