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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
648968620537a5a8be9d4322250cdf242b4d54ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH8/EX8.2/Ex8_2.sce | 963e304bdabb3a6ae5941a54089855d681109ad0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Ex8_2.sce | // Ex8_2
clc;
// Given:
N=10^5;// electron multiplication
v=10^-6;// in V
e=1.6*10^-19;// electron charge
// Solution:
e1=N*e;
C=e1/(2*v);
C1=C*10^9;
printf("The capacitance that would be required is = %f nF",C1)
|
0f7caa800a271c74347895c01f78b8b443e31f14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH3/EX3.10/exa_3_10.sce | 064754120288f0adac8a17ce742d78c949ef2096 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 416 | sce | exa_3_10.sce | // Exa 3.10
clc;
clear;
close;
// (i) Given amplifier is an inverting amplifier, where
// V_out= -R_f/R_in*V_in = 1Mohm/1Mohm*V_in = -V_in, So
// Av= V_out/V_in
Av=-1;
disp(Av,"Input impedence :");
// (ii) Because it is a unity gain inverter, So I_in= I_out
// A_in = I_out/I_in
A_in = 1;
disp(A_in,"Voltage ... |
b7ac1f4d3d7f37f3099fadd3eb7cfc25c5520875 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH3/EX3.1.a/Ex_3_1_a.sce | c9743493990fe9e921b591854e7db6c3e19c55b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex_3_1_a.sce | // Example 3.1.a:fracture stress
clc;
clear;
close;
la=0.16;//bond length in nm
st=2.6*10^6;//psi
psi=6894.76;//Nm^-2
e=9*10^10;//NM^-2
yp=((4*la*10^-9*(st*psi)^2)/(e));//in joules
c=10^-8;//
sf=sqrt((2*e*yp)/(%pi*c));//N/m^2
sf1=sf/(psi);//psi
disp(sf1,"fracture stress in psi is")
|
f0cd0fb54a4b6c5f8bb20b3c54189bf545324f98 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/swig/Examples/test-suite/scilab/inout_runme.sci | 0ed216b1ad0db1ad14c051ab7763043b5762519d | [] | 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 | 128 | sci | inout_runme.sci | version https://git-lfs.github.com/spec/v1
oid sha256:2469d806334dd48bfeb0288f13fa2d579dde2b6cf4c3e356e4a4c2d2090dc9fc
size 307
|
5d4adc8c69b50193364203744b87b4546180ab82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH4/EX4.10/Ch04Exa10.sce | 187e85426894219cd1e2154d022cfe1670b143b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch04Exa10.sce | // Scilab code Exa4.10 : : Page 180 (2011)
clc; clear;
E = 4e+006; // Energy lost in the scintillator, eV
N_pe = E/10^2*0.5*0.1; // Number of photoelectrons emitted
G = 10^6; // Gain of photomultiplier tube
e = 1.6e-019; // Charge of the electron, C
Q = N_pe*G*e; ... |
19378eed702d137f0466af33f05ea9c8551cd4d4 | 010c2b27564adf28cc232d64523a4101ef0b96cf | /ParseXML.tst | d97b2036f4b573a8485c8079e5fac7dea2ddeab3 | [] | no_license | piltatnik/MFtp | 66f0092ecb1dcd5eccd2b71cd54399bad0a0b57b | 2ea692553cb06e43c930541bd59eb7615054ed8f | refs/heads/master | 2021-05-08T01:32:40.292744 | 2017-10-22T16:10:10 | 2017-10-22T16:10:10 | 107,881,412 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 845 | tst | ParseXML.tst | PL/SQL Developer Test script 3.0
14
begin
-- Call the procedure
pkg$xftp_messages.getoperationhistory(pdate => :pdate,
pxml => :pxml);
open :cur for with rowset as
(SELECT extractValue(VALUE(t), 'OPER/CREDITWALLETNO') AS creditwalletno,
extractVal... |
097f6b189a8729d98f4f12f23d89ee6d46492f86 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.1_4.tst | f59e74a7bcb4606f0c69645c04ca8a9d3311a825 | [] | 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 | 702,193 | tst | 5.1_4.tst | 1 55:1 125:1 328:1 386:1 401:2 559:2 610:1 758:1 800:1 826:1 856:2 958:1 1202:1 1344:1 1474:1 1533:1 1673:1 2171:1 2649:1 2793:1 2890:1 3287:1 3548:1 3799:1 3858:1 3951:1 3987:1 4064:1 4074:1 4219:1 4278:1 4720:1 4842:1 4882:1 4989:1 4999:1 5021:1 5366:1 5758:1 6010:1 6133:1 6505:1 6801:1 6956:1 7677:1 8239:1 8243:1 83... |
dcca6da763b05a5440daaf0197ee6c49ff9365ec | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH12/EX12.23/example23_sce.sce | d673d3aef421b15019e9487a82dcdaf09ac097d6 | [] | 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 | 509 | sce | example23_sce.sce | //chapter 12
//example 12.23
//page 528
printf("\n")
printf("given")
hie=1*10^3;hfe=50;hoe=10*10^-6;Cc=5*10^-12;Cp=330*10^-12;Lp=75*10^-6;Rw=1;Rl=5*10^3;fo=1*10^6;zP=224*10^3;rC=100*10^3;K=.015;Ls=50*10^-6;
RL=(Zp*Rc)/(Rc+Zp)
disp("voltage gain from the input to the primary memory winding")
Avp=(hfe*RL)/hie
Vs... |
2dd75f7a9a4bee4383ddab28de87ce32f9a1a418 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH4/EX4.6/ex4_6.sci | de94c27d7ef669b938af74373708450524514797 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,203 | sci | ex4_6.sci | funcprot(0)
function [polar] = rect2polar(x,y) //Function to convert rectangular coordinates to polar coordinates
polar=ones(1,2)
polar(1)=sqrt((x^2)+(y^2))
polar(2)=atan(y/x)
polar(2)=(polar(2)*180)/%pi
endfunction
function [rect] = polar2rect(r,theta) //Function to convert polar coordinates to rectang... |
d3c97d9920d32c1f996e32860a5327f76903535c | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial05-Solution_of_equations/Scilab_code/Tutorial5_linear_equation.sce | dcd55102ec31c179405ce65ce2e5de0eb1d5cbd9 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | Tutorial5_linear_equation.sce | //This scilab script is to compute the solution of a linear equation
clear
clc
//Example of Ax + b = 0 where unique solution exists
A = [1 2 3;3 2 1;2 4 5];
b = [7;7;12];
[x,kerA] = linsolve(A,b);
disp(x,'Solution of Ax + b',kerA,'kernel of A');
//Example of Py+q = 0 where solution does not exist
P = [1 2 3;3 2 1;4 ... |
af97e3e50f7c1516f1f2a5ec213fdf834df0cc2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH3/EX3.6.4/Example3_15.sce | a15acabf36115972e969a65c04f510f6f9704116 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Example3_15.sce | //Chapter-3,Example3_6_4,pg 3-19
Pin=8.6 //Input power in mW
Pout=7.5 //output power in mW
Pl=(-10)*log10(Pout/Pin) //Power loss or attenuation
L=0.5 ... |
2b4688521c7f4c0aaf7239de592a3b7c1c3268ca | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/h_rect.sce | 4f58aa7dc2cd50df9fe8a54f37e6ce543a84e69b | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 704 | sce | h_rect.sce | //************************* Half Wave Rectifier ******************************
if (blk_name.entries(bl) =='h_rect') then
mputl("# h_rect",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
//.subckt h_rect in[0]=in1 in[1]=in2 out=out #h_rect_bias[0] =1e-6 & h_rect_fg[0] =0
cap_str= ".subckt h_rect i... |
95d8a6f12bb61fabab8673f0648b194c9750d704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH3/EX3.38/Ex3_38.sce | d6de2eae4d4dd4115907835be2da15cc908a78d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sce | Ex3_38.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 3.38
//Given Data Set in the Problem
dens=1000
g=9.81
h=1.5
L=4
b=2
a=4
alpha=30
//calculations
//1)
a_x=a*cos(alpha/180*%pi)
a_y=a*sin(alpha/180*%pi)
theta=(atan(a_x/(a_y+g... |
8ecf79d0cfda214cb37d1fe863bc57166c150e12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH15/EX15.34/example15_34.sce | 5fadd01ac83f6110ab003460753e4073b278e801 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | example15_34.sce | //Example 15.34
//find bandwidth of the transfer function
clear;clc;
xdel(winsid());
s=%s
A=1
B=(s+1)
tf=A/B
disp("when A/B(jw)=1/sqrt(2), w=w1")
w1=(1/0.707)^2-1
//w1=bandwidth of the transfer function
disp("Hence the bandwidth is 1 rad/sec")
|
8ee4eb67d918aa89fdc1812e966e6da792044537 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH15/EX15.6/15_6.sce | cbf6f05a47451f2be46762224fe980af7e7a4398 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sce | 15_6.sce | clc;
clear;
format('v',6);
f=10;
d=1.6*50/f^(1/3);
disp(d,"d(in km)=");
|
2ca6c918339e88db54d778da9aff50afb1f9fd6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.24/Ch02Ex24.sce | a87928fb41dd497d3f2ad5b8e66d6eaf9b0a0cdd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | Ch02Ex24.sce | // Scilab Code Ex2.24:: Page-2.19 (2009)
clc; clear;
t = 9.21e-05; // Thickness of the mica sheet, cm
mu = 1.5; // Refractive index of material of sheet
n = 1; // Order of interference fringes
// As path difference, (mu - 1)*t = n*lambda, solving for lambda
lambda = (mu - 1)*t/n; // Wavelength of lig... |
1c7324e3b7a99d53cdbe0546a4e1a07d2742498b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH1/EX1.14/Ex1_14.sce | fca5c5c3ea7628ad8a0ccb15e61ba82555d8b55d | [] | 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 | 199 | sce | Ex1_14.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
P=[4.82, -2.33, 5.47] //N
Q=[-2.81,-6.09,1.12 ] //m
//Calculations
M=P*Q' //Nm
//Results
printf('Result is:%f N.m',M) //N-m
exit();
|
21b5a5ad00f3a1361228fccff787bb7b0a78fa7b | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_cache_2_f.tst | 3e680ce6f7dc0931703a38d59d73c7364400683f | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 108 | tst | test_cache_2_f.tst | changed #0
changed #1
changed #2
test change for 3
changed #4
test for 5
item #6
item #7
test for 8
item #9
|
c97c49cf7bf3a7c7935105283e4dc380c9dc8726 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2372/CH2/EX2.4/ex4.sce | a70bff9fb03e36a1a3e562ecd1305c442523e328 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex4.sce | clc;
clear;
v=1400;//rms voltage
f=60;//frequency
kva1=125; pf1=0.28; //inductive load and lagging power factor
kw2=10; kvar2=-40; //active and reactive power of a capacitive load
kw3=15;//resistive load
theta1=acos(pf1);
s1=complex(125*cos(theta1),125*sin(theta1));
s2=complex(kw2,kvar2);
s3=complex(kw3,0);
... |
0dae187002c51a40d4a38e6b0f32f4815031dc28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH8/EX8.7/ex7.sce | f92094e3b4d611b9c0e90953c76dd931dd6302de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | ex7.sce | //example 7
//work potential of compressed air in tank
clear
clc
To=300 //in K
T1=To
R=0.287 //kPa-m^3/kg-K
V=200 //in m^3
P1=1000 //kPa
m1=P1*V/(R*T1) //in kg
Po=100 //in kPa
o1=R*To*(log(P1/Po)+Po/P1-1) //kJ/kg
X1=m1*o1 //exergy content of compressed air in kJ
printf("\n Hence, the exergy content of comp... |
5f3bd2a37eaa8cd261f849a529cbee885008ecbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH7/EX7.13/Ex7_13.sce | 47c621cfd4530fbb59d86c228e8c71119103194e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Ex7_13.sce | clc
//Chapter7
//Ex_13
//Given
fs=1 //in MHz
k=0.1
fa=fs/(sqrt(1-k^2))
disp(fa,"fa value in MHz for given fs is")
printf("thus fa-fs is only %f kHz, which means they are very close ",(fa-fs)*10^3)
|
9d0b9c59171b1cdcbf3df37f12331cd085725175 | a65f21e11537e2f9806070d02d78b2b2e9dcb7aa | /Assignment_7_sol.sce | 9bc08d818b612f8df07b630600fab77235d929a5 | [] | no_license | rkgi10/SciLAB | 8578cc30bc18f545478e36e2cb36986c93d4ec38 | d087401803e9ae59ce1872e90708d41a1fbe7cd3 | refs/heads/master | 2021-01-20T05:08:25.215087 | 2015-04-19T13:28:02 | 2015-04-19T13:28:02 | 32,939,969 | 0 | 0 | null | 2015-04-19T13:28:04 | 2015-03-26T16:47:46 | Scilab | UTF-8 | Scilab | false | false | 1,984 | sce | Assignment_7_sol.sce | // ################## 1 ::
i1=imread("C:\Users\co250\Desktop\home_image.jpg");
i2=imread("C:\Users\co250\Desktop\mandrill.jpg");
i3=imread("C:\Users\co250\Desktop\RGB2.png");
imshow(i1);
imshow(i2);
imshow(i3);
i4=imwrite(i3,'RGB3.jpg','.1'); // png to jpeg
// ################## 2 ::
i1=imread("C:\Users\... |
4d2c7f61cd983081f9a10896c954811c71d28813 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH6/EX6.32/ex_6_32.sce | eca7419c7a87b7b1d133614f6267f3998a174669 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 878 | sce | ex_6_32.sce | // example 6.32
// caption: solving the IVP by numerov method
// u''=(1+t^2)*u
// u(0)=1, u'(0)=0 ,[0,1]
// h=0.2,
// expression for numerov method is
//u(j+1)-2*u(j)+u(j-1)=(h^2/12)*(u''(j+1)+10*u''(j)+u''(j-1));
// observing the IVP we can reduce the numerov method to
//u(2)=2*u(1)-u(0)+(.2^2/12)*(1.16... |
ae44d5b4aab43acf4bac72cbecb184c37fee5a8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH16/EX16.13/Ex16_13.sce | 4d0effc6933fb7b1f4982b754f1bd08cf6ef1853 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | Ex16_13.sce | //chapter16
//example16.13
//page354
Zin=15// kilo ohm
Ai=240
mi=0.015
Zin_dash=Zin/(1+mi*Ai)
printf("input impedence with negative feedback = %.3f kilo ohm \n",Zin_dash)
|
66d60a8f85503f309a4bcb221feab9ed2ac2ffc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.14/Ex4_14.sce | caec808599eee42f1d709ca0293a2906e54661ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Ex4_14.sce | clear;
clc;
disp('Example 4.14');
// aim : To estimate
// the dryness fraction
// Given values
M = 1.8;// mass of condensate, [kg]
m = .2;// water collected, [kg]
// solution
x = M/(M+m);// formula for calculation of dryness fraction using seprating calorimeter
mprintf(' \n The dryness fractio... |
596611906754582c3d846ed99f50c56355288772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH1/EX1.6/EX1_6.sce | e23be7ef29454422627ad0ad389916f43b7a18af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | EX1_6.sce | //Finding of increase of Pressure
//Given
k=2.07*10^6; // Bulk Modulus in KN/m^2
dv=0.01; //Change in Volume
//To Find
p=k*(dv); // Change in pressure
disp(" Increase in Pressure ="+string(p)+" KN/m^2");
|
6f8ef062c18cc14ab9996e1be39fd4a64645a8f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH2/EX2.2/EX2_2.sce | 70806f197a1dc824495ea5a68146094c26f39b74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | EX2_2.sce | //Finding of Depth of Water
//Given
p=100.5525*10^4; //pressure intensity in N/m^2
spgr=1.025; //Specific gravity
rho=1000; //Density of water in kg/m^3
g=9.81; //Gravitational force due to acceleration in m/sec^2
w=rho*g;
//To Find
h=p/w;
disp(... |
6cdf631dda6f482f114ef4bbd596a71d4456272a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.25/3_25.sce | 358fe7cc9b00984de83160e316ff94cc58ea8aeb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_25.sce | clear//
//Variables
I = 5 //Current (in Ampere)
V = 230 //Voltage (in volts)
//Calculation
P = V*I //Power consumed (in watt)
//Result
printf("\n The power consumed by the toaster is: %0.3f watt.",P)
|
c3ff0e35ca5744bc1fba09d64eca9490fcecddac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3750/CH1/EX1.8/Ex1_8.sce | a16e227b9fdd1bad85f40c2ec1f0c96ea88721e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Ex1_8.sce | //Strength Of Material By G.H.Ryder
//Chapter 1
//Example 8
// To Find the Maximum Stress
l=1; //lenght of steel rod, Unit in m
N=1000; //rpm of rod, Unit in rmp
rho=7.8; //density of the material, Unit in g/cm^3
Omega=%pi*2*N/60; //Angular Velocity, Unit in rad/sec
//sigma a=-rhox^2*Omega*2/2+c, formula... |
2b210d4d98612d5b2934485726ef3286890c72d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.60/Exa2_60.sce | 495d0ae3f4d795ac63bf87ef4362d7ec1385b0de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_60.sce | //Exa 2.60
clc;
clear;
close;
//Given data :
format('v',6);
f=50;//in Hz
P=4;//no. of poles
phase=3;//no. of phase
S=4;//in %
S=4/100;//in fraction
Ns=120*f/P;//in rpm
N1=Ns-Ns*S;//in rpm
//When speed reduced to 10%
N2=N1*85/100;//in rpm(NewSpeed)
disp(N2,"New speed(in rpm) :");
//New speed is reduced b... |
fa30d1ad90416bc39ced55f118094425b576907b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH13/EX13.18/ii_18.sce | 04c2d8efb3b1d1c8c508bf1120591f90e3b4b5fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | ii_18.sce | //Compute the Loss per Kg at a particular frequency.
clc;
clear;
hy_ls=4.9;
f1=50;
maxflux=1;
density=7.5;
d=density*(10^6)/(10^3);
hy_ls_cycle= hy_ls*d/f1;
n=hy_ls_cycle/((maxflux)^1.7);
disp(n,'i) The value of the Co-Efficient= ' )
mflux2=1.8;
f2=25;
hy_ls2=hy_ls*(f2/f1)*((1.8)^1.7);
... |
2a29e1e1538a310e0729961d57fa6730e13ba1f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH5/EX5.3/ex_3.sce | 1489aeb5b11bff3d86240daa93252e0cfbac2678 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sce | ex_3.sce | //Example 3 // velocity and direction
clc;
clear;
close;
//y=1.2*sin(3.5*t+0.5*x);//equation
w=3.5;//from equation
k=0.5;//from equation
v=w/k;//m/s
disp("wave velocity is "+string(v)+" m/s and direction of the wave is along negative X-axis")
|
8cdc8573026001bc9905da2708716a1724d6d42b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH4/EX4.12.4/ex4_12_4.sce | 002a9da1d5b0233ebf8428ab1b4897c72c748924 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | ex4_12_4.sce | // Exa 4.12.4
clc;
clear;
close;
// Given data
I_DSS = 12;// in mA
I_DSS = I_DSS * 10^-3;// in A
V_P = -(6);// in V
V_GS = -(1);// in V
g_mo = (-2 * I_DSS)/V_P;// in A/V
g_m = g_mo * (1 - (V_GS/V_P));// in S
disp(g_m*10^3,"The value of transconductance in mS is");
|
99f629b3cb43f40ce50379d0599f8154a4c24b2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.2/Ex10_17_2.sce | a71f5faf7b63ce910a00c2e05570f627f946e8a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Ex10_17_2.sce | //Section-10,Example-1,Page no.-CT.29
//To calculate the maximum work done.
clc;
V_2=50
V_1=5
R=0.08206
T=298
n=10
W=-(n*R*T)*log(V_2/V_1)
disp(W,'Maximum work done in(dm^3atm)')
W1=W*(8.314/0.08206)
disp(W1,'Maximum work done in(J)')
|
97ff5d47a3ca51e2eaaed128f11dbadf52608273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH5/EX1/cha5_1.sce | b3d6b3110ca8203a5263591c09e480aa5a15a62b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | cha5_1.sce | F=60;P=4;S=0.05;
Ns=1800;V=460;Tr=0.5;
Ns=(120*F)/(P)
N=(1-S)*Ns
F2=S*F
Sliprpm=S*Ns
A=S*Tr*V/sqrt(3)
|
460946d3bda018bf17d16dd7138948b2d030bbc1 | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_8.0/00_Main.sce | 557127c2d3d646aa22fd1b4cc255a7a84d12d494 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | sce | 00_Main.sce |
exec('01_Initialize.sce');
exec('02_LoadPoints.sce');
|
9814777c7aca66904e8b83489afc30f2f8e22178 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.2/example2.sce | a6b7aa52a8a1a542e486d7248d56bda3d5461dc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | example2.sce | printf("\n trnsfer function of the given network ")
printf("\n E0(s)=(1/(C*s))*I(s)")
printf("\n E0(s/Ei(s)=(I(s)/C*s)*((C*s)/(I(s)*(s^2*LC+s*R*C+1)))")
printf(" E0(s/Ei(s)= 1/(s^2*LC+s*R*C+1)is the required transfer function")
|
8a365a4eebd09c0d5ddc8891c4daaf418ec4666a | 52e844fd40afdd747dd22c0dfe5a8a7e7bfce889 | /.old/old_code_from_tjr_simple_earley_REV_42a0c75/old/index.tst | b4bab0b383abcd4de71c552e9f53ff3579478001 | [] | no_license | tomjridge/earley_spec | 6c484079d354ae59b881472af3b06db3c6480f9a | f28c8af1bef52c7516747069e936ac39c93a63a6 | refs/heads/master | 2021-04-30T11:42:38.508383 | 2018-06-07T16:55:05 | 2018-06-07T16:55:05 | 121,259,926 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,609 | tst | index.tst | # Graph of refinement dependencies
(e_bc e_spec: spec; nt_items only; single set of items
(e_cd e_spec_all_items: single set, NITM CITM SITM
spec_item_t = NTITM of nt_item | CITM of citm_t | SITM of sym_item
an abstract model, with all types of items; refines e_bc; single set of items; no staging;
... |
c51cab320cf86ee01bd790268bdff4f308ce96e1 | 117d2e73730351cc15ef378cd319a907c507e476 | /Interpolação/Legendre.sce | 0931d8953006125801dc37e38ee0355fef8302ce | [
"Apache-2.0"
] | permissive | Trindad/algoritmos-calculo-numerico | b900768350277a46da636a3d0da9b8c83c4da780 | 1dcafd39d2281cb3065ba9742c693e5e49e2a08c | refs/heads/master | 2021-01-22T21:28:09.251265 | 2014-07-23T14:08:55 | 2014-07-23T14:08:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 981 | sce | Legendre.sce | //metodo de legendre
clc
clear
format (6)
//x = [0 0.5 1 1.5];
//y = [1 1.6487 2.7182 4.4816];
//ponto = 1.3;
//n = 4;
//n = 3;
//n = 2; //grau do polinomio
//x = [0 0.2 0.4 0.5];
//y = [0 2.008 4.064 5.125];
//ponto = 0.3;
//n = 4;
//x = [1950 1960 1970 1980];
//y = [352.724 683.908 1235.030 1814.990];
//ponto = 1... |
b3de781dcd5abc5d8b26894db1ad2428077826c5 | e657bbadea88191ece0e48eb447173a4c5f816f6 | /tasks/cw6/dfp.sci | 5e267683a8ab9b44f23cbafe73bc72dc2f5d4890 | [] | 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 | 954 | sci | dfp.sci | function [x0,f0,iter]=dfp(x0,maxiter)
clf
exec('cel.sci');
exec('mapa.sci',0);
[f0,df0]=cel(x0);
iter=0;
kryt=norm(df0);
g=df0;
D=eye(2,2);
dd=g*D';
t=1;
x1=x0-t*dd;
[f1,df1]=cel(x1);
iter=iter+1;
while f1 > f0
t=0.25*t;
x1=x0-t*dd;
[f1,df1]=cel(x1);
iter=iter+1;
end
... |
092966452bbb5741c6ba8af000611d9e8d41e126 | 8bc8cad4ff08d4d9e353e7a5a1baa8b188b994f3 | /iirFilter/iirFilter.sce | 375606dd7150202de1cd286a273bc83b374cd9d9 | [] | no_license | ROHITDH/scilabBasics | 259c74030901258dbe8d77c61eacd467fc58b9de | f29b20b645d0f8181a3abc14c0d03ff59b69bd40 | refs/heads/main | 2023-02-22T12:21:31.459103 | 2021-01-27T01:24:22 | 2021-01-27T01:24:22 | 333,165,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,826 | sce | iirFilter.sce | //iir filter design
// Hz = iir(N,ftype,fdesign,cfreq,delta)
// [Hw w] = frmag(Hz,256)
// y = flts(x,Hz)
clc
clear
close
//1.initializing given parameters
fs = 44100
N = 5
ftype = 'lp'
fdesign = 'butt'
cfreq = [1500/fs 0]
delta = [0 0]
//2.determining filter function
Hz = iir(N,ftype,fdesign,cfreq,delta)
[Hw w] = f... |
114d4c7ce7efb926b71eb040e6ab67bb8cd36388 | adaa1dc1e9781bebdc15cc0c3a4bfbfa059442fa | /cs506/HW3/DMux32Way.tst | 2c81832cb8bed1e7c2dd53fafc0cc053b91c008d | [] | no_license | rodrigo-r-martins/pace_university | e87fbf9d2eb47797f0652af59304bdbe5293f5cc | 7bfc407c2b7ae90e4e9d5cc650c6ae719358b084 | refs/heads/main | 2023-05-27T04:38:33.513928 | 2021-06-17T04:24:22 | 2021-06-17T04:24:22 | 377,698,848 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,374 | tst | DMux32Way.tst | load DMux32Way.hdl,
output-file DMux32Way.out,
compare-to DMux32Way.cmp,
output-list in%B1.1.1 sel%B1.5.1 o0%B1.1.1 o2%B1.1.1 o4%B1.1.1 o6%B1.1.1 o8%B1.1.1 o10%B1.1.1 o12%B1.1.1 o14%B1.1.1 o16%B1.1.1 o18%B1.1.1 o20%B1.1.1 o22%B1.1.1 o24%B1.1.1 o26%B1.1.1 o28%B1.1.1 o30%B1.1.1;
set in 0,
set sel %B00000,
eval,
... |
24777e06c000d3f68e73693f64086f413e93ae9e | 872f3f3bbe124e177dafa3dbf23259a83795943d | /kalman_filter.sci | 48e5f3ef90d694b582dfbfccc41817c2420bf897 | [] | no_license | hitarth64/Kalman-filter | c09e588d222ba4bcdeefeef6e768266289cbd8ac | c8bd2e0a9f4c08a42819a26ebe827f26de59cf36 | refs/heads/master | 2021-01-23T00:15:52.382568 | 2018-10-04T17:25:38 | 2018-10-04T17:25:38 | 85,712,492 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,248 | sci | kalman_filter.sci | function[K] = kalman_filter(P0,A,Qw,Qv,C)
// P_apost = P[n|n]
// P_priori = P[n|n-1]
P_apost = P0;
for i =1:100
P_priori = A * P_apost * A' + Qw;
K(:,i) = P_priori * C' * inv(C * P_priori * C' + Qv);
P_apost = P_priori - K(:,i)*C * P_priori;
end
endfunct... |
50232d25724cc0eb560e87a349700490205456cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH31/EX31.2/SPG_2.sce | f978acd0d08d52b7ec8c3187d0d95d2a4bd393f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | SPG_2.sce | // sum 31-2
clc;
clear;
d=16;
D=1.5*d;
t=20;
tg=4;
//Let Gasket diameter in compression zone be d1
d1=D+(2*t)+tg;
lg=40;
E=207*10^3;
kb=%pi*d^2*E/(lg*4);
Ecl=90*10^3;
x=(5*(lg+(0.5*d))/(lg+(2.5*d)));
kp=%pi*Ecl*d/(2*log(x));
Ag=%pi*(d1^2-d^2)/4;
Eg=480;
kg=Ag*Eg/tg;
km=kg*kp/(kg+kp);
C=kb/(kb+km);
A... |
36d51aab288a72494644785063f44c150c4dc849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH1/EX1.2/1_2_Emissive_Power_Irradiation.sce | 20610d7e49cb0d73389c8818d8c7308e346ee1be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,065 | sce | 1_2_Emissive_Power_Irradiation.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 1.2 Page 11 \n')// Example 1.2
// Find a) Emissive Power & Irradiation b)Total Heat Loss per unit length
d=.07; //[m] - Outside Diameter of Pipe
Ts = 200+273.15; //[K] - Surface Temperature of St... |
394bf77573c9e56a5d9ff57050d621bbc2d92131 | d2b4190265ddc2ddd6f63bacfdafae9504390fd0 | /SquareWaveFunc.sce | 75bb5ada4def95db2648ed537a1ed04380ec97ea | [] | no_license | santushtisharma10/AppliedMathematics_with_Scilab | 8dd80f3a36298d844a42a37619e309b53022204d | 28b4de4244768c0bb0eba1daea86d69021d89400 | refs/heads/main | 2023-05-29T04:40:42.507269 | 2021-06-04T13:25:58 | 2021-06-04T13:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sce | SquareWaveFunc.sce | clc;
x = [1 2 3 4 5 6 7 8 9 10 ];
y = [5 0 5 0 5 0 5 0 5 0 ];
plot2d2(x,y)
xlabel('VALUES OF x');
ylabel('VALUES OF y');
title('SQUARE WAVE FUNCTION');
|
0aad7e0769b7c44a1c49f8b034094beb5819eec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.8/example6_8.sce | 8e44a943c85029d1faa13cbfc973df8f77b161e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example6_8.sce | syms G1 G2 G3 G4 G5 G6 G7 G8;
T1=G1*G8*G7*G5*G6;
T2=G1*G2*G3*G4*G8;
L1=-G6*H5;
L2=-G3*H3;
delta=1-(L1+L2)+(L1*L2)
del1=1-L2;
del2=1-L1;
TF=(T1*del1 + T2*del2)/delta ;
disp(TF,"C/R = ")
|
9bec33c75e3b40869f041d329c761326a9c1e7d8 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/macros/xls_AddWorkbook.sci | 93b780e7bf697256680ace4ca9c4b49afc438df5 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,053 | sci | xls_AddWorkbook.sci | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2013 - Scilab Enterprises - Antoine ELIAS
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The... |
189f8f22653c3382bff5767f8836889a10b00012 | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/CH5/EX5.10/5_10.sce | 285a6a71cc23894adc51b3eb895b4bf961d2d2cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 461 | sce | 5_10.sce | pathname=get_absolute_file_path('5_10.sce')
filename=pathname+filesep()+'5_10_data.sci'
exec(filename)
clf();
i = 1;
while(i<=length(M))
Cpcr(i)=(2/(y*M(i)^2))*[[(2+(y-1)*M(i)^2)/(y+1)]^(y/(y-1))-1]
Cpmin(i)=Cpomin/sqrt(1-M(i)^2);
i = i+1;
end
xlabel("Mach Number");
ylabel("Cp");
plot2d(M,Cpcr... |
6c5048007083b982b76b84afeaef4faf6b85c775 | cb412970af67cd342235f1ad29668c7ac9a2dfed | /function_test/chi_test.sci | f592fce4ff61d8ed376220f9262394c36b225ff9 | [] | no_license | dowaiko/mt_tutorial41 | cdab43af761897afc940ae64deb7df423bdd5776 | d21788c424e2c1df2ecc46ca6ae270e393433e85 | refs/heads/master | 2020-04-10T13:25:27.584350 | 2019-05-31T13:37:08 | 2019-05-31T13:37:08 | 161,050,504 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | sci | chi_test.sci | clear;
printf('************** Chi-square Distribution Function ****************');
printf('\n');
df = input('Enter a Degree of Freedom : ');
Total = cdfchi( "PQ", 1, df);
printf('Total =');
disp(string(Total));
printf('\n');
|
32adec9f082e8e99b4c6ef3c1ecd3d9473222cdd | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/mulluckrec.sci | f6634b4bca5c99c7a50db6ca783f57aaa76048b2 | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sci | mulluckrec.sci | function el=mulluckrec(nb,mb,lpx,k,p,y,eps)
[n,m]=size(lpx);
el=zeros(n,m);
for yk=0:nb-mb
y(k)=yk;
if k < length(p)-1 then
el=el+mulluckrec(nb,mb+yk,lpx,k+1,p,y,eps);
else
y(length(p))=nb-mb-yk;
lpy=mulprobln(y,p);
c=0.5*bool2s(lpy > lpx-eps)+0.5*bool2s(lpy > lpx+eps);
... |
742f04343036c54149b64bfafb767266e10d5e58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.66/Example1_66.sce | 12a27c3be0394e66275335c21b92904ab0d41373 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 750 | sce | Example1_66.sce | // Example 1.66
clc;clear;close;
// Given data
format('v',7);
P=4;//no. of poles
f1=50;//in Hz
S=4;//in %
R2=1;//in ohm/phase
X2=4;//in ohm/phase
//calculations
Ns=120*f1/P;//in rpm
S=S/100;//slip
//part (a)
N=(1-S)*Ns;//in rpm
disp(N,"(a) Speed of the motor in rpm : ");
//part (b)
f2=S*f1;//in H... |
2256f3ed80dbfec144dbd5e8a092983b53ba262b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH9/EX9.3/9_3.sce | 9e3c9acaacaf9f1bf3a678cea08b9ca037af0d84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | 9_3.sce | clc
clear
//Initialization of variables
V=200 //ft/s
L=5 //ft
B=2 //ft
rho=0.00232 //slug/ft^3
mu=3.82e-7 //lb-sec/ft^2
p2=14.815 //psia
pa=14.7 //psia
//calculations
Nr=V*L*rho/mu
Cdf=0.0032
Fdf=Cdf*%pi*L*B*0.5*rho*V^2
Fd=(p2-pa)*%pi/4 *(B*12)^2 -Fdf
//results
printf("Drag on the model = %.2f lb",Fd)
|
4cac501e81d787b53e71e02f6f0db65f92ce6020 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.26/EX20_26.sce | 67e6dbb486189b9d993955659cf76442c883946d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,160 | sce | EX20_26.sce | clc;funcprot(0);//EXAMPLE 20.26
// Initialisation of Variables
p1=1;............//Intake pressure in bar
p2=4;..............//Pressure after first stage in bar
p3=16;............//Final pressure in bar
ns=2;............//No of stages
t1=300;............//Intake temperature in K
n=1.3;............//Compression in... |
2e78a60965c9849775204a13bbe97663f4b508aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH3/EX3.2/3_2.sce | 17da4106d63407ed93447b5876fda68e7b2fd079 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | 3_2.sce | clc
clear
//Initialization of variables
t1=1000 //K
p1=20 //Mpa
p2=10 //Mpa
ti=600 //K
t2=700 //K
v1=0.02188
vi=0.02008
v2=0.02825
Ei=2617.5
E2=2893.1
E1=3441.8
x=0.22
m=1 //kg
cp=4.186
t3=639 //K
H3=2409.5
H1=3879.3
//calculations
Tf= ti+ (v1-vi)/(v2-vi) *(t2-ti)
Ef= Ei+ x*(E2-Ei)
Q1=Ef-E1
//re... |
d976df130fd9de07f1c8879d09b7593209127cba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.2/7_2.sce | abadeea7d048f83cce6e7d5083ec027a1e743276 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | 7_2.sce | clc
clear
//Input data
N=700;//Engine speed in rpm
D=0.6;//Diameter of brake drum in m
d=0.05;//Diameter of rope in m
W=35;//Dead load on the brake drum in kg
S=4.5;//Spring balance reading in kg
g=9.81;//Gravitational constant in N/m^2
pi=3.14;//Mathematical constant
//Calculations
P=(((W-S)*g*pi*(D+d))/1... |
c651ae81c9332da3842309fba7c2139c7192dff5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.19_17.tst | 92ce9b47aea17f9af5e350ef84e3486a3d994972 | [] | 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 | 22,659 | tst | bow.19_17.tst | 19 82:0.06666666666666667 115:0.2 168:0.5 205:0.2 227:0.5 305:0.2857142857142857 307:0.5 510:0.25 750:0.5 824:1.0 1017:0.5 1147:1.0 2243:0.5 3201:1.0 5171:1.0 6308:1.0
19 35:0.029850746268656716 79:0.25 134:0.09090909090909091 168:0.25 227:1.0 302:0.5 371:0.125 510:0.25 889:0.125 2754:1.0 2893:1.0 3391:1.0 5195:1.0 576... |
437aea63f34b671c46d3ac5a18c2b4e73ed10320 | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH9/EX9.2/ex2.sce | b1ca52eb8b3e35a056e0613870ac799b34afae97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,653 | sce | ex2.sce | // Example 9.2 : To determine A_v,f_t,f_P,SR and P_D of folded cascode amplifier
// Consider a design of the folded-cascode op amp
I=200*10^-6; // (A)
I_B=250*10^-6; // (A)
V_OV=0.25; // (V)
k_n=100*10^-6; // k_n=k'_n (A/V^2)
k_p=40*10^-6; // k_p=k'_p (A/V^2)
V_A=20; // V_A=V'_A (V/um)
V_DD=2.5; // (V)
V_SS=2.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.