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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
082553e69c91c649c185e872383559c31d03c6e4 | e2ae697563b1b764d79ea1933b555ab0d5e3849c | /macros/blacksplot.sci | 1a1ed37add41459dc10441ee7285887cb5feb449 | [] | no_license | gq-liu/IPDesignLab | c49b760740f47ec636232a6947aecb3c0626518a | b2f9a9eecad6616c99a2ec20fcceb14fb3ed0c3f | refs/heads/master | 2022-01-18T13:30:55.972779 | 2019-05-06T17:23:12 | 2019-05-06T17:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,355 | sci | blacksplot.sci | function []=blacksplot();
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distribut... |
4bca1611e9f2f1b2d41c9fc6d80769fc624888a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH10/EX10.6/Ex10_6.sce | 14e556b3fa5995f907e98155146931a67aaab1aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex10_6.sce | clc
clear
//Initialization of variables
disp("From table 1 of keenan and keynes,")
h1=1204.8 //Btu/lb
q=174 //Btu/lb
//calculations
h2=h1+q
p2=30 //psia
t2=720 //F
//results
printf("Final state of steam is %d psia and %d F",p2,t2)
printf("\n Final enthalpy is %.1f Btu/lb",h2)
|
faf412ab0fb95bdabab64d74901548e11a7266a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH6/EX6.15/example6_15.sce | b0f3133546e01e69e306792933dbb77fd5e740b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,606 | sce | example6_15.sce |
clear;
clc;
printf("\t Example 6.15\n");
t1=20; //ambient air temperature
t2=70; //exhaust air temperature
r1=150; //evaporation of water
r2=.25; //outlet solid moisture content
t3=15; //inlet solid temperature
t4=65; ... |
8820e24054cc14bc5186aaa33b28ba3b1fc3baca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH10/EX10.2/Ex10_2.sce | 25ef422e8120a24a6f2fa3d6da0698c473defaac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | Ex10_2.sce | clc
clear
//Initialization of variables
h=1100 //Btu/lb
P=100 //psia
//calculations
disp("From table 2 of keenan and keynes,")
hg=1187.2 //Btu/lb
hfg=888.8 //Btu/lb
y=-(h-hg)/hfg
//results
printf("The state is %d psia with a moisture content of %.2f percent",P,y*100)
|
d884170f1b5db4755f731a10eb17a4e922fcb127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH11/EX11.3/example11_3.sce | 31fe87f9362ece5a5787ca9a3b8226e00567913b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | example11_3.sce | // to find the output frequency of the circuit 11-8
// example 11-3 in page 326
clc;
// Data given
Vcc=15;// supply voltage=15 V
C1=0.1D-6;// capacitance in farad
R1=1e+3; R2=10e+3;// resistances in ohm
utp=3; ltp=-3;// upper and lower trigger points in volt
//calculation
a=['For contact at top of R1' 'For R1... |
9a8ec5595d41bd9f17ac10ee1a5a8d5e25951909 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.52/EX3_52.sce | 423c91d1399f471cb1bb8af25591e81738ea857f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 863 | sce | EX3_52.sce | //EXAMPLE 3-52 PG NO-205-206
Vp=230.94;
R=20+%i*30;
V=400;
IL=Vp/R;
disp('i) CURRENT (IL) is in rectangular form = '+string (IL) +' A ');
PF=0.555;
P=sqrt(3)*V*IL*PF;
disp('ii)ACTIVE POWER (P) is in rectangular form = '+string (P) +' W ');
Q=sqrt(3)*V*IL*56.289;
disp('iii) REAC... |
a2635860176910d6426b5f9a8c45ff1691be9a62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH9/EX9.9/Ex9_9.sce | 0e78715e70adeb55fb11f72145d9b703d77605db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex9_9.sce | //EX9_9 PG-9.24
clc
L1=0.5e-3;
L2=1e-3;
C=0.2e-6;
Leq=L1+L2;//total inductance for Hartley oscillator
f=1/(2*%pi*sqrt(Leq*C));
printf("\n Therefore frequency of oscillation is %.f Hz \n",f)
//there is a slight difference between the answer given in the book
//and the and output in the book they have taken the... |
2bbc2c74a5c70f4ac2754cdc30c277861b3015cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH3/EX3.17/example3_17_TACC.sce | 6fcf8fa4db0c06b7a7894c82c1a4c48a8348d6b4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | example3_17_TACC.sce | //example 3.17
clear;
clc;
//Given:
Cp1=poly([29.07, -0.836*10^-3, 20.1*10^-7],'T','c');//heat capacity for H2(g)
Cp2=poly([25.72, 12.98*10^-3, -38.6*10^-7],'T','c');//heat capacity for O2(g)
Cp3=poly([30.36, 9.61*10^-3, 11.8*10^-7],'T','c');//heat capacity for H2O(g)
Hf1=-241820;//standard heat of formation... |
bba2658c970659b9fec8939e6e4db87e275aa9a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH6/EX6.2/Ex6_2.sce | 9eff18b7b7b46c2b882ea28c82bd5fb37da45335 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Ex6_2.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 6 : CONTROL AND STARTING OF A DC MOTORS
// Example : 6.2
clc;clear; // clears the console and command history
// Given data
V_t = 230 // supply voltage in V
I_a1 = 15 // dc shunt motor armat... |
5bc82af8364a899e7e8e9bccb86b6a35fa9a318e | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH3/EX3.8/3_8.sce | e5e25ae8ce959128cc2b81b0009014622228d7d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | 3_8.sce | //all the quantities are expressed in SI units
V_inf = 100.1; //freestream velocity
p_inf = 101314.1; //standard sea level pressure
rho_inf = 1.225; //density of air at sea level
//the dynamic pressure can be calculated as
q_inf = 1/2*rho_inf*(V_inf^2);
//thus the tot... |
c43a0026470717b13f492da72a7001d49e94590b | e51bdac5dcd38fb280d2b1ff6b23dd23bb9a08d1 | /meu_pso.sce | 7beffbd8293f91c8ef6b9f382d419c918f6c5536 | [] | no_license | jotabf/ufrn-otimiza-o-2018-1 | 1fd462d61f80a779fef8e749d5fc4794f9dece4a | d3204075ff58aa878e8131d0b2ae26af15ffff55 | refs/heads/master | 2020-03-22T16:03:42.684872 | 2018-07-09T11:51:21 | 2018-07-09T11:51:21 | 140,300,205 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,517 | sce | meu_pso.sce | MIN = -500;
MAX = 500;
function res = func(x,y)
z = - x.*sin( sqrt( abs(x) ) ) - y.*sin( sqrt( abs(y) ) );
x = x/250;
y = y/250;
r = 100*( y - x.^2 ).^2 + ( 1 - x ).^2;
r1 = ( y - x.^2 ).^2 + ( 1 - x ).^2;
w = r.*z;
w2 = z - r1;
w6 =... |
c8b2e157eced29f2500a01a2b34b3d6d42ac0ced | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH5/EX5.7.3/Ex5_3.sce | 9d2ab661359af74f80a4b5210bb600508a779091 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex5_3.sce |
//scilab 5.4.1
//windows 7 operating system
//Chapter 5:Semiconductor Junction Diodes
clc
clear
V=0.9//V=forward bias voltage
I=60*10^(-3)//I=Current in ampere
rdc=(V/I)//rdc=static resistance in ohm
n=2//n=emission coefficient
rac=((26*n*10^(-3))/I)//rac=dynamic resistance
disp("ohm",rdc,"rdc=")
disp("ohm"... |
2aaa387791770ef64be6c697eda4492edca7c092 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH13/EX13.8/Ex13_8.sce | 10b63446f973eccf22f54804cac05f4bc8ff04ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 735 | sce | Ex13_8.sce | clc
mu1 = 0.15 // coefficient of friction
mu2 = 0.18 // coefficient of fricton
alpha = 14 // angle of contact in degree
alpha = alpha*%pi/180
bita = 10 // semi-cone angle in degree
bita = bita*%pi/180
sigma_0 = 1.40 // kN/mm^2
h0 = 1.5 //mm
h1 = 1 // mm
B = (mu1+mu2)/(tan(alpha)+tan(bita))
sigmad = (sigma... |
018bcda0e22fbf1be742eed9e91adf644ea5ae5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH9/EX9.7/7.sce | de93303996fe6f572121cc53e771301119e2cbee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | 7.sce | clc
clear
//input
c=3*10^8 //velocity of speed
w=5.1*10^-7 //wavelength of green light
w1=0.7 //wavelength of radio waves
w2=1.3*10^-13 //wavelength of gamma
h=6.6*10^-34
//calculation
e1=h*c/w//plancks theory for greeen light
e2=h*c/w1//plancks theory for radio waves
e3=h*c/w2//plancks theory for gamma wave... |
a3ba7a26e6e9b7e9f1ee438acee38662cfee6084 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH10/EX10.2/Ex10_2.sce | 998f73d4863e00a6d282404a493e307b0c88034e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Ex10_2.sce | //pagenumber 467 example 2
clear
voltag=36;//volt
w=0.07;//harmonic distortion
inpvol=0.028;//volt
beta1=0.012;
a=voltag/inpvol;
fegain=a/(1+beta1*a);//correction in book
volta1=fegain*inpvol;
disp("output voltage = "+string((volta1)));
//decrease of gain 9
inpvol=9*inpvol;
disp("input voltage =... |
e962303580fc82a9e6435607c4f49396b997fa01 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/plasma/plotbfield_simpson_dx4.sce | 1960688b23e1886ce67c2812f597447aa5def414 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,429 | sce | plotbfield_simpson_dx4.sce | //script to generate magnetic field data for Earths magnetic field
//modelled on a single loop solenoid at the core of the earth
exec('lorentz.sce');
exec('bfield.sce');
exec('bfieldsimpson.sce');
rearth=6378.0*(10^3);
//permeability of free space
mu0=4.0*%pi*(10^(-7));
b=zeros(3,1);
//bfield in z direction
... |
1e4b63d11245fe6af8f86900632021b186622120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH10/EX10.17/EX10_17.sce | 763153c3f4971c4f48de29005939553c11fa7bd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | EX10_17.sce | //Finding of Critical depth,velocity,Minimum Specific energy
//Given
Q=18;
B=6;
q=Q/B;
g=9.81;
//To Find
y=(q^2/g)^(1/3);
v=q/y;
E=(3/2)*y;
disp(" Critical depth ="+string(y)+" meter");
disp(" Critical velocity ="+string(v)+" meter");
disp(" Minimum Specific Energy ="+string(E)+" meter");
|
081f5aaac8f3820f929ec9c291abe0d6e1147289 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH8/EX8.12/Ex8_12.sce | 4caa99925cbd05e008e55968fb3d714f4feb65b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Ex8_12.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 8 Power Amplifiers Pg no. 289 and 290
clear;
clc;
//Given Data
VCC=12;//collector supply voltage in volts
RL=16;//load resistance of loudspeaker in ohms
Pmax=1;//input power of loudspeaker
VCE_sat=0.7;//collector to emitter saturation voltage in volts
//Sol... |
9992d2be19a3a910dfdb8bac992e723563857ab3 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/disassembler/asr.instr.tst | c93c209a4949cdf048f617a54ad3600ce185843f | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,256 | tst | asr.instr.tst | ; @Harness: disassembler
; @Result: PASS
section .text size=0x00000040 vma=0x00000000 lma=0x00000000 offset=0x00000034 ;2**0
section .data size=0x00000000 vma=0x00000000 lma=0x00000000 offset=0x00000074 ;2**0
start .text:
label 0x00000000 ".text":
0x0: 0x05 0x94 asr r0
0x2: 0x15 0x94 asr r1
... |
3ffaa6f19063b68d8043b3700d1e935472d2ae4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH15/EX15.3/exm15_3.sce | 2eb0d1b6284f877a3755fb286a9425a4929686f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 895 | sce | exm15_3.sce | // page no 483
// example no 15.3
// INSTRUCTIONS TO GENERATE A PULSE FROM COUNTER 0
clc;
printf('Control Word \n \n');
printf('D7 D6 D5 D4 D3 D2 D1 D0 \n');
printf('0 0 0 1 0 1 0 0 = 14H \n \n');
printf('D7,D6=0 Select counter 0 \n');
printf('D5,D4=01 Load 8 bit count \n');
printf... |
14d96b250169ed8f163cd6f0f564a9e9f5edd39a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH7/EX7.11/Example7_11.sce | e469d6ac9d54f9508b59764a5d030e29c4e8848f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 517 | sce | Example7_11.sce | //Ex 7.11
clc;
clear;
close;
format('v',7);
//Given data :
d=270/1000;//meter
L=380/1000;//meter
Pmi=6;//bar
N=350;//rpm
WsubS=1000;//N
Db=1.5;//meter
mf=10;//Kg/hr
CV=44400;//KJ/Kg
IP=Pmi*10^5*(%pi/4*d^2)*L*N/2/60/1000;//KW
disp(IP,"Indicated Power in KW : ");
BP=(WsubS)*%pi*Db*N/60/1000;//KW
disp... |
8cdde1b1c3ae81bdcf6b1b46fcc92706af86bc5e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/percent/%lss_r_s.sci | 9eb4d4cacf9b0d494b18e5a00c24c2716c9cec1d | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sci | %lss_r_s.sci | function s1=%lss_r_s(s1,d2)
//s=%lss_r_s(s1,d2) <=> s=s1/d2
//!
// Copyright INRIA
s1(3)=s1(3)/d2;
s1(5)=s1(5)/d2
|
54c56685ab45a1c429b390eae05b53c2e937ca07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH7/EX7.19/7_19.sce | a3f3015c3ecf8640a5ef2706bc3f9ffff31ccbb6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | 7_19.sce | uo=(4*%pi)*1E-7
ur=2000
V=200
f=50
N=1600
Ac=5/10000
flux_max=V/(4.44*f*N)
Bmax=flux_max/Ac
disp(Bmax)
Rc=20/100/(uo*ur*Ac)
Rg=0.5/1000/(uo*Ac)
R=Rc+Rg
imax=flux_max*R/N
disp(imax)
Wfmax=1/2*R*(flux_max^2)
disp(Wfmax)
percent=Rg/R*100
disp(percent) |
9a81c929dae1bd61cefffa990420b7aac0bb6a4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH2/EX2.19/2_19exam.sce | dedc24dce9377b6c1145a8fba8ffc7f7b3274f57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2_19exam.sce | //Engineering and Chemical Thermodynamics
//Example 2.19
//Page no :85
clear ; clc ;
//From steam table
h_cap_st_1 = 2923.4 ; // [kJ/kg]
h_cap_200 = 2875.3 ; // {kJ/kg} , At 100kPa
h_cap_250 = 2974.3 ; // {kJ/kg} , At 100 kPa
del_T = 250-200 ;
T1 = 200 ; //[K]
h_cap_st_2 = h_cap_st_1 ;//Assumimg bulk kine... |
66d02da6679e7745430c2f9afbbf958f7b75082b | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.1/EX4_1.sce | 38c410265de528579bf0fe92ee03993588cf2e9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | EX4_1.sce | //Calculating synchronous speed and speed of a rotor
//Chapter 4
//Example 4.1
//page 288
clear;
clc;
disp("example 4.1");
f=50; //frequency
p=6; // number of poles
V=400; //voltage supply
S=4; //percentage slip
Ns=(120*f)/p; //synchronous speed
printf("Syhchronous speed,Ns=%d \n",Ns);
Nr=(1-(S/100))*... |
ab39d291be7936812d5d516ea5130825b8bd82fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH16/EX16.18/16_18.sce | 810ec4a7eb5e5f45ef0f35fc2d6f3071139cd1c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,618 | sce | 16_18.sce | //To find diameter and cross section
clc
//Given:
P=50*1000 //W
N=150 //rpm
n=75
sigma=4*10^6 //N/m^2
rho=7200 //kg/m^3
//Solution:
//Refer Fig. 16.21
//Calculating the angular speed of the engine
omega=2*%pi*N/60 //rad/s
//Calculating the mean torque transmitted by the flywheel
Tmean=P/omega //N-m
FG=Tme... |
f3bad72f9a0aabc6cb512bc8356d5d05adf3fdc5 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH18/EX18.10/ex18_10.sce | 235d7ced7cae8cd276319ac85d7f346447ba343c | [] | 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 | 240 | sce | ex18_10.sce | errcatch(-1,"stop");mode(2);// Example 18.10, page no-466
epsr=1.0024
N=2.7*10^25 //atoms.m^-3
eps=8.854*10^-12//F.m^-1
alfe=eps*(epsr-1)/N
printf("The polarisability of argon atom is %.1f * 10^-40 F m^2",alfe*10^40)
exit();
|
0e818a720f3a8f7646c46ebda57ea876965c7053 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH19/EX19.5/C19P5.sce | 12f85fb794e44f52b0f67c6c9420d9b3170fc119 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | C19P5.sce | clear
clc
//to find fundamental frequncy of string
//to find fundamental frequncy of string for first overtone
//to find original frequency
// GIVEN:
//refer figure 19-8 from page no. 436
//frequeny
f = 440//in Hz
//frequency of tuning fork
f2 = 3//in Hz
//frequency of tuning fork for first overtone
f3 = ... |
682afca849c4c4ff77699839e38dae9d2b64d4d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.9.7/Ex2_9_7.sce | 50c20a4bea445e333b31d56e7add97e7d607695f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex2_9_7.sce | //Ex 2.9.7
clc;clear;close;
format('v',8);
//Given :
Io=10^-13;//A
T=27+273;//K
Eta=1;//constant
V=0.6;//V
VT=26/1000;//V
I3=Io*(exp(V/Eta/VT)-1);//A
R=1*1000;//ohm
Ir=V/R;//A
Itotal=I3+Ir;//A
VD1=log(Itotal/Io)*Eta*VT;//V
VD2=VD1;//V
Vin=VD1+VD2+V;//V
disp(Vin,"Voltage Vin(V) : ");
|
40c6c8341c82f4e4d670186b045f78e81289d63a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH9/EX9.4/ex9_4.sce | e355668c15058087c154bcdb6a80c98a5d0a8e90 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | sce | ex9_4.sce | //Wired Digital Communications : example 9-4 : (pg 410)
bw=3*10^3;//bandwidth
x=1023;//signal-to-noise ratio
C=bw*log2(1+x);//capacity of telephone channel
printf("\nthe telephone channel has a bandwidth of about %.f Hz",bw);
printf("\nC = BW.log2(1+S/N) = %.f bits per second",C);
|
eef1a08d8cde41175576eaaa986bdc906dabf826 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH15/EX15.6/Example15_6.sce | db174d81c4a245ba37640f154a8a741f4744fd62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Example15_6.sce | // Computation of pH of solutions for solutions of given concentrations
clear;
clc;
printf("\t Example 15.6\n");
//for HCL solution
ConcHCl=1*10^-3;//Concentration of HCl solution, M
H=ConcHCl;//Concentration of [H+] ion after ionisation of HCl
pH=-log10(H);
printf("\t the pH of the HCl solution is : %4... |
c8cb88befc64f1f39b36432c53fc2769f7c2cdf0 | ebd4548d44d72b237371e08dd7feffa1739dbd92 | /ex27.sce | 809c62726a929065dee42dd0624549a3de16a49d | [] | no_license | JeroenDM/scilab | 23a44dec9fa47956f0ec64396f82943f4efeac8f | 2b05ae5a05023a1d6e4c6c357fb20b5bc6250156 | refs/heads/master | 2021-01-11T15:44:28.911399 | 2017-01-24T14:31:46 | 2017-01-24T14:31:46 | 79,917,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 635 | sce | ex27.sce | // Computer solution to active set qp exercise
clear; clc;
// import solver
exec('solve_qp.sci');
// Problem definition
P = eye(2, 2);
q = [-2; -5];
A = [-1 2; 1 2; 1 -2; -1 0; 0 -1];
b = [2 6 2 0 0]';
// active set method start
// Iteration 0
S0 = [3 5];
[x0, mu0] = solve_qp(P, q, A(S0, :), b(S0));
disp('Iterat... |
8296c7c074783001d09d8b79489ead7e166eee0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH1/EX1.13/exa1_13.sce | affd43f3647595e409c75f17ae4e019f15595ed1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 45 | sce | exa1_13.sce | clc;
//Example 1.13
//Page no 26
//Theory
|
fdd4cb76b061ab494613d4da7e613759ab8a3c23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.50/exa12_50.sce | 2703a28eb5ef2af9be7a8dcdc41e7a8315b45506 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | exa12_50.sce | //caption:root_locus_and_close_loop_transfer_function
//example 12.50
//page 578
s=%s
K=8
G=K/(s*(s+4))
H=1;
GH=G*H
G=syslin('c',G)
evans(G,8)
xgrid(2)
CH=s*(s+4)+K
disp('=0',CH,"characterstics_eq,CH=")
r=roots(CH)
disp(r,"the point at which K=8")
cl=G/(1+GH)
disp(cl,"C(s)/R(s)=")
disp("part b")
... |
209c71a516c5c50710c2a9e4544392a015af62f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH3/EX3.5/Ex3_5.sce | 5eb25e7ff4e969616de3a0e6c92514c0ac8b413f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_5.sce | clc
gi=10
Ni=9
x=gi-Ni
//factorial(gi-Ni)=1
z=(factorial(gi)/factorial(Ni)*factorial(gi-Ni))
printf('z=%f\n',z)
|
9869ce64773ce0dba2cbd6f3670ec1eca3a75ae8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH6/EX6.19/Ex6_19.sce | 3daa2ab8631a310675c47611a3a8ff5d0587dfc6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_19.sce |
// Ex6_19
clc;
// Given:
A=240;
Z=94;
//Solution:
Ecr=(0.89*(A^(2/3)))-(0.02*(Z*(Z-1)))/(A^(1/3));
printf("The critical deformation energy for the fission is = %f MeV",Ecr)
|
035d1b1ee3c159e9d962469cf6673600f3c7da3e | 743902c2406b7976cc824458091bd276b916d47c | /test/ACATS/BD/BD8004A.TST | f845e333d0fcd9c57851b9518e4e23a921f870dd | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | OneWingedShark/Byron | f220d419bbe938ed9df588e0a1073f74bbcc03a2 | 18305e400be9a31d1b1e55a6da4d984c6a8926df | refs/heads/master | 2020-12-24T16:33:29.242045 | 2020-05-16T23:29:29 | 2020-05-16T23:29:29 | 41,644,524 | 55 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 4,062 | tst | BD8004A.TST | -- BD8004A.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
4fc0861f6a6d26319b315118398e8bae197d3a5a | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/predControl/bkuptestIROS2012.txt | 0489742721953e0b71ecb6eb3e90a54631fc5b20 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,862 | txt | bkuptestIROS2012.txt | //---------------------------//
// Compute a cost function over a time horizon
// With a free 3d camera
// December 11
// Dune
// Note :
//
// On construit un tour d'optimisation
// La fonction de cout de ne dépend que de Uc
// Uc est le vecteur de commande
// Nc (nb commande differentes) n'est pas forcement egal à ... |
ffb1c747540b14de2f575cb1b73f9b9c112b7c15 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machines_-_I_M._Verma_And_V._Ahuja_695.zip/Electric_Machines_-_I_M._Verma_And_V._Ahuja_695/CH2/EX2.22/Ex2_22.sce | 09f5be2271db0ee1b4f6d4034935cbe5b1802bed | [] | 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 | 463 | sce | Ex2_22.sce | errcatch(-1,"stop");mode(2);//Caption:Find the speed of machine
//Exa:2.22
;
;
V=250;//in volts
P_i=50*10^3;//in watts
I_L1=P_i/V;//in amperes
R_a=0.02;//in ohms
R_f=50;//in ohms
I_f=V/R_f;//in amperes
I_a1=I_L1+I_f;//in amperes
I_L2=P_i/V;//in amperes
I_a2=I_L2-I_f;//in amperes
N_1=400;//in rpm
E_2=V-(... |
51de87cde2ec5b4cc8d74fd1ab940b5df359a151 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CFC.prev.tst | fac46d2599a1d647c71a000d12b17b27f658ee34 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 69 | tst | CFC.prev.tst | 0; 1/9, 1/23, 1/30, 1/35, 1/49, 1/58, 1/73, 1/94
0.110577691700247
|
f2f4187356bd2c4468a083aa900ac381a78b5cc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.26.a/ex_1_26_a.sce | 5a54d9f90e556b764517528ef24199da36543f2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | ex_1_26_a.sce | //Example 1.26.a // the variation in the indicated temerature
clc;
clear;
close;
//given data :
Iin=25; // may be +ve or -ve
t1=20; // in seconds
t2=4; // in minutes
f=1/(t2*60); // cycles/sec
w=2*%pi*f; // rad/sec
pi=atand(w*t1);
A=sin(w*t2-pi);
Io=(Iin/sqrt(1+(w*t1)^2));
disp(Io,"the variation in the ind... |
7a9410c9933d8d2dc0979e75dd10b15250fb4301 | 717ddeb7e700373742c617a95e25a2376565112c | /284/CH8/EX8.1/ex_1.sce | a564c8681f49470e09b1f1ffdbd9df2cfb86aa5f | [] | 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 | 595 | sce | ex_1.sce | // Chapter 8_Metal Semiconductor and Semiconductor heterojunctions
//Caption_Shottky barrier diode
//Ex_1//page 308
T=300 //temperature in kelvin
Nd=10^16 //donor impurity
phi_m=4.55 //metal work function for tungsten
xi=4.01 //electron affinity for silicon
phi_bo=phi_m-xi
phi_n=0.0259*log(2.8*10^... |
f0b22b700f2ea9716a330d0b142bcb0bbc5da183 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH9/EX9.4/4.sce | be9d13650f6e80991320f357c16b4f2bae4caf97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | 4.sce | // Caption: Finding speed and output power
clear;
close;
clc;
E_ao=250*1200/1100;//at 1200 r/min
E_a=250-400*.025;//at Ia=400A
n=240*1200/261;//actual spped
P_em=240*400;
disp(P_em,'electromagnetic power=')
|
45c4b8305ef14d5bf03344abcf41fc1d38561ef2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.32/Ex5_32.sce | 91e740c7f337d7f15cad51a5b9b927f3f9c692ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Ex5_32.sce | //Ex:5.32
clc;
clear;
close;
n1=1.48;// core refractive index
dl=0.0027;
a=4.4*10^-6;// radius in m
y=1.32*10^-6;// operating wavelength in m
n2=n1*(1-dl);
c=3*10^8;// the speed of ligth in m/s
v=(2*3.14*a*n1*sqrt(2*dl))/y;
VD=0.080+0.549*(2.834-v)^2;
DW=(-1)*(n2*dl*VD)/(c*y);// wavelength dispersion in s /... |
3969493de08202cc420ef6c43fcfa2b785d0817f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH39/EX39.1/Example39_1.sce | 355c660d1b602ed306f7a3b4ecc8826c5a7d2278 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,967 | sce | Example39_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART IV : UTILIZATION AND TRACTION
// CHAPTER 1: INDUSTRIAL APPLICATIONS OF ELECTRIC MOTORS
// EXAMPLE : 1.1 :
// Page number 676
clear ; clc ; close ; // Clear the work s... |
08ca52641152a232e1fb78341b9160cef600ea18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.22/Ex8_22.sce | 2c8585cb7959f8afe1ec127ba457678cf1c43c04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,876 | sce | Ex8_22.sce | // chapter 8
// example 8.22
// Design the jones chopper
// page-500-501
clear;
clc;
// given
Edc=200; // in V (source voltage)
I0=50; // in A (load current)
t_q=200; // in us
safety_factor=1.5;
// calculate
t_q=t_q*1E-6; // changing unit from us to s
C=(%pi/2)*(t_q/Edc)*I0; // calculation of commutating capacitance
V... |
e66015bcdbc2104138d1f16dc60c38b553d145df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH9/EX9.7/Ex9_7.sce | b5e10407a37e046c6e03533b9eafe8aa1c3003ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sce | Ex9_7.sce | //chapter9
//example9.7
//page148
V=10 // V
V_D=0.7 // V
R_BC=2 // kilo ohm
R=2 // kilo ohm
// by Kirchoff voltage law we get
// -V_D-I_D*R_BC-2*I_D*R+V=0 thus making I_D as subject we get
I_D=(V-V_D)/(R_BC+2*R)
V_Q=2*I_D*R
printf("I_D = %.3f mA \n",I_D)
printf("V_Q = %.3f V \n",V_Q)
|
64d45fc32f7e99e7b8d4facad583ed45085d6590 | fd53e4d4cb8520b84e44cf3729508c4b479fac3a | /1547.1/Tests/SPF_min_cap.tst | 5a03ad31dc221fb9480253adaea0630c67aaaab2 | [] | no_license | FREA-ENT/svp_1547.1 | ea1b7feb92671c3f5a3bbb503f39f76cc655fe59 | 728cde3b52bfd65db1eeecb05d62003d25aff9dc | refs/heads/master | 2020-05-23T21:28:02.374723 | 2019-05-07T22:24:02 | 2019-05-07T22:24:02 | 186,955,692 | 0 | 0 | null | 2019-05-16T05:13:03 | 2019-05-16T05:13:03 | null | UTF-8 | Scilab | false | false | 2,626 | tst | SPF_min_cap.tst | <scriptConfig name="SPF_min_cap" script="SA12_power_factor">
<params>
<param name="eut.pf_min_ind" type="float">-0.85</param>
<param name="eut.pf_min_cap" type="float">0.85</param>
<param name="eut.pf_settling_time" type="int">1</param>
<param name="gridsim.ametek.phases" type="int">1</param>
<par... |
1014325a33b64d7ede7b0f75f55f8c318c56078b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH3/EX3.5/Ex3_5.sce | 930d51740dd6adb9762aa8640a0cf4e852126952 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex3_5.sce | clear
//
//
//
//Variable declaration
n=1 //order
theta=38.2*%pi/180 //glancing angle(radian)
lamda=1.54 //wavelength(angstrom)
h=2
k=2
l=0
//Calculation
a=sqrt(h**2+k**2+l**2)
d=n*lamda*a/(2*sin(theta)) //lattice parameter(angstrom)
//Result
|
a60d6de193145066042af42cbfad447390325b4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH6/EX6.18/P6_18.sce | 1621ddb18856b678dafaa25ba6a2ef374872e82d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | P6_18.sce | //EXAMPLE 6.18
//Inverse Z-transform using power series expansion
clc;
clear;
z=%z;
Xnum=z;
Xden=(z-1)^2;
xn=ldiv(Xnum,Xden,15);
disp(xn,'The function is = ');
disp(' Thus, xn = n*u(n)'); |
94727d103c66600a13e4c8e0df1757845608f12c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH21/EX21.11/21_11.sce | 4de18e0795c6a2512b5d99a7d5b321c0fe3e49d7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 551 | sce | 21_11.sce | //Chapter 21, Problem 11
clc;
f=50; //frequency
v1=500; //primary voltage
v2=100; //secondary voltage
B=1.5; //maximum core flux density
A=50e-4; //effective core cross-sectional area
phim=B*... |
04ba8cc6af4171b649d4b0774ad4df62ae9ef8a7 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q04d.tst | 8520bfd33051796a3006e8cc7b2d00b125ece5a5 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59 | tst | q04d.tst | 0
0.20
abc 1
acb 1
cba 1
bca 1
ababc 0
a 0
aabc 0
bcaabc 0
|
494165ab82b349d21627efbab2f4cd68290a6b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH12/EX12.8/12_8data.sci | faa1956e78e7be2f7fa3107f44137e038e9e05ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 48 | sci | 12_8data.sci | ri=0.133;//in.
ro=0.168;//in.
N=300000;//rpm
|
cd8e9a5432e881dd91ef443b8df21a2139e16a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.21/ex_4_21.sce | f2b810b9d061c924940854a898ed2308d1b6eb67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | ex_4_21.sce | //Example 4.21//compare diameter and length
clc;
clear;
close;
format('v',6)
v1=110;//in volts
cp1=16;//in cp
cp2=25;//in cp
v2=220;//in volts
ri=((cp1/cp2)*(v2/v1));//ratio of curents
dr=(ri)^(2/3);//ratio of diameters
di=(cp1/cp2)*(1/dr);//ratio of lengths
disp(dr,"ratio of diameter is")
disp(di,"ratio of length is")... |
de2ceb51d0486628b264c1c11a99ebb75bfa6c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.15/Example8_15.sce | facf531202c9e56cdffe7f01938b46c53ac2b8a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example8_15.sce | //Example 8.15
clc
disp("IC 74191 is a 4-bit counter. Thus it is MOD-16 counter. However, we require MOD-10 counter. The difference between 16 and 10 is 6. Hence 6 steps must be skipped from the full modulus sequence. This can be achieved by presetting counter to value 6. Each time when counter recycles it starts cou... |
36937aac01c306b3b1566f7a564c758c249f102c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH15/EX15.1/Ex15_1.sce | 153a3eea664f0e9ecf12acbebc54c53c9ec6970a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Ex15_1.sce | clear;
clc;
disp('Example 15.1');
// aim : To determine
// the thermal efficiency of the cycle
// given values
T1 = 273+400;// temperature limit, [K]
T3 = 273+70;// temperature limit, [K]
// solution
// using equation [15] of section 15.3
n_the = (T1-T3)/T1*100;// thermal efficiency
mprintf('\n Th... |
6eece4e2733076dfb5dd07bf4c4878630e948905 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH6/EX6.3/Ch06Ex3.sce | 58db50e875a40d6dba26671644543a9215355d3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | Ch06Ex3.sce | // Scilab Code Ex6.3 : Page-6.10 (2004)
clc;clear;
t = 3e-14; // Mean free time, sec
m = 9.1e-31; // Mass of electron, kg
e = 1.6e-19; // Charge of electron, C
r = 1.85e-10; // Radius of sodium atom, m
a = 4*r/sqrt(3); // Sodium has BCC structure
n = 2/(a^3); // Number of electron per unit volu... |
35a36c15fb1ce12437e36ba6ad50d9210e77071d | b32474ae2727233775f44c71edfe1f10b6a3430f | /difdiv.sci | 8361da44d4b9d9acbaf8eb3f5aa51bb11a2bdc4b | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sci | difdiv.sci | function [tab] = difdiv(x,y)
n=length(x)
tab(:,1)=y
for i=1:n-1
for j=1:n-i
tab(j,i+1)=(tab(j+1,i)-tab(j,i))/(x(j+i)-x(j))
end
end
endfunction
|
90283b723ca992197062483f0b875b398fd55ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH8/EX8.5/8_5.sce | bc79820f2eb5fd84a5a747252f6d42eff3115de5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | 8_5.sce | clc
clear
//Initialization of variables
v1=81 //cm^3/gmol
v2=97 //cm^3/gmol
d1=9.2 //(cal/cm^3)^0.5
d2=8.6 //(cal/cm^3)^0.5
R=1.987
T=373.1 //K
//calculations
d=0.5*(d1+d2)
lng1=v1*(d1-d)^2 /(R*T)
lng2=v2*(d2-d)^2 /(R*T)
g1=exp(lng1)
g2=exp(lng2)
//results
printf("Activity coeffecients of components are... |
6d693464e1c257154edede47126f0e8a6a1e3178 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH3/EX3.4/Ex3_4.sce | 0f1194964497874689dc4a812f875d993a5af107 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Ex3_4.sce | clc
// Variable Initiallization
F=50 //Supply Frequency In Hz
Erms=230 //RMS Voltage Per Phase In Volts
L=0.015 //Inductance In Henry
A1=60 //Firing Angle
A2=120 //Firing Angle
//solution
W=2*%pi*F
Icp=((3*sqrt(2)*Erms)/(W*L))*(1-sind(A1))
printf('\n\n The Peak value of Circulating Current=%0.1f Amp\n... |
3f399ceeee999c27c85fd240bfb65a77cf93b1e7 | abed134eb329d44a339af93997f34c76b7649173 | /p5codes_10252020/CPU.tst | b375174765d4071afdff526f9e6a78849c51e929 | [] | no_license | Patrickyyh/CSCE-312 | 8823df9f53d378b96c8018064da3823faef95ce3 | b9ba0fd8592ce5d91d1689219ff48d638a66aee0 | refs/heads/master | 2023-05-03T18:46:15.689810 | 2021-05-22T06:02:17 | 2021-05-22T06:02:17 | 369,727,875 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | tst | CPU.tst | load CPU.hdl,
output-file CPU.out,
compare-to CPU.cmp,
output-list time%S0.4.0 fromM%D0.16.0 In%B0.26.0 Reset%B2.1.2 toM%D1.16.0 writeM%B3.1.3 addressM%D0.16.0 PCOut%D0.16.0;
set In %B0001000001000111, // ADDI R0, R1, 7
tick, output, tock, output;
set fromM %D16,
set In %B1000001000000011, // READ R1, R0
tick, output... |
48eab94ef2073a59fe99b5385f134ecf99c1c6d0 | 584105ff5b87869494a42f632079668e4c3f82de | /wrapppers/help_files/composeRT.sci~ | a8b947b4d72c2e8d2a33fa4c656e6782b5b16fd9 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | composeRT.sci~ | function [RotVec3 TransVec3] = composeRT(RotVec1,TransVec1,RotVec2,TransVec2)
[RotVec3 TransVec3] = opencv_composeRT(RotVec1,TransVec1,RotVec2,TransVec2)
endfunction
| |
716eef41502bfc7da65ca8efccb1780f5706280c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH7/EX7.1/EXP7_1.sce | fbb59599b5253a052ab183dbdb8ac2c8747be4a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | EXP7_1.sce | clc;funcprot(0);//EXAMPLE 7.1
// Initialisation of Variables
f=1.12;.......//Geometry factor for the specimen and flaw
sigma=45000;.....//Applied stress on Steel in psi
K=80000;.........//The stress intensity factor
//CALCULATIONS
a=(K/(f*sigma))^2/%pi;........//Depth of crank in in
disp(a,"Depth of crank that w... |
a8c73dc633996598eb9a0b272250cb327bb68171 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/P2_numerico_oberdan/M8 - Minimos_Quadrados/minimos-quadrados-hiperbole.sce | 2ddccc715b1479781ad4533533e271c814ee1066 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 115 | sce | minimos-quadrados-hiperbole.sce | // hiperbole y=1./(a+bx)
x=[0:0.1:1];
y=sin(x)+1;
yi=1./y;
A=[ones(11,1) x'];
v=inv(A'*A)*A'*yi';
a=v(1)
b=v(2)
|
6345149b2459b72d7b572b33ec03d258306b9e28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH7/EX7.1/ex7_1.sce | 350975e3c590dae309f4394fd229309af97ea73b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | ex7_1.sce | //Example 7.1, page no-436
clear
clc
f=2*9.8*10^5
A=100
V=20
l=10
mu=(f/A)/(V/l)
mu=mu/1000
printf("The absolute viscosity mu = %.1f*10^5 centipoises",mu)
|
f49fdd5dd69bb4e1b8e1c09e2db7a8864fda8e57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH2/EX2.9/Ex2_9.sce | b945c092edcb8cc19169051ecfc238ce5cf9b443 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Ex2_9.sce | clc;
clear all;
//page no 54
//problem 2.9
f0=0;
f1=500; //fundamental freq.
f2=1000; f3=1500; //harmonics
//Values from ex 2.4
C=[5 8 6 3]// Values in Volts
//Values from ex 2.5
P=[5 6.4 3.6 .9]; //poweer in watts
clf;
// plot two sided linear amplitude spectrum
fHz=-1510:10^-2:1510; //x-axis m... |
13908a5c8c061b7f5620e77a32481ba28a506849 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.17/example3_17.sce | 1677d34a914124941d2992fa5e6212de75bf5cd4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 914 | sce | example3_17.sce | //exmaple3.17
clc
disp("5 kVA, 2300/230 V, P_i=40 W, (P_cu)F.L. =112 W, cos(phi)=0.8")
disp("Sr. kVA n=Fraction of full load New P_cu= %eta=n[Total VA]cos(phi)/n[Total VA]cos(phi)+P_i+New P_cu *100")
disp("No. output =Actual kVA/total kVA n^2 P_cu(F.L.) ")
disp("1 1.25 ... |
5bcf16cd3fce75c27b1b046f3c0579058e980677 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH5/EX5.28/Chapter5_Exampl28.sce | 5cd923c5611f04f1258bfa76cc11e806c9ba58c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 646 | sce | Chapter5_Exampl28.sce | clc
clear
//INPUT DATA
k=0.05;//clearance
p1=1;//initial pressure in bar
pd=5.5;//delivery pressure in bar
n=1.3;//index of compression
R=0.287;//gas constant
N=500;//Speed in rpm
d=0.2;//diameter in m
t1=293;//temperature in K
//CALCULATIONS
nv=1+k-k*((pd/p1)^(1/n));//volumetric efficiency in percentage
... |
70a82803cfd37a4f4c79efa513ca4267442a35c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH6/EX6.12/Ex6_12.sce | 84a221373f2167f0452753d763750f400688c4ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex6_12.sce | //Initilization of variables
m=1 //kg
g=9.81 //m/s^2
t1=45 //degrees
t2=30 //degrees
//Calculations
//Solving as system of linear equations
A=[1 0 -cosd(t1) 0;0 1 0 3/5;-5 g*m*cosd(t1)*cosd(t2) 0 0;-1 0 0 4/5]
B=[0;g*m;g*m*5*cosd(t1)*cosd(t2);0]
C=inv(A)*B
//Result
clc
printf('The forces are Nb=%fN Nc=%fN T... |
a5ce4aeb94386e096b6fc6ea32ac6dcdb6ab21ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH10/EX10.10/1010.sce | bab8de7f7d4680c23e019b6291030ae1815199b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | 1010.sce | // problem 10.10
Q=0.118
N=1450/60
Hm=25
d2=0.25
B2=0.05
n=0.75
g=9.81
u2=3.142*d2*N
Vf2=Q/(3.142*d2*B2)
Vw2=g*Hm/(n*u2)
y2=atand(Vf2/(u2-Vw2))
disp(y2,"vane angle in degree at the outer nperiphery of the impeller")
|
c953cbfdc78ce88971fe343ac0ee073c15652e3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH14/EX14.10/Figure14__10.sce | 872487a34a584d0b2f69a78921028d3bcf9fb243 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Figure14__10.sce | //clear//
//Caption:Performance Measurement and Monitoring
//Figure:14.10 Plotting pulse shape of gaussian distribution
//and determining 3-dB optical and electrical bandwidth
clear;
close;
clc;
sigma = 1;
t = -3*sigma:0.01:3*sigma;
p = (1/(sigma*sqrt(2*%pi)))*exp(-t^2./(2*sigma^2));
fdB_optical = 0.187/sigm... |
bb5eb7a1fa1309936ecb822526b4b27fd47beecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH2/EX2.2.7/2_2_7.sce | 3df602ad4427b521c770a09dad1e03537088d0dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | 2_2_7.sce | disp('the co-efficient matrix is:')
a=[1 2;5 12]
disp(a)
disp('inverse of the matrix is:')
disp(inv(a))
disp('solution is:')
b=[-1;3];
c=inv(a);
disp(c*b) |
b6ba0f4bc244bb5ae0d71db9c2f7c8337ebf42d5 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/ident/scilab/max_ex.sce | 11e0c09cae230ef8ff99349ecbe11ad9327ca421 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | max_ex.sce | // Updated(3-8-07)
// 6.4
S1 = [1 2 3 4];
S2 = [1,-2,3,-4];
S3 = [-1,-2,3,4];
len = length(S1)-1;
xv = -len:len;
m = 1;
xi = rand(4,1,'normal');
Spxi1 = S1 + m*xi';
Spxi2 = S2 + m*xi';
Spxi3 = S3 + m*xi';
n = 1:length(S1);
plot(n,Spxi1,'o-',n,Spxi2,'x--',n,Spxi3,'*:');
label('',4,'n','y',4);
ACF1 = n... |
3599c29a65ee077275a4f0a7cc485a42cc403713 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/_Movie/NotUsed/scene_starglobe.SCI | 199de744a5d57c452adaa4fa6edaf08464afdbbd | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 17,086 | sci | scene_starglobe.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\_SSYS.sci");
###############################################################################################
###############################################################################################
###########################... |
53d2a7c7e7b3fcf6e9b04673206b20da8bb325f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH18/EX18.6/ex18_6.sce | a65758400cf738688201fd46b1468b466853348c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ex18_6.sce | clc;
clear all;
ue=0.4;//electon mobility in m^2/V*s
uh=0.2;//hole mobility in m^2/V*s
ni=2.1e19;//intrisic carrier concentration in m^-3
e=1.6e-19;//charge of electron
p=4.5e23;//density of hole
sigma=ni*e*(ue+uh);//conductivity of boron
disp('ohm^-1 m^-1',sigma,'conductivity of semiconductor is:')
sigma1=p*e... |
ef32ffd18f590591515d8ef3e389077a45a13fdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH6/EX6.4/6_4.sci | cc2d5710e881bdd8eea4eaf649ec2ba0f80a5234 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sci | 6_4.sci | // 6.4
clc;
R=(9*10^3)+(900+90+10);
Rt=100*10^3;
Attenuation=R/Rt;
Attenuation_factor=1/Attenuation;
printf("\nAttenuation factor=%.1f ",Attenuation_factor)
|
43a02c81d3be78666b1d69fd080293b6da5c2343 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH19/EX19.1/19_1.sce | 23d187aac6de751e6b133454de8d8424bb5ed392 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 19_1.sce | //ques-19.1
//Calculating de Broglie wavelength of alpha particles
clc
E=100;//energy (in Mev)
h=6.626*10^-27;//erg sec
c=3*10^8;//speed of light (in m/s)
w=(h*c)/(E*1.602*10^-6);
printf("The wavelength of alpha particles is %.7f nm.",w*10^9);
|
a6519bfbe342c5de9050d8de490c4a52027a0498 | a3c04dad7c659a81f513ac0f2b8bf15ea5cef322 | /scilab/code_ref.sce | 929872f3a0a20043a51b638999757108a6b3b7cd | [] | no_license | keckj/Projet_Spe | 5f7366a63bfc6bc57e46e713fb047c5a00224265 | 626b795cbf8ac55725c38a866c9dc1e694dc0ea9 | refs/heads/master | 2021-05-28T00:38:50.649981 | 2014-10-15T07:03:51 | 2014-10-15T07:03:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,240 | sce | code_ref.sce | // Parametres du modele d'Aliev-Paniflov
a=0.2; b=0.1; kk=8.0; M1= 0.07; M2=0.3; epsilon=0.01; d=5e-5;
// Definition des parametres d'execution
nx = 200; // Nombre de points de discretisation dans la direction x
ny = 200; // Nombre de points de discretisation dans la direction y
lx = 1.0; // Taille de la boite dan... |
92c4abfebca04d235422991cd77425777af75446 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH6/EX6.5/6_5.sce | f4ef090ee3adfe45dacd6cca29a7991f9c5b3c82 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | 6_5.sce | Vl=400
Z=16+%i*12
Vp=Vl
Ip=Vp/Z
pf=cos(atan(imag(Z)/real(Z)))
Il=Ip*sqrt(3)
P=sqrt(3)*Vl*Il*pf
Q=sqrt(3)*Vl*Il*sin(acos(pf))
S=P+%i*Q
disp(Ip,Il,pf,P,Q,S) |
c5e7b5e1e8186b8930688dedbbd33001a1dba323 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH7/EX7.5/7_5.sce | d62a56df75356591b968c6483c4d5cc994fa5093 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | 7_5.sce | clc
clear
//Initialization of variables
P1=200 //psia
T1=500 //F
P2=1 //psia
alpha=20 //degrees
n=3600
g=32.2 //ft/s^2
Vb=1200 //fps
//calculations
disp("From mollier charts,")
V1=4240 //fps
V1x=3980 //fps
V2x=-1580 //fps
work=1/32.2 *(V1x - V2x)*Vb
eff=work/(V1^2 /(2*g)) *100
//results
printf("\n Wor... |
0063a9b2f021a316697c2a3abc293125e251d0ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.24/Chapter2_Example24.sce | e93581ce129eced64382e8338871a860a0b92e31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Chapter2_Example24.sce | clc
clear
//INPUT DATA
//CH2+(3/2) (O2+3.773 N2)= CO2+H2O+5.66N2 ;//STOICHIOMETRIC EQUATION
dU=-43.2;//Internal energy in MJ/kg
//CALCULATIONS
dH=dU+(7.66-7.16)*8.3143*10^-3*298/14;//ENTHALPY CHANGE
Hp=-((1*-393.52)+(-241.8))/(221.4);//enthalpy of products per kg of mixture
Hr=Hp-((-43.1*14)/(221.4));//Enthal... |
e6d6380f8f3b8266a0da6ce9b03fb3105dbb9a2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/DEPENDENCIES/4_2.sci | 21264c18cc04d30745623cb3a3572fdb06da49eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sci | 4_2.sci | k = 0.311; // min^-1;
FC= 6.137; //lb.mol/min
X = 0.8;
CA01= 1; //mol/dm^3
|
541b4261f02a748c2b9502a2dd5e247affa67038 | 1d11f934166ef07b2b6d4c49e29bcc8c23f94222 | /tutorial-3-code/tutorial-3_exp1.sce | 1f679bd6172c7e893b5e19f441d85075ff1c13e5 | [] | no_license | svozkan/Scilab-Tut | 014e097a3e8a5c8c0436b19cc7da677efb6db82d | 8d91e9dec45e2d2314ef4a6ad452105f942c919b | refs/heads/master | 2020-03-21T01:34:18.418286 | 2018-06-20T00:53:16 | 2018-06-20T00:53:16 | 137,948,805 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | sce | tutorial-3_exp1.sce | // This Code has been written by Salih Volkan ÖZKAN for Scilab Tutorials
// Take the inputs from user
function x1 = SRK4(dt,time,x1,force,mass,k,b)
k1 = ODES(time,x1,force,mass,k,b)
dt2 = 0.5*dt
x1_temp = x1 + dt2*k1
k2 = ODES(time+dt2,x1_temp,force,mass,k,b)
x1_temp = x1 + dt2*k2
k3 = ODES(ti... |
918e42d9502d72d0cf20ad2079b4f027458af8f0 | a4310fc3952e1a419805f126819a6dc4684ba632 | /tests/test_meta_1_a.tst | b129ae45754a98ee83de2cab59c603b48eb6f27d | [
"MIT"
] | permissive | crowetic/ciyam | c88b639fc605879aa1676bc5c768786070b0d6d8 | f0982926b1063c589289daded5f144810c70e49c | refs/heads/master | 2023-07-12T11:58:00.986885 | 2023-06-28T02:47:31 | 2023-06-28T02:47:31 | 73,009,891 | 0 | 0 | null | 2016-11-06T18:20:06 | 2016-11-06T18:20:06 | null | UTF-8 | Scilab | false | false | 6,629 | tst | test_meta_1_a.tst | storage_init ciyam
session_variable @attached_file_path .
pc guest 20120102 100 105100 guest_model "105101=Sample,300500=guests,105102=0.1,105103=2012,105104=M001,105112=0,105118=0"
guest_model
pf 100 105100 guest_model "105101,105102,105103,105104,105105,105106,105107,105108,105109,105110,105111,105112,105113,105114,1... |
d3b7878719279fd3aa0896cb469ec163a02fa5a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH2/EX2.15/Ex2_15.sce | eeca7fb38a624f8abd8c609f6b73b9bacac0aa98 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 468 | sce | Ex2_15.sce | //Ex:2.15
clc;
clear;
close;
n1=1.50;// core refractive index
n2=1.45;// cladding refractive index
x_c=(asin(n2/n1))*180/%pi;// critical angle in degree
n_m=sqrt(n1^2-n2^2);// numerical aperture
x_a=(asin(n_m))*180/%pi;// acceptance angle in degree
n_c=(n_m)^2*100;// percentage of light
printf("critical angle... |
7c69d2e4ea80e6cd2d2b58f489b3d6d0b49327bd | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rcosdesign/rcosdesign8.sce | cbc80a2b34441a18e735268450149f02b18c83ea | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | rcosdesign8.sce | //check o/p when i/p arg beta is greater than 1
beta=3;
span=6;
sps=4;
h=rcosdesign(beta,span,sps);
//output
//!--error 10000
//roll-off factor should be <= 1
//at line 21 of function rcosdesign called by :
//h=rcosdesign(beta,span,sps);
|
147511243a27043909c532aca3ec10fcc0180f8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH14/EX14.3.5/14_3_5.sce | fdb12bcbb10140518a151adc2941ad4799e3c100 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 14_3_5.sce | clc
//initialisation of variables
w= 62.3 //lbf/ft^3
Q= 195 //gal
n= 0.71 //t^3
Ht= 25 //ft
Q1= 325 //gal
Ht1= 31.5 //ft
//CALCULATIONS
P= w*Q*Ht/(n*6.23*33000)
Ps= w*Q1*Ht1/(n*6.23*33000)
//RESULTS
printf (' pressure= %.2f h.p',P)
printf (' \n pressure= %.2f h.p',Ps)
|
2cbffc20f7d7e195fa0ba23cda304d0a4243badd | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH7/EX7.12/example_12.sce | 1cc918120a399e5584de7c5e516cbd2715b28b41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example_12.sce | clc
clear
printf("example 7.11 page number 316\n\n")
//to find the initial conc of A and B
Cp = 0.02;
Cq = 0.02;
K = 4*10^-2;
Cb = 0.05;
Cb_i = Cb+Cp;
a = (Cp*Cq)/(K*Cb);
funcprot(0)
function[f] = F(x,a)
f = x-0.02-a;
endfunction
//initial guess
x = 10;
y = fsolve(x,F);
printf("conc of A= %f m... |
913432190b89194882d78f1327a41a843eaa4d65 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/ofemdemo/demo_static.sce | 0f503b863e287e3022988762bcbeeb76af836082 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,325 | sce | demo_static.sce | //=========================================================//
// DEMO_STATIC //
//=========================================================//
fegui();
//---------------------------------------------------------//
// 1. Geometry declaration with femesh //... |
982d2ce865290f984965da746ce978c617c83b1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH6/EX6.2/example2.sce | b7902dc9d4bdeb5135ad73190de071d854ccef0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,090 | sce | example2.sce | clc
clear
//input data
P0=4//Overall stage pressure ratio
T00=557//Temperature at entry in K
P3=1//Diffuser exit pressure in bar
m=6.5//Mass flow rate of air in kg/s
ps1=0.3//Flow coefficient
N=18000//Speed of the turbine in rpm
Dt=0.42//Rotor tip diameter in m
D2m=0.21//Mean diameter at rotor exit in m
R=... |
b423e358f062ef4a0208cb1bb94eb5b997af543b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH3/EX3.a.23/Example_a_3_23.sce | 1b37d6946ffffb72d7c4fd9455f312dd28f26d7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 161 | sce | Example_a_3_23.sce | //Example_a_3_23 page no:151
clc;
R=2;
Vi=-1;
Voc=-4*Vi;
Isc=10;
Rth=Voc/Isc;
i2=Voc/(Rth+R);
disp(i2,"the current throught 2 ohm resistor is (in A)");
|
7b2695ac5e043693a559dc4cc64d5987765ed1d9 | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-5/strassen_algorithm.sci | 37ac88eb1d6354df345b3e8c7b7a0a593539fb90 | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,121 | sci | strassen_algorithm.sci | function[cmp]=strassen_algorithm(A,B,C,n)
if n == 1 then
cmp=1;
return;
else
n = n/2;
a11 = zeros(n,n);
a12 = zeros(n,n);
a21 = zeros(n,n);
a22 = zeros(n,n);
b11 = zeros(n,n);
b12 = zeros(n,n);
b21 = zeros(n,n);
... |
b4dbe72398dbb2a225f862401c04b88120f76656 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH3/EX3.2/Ex3_2.sce | 4af30412eb2e03b6fe5d46a8797cce1810402668 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex3_2.sce | // Problem 3.2,Page no.54
clc;clear;
close;
//D=(D_0-2) //cm //Inside Diameter of cyclinder
//A=(%pi*(D_0-1)) //cm**2 //Area of cross-section
//L=(%pi*(D_0-1)*5400) //N //Crushing load for column
F=6 //Factor of safety
T=1 //cm //wall thickness of cyclinder
//S=L*F**-1
//After Simplifying,we get
S=600*10**3
//Calc... |
89d8fb1cddcff922c3d5a992538bf75350948207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH20/EX20.9/example20_9.sce | d1c57b88ee050afc674edd9c4a01941be50aef20 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | example20_9.sce | clc
// Given that
V = 50e3 // voltage in V
i = 1e-3 // current in amp
e = 1.6e-19 // charge on an electron in C
// Sample Problem 9 on page no. 20.9
printf("\n # PROBLEM 9 # \n")
printf("Standard formula used \n ")
printf("I = ne \n")
n = i / e
printf("\n Number of electrons striking the anode per sec is %e.",n)
|
79d6c24b0fb0e0fd466b0da07b005dc55429f979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH7/EX7.7/7.sce | 869e432e8bb546674a0738f11927ff73051ef746 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | 7.sce | clc
//Example 7.7
//Calculate the support forces in x and y direction in a 90 degree bend tube
p1=200//KPa
A=0.1//m^2
m=500//Kg/s
rho=998.2//Kg/m^3
q=m/rho//m^3/s
v=q/A//m/s
Vx_initial=v//m/s
Vx_final=0//m/s
Vy_initial=0//m/s
Vy_final=-v//m/s
Fx=m*(Vx_final-Vx_initial)-p1*1000*A//N
printf("The support for... |
34d38bb18d9d19cee1df1beefa6ca30b19e95e50 | cccbd1095e2f872b44c9f2cf3aaea40ce3b94a77 | /SWaD/Swad.sce | fc17d3b9c87bd18512135384ceb114d463cf4006 | [] | no_license | Robstei/work | ca8a70dba742f520f16e0d7688fa448c79d7c2c5 | 0c7e3bedc1d66db3148de57f13d406d787b756df | refs/heads/master | 2021-07-16T17:37:10.588912 | 2020-05-17T19:51:43 | 2020-05-17T19:51:43 | 152,545,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31,719 | sce | Swad.sce | response_matching = simple_matching;
scenario = "Messung von Wechselkosten zwischen geteilter und selektiver Aufmerksamkeit";
default_font = "Apercu Mono";
active_buttons = 3;
event_code_delimiter = ";";
stimulus_properties = configuration, number, runid, string, blockid, string, form, string, character, string, sepera... |
2caed0a6570f803f6813dee338987fa84ff0bbe9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH6/EX6.4/Ch06Ex4.sce | d02787f413335f74b1d62c1a14153a0d7b3ce1f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | Ch06Ex4.sce | // Scilab Code Ex6.4: Page-6.11 (2004)
clc;clear;
t = 3.1e-14; // Mean free time, sec
m = 9.1e-31; // Mass of electron, kg
e = 1.6e-19; // Charge of electron, C
r = 0.429e-9; // Side of the unit cell. m
n = 2/(r^3); // Number of electron per unit cubemetre
rho = m/(n*(e^2)*t); // Electrical re... |
2e0f9f7f9360b8cb06e1eab4d56b6471de453c2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.31/Ex15_31.sce | c96145cbba7c57a7d74e76b91cf0a501f601f924 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 570 | sce | Ex15_31.sce | //Finding resistance
//Example 15.31(pg. 412)
clc
clear
m=0.6//mass of water in kgm
S=4200//specific heat of water
T1=100//temperature in degreeC
T2=10//temperature in degreeC
t=5*60//time in sec
V=230//Supply voltage in Volts
H=m*S*(T1-T2)//Heat required to raise the temp of water from 0 to 100 degree. in J
... |
e9173e4f65a7496d325dec086226cebbfc20de52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH4/EX4.10/example_10.sce | ed8b4f6e7f790a2b75ba974065335ae9f0c24f69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sce | example_10.sce | clc
clear
printf("example 4.10 page number 139\n\n")
//to find the temperature increase
Q=0.001*10^5 //in J/s
w=0.001*1000 //in kg/s
density=1000 //in kg/m3
cp=4.19*10^3 //in J/kg K
delta_T=Q/(w*cp);
printf("Temperature increase = %f degree celcius",delta_T)
|
8367d6f44833708e9a16def2b511dfac24bba0f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH6/EX6.13/Ex6_13.sce | 377238c71edff5641ebbc3e31a3c6e0a910412f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex6_13.sce | clc
//Chapter6
//Ex_13
//Given
e=1.6*10^-19 // in coulombs
I=10^-3 //in A
Th=10^-6 //in s
B=1/Th //in Hz
i_sn=sqrt(2*e*I*B)
disp(i_sn,"shot noise current in amperes is")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.